Uploaded image for project: 'Spring Boot & Cloud'
  1. Spring Boot & Cloud
  2. SB-304

A first build with new micro version fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • prod-tooling
    • None

      An example of a failure: https://spring-boot-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/prod-release/job/prod-generate-zip-files/42/console

      Importing make mead configuration to PNC
      Exception in thread "main" java.lang.IllegalStateException: Unable to parse 'Build Configuration spring-boot-parent-1.5.8 is created.'
      (409)
      Reason: Conflict
      HTTP response headers: HTTPHeaderDict({'Transfer-Encoding': 'chunked', 'Date': 'Mon, 23 Oct 2017 13:44:28 GMT', 'Content-Type': 'application/json', 'Set-Cookie': '5d33981c8d853d7ad6a54ff0970360e7=f327328cef0872b580af2c02a93285a2; path=/; HttpOnly', 'Server': 'Apache-Coyote/1.1'})
      HTTP response body: {"errorType":"ConflictedEntryException","errorMessage":"BuildConfiguration is already in the BuildConfigurationSet","details":{"conflictedRecordId":"11","conflictedEntity":"BuildConfigurationSet"}}
      
      {
          "build_configuration_ids": [
              72
          ],
          "id": 11,
          "name": "spring-boot-1.5-all",
          "product_version_id": 8
      }
      	at org.wildfly.swarm.proddocs.pnc.PncCliResponseParser.parse(PncCliResponseParser.java:58)
      	at org.wildfly.swarm.proddocs.spring.MakeMeadConfigImporter.importMakeMeadConfiguration(MakeMeadConfigImporter.java:75)
      	at org.wildfly.swarm.proddocs.SpringBootBuilder.lambda$main$1(SpringBootBuilder.java:126)
      	at java.util.Optional.orElseGet(Optional.java:267)
      	at org.wildfly.swarm.proddocs.SpringBootBuilder.main(SpringBootBuilder.java:124)
      Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character (''' (code 39)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
       at [Source: 'Build Configuration spring-boot-parent-1.5.8 is created.'
      (409)
      Reason: Conflict
      HTTP response headers: HTTPHeaderDict({'Transfer-Encoding': 'chunked', 'Date': 'Mon, 23 Oct 2017 13:44:28 GMT', 'Content-Type': 'application/json', 'Set-Cookie': '5d33981c8d853d7ad6a54ff0970360e7=f327328cef0872b580af2c02a93285a2; path=/; HttpOnly', 'Server': 'Apache-Coyote/1.1'})
      HTTP response body: {"errorType":"ConflictedEntryException","errorMessage":"BuildConfiguration is already in the BuildConfigurationSet","details":{"conflictedRecordId":"11","conflictedEntity":"BuildConfigurationSet"}}
      
      {
          "build_configuration_ids": [
              72
          ],
          "id": 11,
          "name": "spring-boot-1.5-all",
          "product_version_id": 8
      }; line: 1, column: 2]
      	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)
      	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)
      	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:456)
      	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1906)
      	at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:749)
      	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3834)
      	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3783)
      	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2842)
      	at org.wildfly.swarm.proddocs.pnc.PncCliResponseParser.parse(PncCliResponseParser.java:56)
      	... 4 more
      [Pipeline] }
      

              gandrian Georgios Andrianakis
              mszynkie@redhat.com Michal Szynkiewicz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: