See 
<https://ci-builds.apache.org/job/Brooklyn/job/brooklyn-client/job/master/7/display/redirect>

Changes:


------------------------------------------
[...truncated 37556 lines...]
Progress (3): 16/42 kB | 12/27 kB | 8.2/44 kB 
Progress (3): 16/42 kB | 12/27 kB | 12/44 kB 
Progress (3): 20/42 kB | 12/27 kB | 12/44 kB
Progress (3): 20/42 kB | 16/27 kB | 12/44 kB
Progress (4): 20/42 kB | 16/27 kB | 12/44 kB | 4.1/38 kB
Progress (4): 25/42 kB | 16/27 kB | 12/44 kB | 4.1/38 kB
Progress (4): 25/42 kB | 16/27 kB | 16/44 kB | 4.1/38 kB
Progress (4): 29/42 kB | 16/27 kB | 16/44 kB | 4.1/38 kB
Progress (4): 29/42 kB | 20/27 kB | 16/44 kB | 4.1/38 kB
Progress (4): 29/42 kB | 20/27 kB | 20/44 kB | 4.1/38 kB
Progress (4): 29/42 kB | 20/27 kB | 20/44 kB | 8.2/38 kB
Progress (4): 29/42 kB | 20/27 kB | 25/44 kB | 8.2/38 kB
Progress (4): 29/42 kB | 25/27 kB | 25/44 kB | 8.2/38 kB
Progress (4): 33/42 kB | 25/27 kB | 25/44 kB | 8.2/38 kB
Progress (4): 33/42 kB | 27 kB | 25/44 kB | 8.2/38 kB   
Progress (4): 37/42 kB | 27 kB | 25/44 kB | 8.2/38 kB
Progress (4): 37/42 kB | 27 kB | 29/44 kB | 8.2/38 kB
Progress (4): 37/42 kB | 27 kB | 29/44 kB | 12/38 kB 
Progress (4): 37/42 kB | 27 kB | 33/44 kB | 12/38 kB
Progress (4): 41/42 kB | 27 kB | 33/44 kB | 12/38 kB
Progress (4): 42 kB | 27 kB | 33/44 kB | 12/38 kB   
Progress (4): 42 kB | 27 kB | 33/44 kB | 16/38 kB
Progress (4): 42 kB | 27 kB | 37/44 kB | 16/38 kB
Progress (4): 42 kB | 27 kB | 41/44 kB | 16/38 kB
Progress (4): 42 kB | 27 kB | 44 kB | 16/38 kB   
Progress (4): 42 kB | 27 kB | 44 kB | 20/38 kB
Progress (4): 42 kB | 27 kB | 44 kB | 25/38 kB
Progress (4): 42 kB | 27 kB | 44 kB | 29/38 kB
Progress (4): 42 kB | 27 kB | 44 kB | 33/38 kB
Progress (4): 42 kB | 27 kB | 44 kB | 37/38 kB
Progress (4): 42 kB | 27 kB | 44 kB | 38 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.2 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.8 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-grouper/2.19.1/surefire-grouper-2.19.1.jar
 (38 kB at 1.5 MB/s)

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
2021-01-21 21:23:06,362 INFO  - TESTNG RUNNING: Suite: "Surefire test" 
containing "25" Tests (config: null)
2021-01-21 21:23:06,392 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2021-01-21 21:23:06,410 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 19 ms
2021-01-21 21:23:06,411 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
Jan 21, 2021 9:23:07 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 
200 OK
[GC (Allocation Failure)  196608K->21495K(753664K), 0.0250754 secs]
[GC (Metadata GC Threshold)  25112K->17366K(753664K), 0.0123860 secs]
[Full GC (Metadata GC Threshold)  17366K->16469K(753664K), 0.0440874 secs]
2021-01-21 21:23:07,517 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() 
finished in 1106 ms
2021-01-21 21:23:07,518 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2021-01-21 21:23:07,518 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2021-01-21 21:23:07,519 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2021-01-21 21:23:07,520 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 1 ms
2021-01-21 21:23:07,520 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2021-01-21 21:23:07,540 INFO  - Waiting 5m from Thu Jan 21 21:23:07 UTC 2021 
for application appId to be RUNNING
Jan 21, 2021 9:23:07 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-21 21:23:07,666 INFO  - Application appId is RUNNING
2021-01-21 21:23:07,666 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
 finished in 146 ms
