See 
<https://builds.apache.org/job/brooklyn-client-master-docker/20/display/redirect>

------------------------------------------
[...truncated 481.55 KB...]
        at 
org.apache.brooklyn.rt.felix.EmbeddedFramework.getFramework(EmbeddedFramework.java:30)
        at org.apache.brooklyn.util.core.osgi.Osgis.getFramework(Osgis.java:301)
        at 
org.apache.brooklyn.core.mgmt.ha.OsgiManager.start(OsgiManager.java:273)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:184)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:149)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:77)
Caused by: org.osgi.framework.BundleException: Error creating bundle cache.
        at org.apache.felix.framework.Felix.init(Felix.java:697)
        at org.apache.felix.framework.Felix.init(Felix.java:626)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFelixFramework.newFrameworkStarted(EmbeddedFelixFramework.java:107)
        ... 37 more
Caused by: java.lang.RuntimeException: Unable to create cache directory.
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:131)
        at org.apache.felix.framework.Felix.init(Felix.java:692)
        ... 39 more
2018-09-22 18:48:03,367 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2018-09-22 18:48:03,370 INFO  - TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() 
finished in 1 ms
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: 
BundleException: Error creating bundle cache.
        at 
org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:129)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFelixFramework.newFrameworkStarted(EmbeddedFelixFramework.java:112)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFramework.getFramework(EmbeddedFramework.java:30)
        at org.apache.brooklyn.util.core.osgi.Osgis.getFramework(Osgis.java:301)
        at 
org.apache.brooklyn.core.mgmt.ha.OsgiManager.start(OsgiManager.java:273)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:184)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:149)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:77)
Caused by: org.osgi.framework.BundleException: Error creating bundle cache.
        at org.apache.felix.framework.Felix.init(Felix.java:697)
        at org.apache.felix.framework.Felix.init(Felix.java:626)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFelixFramework.newFrameworkStarted(EmbeddedFelixFramework.java:107)
        ... 37 more
Caused by: java.lang.RuntimeException: Unable to create cache directory.
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:131)
        at org.apache.felix.framework.Felix.init(Felix.java:692)
        ... 39 more
2018-09-22 18:48:03,371 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterClass 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
2018-09-22 18:48:03,378 INFO  - Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@4d722ac9
ERROR: Unable to create cache directory: 
/var/maven/.brooklyn/osgi/cache/Q9HKEaNO
ERROR: Error creating bundle cache.
java.lang.RuntimeException: Unable to create cache directory.
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:131)
        at org.apache.felix.framework.Felix.init(Felix.java:692)
        at org.apache.felix.framework.Felix.init(Felix.java:626)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFelixFramework.newFrameworkStarted(EmbeddedFelixFramework.java:107)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFramework.getFramework(EmbeddedFramework.java:30)
        at org.apache.brooklyn.util.core.osgi.Osgis.getFramework(Osgis.java:301)
        at 
org.apache.brooklyn.core.mgmt.ha.OsgiManager.start(OsgiManager.java:273)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:184)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:149)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown(BrooklynApiRestClientTest.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
        at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:515)
        at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:217)
        at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:144)
        at 
org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:217)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:115)
        at org.testng.TestRunner.privateRun(TestRunner.java:756)
        at org.testng.TestRunner.run(TestRunner.java:610)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
        at org.testng.SuiteRunner.run(SuiteRunner.java:289)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
        at org.testng.TestNG.runSuites(TestNG.java:1133)
        at org.testng.TestNG.run(TestNG.java:1104)
        at 
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:132)
        at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
        at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
        at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:147)
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
2018-09-22 18:48:03,425 INFO  - TESTNG FAILED CONFIGURATION: "Surefire test" - 
@AfterClass 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished 
in 0 ms
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: 
BundleException: Error creating bundle cache.
        at 
org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:129)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFelixFramework.newFrameworkStarted(EmbeddedFelixFramework.java:112)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFramework.getFramework(EmbeddedFramework.java:30)
        at org.apache.brooklyn.util.core.osgi.Osgis.getFramework(Osgis.java:301)
        at 
org.apache.brooklyn.core.mgmt.ha.OsgiManager.start(OsgiManager.java:273)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:184)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:163)
        at 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:149)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown(BrooklynApiRestClientTest.java:87)
Caused by: org.osgi.framework.BundleException: Error creating bundle cache.
        at org.apache.felix.framework.Felix.init(Felix.java:697)
        at org.apache.felix.framework.Felix.init(Felix.java:626)
        at 
org.apache.brooklyn.rt.felix.EmbeddedFelixFramework.newFrameworkStarted(EmbeddedFelixFramework.java:107)
        ... 37 more
Caused by: java.lang.RuntimeException: Unable to create cache directory.
        at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:131)
        at org.apache.felix.framework.Felix.init(Felix.java:692)
        ... 39 more
