See <https://builds.apache.org/job/brooklyn-client-master/41/display/redirect>
------------------------------------------ [...truncated 51.12 KB...] [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/util/http/BuiltResponsePreservingError.java>: Some input files use or override a deprecated API. [INFO] <https://builds.apache.org/job/brooklyn-client-master/ws/java/src/main/java/org/apache/brooklyn/rest/client/util/http/BuiltResponsePreservingError.java>: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-checkstyle-plugin:2.13:check (verify-style) @ brooklyn-rest-client --- [INFO] [INFO] [INFO] --- maven-bundle-plugin:3.2.0:manifest (bundle-manifest) @ brooklyn-rest-client --- [WARNING] Manifest org.apache.brooklyn:brooklyn-rest-client:jar:0.11.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 3 source files to <https://builds.apache.org/job/brooklyn-client-master/ws/java/target/test-classes> [INFO] <https://builds.apache.org/job/brooklyn-client-master/ws/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java>: <https://builds.apache.org/job/brooklyn-client-master/ws/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/brooklyn-client-master/ws/java/src/test/java/org/apache/brooklyn/rest/client/BrooklynApiRestClientTest.java>: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ brooklyn-rest-client --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running TestSuite 2017-03-24 07:27:45,131 INFO TESTNG RUNNING: Suite: "Surefire test" containing "12" Tests (config: null) 2017-03-24 07:27:45,152 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() [GC (Allocation Failure) 196608K->17622K(753664K), 0.0593443 secs] [GC (Allocation Failure) 214003K->15517K(753664K), 0.0176667 secs] [GC (Allocation Failure) 212125K->19199K(753664K), 0.0253188 secs] [GC (Metadata GC Threshold) 182934K->21237K(753664K), 0.0222097 secs] [Full GC (Metadata GC Threshold) 21237K->20703K(753664K), 0.1456526 secs] Mar 24, 2017 7:27:49 AM org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be / 2017-03-24 07:27:49,393 INFO Brooklyn REST server started (programmatic Jersey ServletContainer servlet) on 2017-03-24 07:27:49,394 INFO http://localhost:8081/ 2017-03-24 07:27:49,924 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() finished in 4777 ms 2017-03-24 07:27:49,935 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() 2017-03-24 07:27:50,190 INFO REST using security provider org.apache.brooklyn.rest.security.provider.TestSecurityProvider [GC (Allocation Failure) 217311K->38918K(753664K), 0.0196098 secs] [GC (Metadata GC Threshold) 50317K->28427K(760320K), 0.0117660 secs] [Full GC (Metadata GC Threshold) 28427K->25841K(760320K), 0.2110406 secs] 2017-03-24 07:27:51,490 INFO Launched from YAML: name: test-1234 services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> BasicApplicationImpl{id=juc7zd8nhz} (Task[start]@fnZDNIN9) 2017-03-24 07:27:51,874 INFO Started application BasicApplicationImpl{id=juc7zd8nhz} 2017-03-24 07:27:52,062 INFO creation result: TaskSummary{id='fnZDNIN9', displayName='start', entityId='juc7zd8nhz', entityDisplayName='test-1234', description='Invoking effector start on test-1234 with parameters {locations=[]}', tags=[EFFECTOR, {wrappingType=targetEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=juc7zd8nhz}}, {wrappingType=callerEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=juc7zd8nhz}}, {wrappingType=contextEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=juc7zd8nhz}}, {entitlementContext={user=test, sourceIp=127.0.0.1, requestUri=/v1/applications, requestUniqueIdentifier=MVegZm}}, inessential, {type=org.apache.brooklyn.api.mgmt.ManagementContext}, {entityId=juc7zd8nhz, effectorName=start}], submitTimeUtc=1490340471374, startTimeUtc=1490340471375, endTimeUtc=null, currentStatus='In progress', result=null, isError=false, isCancelled=false, children=[], submittedByTask=null, blockingTask=null, blockingDetails='null', detailedStatus='Task[start]@fnZDNIN9 In progress (RUNNABLE) At: org.apache.brooklyn.util.groovy.GroovyJavaMethods.invokeMethodOnMetaClass(GroovyJavaMethods.java:205) org.apache.brooklyn.core.mgmt.internal.AbstractManagementContext.invokeEffectorMethodLocal(AbstractManagementContext.java:321) org.apache.brooklyn.core.mgmt.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:346) org.apache.brooklyn.core.mgmt.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:276) org.apache.brooklyn.core.effector.MethodEffector.call(MethodEffector.java:149) org.apache.brooklyn.core.entity.trait.Startable$StartEffectorBody.call(Startable.java:56) org.apache.brooklyn.core.entity.trait.Startable$StartEffectorBody.call(Startable.java:50) org.apache.brooklyn.core.effector.EffectorTasks$EffectorBodyTaskFactory$1.call(EffectorTasks.java:82) org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:362) org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:529)', streams={}, links={self=/v1/activities/fnZDNIN9, children=/v1/activities/fnZDNIN9/children, entity=/v1/applications/juc7zd8nhz/entities/juc7zd8nhz}} 2017-03-24 07:27:52,119 INFO apps with test: [ApplicationSummary{id='juc7zd8nhz', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/juc7zd8nhz, entities=/v1/applications/juc7zd8nhz/entities}}] 2017-03-24 07:27:52,124 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 2190 ms 2017-03-24 07:27:52,125 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() 2017-03-24 07:27:52,154 WARN Failed REST deployment, could not create spec: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Unable to instantiate item; 2 errors including: PlanNotRecognizedException: Invalid plan; format could not be recognized, trying with: [Java type instantiator (org.apache.brooklyn.core.catalog.internal.JavaCatalogToSpecTransformer parses only old-style catalog items containing javaType)] 2017-03-24 07:27:52,193 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 67 ms 2017-03-24 07:27:52,194 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() 2017-03-24 07:27:52,215 INFO apps are: [ApplicationSummary{id='juc7zd8nhz', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/juc7zd8nhz, entities=/v1/applications/juc7zd8nhz/entities}}] 2017-03-24 07:27:52,215 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 21 ms 2017-03-24 07:27:52,216 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() 2017-03-24 07:27:52,241 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 25 ms 2017-03-24 07:27:52,242 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() 2017-03-24 07:27:52,282 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 26 ms java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract javax.ws.rs.core.Response org.apache.brooklyn.rest.api.CatalogApi.create(java.lang.String) at org.jboss.resteasy.client.ProxyFactory.createClientInvoker(ProxyFactory.java:95) at org.jboss.resteasy.client.ProxyBuilder.createProxy(ProxyBuilder.java:154) at org.jboss.resteasy.client.ProxyBuilder.now(ProxyBuilder.java:134) at org.apache.brooklyn.rest.client.BrooklynApi.proxy(BrooklynApi.java:281) at org.apache.brooklyn.rest.client.BrooklynApi.getCatalogApi(BrooklynApi.java:332) at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations(BrooklynApiRestClientTest.java:112) 2017-03-24 07:27:52,283 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() 2017-03-24 07:27:52,296 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 11 ms java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract javax.ws.rs.core.Response org.apache.brooklyn.rest.api.CatalogApi.create(java.lang.String) at org.jboss.resteasy.client.ProxyFactory.createClientInvoker(ProxyFactory.java:95) at org.jboss.resteasy.client.ProxyBuilder.createProxy(ProxyBuilder.java:154) at org.jboss.resteasy.client.ProxyBuilder.now(ProxyBuilder.java:134) at org.apache.brooklyn.rest.client.BrooklynApi.proxy(BrooklynApi.java:281) at org.apache.brooklyn.rest.client.BrooklynApi.getCatalogApi(BrooklynApi.java:332) at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate(BrooklynApiRestClientTest.java:117) 2017-03-24 07:27:52,297 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() 2017-03-24 07:27:52,297 INFO Testing location API 2017-03-24 07:27:52,324 INFO locations located are: {} 2017-03-24 07:27:52,324 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 27 ms 2017-03-24 07:27:52,324 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() 2017-03-24 07:27:52,643 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 315 ms 2017-03-24 07:27:52,644 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() [GC (Allocation Failure) 239857K->43195K(762368K), 0.0281059 secs] [GC (Allocation Failure) 257211K->39912K(763392K), 0.0271079 secs] [GC (Allocation Failure) 255464K->39907K(762880K), 0.0542819 secs] 2017-03-24 07:27:54,419 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing [GC (Allocation Failure) 255459K->64707K(748032K), 0.0517518 secs] [GC (Allocation Failure) 265411K->81726K(755712K), 0.0536647 secs] [GC (Allocation Failure) 282430K->95574K(728064K), 0.0637945 secs] [GC (Allocation Failure) 268630K->105639K(730112K), 0.0476243 secs] [GC (Allocation Failure) 278695K->106496K(740864K), 0.0301284 secs] [GC (Allocation Failure) 276992K->108484K(740352K), 0.0514640 secs] 2017-03-24 07:27:58,539 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 5895 ms 2017-03-24 07:27:58,541 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2017-03-24 07:27:58,546 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 6 ms 2017-03-24 07:27:58,546 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() Mar 24, 2017 7:27:58 AM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 200 OK 2017-03-24 07:27:58,570 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() finished in 23 ms 2017-03-24 07:27:58,570 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2017-03-24 07:27:58,570 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2017-03-24 07:27:58,571 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2017-03-24 07:27:58,571 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms 2017-03-24 07:27:58,571 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() 2017-03-24 07:27:58,576 INFO Waiting 5m from Fri Mar 24 07:27:58 UTC 2017 for application appId to be RUNNING 2017-03-24 07:27:58,586 INFO Application appId is RUNNING 2017-03-24 07:27:58,586 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() finished in 15 ms 2017-03-24 07:27:58,586 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2017-03-24 07:27:58,586 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2017-03-24 07:27:58,587 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2017-03-24 07:27:58,587 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms 2017-03-24 07:27:58,587 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() Mar 24, 2017 7:27:58 AM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: HTTP/1.1 200 OK 2017-03-24 07:27:58,591 INFO Waiting 5m from Fri Mar 24 07:27:58 UTC 2017 for application appId to be RUNNING Mar 24, 2017 7:27:58 AM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: HTTP/1.1 200 OK 2017-03-24 07:27:58,619 WARN Application is not RUNNING within 5m. Status is: ERROR 2017-03-24 07:27:58,620 ERROR Application is not running. Is: error Mar 24, 2017 7:27:58 AM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: HTTP/1.1 200 OK 2017-03-24 07:27:58,672 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() finished in 84 ms 2017-03-24 07:27:58,672 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2017-03-24 07:27:58,672 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2017-03-24 07:27:58,673 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() 2017-03-24 07:27:58,673 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms 2017-03-24 07:27:58,673 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() 2017-03-24 07:27:58,677 INFO Waiting 5m from Fri Mar 24 07:27:58 UTC 2017 for application appId to be RUNNING Mar 24, 2017 7:27:58 AM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/applications/appId HTTP/1.1 and responded: HTTP/1.1 200 OK 2017-03-24 07:27:58,685 WARN Application is not RUNNING within 5m. Status is: UNKNOWN 2017-03-24 07:27:58,685 ERROR Application is not running. Is: unknown Mar 24, 2017 7:27:58 AM com.google.mockwebserver.MockWebServer$2 processOneRequest INFO: Received request: GET /v1/activities/taskId HTTP/1.1 and responded: HTTP/1.1 200 OK 2017-03-24 07:27:58,732 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() finished in 59 ms 2017-03-24 07:27:58,732 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() 2017-03-24 07:27:58,732 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms 2017-03-24 07:27:58,755 WARN Management Context LocalManagementContext[Z38twfFj-K18cSGFi] running, creation stacktrace: java.lang.Throwable: for construction stacktrace at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:141) at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:170) at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:149) at org.apache.brooklyn.rest.BrooklynRestApiLauncher.start(BrooklynRestApiLauncher.java:170) at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp(BrooklynApiRestClientTest.java:79) 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.invokeBeforeClassMethods(TestMethodWorker.java:169) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108) 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) 2017-03-24 07:27:58,799 INFO 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: 1 ManagementContexts terminated 2017-03-24 07:27:58,800 INFO TESTNG =============================================== Surefire test Tests run: 12, Failures: 2, Skips: 0 =============================================== Tests run: 12, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 15.401 sec <<< FAILURE! - in TestSuite testCatalogApiLocations(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest) Time elapsed: 0.04 sec <<< FAILURE! java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract javax.ws.rs.core.Response org.apache.brooklyn.rest.api.CatalogApi.create(java.lang.String) at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations(BrooklynApiRestClientTest.java:112) testCatalogCreate(org.apache.brooklyn.rest.client.BrooklynApiRestClientTest) Time elapsed: 0.012 sec <<< FAILURE! java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract javax.ws.rs.core.Response org.apache.brooklyn.rest.api.CatalogApi.create(java.lang.String) at org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate(BrooklynApiRestClientTest.java:117) Results : Failed tests: BrooklynApiRestClientTest.testCatalogApiLocations:112 » Runtime RESTEASY003595... BrooklynApiRestClientTest.testCatalogCreate:117 » Runtime RESTEASY003595: You ... Tests run: 12, Failures: 2, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Brooklyn Client .................................... SUCCESS [ 10.014 s] [INFO] Brooklyn Client Command Line Interface ............. SUCCESS [01:04 min] [INFO] Brooklyn REST java Client .......................... FAILURE [01:06 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:26 min [INFO] Finished at: 2017-03-24T07:28:07+00:00 [INFO] Final Memory: 65M/767M [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.11.0-SNAPSHOT/brooklyn-client-cli-0.11.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/brooklyn-client-master/ws/cli/target/brooklyn-client-cli-0.11.0-SNAPSHOT-bin.zip> to org.apache.brooklyn/brooklyn-client-cli/0.11.0-SNAPSHOT/brooklyn-client-cli-0.11.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.11.0-SNAPSHOT/brooklyn-rest-client-0.11.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/brooklyn-client-master/ws/pom.xml> to org.apache.brooklyn/brooklyn-client/0.11.0-SNAPSHOT/brooklyn-client-0.11.0-SNAPSHOT.pom channel stopped
