See 
<https://builds.apache.org/job/brooklyn-client-master/53/display/redirect?page=changes>

Changes:

[graeme.miller] Delete requrest now only fail is an unsuccessful code is 
returned

------------------------------------------
[...truncated 46.23 KB...]
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-software-base/0.12.0-SNAPSHOT/brooklyn-software-base-0.12.0-20170523.140338-42.jar
 (3049 KB at 1377.6 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-rest-server/0.12.0-SNAPSHOT/brooklyn-rest-server-0.12.0-20170523.140259-42-tests.jar
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-locations-jclouds/0.12.0-SNAPSHOT/brooklyn-locations-jclouds-0.12.0-20170523.140020-42.jar
 (341 KB at 149.9 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-test-support/0.12.0-SNAPSHOT/brooklyn-test-support-0.12.0-20170523.140432-42.jar
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-utils-rest-swagger/0.12.0-SNAPSHOT/brooklyn-utils-rest-swagger-0.12.0-20170523.140521-42.jar
 (12 KB at 4.6 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-utils-test-support/0.12.0-SNAPSHOT/brooklyn-utils-test-support-0.12.0-20170523.140532-42.jar
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-rest-resources/0.12.0-SNAPSHOT/brooklyn-rest-resources-0.12.0-20170523.140233-42-tests.jar
 (243 KB at 92.2 KB/sec)
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-rest-resources/0.12.0-SNAPSHOT/brooklyn-rest-resources-0.12.0-20170523.140233-42.jar
 (232 KB at 87.9 KB/sec)
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-rest-server/0.12.0-SNAPSHOT/brooklyn-rest-server-0.12.0-20170523.140259-42-tests.jar
 (91 KB at 32.9 KB/sec)
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-test-support/0.12.0-SNAPSHOT/brooklyn-test-support-0.12.0-20170523.140432-42.jar
 (51 KB at 18.2 KB/sec)
[INFO] Downloaded: 
http://repository.apache.org/snapshots/org/apache/brooklyn/brooklyn-utils-test-support/0.12.0-SNAPSHOT/brooklyn-utils-test-support-0.12.0-20170523.140532-42.jar
 (24 KB at 8.4 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ 
brooklyn-rest-client ---
[INFO] Deleting <https://builds.apache.org/job/brooklyn-client-master/ws/java> 
(includes = [brooklyn*.log, brooklyn*.log.*, stacktrace.log, test-output, 
prodDb.*], excludes = [])
[INFO] 
[INFO] --- maven-replacer-plugin:1.4.1:replace 
(fix-eclipse-dot-classpath-mangling) @ brooklyn-rest-client ---
[INFO] Ignoring missing file
[INFO] Replacement run on 0 file.
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ brooklyn-rest-client 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ 
brooklyn-rest-client ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
brooklyn-rest-client ---
[INFO] Downloading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-parent/0.12.0-SNAPSHOT/brooklyn-parent-0.12.0-20170523.140128-42.pom
[INFO] Downloaded: 
https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-parent/0.12.0-SNAPSHOT/brooklyn-parent-0.12.0-20170523.140128-42.pom
 (0 B at 0.0 KB/sec)
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
brooklyn-rest-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/src/main/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ 
brooklyn-rest-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/target/classes>
[INFO] 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java>:
 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java>
 uses or overrides a deprecated API.
[INFO] 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/src/main/java/org/apache/brooklyn/rest/client/BrooklynApi.java>:
 Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ 
brooklyn-rest-client ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.2.0:manifest (bundle-manifest) @ 
brooklyn-rest-client ---
[WARNING] Manifest org.apache.brooklyn:brooklyn-rest-client:jar:0.12.0-SNAPSHOT 
: Unused Export-Package instructions: [brooklyn.*] 
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
brooklyn-rest-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ 
brooklyn-rest-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ 
brooklyn-rest-client ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
2017-05-23 14:56:39,148 INFO  TESTNG RUNNING: Suite: "Surefire test" containing 
"25" Tests (config: null)
2017-05-23 14:56:39,336 ERROR ERROR in testng listener, attempting to terminate 
all extant ManagementContexts
java.lang.NoClassDefFoundError: 
org/apache/brooklyn/util/javalang/coerce/CommonAdaptorTryCoercions
        at 
org.apache.brooklyn.util.core.flags.TypeCoercions.initStandardAdapters(TypeCoercions.java:74)
 ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.ClassNotFoundException: 
org.apache.brooklyn.util.javalang.coerce.CommonAdaptorTryCoercions
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
~[na:1.8.0_121]
2017-05-23 14:56:39,338 WARN  BrooklynLeakListener.onStart attempting to 
terminate all extant ManagementContexts: name=Surefire test; includedGroups=[]; 
excludedGroups=[Integration, Acceptance, Live, Live-sanity, WIP, Broken]; 
suiteName=Surefire suite; 
outDir=<https://builds.apache.org/job/brooklyn-client-master/ws/java/target/surefire-reports/Surefire>
 suite: ERROR: java.lang.NoClassDefFoundError: 
org/apache/brooklyn/util/javalang/coerce/CommonAdaptorTryCoercions
2017-05-23 14:56:39,378 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2017-05-23 14:56:39,491 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
 finished in 115 ms
2017-05-23 14:56:39,493 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2017-05-23 14:56:39,494 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
 finished in 1 ms
2017-05-23 14:56:39,495 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2017-05-23 14:56:39,496 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
 finished in 1 ms
2017-05-23 14:56:39,496 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2017-05-23 14:56:39,557 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
 finished in 61 ms
2017-05-23 14:56:39,559 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2017-05-23 14:56:39,566 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
 finished in 7 ms
2017-05-23 14:56:39,568 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2017-05-23 14:56:39,582 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
 finished in 11 ms
2017-05-23 14:56:39,587 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2017-05-23 14:56:39,591 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
 finished in 7 ms
2017-05-23 14:56:39,591 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2017-05-23 14:56:39,597 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
 finished in 6 ms
2017-05-23 14:56:39,598 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2017-05-23 14:56:39,600 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
 finished in 2 ms
2017-05-23 14:56:39,601 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2017-05-23 14:56:39,605 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
 finished in 4 ms
2017-05-23 14:56:39,606 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2017-05-23 14:56:39,608 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
 finished in 2 ms
2017-05-23 14:56:39,608 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2017-05-23 14:56:39,609 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
 finished in 1 ms
2017-05-23 14:56:39,609 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2017-05-23 14:56:39,610 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
 finished in 1 ms
2017-05-23 14:56:39,611 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp()
2017-05-23 14:56:39,642 INFO  TESTNG FAILED CONFIGURATION: "Surefire test" - 
@BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() 
finished in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,643 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2017-05-23 14:56:39,644 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
 finished in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,645 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2017-05-23 14:56:39,645 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
 finished in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,646 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2017-05-23 14:56:39,646 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
 finished in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,647 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2017-05-23 14:56:39,648 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
 finished in 1 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,649 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2017-05-23 14:56:39,650 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
 finished in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,650 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2017-05-23 14:56:39,651 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() 
finished in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,653 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2017-05-23 14:56:39,654 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() 
finished in 1 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,655 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2017-05-23 14:56:39,655 INFO  TESTNG SKIPPED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() 
finished in 1 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)
2017-05-23 14:56:39,656 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
2017-05-23 14:56:39,656 INFO  TESTNG FAILED CONFIGURATION: "Surefire test" - 
@AfterClass 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished 
in 0 ms
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.getManagementContext(BrooklynApiRestClientTest.java:66)
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown(BrooklynApiRestClientTest.java:87)
2017-05-23 14:56:39,658 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 14:56:39,669 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 11 ms
2017-05-23 14:56:39,670 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
May 23, 2017 2:56:40 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 
200 OK
[GC (Metadata GC Threshold)  173226K->17302K(753664K), 0.0295546 secs]
[Full GC (Metadata GC Threshold)  17302K->15681K(753664K), 0.0426508 secs]
2017-05-23 14:56:40,894 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() 
finished in 1224 ms
2017-05-23 14:56:40,895 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 14:56:40,895 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 0 ms
2017-05-23 14:56:40,896 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 14:56:40,896 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 0 ms
2017-05-23 14:56:40,896 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2017-05-23 14:56:40,918 INFO  Waiting 5m from Tue May 23 14:56:40 UTC 2017 for 
application appId to be RUNNING
May 23, 2017 2:56:40 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2017-05-23 14:56:40,979 INFO  Application appId is RUNNING
2017-05-23 14:56:40,980 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
 finished in 83 ms
2017-05-23 14:56:40,980 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 14:56:40,980 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 0 ms
2017-05-23 14:56:40,981 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 14:56:40,981 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 0 ms
2017-05-23 14:56:40,982 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2017-05-23 14:56:40,987 INFO  Waiting 5m from Tue May 23 14:56:40 UTC 2017 for 
application appId to be RUNNING
May 23, 2017 2:56:40 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2017-05-23 14:56:40,996 WARN  Application is not RUNNING within 5m. Status is: 
ERROR
2017-05-23 14:56:40,996 ERROR Application is not running. Is: error
May 23, 2017 2:56:41 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2017-05-23 14:56:41,044 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
 finished in 63 ms
2017-05-23 14:56:41,045 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 14:56:41,045 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 0 ms
2017-05-23 14:56:41,046 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 14:56:41,046 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished 
in 0 ms
2017-05-23 14:56:41,047 INFO  TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2017-05-23 14:56:41,051 INFO  Waiting 5m from Tue May 23 14:56:41 UTC 2017 for 
application appId to be RUNNING
May 23, 2017 2:56:41 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2017-05-23 14:56:41,064 WARN  Application is not RUNNING within 5m. Status is: 
UNKNOWN
2017-05-23 14:56:41,064 ERROR Application is not running. Is: unknown
May 23, 2017 2:56:41 PM com.google.mockwebserver.MockWebServer$2 
processOneRequest
INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: 
HTTP/1.1 200 OK
2017-05-23 14:56:41,109 INFO  TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
 finished in 62 ms
2017-05-23 14:56:41,109 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 14:56:41,110 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished 
in 1 ms
2017-05-23 14:56:41,147 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 25, Failures: 0, Skips: 8
    Configuration Failures: 2, Skips: 0
===============================================
2017-05-23 14:56:41,148 ERROR ERROR in testng listener, attempting to terminate 
all extant ManagementContexts
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[na:1.8.0_121]
2017-05-23 14:56:41,148 WARN  BrooklynLeakListener.onFinish attempting to 
terminate all extant ManagementContexts: name=Surefire test; includedGroups=[]; 
excludedGroups=[Integration, Acceptance, Live, Live-sanity, WIP, Broken]; 
suiteName=Surefire suite; 
outDir=<https://builds.apache.org/job/brooklyn-client-master/ws/java/target/surefire-reports/Surefire>
 suite: ERROR: java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
Tests run: 27, Failures: 2, Errors: 0, Skipped: 8, Time elapsed: 3.139 sec <<< 
FAILURE! - in TestSuite
setUp(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest)  Time elapsed: 
0.032 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        at 
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79)

tearDown(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest)  Time 
elapsed: 0.001 sec  <<< FAILURE!
java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.brooklyn.core.mgmt.internal.LocalManagementContext
        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:79 ยป NoClassDefFound Could not initialize 
clas...
  BrooklynApiRestClientTest.tearDown:87->getManagementContext:66 NoClassDefFound

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

[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Client .................................... SUCCESS [  8.577 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [01:08 min]
[INFO] Brooklyn REST java Client .......................... FAILURE [ 59.429 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:24 min
[INFO] Finished at: 2017-05-23T14:56:52+00:00
[INFO] Final Memory: 66M/690M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[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 
<https://builds.apache.org/job/brooklyn-client-master/ws/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
[JENKINS] Archiving 
<https://builds.apache.org/job/brooklyn-client-master/ws/cli/pom.xml> to 
org.apache.brooklyn/brooklyn-client-cli/0.12.0-SNAPSHOT/brooklyn-client-cli-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/brooklyn-client-master/ws/cli/target/brooklyn-client-cli-0.12.0-SNAPSHOT-bin.zip>
 to 
org.apache.brooklyn/brooklyn-client-cli/0.12.0-SNAPSHOT/brooklyn-client-cli-0.12.0-SNAPSHOT-bin.zip
[JENKINS] Archiving 
<https://builds.apache.org/job/brooklyn-client-master/ws/java/pom.xml> to 
org.apache.brooklyn/brooklyn-rest-client/0.12.0-SNAPSHOT/brooklyn-rest-client-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving 
<https://builds.apache.org/job/brooklyn-client-master/ws/pom.xml> to 
org.apache.brooklyn/brooklyn-client/0.12.0-SNAPSHOT/brooklyn-client-0.12.0-SNAPSHOT.pom
channel stopped

Reply via email to