2018-09-22 18:48:03,430 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2018-09-22 18:48:03,440 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 10 ms
2018-09-22 18:48:03,441 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
[GC (Metadata GC Threshold)  66664K->10586K(753664K), 0.0179271 secs]
[Full GC (Metadata GC Threshold)  10586K->10255K(753664K), 0.0583482 secs]
Sep 22, 2018 6:48:04 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 
200 OK
2018-09-22 18:48:04,741 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() 
finished in 1299 ms
2018-09-22 18:48:04,741 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2018-09-22 18:48:04,742 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2018-09-22 18:48:04,743 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2018-09-22 18:48:04,743 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 0 ms
2018-09-22 18:48:04,744 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2018-09-22 18:48:04,785 INFO  - Waiting 5m from Sat Sep 22 18:48:04 UTC 2018 
for application appId to be RUNNING
Sep 22, 2018 6:48:04 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2018-09-22 18:48:04,838 INFO  - Application appId is RUNNING
2018-09-22 18:48:04,839 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
 finished in 95 ms
2018-09-22 18:48:04,840 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2018-09-22 18:48:04,840 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 0 ms
2018-09-22 18:48:04,841 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2018-09-22 18:48:04,842 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 1 ms
2018-09-22 18:48:04,842 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2018-09-22 18:48:04,854 INFO  - Waiting 5m from Sat Sep 22 18:48:04 UTC 2018 
for application appId to be RUNNING
Sep 22, 2018 6:48:04 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2018-09-22 18:48:04,876 WARN  - Application is not RUNNING within 5m. Status 
is: ERROR
2018-09-22 18:48:04,877 ERROR - Application is not running. Is: error
Sep 22, 2018 6:48:04 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2018-09-22 18:48:04,933 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
 finished in 90 ms
2018-09-22 18:48:04,934 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2018-09-22 18:48:04,935 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2018-09-22 18:48:04,937 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2018-09-22 18:48:04,938 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 1 ms
2018-09-22 18:48:04,938 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2018-09-22 18:48:04,948 INFO  - Waiting 5m from Sat Sep 22 18:48:04 UTC 2018 
for application appId to be RUNNING
Sep 22, 2018 6:48:04 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2018-09-22 18:48:04,966 WARN  - Application is not RUNNING within 5m. Status 
is: UNKNOWN
2018-09-22 18:48:04,967 ERROR - Application is not running. Is: unknown
Sep 22, 2018 6:48:04 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2018-09-22 18:48:05,016 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
 finished in 78 ms
2018-09-22 18:48:05,018 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2018-09-22 18:48:05,018 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2018-09-22 18:48:05,020 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2018-09-22 18:48:05,103 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
 finished in 83 ms
2018-09-22 18:48:05,104 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2018-09-22 18:48:05,105 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
 finished in 1 ms
2018-09-22 18:48:05,105 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2018-09-22 18:48:05,106 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
 finished in 1 ms
2018-09-22 18:48:05,106 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2018-09-22 18:48:05,113 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
 finished in 7 ms
2018-09-22 18:48:05,113 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2018-09-22 18:48:05,116 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
 finished in 3 ms
2018-09-22 18:48:05,117 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2018-09-22 18:48:05,119 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
 finished in 2 ms
2018-09-22 18:48:05,120 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2018-09-22 18:48:05,124 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
 finished in 3 ms
2018-09-22 18:48:05,124 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2018-09-22 18:48:05,127 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
 finished in 3 ms
2018-09-22 18:48:05,128 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2018-09-22 18:48:05,131 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
 finished in 3 ms
2018-09-22 18:48:05,132 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2018-09-22 18:48:05,135 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
 finished in 2 ms
2018-09-22 18:48:05,135 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2018-09-22 18:48:05,138 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
 finished in 3 ms
2018-09-22 18:48:05,139 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2018-09-22 18:48:05,140 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
 finished in 1 ms
2018-09-22 18:48:05,141 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2018-09-22 18:48:05,142 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
 finished in 1 ms
2018-09-22 18:48:05,204 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 25, Failures: 0, Skips: 8
    Configuration Failures: 2, Skips: 0
===============================================
Tests run: 27, Failures: 2, Errors: 0, Skipped: 8, Time elapsed: 4.309 sec <<< 
FAILURE! - in TestSuite
setUp(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest)  Time elapsed: 
2.21 sec  <<< FAILURE!
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: 
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:77)
Caused by: org.osgi.framework.BundleException: Error creating bundle cache.
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:77)
Caused by: java.lang.RuntimeException: Unable to create cache directory.
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:77)

tearDown(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest)  Time 
elapsed: 0.059 sec  <<< FAILURE!
org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: 
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown(BrooklynApiRestClientTest.java:87)
Caused by: org.osgi.framework.BundleException: Error creating bundle cache.
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown(BrooklynApiRestClientTest.java:87)
Caused by: java.lang.RuntimeException: Unable to create cache directory.
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown(BrooklynApiRestClientTest.java:87)


Results :

Failed tests: 
  BrooklynApiRestClientTest.setUp:77->getManagementContext:66 » 
PropagatedRuntime
  BrooklynApiRestClientTest.tearDown:87->getManagementContext:66 » 
PropagatedRuntime

Tests run: 27, Failures: 2, Errors: 0, Skipped: 8

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Client .................................... SUCCESS [  6.212 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 39.914 s]
[INFO] Brooklyn REST java Client .......................... FAILURE [ 47.251 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:38 min
[INFO] Finished at: 2018-09-22T18:48:05Z
[INFO] Final Memory: 71M/711M
[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 /usr/build/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
Build step 'Execute shell' marked build as failure
Recording test results
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: 
**/testng-results.xml
Saving reports...
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-client-master-docker/builds/20/testng/testng-results.xml'
TestNG Reports Processing: FINISH

Reply via email to