brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: brooklyn-client-master #54
Date Tue, 23 May 2017 15:04:42 GMT
See <https://builds.apache.org/job/brooklyn-client-master/54/display/redirect>

------------------------------------------
[...truncated 50.22 KB...]
[INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar
[INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/jboss/logging/jboss-logging/3.1.4.GA/jboss-logging-3.1.4.GA.jar
[INFO] Downloading: https://repository.apache.org/content/repositories/snapshots/org/jboss/resteasy/resteasy-jackson2-provider/3.0.19.Final/resteasy-jackson2-provider-3.0.19.Final.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-jaxrs/3.0.19.Final/resteasy-jaxrs-3.0.19.Final.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-jackson2-provider/3.0.19.Final/resteasy-jackson2-provider-3.0.19.Final.jar
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.4.GA/jboss-logging-3.1.4.GA.jar
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-jackson2-provider/3.0.19.Final/resteasy-jackson2-provider-3.0.19.Final.jar
(14 KB at 360.3 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jboss/spec/javax/ws/rs/jboss-jaxrs-api_2.0_spec/1.0.0.Final/jboss-jaxrs-api_2.0_spec-1.0.0.Final.jar
(115 KB at 2194.4 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jboss/logging/jboss-logging/3.1.4.GA/jboss-logging-3.1.4.GA.jar
(56 KB at 809.5 KB/sec)
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/jboss/resteasy/resteasy-jaxrs/3.0.19.Final/resteasy-jaxrs-3.0.19.Final.jar
(870 KB at 6897.8 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 15:00:09,207 INFO  TESTNG RUNNING: Suite: "Surefire test" containing "25" Tests
(config: null)
2017-05-23 15:00:09,401 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 15:00:09,403 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 15:00:09,451 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 15:00:09,483 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 35 ms
2017-05-23 15:00:09,484 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
May 23, 2017 3:00:10 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)  157507K->17463K(753664K), 0.0367960 secs]
[Full GC (Metadata GC Threshold)  17463K->15896K(753664K), 0.0576509 secs]
2017-05-23 15:00:11,548 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
finished in 2064 ms
2017-05-23 15:00:11,549 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 15:00:11,550 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-05-23 15:00:11,552 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 15:00:11,552 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-05-23 15:00:11,553 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2017-05-23 15:00:11,587 INFO  Waiting 5m from Tue May 23 15:00:11 UTC 2017 for application
appId to be RUNNING
May 23, 2017 3:00:11 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 15:00:11,677 INFO  Application appId is RUNNING
2017-05-23 15:00:11,678 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
finished in 125 ms
2017-05-23 15:00:11,679 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 15:00:11,680 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-05-23 15:00:11,681 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 15:00:11,682 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms
2017-05-23 15:00:11,682 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2017-05-23 15:00:11,691 INFO  Waiting 5m from Tue May 23 15:00:11 UTC 2017 for application
appId to be RUNNING
May 23, 2017 3:00:11 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 15:00:11,707 WARN  Application is not RUNNING within 5m. Status is: ERROR
2017-05-23 15:00:11,708 ERROR Application is not running. Is: error
May 23, 2017 3:00:11 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 15:00:11,768 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
finished in 86 ms
2017-05-23 15:00:11,769 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 15:00:11,770 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-05-23 15:00:11,772 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-05-23 15:00:11,773 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms
2017-05-23 15:00:11,773 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2017-05-23 15:00:11,781 INFO  Waiting 5m from Tue May 23 15:00:11 UTC 2017 for application
appId to be RUNNING
May 23, 2017 3:00:11 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 15:00:11,798 WARN  Application is not RUNNING within 5m. Status is: UNKNOWN
2017-05-23 15:00:11,799 ERROR Application is not running. Is: unknown
May 23, 2017 3:00:11 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 15:00:11,858 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
finished in 85 ms
2017-05-23 15:00:11,859 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-05-23 15:00:11,860 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-05-23 15:00:11,865 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeClass
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp()
2017-05-23 15:00:11,923 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 15:00:11,924 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2017-05-23 15:00:11,926 INFO  TESTNG SKIPPED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
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 15:00:11,928 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2017-05-23 15:00:11,929 INFO  TESTNG SKIPPED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
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 15:00:11,931 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2017-05-23 15:00:11,932 INFO  TESTNG SKIPPED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
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 15:00:11,934 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2017-05-23 15:00:11,935 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 15:00:11,937 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2017-05-23 15:00:11,938 INFO  TESTNG SKIPPED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
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 15:00:11,940 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2017-05-23 15:00:11,941 INFO  TESTNG SKIPPED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
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 15:00:11,943 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2017-05-23 15:00:11,944 INFO  TESTNG SKIPPED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
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 15:00:11,945 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2017-05-23 15:00:11,946 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 15:00:11,947 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass
org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
2017-05-23 15:00:11,949 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 15:00:11,951 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2017-05-23 15:00:12,047 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
finished in 95 ms
2017-05-23 15:00:12,048 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2017-05-23 15:00:12,049 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
finished in 1 ms
2017-05-23 15:00:12,050 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2017-05-23 15:00:12,050 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
finished in 1 ms
2017-05-23 15:00:12,051 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2017-05-23 15:00:12,061 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
finished in 10 ms
2017-05-23 15:00:12,062 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2017-05-23 15:00:12,066 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
finished in 4 ms
2017-05-23 15:00:12,067 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2017-05-23 15:00:12,070 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
finished in 3 ms
2017-05-23 15:00:12,071 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2017-05-23 15:00:12,075 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
finished in 3 ms
2017-05-23 15:00:12,076 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2017-05-23 15:00:12,079 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
finished in 3 ms
2017-05-23 15:00:12,080 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2017-05-23 15:00:12,083 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
finished in 3 ms
2017-05-23 15:00:12,084 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2017-05-23 15:00:12,089 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
finished in 5 ms
2017-05-23 15:00:12,090 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2017-05-23 15:00:12,093 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
finished in 3 ms
2017-05-23 15:00:12,094 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2017-05-23 15:00:12,095 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
finished in 1 ms
2017-05-23 15:00:12,096 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2017-05-23 15:00:12,098 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
finished in 2 ms
2017-05-23 15:00:12,151 INFO  TESTNG 
===============================================
    Surefire test
    Tests run: 25, Failures: 0, Skips: 8
    Configuration Failures: 2, Skips: 0
===============================================
2017-05-23 15:00:12,153 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 15:00:12,154 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: 4.209 sec <<< FAILURE!
- in TestSuite
setUp(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest)  Time elapsed: 0.148 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.003 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 [ 14.630 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [01:39 min]
[INFO] Brooklyn REST java Client .......................... FAILURE [01:56 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:10 min
[INFO] Finished at: 2017-05-23T15:01:27+00:00
[INFO] Final Memory: 66M/592M
[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

Mime
View raw message