You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/07/27 17:18:47 UTC
Build failed in Jenkins: brooklyn-client-master #60
See <https://builds.apache.org/job/brooklyn-client-master/60/display/redirect?page=changes>
Changes:
[sam.corbett] Set ContentType when adding .yaml and .bom files to the catalog
------------------------------------------
[...truncated 58.73 KB...]
2017-07-27 17:18:09,153 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-27 17:18:09,155 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-27 17:18:09,156 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms
2017-07-27 17:18:09,156 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2017-07-27 17:18:09,186 INFO Waiting 5m from Thu Jul 27 17:18:09 UTC 2017 for application appId to be RUNNING
Jul 27, 2017 5:18:09 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-07-27 17:18:09,263 INFO Application appId is RUNNING
2017-07-27 17:18:09,264 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() finished in 108 ms
2017-07-27 17:18:09,265 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-27 17:18:09,266 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-27 17:18:09,269 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-27 17:18:09,270 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 3 ms
2017-07-27 17:18:09,271 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2017-07-27 17:18:09,279 INFO Waiting 5m from Thu Jul 27 17:18:09 UTC 2017 for application appId to be RUNNING
Jul 27, 2017 5:18:09 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-07-27 17:18:09,307 WARN Application is not RUNNING within 5m. Status is: ERROR
2017-07-27 17:18:09,308 ERROR Application is not running. Is: error
2017-07-27 17:18:09,333 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() finished in 44 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
2017-07-27 17:18:09,335 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-27 17:18:09,335 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-27 17:18:09,337 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-27 17:18:09,338 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms
2017-07-27 17:18:09,339 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2017-07-27 17:18:09,346 INFO Waiting 5m from Thu Jul 27 17:18:09 UTC 2017 for application appId to be RUNNING
Jul 27, 2017 5:18:09 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-07-27 17:18:09,362 WARN Application is not RUNNING within 5m. Status is: UNKNOWN
2017-07-27 17:18:09,362 ERROR Application is not running. Is: unknown
2017-07-27 17:18:09,367 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() finished in 27 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
2017-07-27 17:18:09,368 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-27 17:18:09,369 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-27 17:18:09,374 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp()
[GC (Allocation Failure) 213778K->32402K(753664K), 0.0623084 secs]
[GC (Allocation Failure) 229010K->31104K(753664K), 0.0153971 secs]
[GC (Allocation Failure) 227712K->34003K(753664K), 0.0590829 secs]
Jul 27, 2017 5:18:14 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /
2017-07-27 17:18:14,752 INFO Brooklyn REST server started (programmatic Jersey ServletContainer servlet) on
2017-07-27 17:18:14,758 INFO http://localhost:8081/
2017-07-27 17:18:14,766 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() finished in 5392 ms
2017-07-27 17:18:14,767 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2017-07-27 17:18:14,969 INFO REST using security provider org.apache.brooklyn.rest.security.provider.TestSecurityProvider
[GC (Metadata GC Threshold) 219227K->42412K(753664K), 0.0406292 secs]
[Full GC (Metadata GC Threshold) 42412K->30838K(753664K), 0.1701401 secs]
2017-07-27 17:18:15,799 INFO Uninstalling now-empty BOM wrapper bundle brooklyn-empty-catalog:0.0.0-SNAPSHOT (brooklyn:jgtozf1osq)
2017-07-27 17:18:16,556 INFO Launched from YAML: name: test-1234
services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> BasicApplicationImpl{id=l5jbpvmqi1} (Task[start]@MswMLinK)
2017-07-27 17:18:16,592 INFO Started application BasicApplicationImpl{id=l5jbpvmqi1}
2017-07-27 17:18:16,840 INFO creation result: TaskSummary{id='MswMLinK', displayName='start', entityId='l5jbpvmqi1', entityDisplayName='test-1234', description='Invoking effector start on test-1234 with parameters {locations=[]}', tags=[EFFECTOR, {entitlementContext={user=test, sourceIp=127.0.0.1, requestUri=/v1/applications, requestUniqueIdentifier=wH21g1}}, inessential, {wrappingType=callerEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=l5jbpvmqi1}}, {type=org.apache.brooklyn.api.mgmt.ManagementContext}, {entityId=l5jbpvmqi1, effectorName=start}, {wrappingType=targetEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=l5jbpvmqi1}}, {wrappingType=contextEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=l5jbpvmqi1}}], submitTimeUtc=1501175896498, startTimeUtc=1501175896499, endTimeUtc=1501175896592, currentStatus='Completed', result=null, isError=false, isCancelled=false, children=[LinkWithMetadata{link='/v1/activities/SUIGIJHH', metadata={id=SUIGIJHH, taskName=invoking start[locations] on 1 node, entityId=l5jbpvmqi1, entityDisplayName=test-1234}}], submittedByTask=null, blockingTask=null, blockingDetails='null', detailedStatus='Completed after 94ms
No return value (null)', streams={}, links={self=/v1/activities/MswMLinK, children=/v1/activities/MswMLinK/children, entity=/v1/applications/l5jbpvmqi1/entities/l5jbpvmqi1}}
2017-07-27 17:18:16,907 INFO apps with test: [ApplicationSummary{id='l5jbpvmqi1', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/l5jbpvmqi1, entities=/v1/applications/l5jbpvmqi1/entities}}]
2017-07-27 17:18:16,909 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 2142 ms
2017-07-27 17:18:16,910 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2017-07-27 17:18:16,955 WARN Failed REST deployment, could not create spec: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Unable to instantiate item; 2 errors including: UnsupportedTypePlanException: 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 only 'type: JavaClass' or javaType in DTO)]
2017-07-27 17:18:17,005 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 95 ms
2017-07-27 17:18:17,006 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2017-07-27 17:18:17,038 INFO apps are: [ApplicationSummary{id='l5jbpvmqi1', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/l5jbpvmqi1, entities=/v1/applications/l5jbpvmqi1/entities}}]
2017-07-27 17:18:17,039 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 33 ms
2017-07-27 17:18:17,040 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2017-07-27 17:18:17,073 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 33 ms
2017-07-27 17:18:17,074 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2017-07-27 17:18:17,193 INFO locations from catalog are: []
2017-07-27 17:18:17,193 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 119 ms
2017-07-27 17:18:17,194 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2017-07-27 17:18:17,563 INFO Installed Brooklyn catalog bundle simple-tomcat:1.0.0 with ID k1zu81x9vw [167], items: [simple-tomcat:1.0]
2017-07-27 17:18:17,566 INFO REST created catalog items: [BasicRegisteredType[simple-tomcat:1.0;null]]
2017-07-27 17:18:17,574 WARN Unable to create spec for BasicRegisteredType[simple-tomcat:1.0;null]: org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
at org.apache.brooklyn.core.typereg.BasicBrooklynTypeRegistry.createSpec(BasicBrooklynTypeRegistry.java:182) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-27 17:18:17,600 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 406 ms
2017-07-27 17:18:17,601 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2017-07-27 17:18:17,602 INFO Testing location API
2017-07-27 17:18:17,627 INFO locations located are: {}
2017-07-27 17:18:17,628 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 26 ms
2017-07-27 17:18:17,629 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
[GC (Allocation Failure) 227446K->43947K(760832K), 0.0337878 secs]
2017-07-27 17:18:18,130 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 500 ms
2017-07-27 17:18:18,130 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
[GC (Allocation Failure) 254891K->44474K(760832K), 0.0397372 secs]
[GC (Allocation Failure) 255418K->44146K(761344K), 0.0173145 secs]
2017-07-27 17:18:20,152 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-07-27 17:18:20,153 WARN Deprecated use of scanJavaAnnotations in non-Java BOM outwith the default catalog setup
[GC (Allocation Failure) 255602K->52917K(760832K), 0.0291594 secs]
[GC (Allocation Failure) 264373K->73247K(745472K), 0.0723770 secs]
[GC (Allocation Failure) 268831K->81030K(748032K), 0.0315415 secs]
[GC (Allocation Failure) 276614K->83264K(747520K), 0.0281258 secs]
[GC (Allocation Failure) 271680K->84107K(740352K), 0.0346608 secs]
[GC (Allocation Failure) 272523K->85308K(748032K), 0.0328259 secs]
[GC (Allocation Failure) 271676K->77311K(748544K), 0.0196655 secs]
2017-07-27 17:18:28,109 WARN Error importing catalog from classpath://brooklyn/scanning.catalog.bom: java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-mFXoODo1, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-mFXoODo1:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-mFXoODo1, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-mFXoODo1:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.mgmt.ha.OsgiArchiveInstaller.install(OsgiArchiveInstaller.java:433) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalArgumentException: Error installing catalog items
at org.apache.brooklyn.core.mgmt.ha.OsgiManager.loadCatalogBomInternal(OsgiManager.java:395) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Failed to install brooklyn-catalog-bom-mFXoODo1:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:488) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.guava.IllegalStateExceptionSupplier.get(IllegalStateExceptionSupplier.java:40) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:480) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.plan.PlanToSpecFactory.attemptWithLoaders(PlanToSpecFactory.java:138) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.camp.brooklyn.spi.creation.CampInternalUtils.getCampPlatform(CampInternalUtils.java:232) ~[brooklyn-camp-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-27 17:18:28,283 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 10153 ms
2017-07-27 17:18:28,288 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2017-07-27 17:18:28,375 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps() finished in 88 ms
2017-07-27 17:18:28,376 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2017-07-27 17:18:28,376 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull() finished in 0 ms
2017-07-27 17:18:28,377 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2017-07-27 17:18:28,378 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull() finished in 0 ms
2017-07-27 17:18:28,378 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2017-07-27 17:18:28,390 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError() finished in 12 ms
2017-07-27 17:18:28,391 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2017-07-27 17:18:28,394 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson() finished in 3 ms
2017-07-27 17:18:28,395 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2017-07-27 17:18:28,396 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage() finished in 1 ms
2017-07-27 17:18:28,397 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2017-07-27 17:18:28,400 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse() finished in 4 ms
2017-07-27 17:18:28,401 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2017-07-27 17:18:28,403 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse() finished in 3 ms
2017-07-27 17:18:28,404 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2017-07-27 17:18:28,406 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields() finished in 2 ms
2017-07-27 17:18:28,407 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2017-07-27 17:18:28,409 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError() finished in 2 ms
2017-07-27 17:18:28,409 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2017-07-27 17:18:28,412 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError() finished in 3 ms
2017-07-27 17:18:28,413 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2017-07-27 17:18:28,413 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError() finished in 1 ms
2017-07-27 17:18:28,414 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2017-07-27 17:18:28,415 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError() finished in 1 ms
[GC (Allocation Failure) 263679K->63966K(745984K), 0.0107044 secs]
2017-07-27 17:18:28,470 INFO TESTNG
===============================================
Surefire test
Tests run: 25, Failures: 2, Skips: 0
===============================================
2017-07-27 17:18:28,471 WARN Management Context LocalManagementContext[?-wLbezVtc] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:140)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:162)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:148)
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-07-27 17:18:28,565 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
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 23.424 sec <<< FAILURE! - in TestSuite
testWaitForRunningFailsWhenAppStatusError(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.06 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
testWaitForRunningFailsWhenAppStatusUnknown(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.028 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
Results :
Failed tests:
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError:91 » Runtime RES...
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown:102 » Runtime ...
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Client .................................... SUCCESS [ 7.224 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [01:28 min]
[INFO] Brooklyn REST java Client .......................... FAILURE [01:18 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:59 min
[INFO] Finished at: 2017-07-27T17:18:39+00:00
[INFO] Final Memory: 66M/691M
[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
Jenkins build is back to normal : brooklyn-client-master #65
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-client-master/65/display/redirect>
Build failed in Jenkins: brooklyn-client-master #64
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-client-master/64/display/redirect?page=changes>
Changes:
[duncan.godwin] Change version to 0.13.0-SNAPSHOT
------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-us1 (ubuntu trusty) in workspace <https://builds.apache.org/job/brooklyn-client-master/ws/>
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/brooklyn-client.git
> git init <https://builds.apache.org/job/brooklyn-client-master/ws/> # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/brooklyn-client.git
> git --version # timeout=10
> git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/brooklyn-client.git +refs/heads/*:refs/remotes/origin/*
> git config remote.origin.url https://git-wip-us.apache.org/repos/asf/brooklyn-client.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git-wip-us.apache.org/repos/asf/brooklyn-client.git # timeout=10
Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/brooklyn-client.git
> git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/brooklyn-client.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 191f0f98dfaacf9ce5c524d15eaa8fc5f9bb6370 (origin/master)
Commit message: "Change version to 0.13.0-SNAPSHOT"
> git config core.sparsecheckout # timeout=10
> git checkout -f 191f0f98dfaacf9ce5c524d15eaa8fc5f9bb6370
> git rev-list e6b7090a7bf239cf1d207c3d4896dc06b1f3eefe # timeout=10
Parsing POMs
Failed to transfer Could not find metadata org.apache.brooklyn:brooklyn-parent:0.13.0-SNAPSHOT/maven-metadata.xml in Nexus (http://repository.apache.org/snapshots)
Failed to transfer Could not find artifact org.apache.brooklyn:brooklyn-parent:pom:0.13.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots)
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: <https://builds.apache.org/job/brooklyn-client-master/ws/> at hudson.remoting.Channel@1ef270b3:ubuntu-us1: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.brooklyn:brooklyn-parent:pom:0.13.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots) and 'parent.relativePath' points at wrong local POM @ line 24, column 13
at hudson.FilePath.act(FilePath.java:993)
at hudson.FilePath.act(FilePath.java:975)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:985)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:690)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
at hudson.model.Run.execute(Run.java:1735)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.brooklyn:brooklyn-parent:pom:0.13.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots) and 'parent.relativePath' points at wrong local POM @ line 24, column 13
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1389)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1123)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2739)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
at ......remote call to ubuntu-us1(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:986)
... 8 more
Caused by: hudson.remoting.ProxyException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.brooklyn:brooklyn-parent:pom:0.13.0-SNAPSHOT in Nexus (http://repository.apache.org/snapshots) and 'parent.relativePath' points at wrong local POM @ line 24, column 13
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)
at hudson.maven.MavenEmbedder.buildProjects(MavenEmbedder.java:361)
at hudson.maven.MavenEmbedder.readProjects(MavenEmbedder.java:331)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1326)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1123)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2739)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Build failed in Jenkins: brooklyn-client-master #63
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-client-master/63/display/redirect?page=changes>
Changes:
[sam.corbett] Move Resteasy dependency management to java module pom
------------------------------------------
[...truncated 25.25 KB...]
2017-07-28 14:43:14,248 INFO http://localhost:8081/
2017-07-28 14:43:14,608 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() finished in 4016 ms
2017-07-28 14:43:14,615 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2017-07-28 14:43:14,783 INFO REST using security provider org.apache.brooklyn.rest.security.provider.TestSecurityProvider
[GC (Allocation Failure) 216686K->36308K(753664K), 0.0171790 secs]
2017-07-28 14:43:15,069 INFO Uninstalling now-empty BOM wrapper bundle brooklyn-empty-catalog:0.0.0-SNAPSHOT (brooklyn:sry5w0zxii)
[GC (Metadata GC Threshold) 61170K->29576K(761344K), 0.0142746 secs]
[Full GC (Metadata GC Threshold) 29576K->27560K(761344K), 0.0611619 secs]
2017-07-28 14:43:15,522 INFO Launched from YAML: name: test-1234
services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> BasicApplicationImpl{id=eioby96xl4} (Task[start]@h1r5zbsP)
2017-07-28 14:43:15,542 INFO Started application BasicApplicationImpl{id=eioby96xl4}
2017-07-28 14:43:15,900 INFO creation result: TaskSummary{id='h1r5zbsP', displayName='start', entityId='eioby96xl4', entityDisplayName='test-1234', description='Invoking effector start on test-1234 with parameters {locations=[]}', tags=[EFFECTOR, inessential, {type=org.apache.brooklyn.api.mgmt.ManagementContext}, {entityId=eioby96xl4, effectorName=start}, {wrappingType=callerEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=eioby96xl4}}, {wrappingType=contextEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=eioby96xl4}}, {wrappingType=targetEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=eioby96xl4}}, {entitlementContext={user=test, sourceIp=127.0.0.1, requestUri=/v1/applications, requestUniqueIdentifier=A5MrNS}}], submitTimeUtc=1501252995496, startTimeUtc=1501252995496, endTimeUtc=1501252995542, currentStatus='Completed', result=null, isError=false, isCancelled=false, children=[LinkWithMetadata{link='/v1/activities/hdnyeXoF', metadata={id=hdnyeXoF, taskName=invoking start[locations] on 1 node, entityId=eioby96xl4, entityDisplayName=test-1234}}], submittedByTask=null, blockingTask=null, blockingDetails='null', detailedStatus='Completed after 46ms
No return value (null)', streams={}, links={self=/v1/activities/h1r5zbsP, children=/v1/activities/h1r5zbsP/children, entity=/v1/applications/eioby96xl4/entities/eioby96xl4}}
2017-07-28 14:43:15,962 INFO apps with test: [ApplicationSummary{id='eioby96xl4', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/eioby96xl4, entities=/v1/applications/eioby96xl4/entities}}]
2017-07-28 14:43:15,968 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 1353 ms
2017-07-28 14:43:15,969 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2017-07-28 14:43:16,006 WARN Failed REST deployment, could not create spec: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Unable to instantiate item; 2 errors including: UnsupportedTypePlanException: 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 only 'type: JavaClass' or javaType in DTO)]
2017-07-28 14:43:16,037 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 68 ms
2017-07-28 14:43:16,038 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2017-07-28 14:43:16,053 INFO apps are: [ApplicationSummary{id='eioby96xl4', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/eioby96xl4, entities=/v1/applications/eioby96xl4/entities}}]
2017-07-28 14:43:16,053 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 15 ms
2017-07-28 14:43:16,054 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2017-07-28 14:43:16,074 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 20 ms
2017-07-28 14:43:16,075 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2017-07-28 14:43:16,128 INFO locations from catalog are: []
2017-07-28 14:43:16,128 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 53 ms
2017-07-28 14:43:16,128 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2017-07-28 14:43:16,271 INFO Installed Brooklyn catalog bundle simple-tomcat:1.0.0 with ID cw18uq58md [167], items: [simple-tomcat:1.0]
2017-07-28 14:43:16,272 INFO REST created catalog items: [BasicRegisteredType[simple-tomcat:1.0;null]]
2017-07-28 14:43:16,276 WARN Unable to create spec for BasicRegisteredType[simple-tomcat:1.0;null]: org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
at org.apache.brooklyn.core.typereg.BasicBrooklynTypeRegistry.createSpec(BasicBrooklynTypeRegistry.java:182) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-28 14:43:16,287 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 159 ms
2017-07-28 14:43:16,288 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2017-07-28 14:43:16,288 INFO Testing location API
2017-07-28 14:43:16,299 INFO locations located are: {}
2017-07-28 14:43:16,300 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 12 ms
2017-07-28 14:43:16,300 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2017-07-28 14:43:16,508 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 208 ms
2017-07-28 14:43:16,509 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
[GC (Allocation Failure) 242600K->41421K(762880K), 0.0233526 secs]
[GC (Allocation Failure) 256461K->40547K(763392K), 0.0253036 secs]
[GC (Allocation Failure) 255991K->41048K(763392K), 0.0133101 secs]
2017-07-28 14:43:18,504 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-07-28 14:43:18,505 WARN Deprecated use of scanJavaAnnotations in non-Java BOM outwith the default catalog setup
[GC (Allocation Failure) 257112K->60017K(752640K), 0.0412782 secs]
[GC (Allocation Failure) 265841K->75644K(758272K), 0.0318198 secs]
[GC (Allocation Failure) 281468K->82085K(736768K), 0.0210259 secs]
[GC (Allocation Failure) 266405K->80959K(747520K), 0.0496184 secs]
[GC (Allocation Failure) 265279K->82609K(747520K), 0.0539277 secs]
[GC (Allocation Failure) 266929K->85020K(736768K), 0.0301526 secs]
[GC (Allocation Failure) 269340K->66752K(744960K), 0.0156884 secs]
2017-07-28 14:43:22,831 WARN Error importing catalog from classpath://brooklyn/scanning.catalog.bom: java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-EhgzAx88, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-EhgzAx88:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-EhgzAx88, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-EhgzAx88:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.mgmt.ha.OsgiArchiveInstaller.install(OsgiArchiveInstaller.java:433) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalArgumentException: Error installing catalog items
at org.apache.brooklyn.core.mgmt.ha.OsgiManager.loadCatalogBomInternal(OsgiManager.java:395) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Failed to install brooklyn-catalog-bom-EhgzAx88:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:488) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.guava.IllegalStateExceptionSupplier.get(IllegalStateExceptionSupplier.java:40) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:480) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.plan.PlanToSpecFactory.attemptWithLoaders(PlanToSpecFactory.java:138) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.camp.brooklyn.spi.creation.CampInternalUtils.getCampPlatform(CampInternalUtils.java:232) ~[brooklyn-camp-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-28 14:43:22,927 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 6418 ms
2017-07-28 14:43:22,929 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2017-07-28 14:43:22,971 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps() finished in 41 ms
2017-07-28 14:43:22,971 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2017-07-28 14:43:22,971 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull() finished in 0 ms
2017-07-28 14:43:22,971 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2017-07-28 14:43:22,972 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull() finished in 1 ms
2017-07-28 14:43:22,972 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2017-07-28 14:43:22,975 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError() finished in 3 ms
2017-07-28 14:43:22,975 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2017-07-28 14:43:22,977 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson() finished in 2 ms
2017-07-28 14:43:22,977 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2017-07-28 14:43:22,978 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage() finished in 0 ms
2017-07-28 14:43:22,978 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2017-07-28 14:43:22,979 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse() finished in 1 ms
2017-07-28 14:43:22,980 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2017-07-28 14:43:22,981 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse() finished in 1 ms
2017-07-28 14:43:22,981 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2017-07-28 14:43:22,983 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields() finished in 2 ms
2017-07-28 14:43:22,984 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2017-07-28 14:43:22,985 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError() finished in 1 ms
2017-07-28 14:43:22,985 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2017-07-28 14:43:22,987 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError() finished in 2 ms
2017-07-28 14:43:22,987 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2017-07-28 14:43:22,988 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError() finished in 1 ms
2017-07-28 14:43:22,988 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2017-07-28 14:43:22,988 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError() finished in 0 ms
2017-07-28 14:43:22,989 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:43:22,995 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 6 ms
2017-07-28 14:43:22,995 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
Jul 28, 2017 2:43:23 PM com.google.mockwebserver.MockWebServer$2 processOneRequest
INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 200 OK
2017-07-28 14:43:23,018 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() finished in 23 ms
2017-07-28 14:43:23,018 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:43:23,018 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms
2017-07-28 14:43:23,018 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:43:23,019 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms
2017-07-28 14:43:23,019 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2017-07-28 14:43:23,023 INFO Waiting 5m from Fri Jul 28 14:43:23 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:43:23 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-07-28 14:43:23,032 INFO Application appId is RUNNING
2017-07-28 14:43:23,032 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() finished in 13 ms
2017-07-28 14:43:23,033 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:43:23,033 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-28 14:43:23,033 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:43:23,033 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:43:23,033 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2017-07-28 14:43:23,036 INFO Waiting 5m from Fri Jul 28 14:43:23 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:43:23 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-07-28 14:43:23,044 WARN Application is not RUNNING within 5m. Status is: ERROR
2017-07-28 14:43:23,044 ERROR Application is not running. Is: error
2017-07-28 14:43:23,047 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() finished in 13 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
2017-07-28 14:43:23,054 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:43:23,054 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms
2017-07-28 14:43:23,055 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:43:23,055 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:43:23,055 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2017-07-28 14:43:23,058 INFO Waiting 5m from Fri Jul 28 14:43:23 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:43:23 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-07-28 14:43:23,065 WARN Application is not RUNNING within 5m. Status is: UNKNOWN
2017-07-28 14:43:23,065 ERROR Application is not running. Is: unknown
2017-07-28 14:43:23,066 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() 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 java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
2017-07-28 14:43:23,067 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:43:23,067 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms
2017-07-28 14:43:23,101 WARN Management Context LocalManagementContext[?-GyHbLIcG] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:140)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:162)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:148)
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-07-28 14:43:23,140 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-07-28 14:43:23,140 INFO TESTNG
===============================================
Surefire test
Tests run: 25, Failures: 2, Skips: 0
===============================================
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 13.406 sec <<< FAILURE! - in TestSuite
testWaitForRunningFailsWhenAppStatusError(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.021 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
testWaitForRunningFailsWhenAppStatusUnknown(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.011 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
Results :
Failed tests:
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError:91 » Runtime RES...
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown:102 » Runtime ...
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Client .................................... SUCCESS [ 10.527 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 48.754 s]
[INFO] Brooklyn REST java Client .......................... FAILURE [01:18 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:27 min
[INFO] Finished at: 2017-07-28T14:44:20+00:00
[INFO] Final Memory: 62M/635M
[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 <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
[Fast Archiver] Compressed 6.76 MB of artifacts by 98.4% relative to #62
[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
Build failed in Jenkins: brooklyn-client-master #62
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-client-master/62/display/redirect?page=changes>
Changes:
[sam.corbett] Fix handling of global flags in scope definition
------------------------------------------
[...truncated 25.25 KB...]
2017-07-28 14:32:24,473 INFO http://localhost:8081/
2017-07-28 14:32:24,834 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() finished in 3662 ms
2017-07-28 14:32:24,845 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2017-07-28 14:32:25,036 INFO REST using security provider org.apache.brooklyn.rest.security.provider.TestSecurityProvider
2017-07-28 14:32:25,362 INFO Uninstalling now-empty BOM wrapper bundle brooklyn-empty-catalog:0.0.0-SNAPSHOT (brooklyn:kotj20wmbd)
[GC (Allocation Failure) 217236K->37883K(753664K), 0.0206265 secs]
[GC (Metadata GC Threshold) 51592K->28465K(761344K), 0.0103612 secs]
[Full GC (Metadata GC Threshold) 28465K->26199K(761344K), 0.2142518 secs]
2017-07-28 14:32:25,989 INFO Launched from YAML: name: test-1234
services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> BasicApplicationImpl{id=pznhbq3f6x} (Task[start]@AN4bL3aY)
2017-07-28 14:32:26,024 INFO Started application BasicApplicationImpl{id=pznhbq3f6x}
2017-07-28 14:32:26,412 INFO creation result: TaskSummary{id='AN4bL3aY', displayName='start', entityId='pznhbq3f6x', entityDisplayName='test-1234', description='Invoking effector start on test-1234 with parameters {locations=[]}', tags=[EFFECTOR, inessential, {type=org.apache.brooklyn.api.mgmt.ManagementContext}, {entityId=pznhbq3f6x, effectorName=start}, {wrappingType=targetEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=pznhbq3f6x}}, {wrappingType=callerEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=pznhbq3f6x}}, {wrappingType=contextEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=pznhbq3f6x}}, {entitlementContext={user=test, sourceIp=127.0.0.1, requestUri=/v1/applications, requestUniqueIdentifier=uY3wzQ}}], submitTimeUtc=1501252345953, startTimeUtc=1501252345953, endTimeUtc=1501252346025, currentStatus='Completed', result=null, isError=false, isCancelled=false, children=[LinkWithMetadata{link='/v1/activities/vxPfgFUt', metadata={id=vxPfgFUt, taskName=invoking start[locations] on 1 node, entityId=pznhbq3f6x, entityDisplayName=test-1234}}], submittedByTask=null, blockingTask=null, blockingDetails='null', detailedStatus='Completed after 72ms
No return value (null)', streams={}, links={self=/v1/activities/AN4bL3aY, children=/v1/activities/AN4bL3aY/children, entity=/v1/applications/pznhbq3f6x/entities/pznhbq3f6x}}
2017-07-28 14:32:26,453 INFO apps with test: [ApplicationSummary{id='pznhbq3f6x', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/pznhbq3f6x, entities=/v1/applications/pznhbq3f6x/entities}}]
2017-07-28 14:32:26,458 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 1613 ms
2017-07-28 14:32:26,459 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2017-07-28 14:32:26,480 WARN Failed REST deployment, could not create spec: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Unable to instantiate item; 2 errors including: UnsupportedTypePlanException: 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 only 'type: JavaClass' or javaType in DTO)]
2017-07-28 14:32:26,504 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 45 ms
2017-07-28 14:32:26,504 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2017-07-28 14:32:26,517 INFO apps are: [ApplicationSummary{id='pznhbq3f6x', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/pznhbq3f6x, entities=/v1/applications/pznhbq3f6x/entities}}]
2017-07-28 14:32:26,517 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 13 ms
2017-07-28 14:32:26,518 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2017-07-28 14:32:26,534 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 16 ms
2017-07-28 14:32:26,535 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2017-07-28 14:32:26,581 INFO locations from catalog are: []
2017-07-28 14:32:26,581 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 46 ms
2017-07-28 14:32:26,582 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2017-07-28 14:32:26,736 INFO Installed Brooklyn catalog bundle simple-tomcat:1.0.0 with ID ormwog0amp [167], items: [simple-tomcat:1.0]
2017-07-28 14:32:26,737 INFO REST created catalog items: [BasicRegisteredType[simple-tomcat:1.0;null]]
2017-07-28 14:32:26,741 WARN Unable to create spec for BasicRegisteredType[simple-tomcat:1.0;null]: org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
at org.apache.brooklyn.core.typereg.BasicBrooklynTypeRegistry.createSpec(BasicBrooklynTypeRegistry.java:182) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-28 14:32:26,753 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 171 ms
2017-07-28 14:32:26,754 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2017-07-28 14:32:26,754 INFO Testing location API
2017-07-28 14:32:26,767 INFO locations located are: {}
2017-07-28 14:32:26,768 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 15 ms
2017-07-28 14:32:26,768 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2017-07-28 14:32:26,965 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 197 ms
2017-07-28 14:32:26,966 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
[GC (Allocation Failure) 241239K->39878K(762880K), 0.0260128 secs]
[GC (Allocation Failure) 254918K->38992K(763392K), 0.0155603 secs]
[GC (Allocation Failure) 254544K->38953K(762880K), 0.0133951 secs]
2017-07-28 14:32:28,049 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-07-28 14:32:28,050 WARN Deprecated use of scanJavaAnnotations in non-Java BOM outwith the default catalog setup
[GC (Allocation Failure) 254505K->57934K(753152K), 0.0740300 secs]
[GC (Allocation Failure) 263758K->76908K(758272K), 0.0341939 secs]
[GC (Allocation Failure) 282732K->92674K(726528K), 0.0316448 secs]
[GC (Allocation Failure) 266754K->104291K(731648K), 0.0392923 secs]
[GC (Allocation Failure) 278371K->105488K(738816K), 0.0333386 secs]
[GC (Allocation Failure) 274448K->107295K(739840K), 0.0529743 secs]
[GC (Allocation Failure) 276255K->97750K(741376K), 0.0218011 secs]
2017-07-28 14:32:32,142 WARN Error importing catalog from classpath://brooklyn/scanning.catalog.bom: java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-WAebWGKA, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-WAebWGKA:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-WAebWGKA, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-WAebWGKA:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.mgmt.ha.OsgiArchiveInstaller.install(OsgiArchiveInstaller.java:433) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalArgumentException: Error installing catalog items
at org.apache.brooklyn.core.mgmt.ha.OsgiManager.loadCatalogBomInternal(OsgiManager.java:395) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Failed to install brooklyn-catalog-bom-WAebWGKA:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:488) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.guava.IllegalStateExceptionSupplier.get(IllegalStateExceptionSupplier.java:40) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:480) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.plan.PlanToSpecFactory.attemptWithLoaders(PlanToSpecFactory.java:138) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.camp.brooklyn.spi.creation.CampInternalUtils.getCampPlatform(CampInternalUtils.java:232) ~[brooklyn-camp-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-28 14:32:32,250 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 5284 ms
2017-07-28 14:32:32,252 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2017-07-28 14:32:32,296 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps() finished in 44 ms
2017-07-28 14:32:32,296 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2017-07-28 14:32:32,297 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull() finished in 1 ms
2017-07-28 14:32:32,297 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2017-07-28 14:32:32,297 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull() finished in 0 ms
2017-07-28 14:32:32,297 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2017-07-28 14:32:32,300 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError() finished in 3 ms
2017-07-28 14:32:32,301 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2017-07-28 14:32:32,302 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson() finished in 1 ms
2017-07-28 14:32:32,302 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2017-07-28 14:32:32,303 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage() finished in 1 ms
2017-07-28 14:32:32,303 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2017-07-28 14:32:32,304 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse() finished in 1 ms
2017-07-28 14:32:32,305 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2017-07-28 14:32:32,306 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse() finished in 2 ms
2017-07-28 14:32:32,306 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2017-07-28 14:32:32,307 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields() finished in 1 ms
2017-07-28 14:32:32,307 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2017-07-28 14:32:32,308 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError() finished in 1 ms
2017-07-28 14:32:32,309 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2017-07-28 14:32:32,310 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError() finished in 2 ms
2017-07-28 14:32:32,310 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2017-07-28 14:32:32,310 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError() finished in 0 ms
2017-07-28 14:32:32,310 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2017-07-28 14:32:32,311 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError() finished in 1 ms
2017-07-28 14:32:32,312 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:32:32,317 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 5 ms
2017-07-28 14:32:32,317 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
[GC (Allocation Failure) 268758K->86943K(699392K), 0.0090405 secs]
Jul 28, 2017 2:32:32 PM com.google.mockwebserver.MockWebServer$2 processOneRequest
INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 200 OK
2017-07-28 14:32:32,349 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() finished in 32 ms
2017-07-28 14:32:32,350 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:32:32,350 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms
2017-07-28 14:32:32,351 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:32:32,351 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:32:32,351 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2017-07-28 14:32:32,356 INFO Waiting 5m from Fri Jul 28 14:32:32 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:32:32 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-07-28 14:32:32,368 INFO Application appId is RUNNING
2017-07-28 14:32:32,368 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() finished in 17 ms
2017-07-28 14:32:32,368 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:32:32,368 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms
2017-07-28 14:32:32,369 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:32:32,369 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:32:32,369 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2017-07-28 14:32:32,373 INFO Waiting 5m from Fri Jul 28 14:32:32 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:32:32 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-07-28 14:32:32,383 WARN Application is not RUNNING within 5m. Status is: ERROR
2017-07-28 14:32:32,383 ERROR Application is not running. Is: error
2017-07-28 14:32:32,388 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() finished in 17 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
2017-07-28 14:32:32,398 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:32:32,398 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-28 14:32:32,398 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:32:32,399 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 1 ms
2017-07-28 14:32:32,399 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
2017-07-28 14:32:32,402 INFO Waiting 5m from Fri Jul 28 14:32:32 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:32:32 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-07-28 14:32:32,410 WARN Application is not RUNNING within 5m. Status is: UNKNOWN
2017-07-28 14:32:32,411 ERROR Application is not running. Is: unknown
2017-07-28 14:32:32,413 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() finished in 13 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
2017-07-28 14:32:32,414 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:32:32,414 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-28 14:32:32,434 WARN Management Context LocalManagementContext[?-mZmJnyDp] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:140)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:162)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:148)
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-07-28 14:32:32,478 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-07-28 14:32:32,478 INFO TESTNG
===============================================
Surefire test
Tests run: 25, Failures: 2, Skips: 0
===============================================
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 12.215 sec <<< FAILURE! - in TestSuite
testWaitForRunningFailsWhenAppStatusError(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.03 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
testWaitForRunningFailsWhenAppStatusUnknown(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.015 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
Results :
Failed tests:
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError:91 » Runtime RES...
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown:102 » Runtime ...
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Client .................................... SUCCESS [ 22.134 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 48.238 s]
[INFO] Brooklyn REST java Client .......................... FAILURE [01:16 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:36 min
[INFO] Finished at: 2017-07-28T14:33:29+00:00
[INFO] Final Memory: 62M/640M
[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 <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
Build failed in Jenkins: brooklyn-client-master #61
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-client-master/61/display/redirect?page=changes>
Changes:
[sam.corbett] Add flags for verbose output of HTTP request data
------------------------------------------
[...truncated 38.68 KB...]
2017-07-28 14:21:12,586 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.setUp() finished in 3195 ms
2017-07-28 14:21:12,593 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate()
2017-07-28 14:21:12,768 INFO REST using security provider org.apache.brooklyn.rest.security.provider.TestSecurityProvider
2017-07-28 14:21:13,030 INFO Uninstalling now-empty BOM wrapper bundle brooklyn-empty-catalog:0.0.0-SNAPSHOT (brooklyn:f78kj6nu2e)
[GC (Allocation Failure) 217222K->37977K(753664K), 0.0128583 secs]
[GC (Metadata GC Threshold) 51585K->28602K(760832K), 0.0147011 secs]
[Full GC (Metadata GC Threshold) 28602K->26228K(760832K), 0.1725810 secs]
2017-07-28 14:21:13,638 INFO Launched from YAML: name: test-1234
services: [ { type: org.apache.brooklyn.core.test.entity.TestEntity } ] -> BasicApplicationImpl{id=h2b7qt3mv0} (Task[start]@b373plDr)
2017-07-28 14:21:13,653 INFO Started application BasicApplicationImpl{id=h2b7qt3mv0}
2017-07-28 14:21:13,995 INFO creation result: TaskSummary{id='b373plDr', displayName='start', entityId='h2b7qt3mv0', entityDisplayName='test-1234', description='Invoking effector start on test-1234 with parameters {locations=[]}', tags=[EFFECTOR, {entityId=h2b7qt3mv0, effectorName=start}, inessential, {type=org.apache.brooklyn.api.mgmt.ManagementContext}, {wrappingType=contextEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=h2b7qt3mv0}}, {wrappingType=targetEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=h2b7qt3mv0}}, {entitlementContext={user=test, sourceIp=127.0.0.1, requestUri=/v1/applications, requestUniqueIdentifier=LZRhiE}}, {wrappingType=callerEntity, entity={type=org.apache.brooklyn.api.entity.Entity, id=h2b7qt3mv0}}], submitTimeUtc=1501251673602, startTimeUtc=1501251673602, endTimeUtc=1501251673653, currentStatus='Completed', result=null, isError=false, isCancelled=false, children=[LinkWithMetadata{link='/v1/activities/NMPqXKFt', metadata={id=NMPqXKFt, taskName=invoking start[locations] on 1 node, entityId=h2b7qt3mv0, entityDisplayName=test-1234}}], submittedByTask=null, blockingTask=null, blockingDetails='null', detailedStatus='Completed after 51ms
No return value (null)', streams={}, links={self=/v1/activities/b373plDr, children=/v1/activities/b373plDr/children, entity=/v1/applications/h2b7qt3mv0/entities/h2b7qt3mv0}}
2017-07-28 14:21:14,043 INFO apps with test: [ApplicationSummary{id='h2b7qt3mv0', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/h2b7qt3mv0, entities=/v1/applications/h2b7qt3mv0/entities}}]
2017-07-28 14:21:14,047 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiCreate() finished in 1454 ms
2017-07-28 14:21:14,048 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError()
2017-07-28 14:21:14,071 WARN Failed REST deployment, could not create spec: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Unable to instantiate item; 2 errors including: UnsupportedTypePlanException: 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 only 'type: JavaClass' or javaType in DTO)]
2017-07-28 14:21:14,096 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiHandledError() finished in 48 ms
2017-07-28 14:21:14,096 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList()
2017-07-28 14:21:14,110 INFO apps are: [ApplicationSummary{id='h2b7qt3mv0', spec=ApplicationSpec{name='test-1234', type='org.apache.brooklyn.entity.stock.BasicApplication', entities=null, locations=[], config={}}, status=RUNNING, links={self=/v1/applications/h2b7qt3mv0, entities=/v1/applications/h2b7qt3mv0/entities}}]
2017-07-28 14:21:14,110 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiList() finished in 14 ms
2017-07-28 14:21:14,111 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError()
2017-07-28 14:21:14,129 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testApplicationApiThrownError() finished in 18 ms
2017-07-28 14:21:14,129 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations()
2017-07-28 14:21:14,179 INFO locations from catalog are: []
2017-07-28 14:21:14,179 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogApiLocations() finished in 50 ms
2017-07-28 14:21:14,179 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate()
2017-07-28 14:21:14,347 INFO Installed Brooklyn catalog bundle simple-tomcat:1.0.0 with ID b6qp58ktso [167], items: [simple-tomcat:1.0]
2017-07-28 14:21:14,349 INFO REST created catalog items: [BasicRegisteredType[simple-tomcat:1.0;null]]
2017-07-28 14:21:14,353 WARN Unable to create spec for BasicRegisteredType[simple-tomcat:1.0;null]: org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
org.apache.brooklyn.core.typereg.ReferencedUnresolvedTypeException: Reference to simple-tomcat:1.0 in plan but that type cannot be resolved (recursive plan or premature evaluation?)
at org.apache.brooklyn.core.typereg.BasicBrooklynTypeRegistry.createSpec(BasicBrooklynTypeRegistry.java:182) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-28 14:21:14,366 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testCatalogCreate() finished in 187 ms
2017-07-28 14:21:14,367 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi()
2017-07-28 14:21:14,367 INFO Testing location API
2017-07-28 14:21:14,380 INFO locations located are: {}
2017-07-28 14:21:14,380 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testLocationApi() finished in 13 ms
2017-07-28 14:21:14,380 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl()
2017-07-28 14:21:14,602 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.testNoV1InUrl() finished in 221 ms
2017-07-28 14:21:14,602 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown()
[GC (Allocation Failure) 241268K->39784K(762880K), 0.0277544 secs]
[GC (Allocation Failure) 254636K->39666K(763392K), 0.0187761 secs]
[GC (Allocation Failure) 255218K->39014K(762880K), 0.0119821 secs]
2017-07-28 14:21:15,818 INFO No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
2017-07-28 14:21:15,819 WARN Deprecated use of scanJavaAnnotations in non-Java BOM outwith the default catalog setup
[GC (Allocation Failure) 254566K->60194K(751104K), 0.0320343 secs]
[GC (Allocation Failure) 263970K->78676K(757248K), 0.0289984 secs]
[GC (Allocation Failure) 282452K->93655K(727552K), 0.0358484 secs]
[GC (Allocation Failure) 267735K->104459K(732160K), 0.0308185 secs]
[GC (Allocation Failure) 278539K->105371K(739328K), 0.0387428 secs]
[GC (Allocation Failure) 274331K->107336K(739840K), 0.0585934 secs]
[GC (Allocation Failure) 276296K->96208K(740864K), 0.0384222 secs]
2017-07-28 14:21:19,880 WARN Error importing catalog from classpath://brooklyn/scanning.catalog.bom: java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-HsKkiWZ2, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-HsKkiWZ2:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
java.lang.IllegalStateException: Bundle BasicManagedBundle{symbolicName=brooklyn-catalog-bom-HsKkiWZ2, version=0.0.0.SNAPSHOT, url=null} failed installation: Error installing catalog items: Failed to install brooklyn-catalog-bom-HsKkiWZ2:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.mgmt.ha.OsgiArchiveInstaller.install(OsgiArchiveInstaller.java:433) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalArgumentException: Error installing catalog items
at org.apache.brooklyn.core.mgmt.ha.OsgiManager.loadCatalogBomInternal(OsgiManager.java:395) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Failed to install brooklyn-catalog-bom-HsKkiWZ2:0.0.0.SNAPSHOT, types [BasicRegisteredType[org.apache.brooklyn.enricher.stock.Aggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceRestarter:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Joiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Propagator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ConnectionFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.autoscaling.AutoScalerPolicy:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.reducer.Reducer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.UpdatingMap:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Transformer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.pool.ServerPool:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlRollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynNode:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnSubnetNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.brooklynnode.BrooklynEntityMirror:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.PercentageEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.Combiner:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingTimeWindowMeanEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.YamlTimeWeightedDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.DeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.SshMachineFailureDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.TimeFractionDeltaEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.HttpLatencyDetector:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.core.network.OnPublicNetworkEnricher:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.ha.ServiceReplacer:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.enricher.stock.MapAggregator:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.software.base.VanillaWindowsProcess:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.entity.machine.MachineEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.rest.resources.DummyIconEntity:0.0.0-SNAPSHOT;null], BasicRegisteredType[org.apache.brooklyn.policy.enricher.RollingMeanEnricher:0.0.0-SNAPSHOT;null]] gave errors; 128 errors including: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:488) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.util.guava.IllegalStateExceptionSupplier.get(IllegalStateExceptionSupplier.java:40) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
at org.apache.brooklyn.util.exceptions.Exceptions.create(Exceptions.java:480) ~[brooklyn-utils-common-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Transformer for Brooklyn OASIS CAMP interpreter gave an error creating this plan: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.core.plan.PlanToSpecFactory.attemptWithLoaders(PlanToSpecFactory.java:138) ~[brooklyn-core-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
Caused by: java.lang.IllegalStateException: No CAMP Platform is registered with this Brooklyn management context.
at org.apache.brooklyn.camp.brooklyn.spi.creation.CampInternalUtils.getCampPlatform(CampInternalUtils.java:232) ~[brooklyn-camp-0.12.0-SNAPSHOT.jar:0.12.0-SNAPSHOT]
2017-07-28 14:21:19,967 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterClass org.apache.brooklyn.rest.client.BrooklynApiRestClientTest.tearDown() finished in 5365 ms
2017-07-28 14:21:19,969 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps()
2017-07-28 14:21:20,014 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsEmptyMaps() finished in 45 ms
2017-07-28 14:21:20,014 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull()
2017-07-28 14:21:20,014 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityAllowsNull() finished in 0 ms
2017-07-28 14:21:20,015 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull()
2017-07-28 14:21:20,015 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityDisallowsNull() finished in 0 ms
2017-07-28 14:21:20,015 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError()
2017-07-28 14:21:20,019 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsIfLooksLikeApiError() finished in 3 ms
2017-07-28 14:21:20,019 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson()
2017-07-28 14:21:20,021 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsOnNonJson() finished in 1 ms
2017-07-28 14:21:20,021 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage()
2017-07-28 14:21:20,021 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityFailsWithMessageIfLooksLikeApiErrorWithMessage() finished in 0 ms
2017-07-28 14:21:20,022 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse()
2017-07-28 14:21:20,023 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBasicResponse() finished in 1 ms
2017-07-28 14:21:20,023 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse()
2017-07-28 14:21:20,024 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresErrorResponseCodeInBuiltResponse() finished in 1 ms
2017-07-28 14:21:20,025 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields()
2017-07-28 14:21:20,026 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntityIgnoresExtraFields() finished in 1 ms
2017-07-28 14:21:20,026 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError()
2017-07-28 14:21:20,027 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfLooksLikeApiErrorWhenWantingApiError() finished in 1 ms
2017-07-28 14:21:20,027 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError()
2017-07-28 14:21:20,029 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetEntitySucceedsIfNoErrorCodeWhenApiError() finished in 2 ms
2017-07-28 14:21:20,029 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError()
2017-07-28 14:21:20,030 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntityFailsOnAnyError() finished in 1 ms
2017-07-28 14:21:20,030 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError()
2017-07-28 14:21:20,030 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiGetEntityTest.testGetSuccessfulEntitySucceedsOnNoErrorApiError() finished in 0 ms
2017-07-28 14:21:20,031 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:21:20,037 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 6 ms
2017-07-28 14:21:20,037 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint()
Jul 28, 2017 2:21:20 PM com.google.mockwebserver.MockWebServer$2 processOneRequest
INFO: Received request: POST /v1/applications HTTP/1.1 and responded: HTTP/1.1 200 OK
2017-07-28 14:21:20,059 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testDeployBlueprint() finished in 22 ms
2017-07-28 14:21:20,059 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:21:20,060 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-28 14:21:20,060 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:21:20,060 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:21:20,060 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning()
2017-07-28 14:21:20,065 INFO Waiting 5m from Fri Jul 28 14:21:20 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:21:20 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-07-28 14:21:20,073 INFO Application appId is RUNNING
2017-07-28 14:21:20,074 INFO TESTNG PASSED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningExitsCleanlyWhenAppRunning() finished in 13 ms
2017-07-28 14:21:20,074 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:21:20,074 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 0 ms
2017-07-28 14:21:20,074 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:21:20,074 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:21:20,074 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError()
2017-07-28 14:21:20,077 INFO Waiting 5m from Fri Jul 28 14:21:20 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:21:20 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-07-28 14:21:20,085 WARN Application is not RUNNING within 5m. Status is: ERROR
2017-07-28 14:21:20,085 ERROR Application is not running. Is: error
2017-07-28 14:21:20,088 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError() finished in 13 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
2017-07-28 14:21:20,095 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:21:20,096 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-28 14:21:20,096 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer()
2017-07-28 14:21:20,096 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.newMockWebServer() finished in 0 ms
2017-07-28 14:21:20,096 INFO TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown()
[GC (Allocation Failure) 266704K->87010K(698880K), 0.0094829 secs]
2017-07-28 14:21:20,110 INFO Waiting 5m from Fri Jul 28 14:21:20 UTC 2017 for application appId to be RUNNING
Jul 28, 2017 2:21:20 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-07-28 14:21:20,116 WARN Application is not RUNNING within 5m. Status is: UNKNOWN
2017-07-28 14:21:20,116 ERROR Application is not running. Is: unknown
2017-07-28 14:21:20,118 INFO TESTNG FAILED: "Surefire test" - org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown() finished in 21 ms
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(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.getActivityApi(BrooklynApi.java:324)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.getTaskResult(BrooklynApiUtil.java:143)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:86)
at org.apache.brooklyn.rest.client.BrooklynApiUtil.waitForRunningAndThrowOtherwise(BrooklynApiUtil.java:67)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
2017-07-28 14:21:20,119 INFO TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer()
2017-07-28 14:21:20,119 INFO TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.rest.client.BrooklynApiUtilTest.shutDownServer() finished in 1 ms
2017-07-28 14:21:20,139 WARN Management Context LocalManagementContext[?-OlgRUymH] running, creation stacktrace:
java.lang.Throwable: for construction stacktrace
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:140)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:162)
at org.apache.brooklyn.core.mgmt.internal.LocalManagementContext.<init>(LocalManagementContext.java:148)
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-07-28 14:21:20,181 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-07-28 14:21:20,182 INFO TESTNG
===============================================
Surefire test
Tests run: 25, Failures: 2, Skips: 0
===============================================
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 11.66 sec <<< FAILURE! - in TestSuite
testWaitForRunningFailsWhenAppStatusError(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.021 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError(BrooklynApiUtilTest.java:91)
testWaitForRunningFailsWhenAppStatusUnknown(org.apache.brooklyn.rest.client.BrooklynApiUtilTest) Time elapsed: 0.021 sec <<< FAILURE!
java.lang.RuntimeException: RESTEASY003595: You must use at least one, but no more than one http method annotation on: public abstract java.util.Map org.apache.brooklyn.rest.api.ActivityApi.getAllChildrenAsMap(java.lang.String)
at org.apache.brooklyn.rest.client.BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown(BrooklynApiUtilTest.java:102)
Results :
Failed tests:
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusError:91 » Runtime RES...
BrooklynApiUtilTest.testWaitForRunningFailsWhenAppStatusUnknown:102 » Runtime ...
Tests run: 25, Failures: 2, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Brooklyn Client .................................... SUCCESS [ 10.523 s]
[INFO] Brooklyn Client Command Line Interface ............. SUCCESS [ 49.077 s]
[INFO] Brooklyn REST java Client .......................... FAILURE [01:31 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:40 min
[INFO] Finished at: 2017-07-28T14:22:19+00:00
[INFO] Final Memory: 66M/634M
[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