2021-01-21 21:23:07,667 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2021-01-21 21:23:07,668 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2021-01-21 21:23:07,669 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2021-01-21 21:23:07,670 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 1 ms
2021-01-21 21:23:07,670 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2021-01-21 21:23:07,677 INFO  - Waiting 5m from Thu Jan 21 21:23:07 UTC 2021 
for application appId to be RUNNING
Jan 21, 2021 9:23:07 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-21 21:23:07,693 WARN  - Application is not RUNNING within 5m. Status 
is: ERROR
2021-01-21 21:23:07,693 ERROR - Application is not running. Is: error
Jan 21, 2021 9:23:07 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-21 21:23:07,770 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
 finished in 100 ms
2021-01-21 21:23:07,771 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2021-01-21 21:23:07,772 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2021-01-21 21:23:07,773 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2021-01-21 21:23:07,773 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 0 ms
2021-01-21 21:23:07,774 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2021-01-21 21:23:07,778 INFO  - Waiting 5m from Thu Jan 21 21:23:07 UTC 2021 
for application appId to be RUNNING
Jan 21, 2021 9:23:07 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-21 21:23:07,792 WARN  - Application is not RUNNING within 5m. Status 
is: UNKNOWN
2021-01-21 21:23:07,792 ERROR - Application is not running. Is: unknown
Jan 21, 2021 9:23:07 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-21 21:23:07,840 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
 finished in 66 ms
2021-01-21 21:23:07,841 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2021-01-21 21:23:07,841 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 0 ms
2021-01-21 21:23:07,844 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2021-01-21 21:23:07,894 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
 finished in 49 ms
2021-01-21 21:23:07,894 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2021-01-21 21:23:07,895 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
 finished in 1 ms
2021-01-21 21:23:07,895 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2021-01-21 21:23:07,896 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
 finished in 1 ms
2021-01-21 21:23:07,897 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2021-01-21 21:23:07,902 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
 finished in 5 ms
2021-01-21 21:23:07,902 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2021-01-21 21:23:07,905 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
 finished in 3 ms
2021-01-21 21:23:07,906 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2021-01-21 21:23:07,909 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
 finished in 4 ms
2021-01-21 21:23:07,909 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2021-01-21 21:23:07,912 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
 finished in 3 ms
2021-01-21 21:23:07,913 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2021-01-21 21:23:07,916 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
 finished in 3 ms
2021-01-21 21:23:07,917 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2021-01-21 21:23:07,919 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
 finished in 3 ms
2021-01-21 21:23:07,920 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2021-01-21 21:23:07,922 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
 finished in 2 ms
2021-01-21 21:23:07,923 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2021-01-21 21:23:07,926 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
 finished in 3 ms
2021-01-21 21:23:07,927 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2021-01-21 21:23:07,928 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
 finished in 0 ms
2021-01-21 21:23:07,929 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2021-01-21 21:23:07,930 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
 finished in 2 ms
