See <https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-client/job/master/6/display/redirect>
Changes: ------------------------------------------ [...truncated 37306 lines...] Progress (3): 20/38 kB | 12/44 kB | 4.1/42 kB Progress (3): 25/38 kB | 12/44 kB | 4.1/42 kB Progress (3): 25/38 kB | 12/44 kB | 8.2/42 kB Progress (3): 29/38 kB | 12/44 kB | 8.2/42 kB Progress (3): 29/38 kB | 16/44 kB | 8.2/42 kB Progress (4): 29/38 kB | 16/44 kB | 8.2/42 kB | 4.1/27 kB Progress (4): 33/38 kB | 16/44 kB | 8.2/42 kB | 4.1/27 kB Progress (4): 33/38 kB | 16/44 kB | 12/42 kB | 4.1/27 kB Progress (4): 37/38 kB | 16/44 kB | 12/42 kB | 4.1/27 kB Progress (4): 38 kB | 16/44 kB | 12/42 kB | 4.1/27 kB Progress (4): 38 kB | 16/44 kB | 12/42 kB | 8.2/27 kB Progress (4): 38 kB | 20/44 kB | 12/42 kB | 8.2/27 kB Progress (4): 38 kB | 20/44 kB | 12/42 kB | 12/27 kB Progress (4): 38 kB | 20/44 kB | 16/42 kB | 12/27 kB Progress (4): 38 kB | 20/44 kB | 16/42 kB | 16/27 kB Progress (4): 38 kB | 25/44 kB | 16/42 kB | 16/27 kB Progress (4): 38 kB | 29/44 kB | 16/42 kB | 16/27 kB Progress (4): 38 kB | 29/44 kB | 20/42 kB | 16/27 kB Progress (4): 38 kB | 29/44 kB | 20/42 kB | 20/27 kB Progress (4): 38 kB | 33/44 kB | 20/42 kB | 20/27 kB Progress (4): 38 kB | 33/44 kB | 20/42 kB | 25/27 kB Progress (4): 38 kB | 33/44 kB | 25/42 kB | 25/27 kB Progress (4): 38 kB | 33/44 kB | 25/42 kB | 27 kB Progress (4): 38 kB | 37/44 kB | 25/42 kB | 27 kB Progress (4): 38 kB | 37/44 kB | 29/42 kB | 27 kB Progress (4): 38 kB | 41/44 kB | 29/42 kB | 27 kB Progress (4): 38 kB | 41/44 kB | 33/42 kB | 27 kB Progress (4): 38 kB | 44 kB | 33/42 kB | 27 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-grouper/2.19.1/surefire-grouper-2.19.1.jar (38 kB at 1.8 MB/s) Progress (3): 44 kB | 37/42 kB | 27 kB Progress (3): 44 kB | 41/42 kB | 27 kB Progress (3): 44 kB | 42 kB | 27 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-testng-utils/2.19.1/surefire-testng-utils-2.19.1.jar (27 kB at 1.1 MB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/common-java5/2.19.1/common-java5-2.19.1.jar (44 kB at 1.8 MB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-testng/2.19.1/surefire-testng-2.19.1.jar (42 kB at 1.5 MB/s) ------------------------------------------------------- T E S T S ------------------------------------------------------- Running TestSuite 2021-01-16 22:34:08,317 INFO - TESTNG RUNNING: Suite: "Surefire test" containing "25" Tests (config: null) 2021-01-16 22:34:08,342 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() [GC (Allocation Failure) 196608K->19372K(753664K), 0.0282099 secs] [GC (Allocation Failure) 215980K->17094K(753664K), 0.0168029 secs] [GC (Allocation Failure) 213702K->20243K(753664K), 0.0166824 secs] [GC (Allocation Failure) 216851K->22364K(753664K), 0.0248531 secs] [GC (Metadata GC Threshold) 26134K->21220K(753664K), 0.0156620 secs] [Full GC (Metadata GC Threshold) 21220K->20758K(753664K), 0.0723866 secs] Jan 16, 2021 10:34:13 PM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be / 2021-01-16 22:34:13,686 INFO - Brooklyn REST server started (programmatic Jersey ServletContainer servlet) on 2021-01-16 22:34:13,687 INFO - http://localhost:8081/ 2021-01-16 22:34:14,075 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() finished in 5737 ms 2021-01-16 22:34:14,085 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() [GC (Allocation Failure) 217366K->39107K(762880K), 0.0178832 secs] [GC (Metadata GC Threshold) 43675K->28556K(747008K), 0.0074403 secs] [Full GC (Metadata GC Threshold) 28556K->27234K(747008K), 0.2242653 secs] 2021-01-16 22:34:14,648 INFO - Brooklyn security: using security provider org.apache.brooklyn.rest.security.provider.TestSecurityProvider 2021-01-16 22:34:14,704 WARN - Did not find handler in bundle org.apache.cxf.cxf-rt-transports-http; not using server-wide handler; check whether bundle is installed! 2021-01-16 22:34:14,761 WARN - Did not find handler in bundle org.apache.cxf.cxf-rt-transports-http; not using server-wide handler; check whether bundle is installed! 2021-01-16 22:34:15,598 INFO - Launched from YAML: name: test-1234 services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> BasicApplicationImpl{id=y23fbsfb9e} (Task[start]@YZ8kgknG) 2021-01-16 22:34:15,627 INFO YZ8kgknG-[y23fbsfb9e] Started application BasicApplicationImpl{id=y23fbsfb9e} 2021-01-16 22:34:15,799 INFO - creation result: null 2021-01-16 22:34:15,932 INFO - apps with test: [ApplicationSummary{id='y23fbsfb9e', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/y23fbsfb9e, entities=/v1/applications/y23fbsfb9e/entities}}] 2021-01-16 22:34:15,938 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 1853 ms 2021-01-16 22:34:15,939 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() 2021-01-16 22:34:15,979 WARN - Failed REST deployment, could not create spec (autodetecting): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: UnsupportedTypePlanException: Invalid plan; format could not be recognized, none of the available transformers [java-type-name:JavaClassNameTypePlanTransformer, bean-with-type:BeanWithTypePlanTransformer, brooklyn-camp:CampTypePlanTransformer] support plan: name: test 2021-01-16 22:34:16,009 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 69 ms 2021-01-16 22:34:16,009 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() 2021-01-16 22:34:16,035 INFO - apps are: [ApplicationSummary{id='y23fbsfb9e', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/y23fbsfb9e, entities=/v1/applications/y23fbsfb9e/entities}}] 2021-01-16 22:34:16,036 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 27 ms 2021-01-16 22:34:16,037 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() 2021-01-16 22:34:16,069 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 32 ms 2021-01-16 22:34:16,070 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() 2021-01-16 22:34:16,142 INFO - locations from catalog are: [] 2021-01-16 22:34:16,142 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 72 ms 2021-01-16 22:34:16,143 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() 2021-01-16 22:34:16,565 INFO - Installed Brooklyn catalog bundle simple-tomcat:1.0 with ID nhe3o76gwv [181], items: [simple-tomcat:1.0] 2021-01-16 22:34:16,599 WARN - Unable to create spec for BasicRegisteredType[simple-tomcat:1.0;simple-tomcat:1.0]: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Unable to instantiate simple-tomcat: brooklyn-camp plan creation error in simple-tomcat:1.0: Unable to match plan item: Service[name=Tomcat,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.tomcat.TomcatServer,characteristics=[],customAttributes={id=tomcat, war=https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war}] org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Unable to instantiate simple-tomcat Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: brooklyn-camp plan creation error in simple-tomcat:1.0: Unable to match plan item: Service[name=Tomcat,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.tomcat.TomcatServer,characteristics=[],customAttributes={id=tomcat, war=https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war}] Caused by: java.lang.IllegalStateException: brooklyn-camp plan creation error in simple-tomcat:1.0: Unable to match plan item: Service[name=Tomcat,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.tomcat.TomcatServer,characteristics=[],customAttributes={id=tomcat, war=https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war}] Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: brooklyn-camp plan creation error in simple-tomcat:1.0: Unable to match plan item: Service[name=Tomcat,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.tomcat.TomcatServer,characteristics=[],customAttributes={id=tomcat, war=https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war}] Caused by: org.apache.brooklyn.util.exceptions.UserFacingException: Unable to match plan item: Service[name=Tomcat,description=<null>,serviceType=org.apache.brooklyn.entity.webapp.tomcat.TomcatServer,characteristics=[],customAttributes={id=tomcat, war=https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/sample.war}] 2021-01-16 22:34:16,639 INFO - TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 484 ms java.lang.AssertionError: Failed containsLiteral("simple-tomcat:1.0"): null at org.apache.brooklyn.test.Asserts.fail(Asserts.java:755) at org.apache.brooklyn.test.Asserts.assertThat(Asserts.java:1151) at org.apache.brooklyn.test.Asserts.assertThat(Asserts.java:1147) at org.apache.brooklyn.test.Asserts.assertStringContains(Asserts.java:1157) at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate(BrooklynApiRestClientTest.java:119) 2021-01-16 22:34:16,641 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() 2021-01-16 22:34:16,641 INFO - Testing location API 2021-01-16 22:34:16,663 INFO - locations located are: {} 2021-01-16 22:34:16,663 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 22 ms 2021-01-16 22:34:16,664 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() 2021-01-16 22:34:16,691 WARN - Did not find handler in bundle org.apache.cxf.cxf-rt-transports-http; not using server-wide handler; check whether bundle is installed! 2021-01-16 22:34:16,695 WARN - Did not find handler in bundle org.apache.cxf.cxf-rt-transports-http; not using server-wide handler; check whether bundle is installed! [GC (Allocation Failure) 241762K->41588K(760832K), 0.0129624 secs] 2021-01-16 22:34:17,127 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 462 ms 2021-01-16 22:34:17,128 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() 2021-01-16 22:34:17,131 INFO AzdSSQSO-[y23fbsfb9e] Stopping application BasicApplicationImpl{id=y23fbsfb9e} 2021-01-16 22:34:17,139 INFO AzdSSQSO-[y23fbsfb9e] Stopped application BasicApplicationImpl{id=y23fbsfb9e} 2021-01-16 22:34:17,299 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 171 ms 2021-01-16 22:34:17,303 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps() 2021-01-16 22:34:17,352 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps() finished in 50 ms 2021-01-16 22:34:17,353 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull() 2021-01-16 22:34:17,354 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull() finished in 0 ms 2021-01-16 22:34:17,354 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull() 2021-01-16 22:34:17,355 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull() finished in 1 ms 2021-01-16 22:34:17,356 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError() 2021-01-16 22:34:17,361 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError() finished in 4 ms 2021-01-16 22:34:17,362 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson() 2021-01-16 22:34:17,365 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson() finished in 4 ms 2021-01-16 22:34:17,366 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage() 2021-01-16 22:34:17,367 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage() finished in 1 ms 2021-01-16 22:34:17,367 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse() 2021-01-16 22:34:17,370 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse() finished in 3 ms 2021-01-16 22:34:17,371 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse() 2021-01-16 22:34:17,373 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse() finished in 2 ms 2021-01-16 22:34:17,374 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields() 2021-01-16 22:34:17,376 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields() finished in 3 ms 2021-01-16 22:34:17,377 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError() 2021-01-16 22:34:17,378 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError() finished in 2 ms 2021-01-16 22:34:17,379 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError() 2021-01-16 22:34:17,382 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError() finished in 3 ms 2021-01-16 22:34:17,382 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError() 2021-01-16 22:34:17,383 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError() finished in 1 ms 2021-01-16 22:34:17,383 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError() 2021-01-16 22:34:17,384 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError() finished in 1 ms 2021-01-16 22:34:17,386 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2021-01-16 22:34:17,394 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 8 ms 2021-01-16 22:34:17,394 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() Jan 16, 2021 10:34:17 PM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 200 OK 2021-01-16 22:34:17,428 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() finished in 34 ms 2021-01-16 22:34:17,429 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2021-01-16 22:34:17,429 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2021-01-16 22:34:17,430 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2021-01-16 22:34:17,430 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms 2021-01-16 22:34:17,431 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() 2021-01-16 22:34:17,437 INFO - Waiting 5m from Sat Jan 16 22:34:17 UTC 2021 for application appId to be RUNNING Jan 16, 2021 10:34:17 PM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: HTTP/1.1 200 OK 2021-01-16 22:34:17,447 INFO - Application appId is RUNNING 2021-01-16 22:34:17,448 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() finished in 17 ms 2021-01-16 22:34:17,448 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2021-01-16 22:34:17,448 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2021-01-16 22:34:17,449 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2021-01-16 22:34:17,449 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms 2021-01-16 22:34:17,449 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() 2021-01-16 22:34:17,454 INFO - Waiting 5m from Sat Jan 16 22:34:17 UTC 2021 for application appId to be RUNNING Jan 16, 2021 10:34:17 PM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: HTTP/1.1 200 OK 2021-01-16 22:34:17,465 WARN - Application is not RUNNING within 5m. Status is: ERROR 2021-01-16 22:34:17,465 ERROR - Application is not running. Is: error Jan 16, 2021 10:34:17 PM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: HTTP/1.1 200 OK 2021-01-16 22:34:17,525 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() finished in 76 ms 2021-01-16 22:34:17,526 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2021-01-16 22:34:17,526 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2021-01-16 22:34:17,526 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2021-01-16 22:34:17,527 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms 2021-01-16 22:34:17,527 INFO - TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() 2021-01-16 22:34:17,531 INFO - Waiting 5m from Sat Jan 16 22:34:17 UTC 2021 for application appId to be RUNNING Jan 16, 2021 10:34:17 PM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: HTTP/1.1 200 OK 2021-01-16 22:34:17,540 WARN - Application is not RUNNING within 5m. Status is: UNKNOWN 2021-01-16 22:34:17,540 ERROR - Application is not running. Is: unknown Jan 16, 2021 10:34:17 PM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: HTTP/1.1 200 OK 2021-01-16 22:34:17,586 INFO - TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() finished in 59 ms 2021-01-16 22:34:17,587 INFO - TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2021-01-16 22:34:17,587 INFO - TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2021-01-16 22:34:17,641 INFO - TESTNG =============================================== Surefire test Tests run: 25, Failures: 1, Skips: 0 =============================================== Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.628 sec <<< FAILURE! - in TestSuite testCatalogCreate(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest) Time elapsed: 0.495 sec <<< FAILURE! java.lang.AssertionError: Failed containsLiteral("simple-tomcat:1.0"): null at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate(BrooklynApiRestClientTest.java:119) Results : Failed tests: BrooklynApiRestClientTest.testCatalogCreate:119 Failed containsLiteral("simple-tomcat:1.0"): null Tests run: 25, Failures: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Brooklyn Client 1.1.0-SNAPSHOT ..................... SUCCESS [ 14.950 s] [INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 37.915 s] [INFO] Brooklyn REST java Client 1.1.0-SNAPSHOT ........... FAILURE [03:16 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:22 min [INFO] Finished at: 2021-01-16T22:34:18Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project brooklyn-rest-client: There are test failures. [ERROR] [ERROR] Please refer to /home/jenkins/workspace/Brooklyn_brooklyn-client_master/java/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :brooklyn-rest-client [Pipeline] } $ docker stop --time=1 9661ed3696e618d318536dd34e8a1e36002d24bb7eec30850e7dd87905065dd5 $ docker rm -f 9661ed3696e618d318536dd34e8a1e36002d24bb7eec30850e7dd87905065dd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } ERROR: script returned exit code 1 [Pipeline] // catchError [Pipeline] stage [Pipeline] { (Publish test results) [Pipeline] junit Recording test results [Pipeline] step TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: **/testng-results.xml Saving reports... Processing '/home/jenkins/jenkins-home/jobs/Brooklyn/jobs/brooklyn-client/branches/master/builds/6/testng/testng-results.xml' 4.000000% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE TestNG Reports Processing: FINISH [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Send notifications) [Pipeline] step