2021-01-21 21:23:07,932 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp()
[GC (Allocation Failure)  213077K->30472K(753664K), 0.0121549 secs]
[GC (Allocation Failure)  227080K->29124K(753664K), 0.0083943 secs]
[GC (Allocation Failure)  225732K->33760K(753664K), 0.0076807 secs]
[GC (Allocation Failure)  230368K->38846K(759296K), 0.0200390 secs]
[GC (Metadata GC Threshold)  43295K->33839K(761344K), 0.0101332 secs]
[Full GC (Metadata GC Threshold)  33839K->25082K(761344K), 0.1149232 secs]
Jan 21, 2021 9:23:11 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /
2021-01-21 21:23:11,858 INFO  - Brooklyn REST server started (programmatic 
Jersey ServletContainer servlet) on
2021-01-21 21:23:11,859 INFO  -   http://localhost:8081/
2021-01-21 21:23:11,908 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() 
finished in 3976 ms
2021-01-21 21:23:11,909 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2021-01-21 21:23:12,125 INFO  - Brooklyn security: using security provider 
org.apache.brooklyn.rest.security.provider.TestSecurityProvider
2021-01-21 21:23:12,162 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-21 21:23:12,213 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-21 21:23:12,852 INFO  - Launched from YAML: name: test-1234
services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> 
BasicApplicationImpl{id=pmaazxltpp} (Task[start]@QN1p5dGU)
2021-01-21 21:23:12,886 INFO  QN1p5dGU-[pmaazxltpp] Started application 
BasicApplicationImpl{id=pmaazxltpp}
2021-01-21 21:23:12,971 INFO  - creation result: null
2021-01-21 21:23:13,026 INFO  - apps with test: 
[ApplicationSummary{id='pmaazxltpp', spec=ApplicationSpec{name='test-1234', 
type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, 
locations=[], config={}}, status=RUNNING, 
links={self=/v1/applications/pmaazxltpp, 
entities=/v1/applications/pmaazxltpp/entities}}]
2021-01-21 21:23:13,026 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
 finished in 1117 ms
2021-01-21 21:23:13,027 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2021-01-21 21:23:13,063 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-21 21:23:13,090 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
 finished in 63 ms
2021-01-21 21:23:13,091 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2021-01-21 21:23:13,112 INFO  - apps are: [ApplicationSummary{id='pmaazxltpp', 
spec=ApplicationSpec{name='test-1234', 
type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, 
locations=[], config={}}, status=RUNNING, 
links={self=/v1/applications/pmaazxltpp, 
entities=/v1/applications/pmaazxltpp/entities}}]
2021-01-21 21:23:13,113 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
 finished in 22 ms
2021-01-21 21:23:13,113 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2021-01-21 21:23:13,140 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
 finished in 27 ms
2021-01-21 21:23:13,141 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2021-01-21 21:23:13,207 INFO  - locations from catalog are: []
2021-01-21 21:23:13,208 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
 finished in 67 ms
2021-01-21 21:23:13,209 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
[GC (Allocation Failure)  237050K->41670K(762880K), 0.0182415 secs]
2021-01-21 21:23:13,554 INFO  - Installed Brooklyn catalog bundle 
simple-tomcat:1.0 with ID fmzg5d1yzy [181], items: [simple-tomcat:1.0]
2021-01-21 21:23:13,586 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-21 21:23:13,623 INFO  - TESTNG FAILED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() 
finished in 404 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-21 21:23:13,624 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2021-01-21 21:23:13,625 INFO  - Testing location API
2021-01-21 21:23:13,646 INFO  - locations located are: {}
2021-01-21 21:23:13,646 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() 
finished in 22 ms
2021-01-21 21:23:13,647 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2021-01-21 21:23:13,664 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-21 21:23:13,670 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)  256198K->38910K(762368K), 0.0162979 secs]
2021-01-21 21:23:14,065 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() 
finished in 418 ms
2021-01-21 21:23:14,065 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterClass 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
2021-01-21 21:23:14,068 INFO  UAFY6ZQy-[pmaazxltpp] Stopping application 
BasicApplicationImpl{id=pmaazxltpp}
2021-01-21 21:23:14,075 INFO  UAFY6ZQy-[pmaazxltpp] Stopped application 
BasicApplicationImpl{id=pmaazxltpp}
2021-01-21 21:23:14,218 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterClass 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished 
in 153 ms
2021-01-21 21:23:14,253 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 25, Failures: 1, Skips: 0
===============================================
Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.188 sec <<< 
FAILURE! - in TestSuite
testCatalogCreate(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest)  
Time elapsed: 0.414 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 [ 15.141 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 38.024 s]
[INFO] Brooklyn REST java Client 1.1.0-SNAPSHOT ........... FAILURE [03:18 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:23 min
[INFO] Finished at: 2021-01-21T21:23:14Z
[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/jenkins-agent/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 
5146a5b41a4fe91483abf4a84ed26fa6c209e9271993b94ea63713cca09c521d
$ docker rm -f 5146a5b41a4fe91483abf4a84ed26fa6c209e9271993b94ea63713cca09c521d
[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/7/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

Reply via email to