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

Changes:

[geoff.macartney] Add code that gives a working MDC output in test

[geoff.macartney] Add context to main stdout appender

[geoff.macartney] Assert on log output

[geoff.macartney] Use ConsoleAppender in LogWatcher

[geoff.macartney] Re-use pattern layout from logback-appender-stdout.xml

[geoff.macartney] Remove redundant cast

[geoff.macartney] Format line

[geoff.macartney] Add comments explaining handling of pattern layout

[geoff.macartney] Tidy up a bit

[geoff.macartney] Add Task ID to MDC

[geoff.macartney] Avoid spaces in entity list

[geoff.macartney] Make cosmetic tweak to logging output

------------------------------------------
[...truncated 7.63 MB...]
2018-02-15 11:04:16,095 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.LocationResourceTest.testListAllLocationDefinitions()
2018-02-15 11:04:16,104 WARN  - Request for bundle 'aws-ec2' was ignored as no 
framework available; and failed to find 'us-east-1' in plain old classpath
2018-02-15 11:04:16,113 WARN  - Request for bundle 'byon' was ignored as no 
framework available; and failed to find '(hosts="10.10.10.102")' in plain old 
classpath
2018-02-15 11:04:16,121 WARN  - Request for bundle 'byon' was ignored as no 
framework available; and failed to find '(hosts="10.10.10.102")' in plain old 
classpath
2018-02-15 11:04:16,128 WARN  - Request for bundle 'byon' was ignored as no 
framework available; and failed to find '(hosts="10.10.10.102")' in plain old 
classpath
2018-02-15 11:04:16,137 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.LocationResourceTest.testListAllLocationDefinitions()
 finished in 42 ms
2018-02-15 11:04:16,137 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,137 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 0 ms
2018-02-15 11:04:16,138 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,138 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
0 ms
2018-02-15 11:04:16,138 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.LocationResourceTest.testGetSpecificLocation()
2018-02-15 11:04:16,145 WARN  - Request for bundle 'aws-ec2' was ignored as no 
framework available; and failed to find 'us-east-1' in plain old classpath
2018-02-15 11:04:16,152 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.LocationResourceTest.testGetSpecificLocation()
 finished in 14 ms
2018-02-15 11:04:16,153 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,153 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 0 ms
2018-02-15 11:04:16,153 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterClass 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2018-02-15 11:04:16,155 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterClass 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished 
in 2 ms
2018-02-15 11:04:16,156 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 234, Failures: 1, Skips: 0
===============================================
2018-02-15 11:04:16,157 INFO  - TESTNG RUNNING: Suite: "Surefire test" 
containing "6" Tests (config: null)
2018-02-15 11:04:16,157 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpClass()
2018-02-15 11:04:16,158 INFO  - Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@389ee5fd
2018-02-15 11:04:16,204 WARN  - Empty contextPath
2018-02-15 11:04:16,204 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpClass() 
finished in 47 ms
2018-02-15 11:04:16,204 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeClass 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.setUp()
2018-02-15 11:04:16,218 INFO  - Entity type 
'org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity' not defined in 
catalog but is on classpath; continuing
2018-02-15 11:04:16,221 WARN  - Using deprecated functionality (as of 0.9.0), 
ApplicationSpec style (pre CAMP plans). Transition to actively supported spec 
plans.
2018-02-15 11:04:16,221 INFO  - REST creating instance for entity 
org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity
2018-02-15 11:04:16,221 INFO  - Catalog does not contain item for type 
org.apache.brooklyn.rest.testing.mocks.RestMockSimpleEntity; loaded class 
directly instead
2018-02-15 11:04:16,222 WARN  - Unrecognised config key install.version passed 
to interface org.apache.brooklyn.api.entity.Entity; will be treated as flag 
(and likely ignored)
2018-02-15 11:04:16,222 INFO  - REST placing 'simple-app' under management
2018-02-15 11:04:16,272 INFO  sfAC3AJd-[p0ed7qpz3a,kz1cjjmk9p] Starting 
RestMockSimpleEntity{id=kz1cjjmk9p} on machine 
SshMachineLocation[localhost:null@/172.17.0.3:22(id=r6i0s38g3t)]
2018-02-15 11:04:16,415 INFO  EgqViJh3-[p0ed7qpz3a] Started application 
BasicApplicationImpl{id=p0ed7qpz3a}
2018-02-15 11:04:16,448 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeClass 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.setUp() finished in 
244 ms
2018-02-15 11:04:16,449 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,449 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
0 ms
2018-02-15 11:04:16,449 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testBatchConfigRead()
2018-02-15 11:04:16,460 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testBatchConfigRead()
 finished in 11 ms
2018-02-15 11:04:16,460 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,460 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 0 ms
2018-02-15 11:04:16,461 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,461 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
1 ms
2018-02-15 11:04:16,461 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testGetJson()
2018-02-15 11:04:16,467 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testGetJson() 
finished in 6 ms
2018-02-15 11:04:16,467 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,467 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 0 ms
2018-02-15 11:04:16,468 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,468 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
0 ms
2018-02-15 11:04:16,468 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testGetPlain()
2018-02-15 11:04:16,473 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testGetPlain() 
finished in 5 ms
2018-02-15 11:04:16,473 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,473 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 0 ms
2018-02-15 11:04:16,474 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,474 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
0 ms
2018-02-15 11:04:16,474 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testList()
2018-02-15 11:04:16,499 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testList() finished 
in 25 ms
2018-02-15 11:04:16,500 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,500 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 1 ms
2018-02-15 11:04:16,500 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,500 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
0 ms
2018-02-15 11:04:16,500 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSet()
2018-02-15 11:04:16,512 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSet() finished 
in 12 ms
2018-02-15 11:04:16,513 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,513 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 1 ms
2018-02-15 11:04:16,513 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,513 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
0 ms
2018-02-15 11:04:16,514 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSetFromMap()
2018-02-15 11:04:16,526 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.EntityConfigResourceTest.testSetFromMap() 
finished in 13 ms
2018-02-15 11:04:16,526 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,526 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 0 ms
2018-02-15 11:04:16,527 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterClass 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2018-02-15 11:04:16,529 INFO  wQmVJJVf-[p0ed7qpz3a] Stopping application 
BasicApplicationImpl{id=p0ed7qpz3a}
2018-02-15 11:04:16,532 INFO  kIXFtEDZ-[p0ed7qpz3a,kz1cjjmk9p] Stopping 
RestMockSimpleEntity{id=kz1cjjmk9p} in 
[SshMachineLocation[localhost:null@3c098bd82452/172.17.0.3:22(id=r6i0s38g3t)]]
2018-02-15 11:04:16,547 INFO  wQmVJJVf-[p0ed7qpz3a] Stopped application 
BasicApplicationImpl{id=p0ed7qpz3a}
2018-02-15 11:04:16,550 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterClass 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished 
in 24 ms
2018-02-15 11:04:16,553 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 240, Failures: 1, Skips: 0
===============================================
2018-02-15 11:04:16,553 INFO  - TESTNG RUNNING: Suite: "Surefire test" 
containing "2" Tests (config: null)
2018-02-15 11:04:16,553 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpClass()
2018-02-15 11:04:16,553 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeClass org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpClass() 
finished in 0 ms
2018-02-15 11:04:16,554 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,554 INFO  - Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@484d3f05
2018-02-15 11:04:16,603 WARN  - Empty contextPath
2018-02-15 11:04:16,603 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
49 ms
2018-02-15 11:04:16,603 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.ServerShutdownTest.testShutdown()
2018-02-15 11:04:16,609 INFO  - REST call to shutdown server, 
stopAppsFirst=false, delayForHttpReturn=20s
2018-02-15 11:04:16,615 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.ServerShutdownTest.testShutdown() finished 
in 12 ms
2018-02-15 11:04:16,615 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:16,616 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 1 ms
2018-02-15 11:04:16,616 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod()
2018-02-15 11:04:16,617 INFO  - Added external config supplier named 
'brooklyn-demo-sample': 
org.apache.brooklyn.core.config.external.InPlaceExternalConfigSupplier@13a571ad
2018-02-15 11:04:16,668 WARN  - Empty contextPath
2018-02-15 11:04:16,668 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@BeforeMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.setUpMethod() finished in 
52 ms
2018-02-15 11:04:16,669 INFO  - TESTNG INVOKING: "Surefire test" - 
org.apache.brooklyn.rest.resources.ServerShutdownTest.testStopAppThenShutdownAndStopAppsWaitsForFirstStop()
2018-02-15 11:04:16,705 INFO  g7XEh7LL-[arar1peeqx,e0m03pjbyf] Starting 
StopLatchEntityImpl{id=e0m03pjbyf} on machine 
SshMachineLocation[localhost:null@/172.17.0.3:22(id=exqo76mjyn)]
2018-02-15 11:04:16,874 INFO  xnLMODqw-[arar1peeqx,e0m03pjbyf] Stopping 
StopLatchEntityImpl{id=e0m03pjbyf} in 
[SshMachineLocation[localhost:null@3c098bd82452/172.17.0.3:22(id=exqo76mjyn)]]
2018-02-15 11:04:16,896 INFO  - REST call to shutdown server, 
stopAppsFirst=true, delayForHttpReturn=0
2018-02-15 11:04:19,326 INFO  - TESTNG PASSED: "Surefire test" - 
org.apache.brooklyn.rest.resources.ServerShutdownTest.testStopAppThenShutdownAndStopAppsWaitsForFirstStop()
 finished in 2658 ms
2018-02-15 11:04:19,327 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod()
2018-02-15 11:04:19,327 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterMethod 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownMethod() finished 
in 1 ms
2018-02-15 11:04:19,327 INFO  - TESTNG INVOKING CONFIGURATION: "Surefire test" 
- @AfterClass 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass()
2018-02-15 11:04:19,327 INFO  - TESTNG PASSED CONFIGURATION: "Surefire test" - 
@AfterClass 
org.apache.brooklyn.rest.testing.BrooklynRestApiTest.tearDownClass() finished 
in 0 ms
2018-02-15 11:04:19,330 INFO  - TESTNG 
===============================================
    Surefire test
    Tests run: 242, Failures: 1, Skips: 0
===============================================
[GC (Allocation Failure)  240618K->63242K(749568K), 0.0136897 secs]
Tests run: 242, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.345 sec 
<<< FAILURE! - in TestSuite
testInvokeEffectorWithTimeoutTimesOut(org.apache.brooklyn.rest.resources.EffectorResourceTest)
  Time elapsed: 0.035 sec  <<< FAILURE!
java.lang.AssertionError: 
responseMap={id=b0KkSKlZ, displayName=sleepEffector, description=Invoking 
effector sleepEffector on TestEntity:ssst with parameters {duration=5m}, 
entityId=ssstjbyidd, entityDisplayName=TestEntity:ssst, tags=[EFFECTOR, 
{wrappingType=contextEntity, 
entity={type=org.apache.brooklyn.api.entity.Entity, id=ssstjbyidd}}, 
{entityId=ssstjbyidd, effectorName=sleepEffector}, {wrappingType=targetEntity, 
entity={type=org.apache.brooklyn.api.entity.Entity, id=ssstjbyidd}}, 
{type=org.apache.brooklyn.api.mgmt.ManagementContext}], 
submitTimeUtc=1.518692643461E12, startTimeUtc=1.518692643461E12, 
endTimeUtc=null, currentStatus=In progress, result=null, isError=false, 
isCancelled=false, children=[], submittedByTask=null, 
detailedStatus=Task[sleepEffector]@b0KkSKlZ

In progress (RUNNABLE)
At: 
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.tryCoerceInternal(TypeCoercerExtensible.java:200)
    
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.tryCoerce(TypeCoercerExtensible.java:112)
    
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.coerce(TypeCoercerExtensible.java:102)
    
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.coerce(TypeCoercerExtensible.java:98)
    
org.apache.brooklyn.util.core.flags.TypeCoercions.coerce(TypeCoercions.java:81)
    
org.apache.brooklyn.core.mgmt.internal.EffectorUtils.prepareArgsForEffectorFromMap(EffectorUtils.java:167)
    
org.apache.brooklyn.core.mgmt.internal.EffectorUtils.prepareArgsForEffector(EffectorUtils.java:75)
    
org.apache.brooklyn.core.mgmt.internal.AbstractManagementContext.invokeEffectorMethodLocal(AbstractManagementContext.java:324)
    
org.apache.brooklyn.core.mgmt.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:366)
    
org.apache.brooklyn.core.mgmt.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:274)
    
org.apache.brooklyn.core.effector.MethodEffector.call(MethodEffector.java:153)
    
org.apache.brooklyn.core.effector.AbstractEffector.call(AbstractEffector.java:61)
    
org.apache.brooklyn.core.effector.AbstractEffector$1$1.call(AbstractEffector.java:79)
    
org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:364)
    
org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:565),
 streams={}, links={self=/activities/b0KkSKlZ, 
children=/activities/b0KkSKlZ/children, 
entity=/applications/xs1j54bv8c/entities/ssstjbyidd}} expected [true] but found 
[false]
        at 
org.apache.brooklyn.rest.resources.EffectorResourceTest.testInvokeEffectorWithTimeoutTimesOut(EffectorResourceTest.java:135)


Results :

Failed tests: 
  EffectorResourceTest.testInvokeEffectorWithTimeoutTimesOut:135 
responseMap={id=b0KkSKlZ, displayName=sleepEffector, description=Invoking 
effector sleepEffector on TestEntity:ssst with parameters {duration=5m}, 
entityId=ssstjbyidd, entityDisplayName=TestEntity:ssst, tags=[EFFECTOR, 
{wrappingType=contextEntity, 
entity={type=org.apache.brooklyn.api.entity.Entity, id=ssstjbyidd}}, 
{entityId=ssstjbyidd, effectorName=sleepEffector}, {wrappingType=targetEntity, 
entity={type=org.apache.brooklyn.api.entity.Entity, id=ssstjbyidd}}, 
{type=org.apache.brooklyn.api.mgmt.ManagementContext}], 
submitTimeUtc=1.518692643461E12, startTimeUtc=1.518692643461E12, 
endTimeUtc=null, currentStatus=In progress, result=null, isError=false, 
isCancelled=false, children=[], submittedByTask=null, 
detailedStatus=Task[sleepEffector]@b0KkSKlZ

In progress (RUNNABLE)
At: 
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.tryCoerceInternal(TypeCoercerExtensible.java:200)
    
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.tryCoerce(TypeCoercerExtensible.java:112)
    
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.coerce(TypeCoercerExtensible.java:102)
    
org.apache.brooklyn.util.javalang.coerce.TypeCoercerExtensible.coerce(TypeCoercerExtensible.java:98)
    
org.apache.brooklyn.util.core.flags.TypeCoercions.coerce(TypeCoercions.java:81)
    
org.apache.brooklyn.core.mgmt.internal.EffectorUtils.prepareArgsForEffectorFromMap(EffectorUtils.java:167)
    
org.apache.brooklyn.core.mgmt.internal.EffectorUtils.prepareArgsForEffector(EffectorUtils.java:75)
    
org.apache.brooklyn.core.mgmt.internal.AbstractManagementContext.invokeEffectorMethodLocal(AbstractManagementContext.java:324)
    
org.apache.brooklyn.core.mgmt.internal.AbstractManagementContext.invokeEffectorMethodSync(AbstractManagementContext.java:366)
    
org.apache.brooklyn.core.mgmt.internal.EffectorUtils.invokeMethodEffector(EffectorUtils.java:274)
    
org.apache.brooklyn.core.effector.MethodEffector.call(MethodEffector.java:153)
    
org.apache.brooklyn.core.effector.AbstractEffector.call(AbstractEffector.java:61)
    
org.apache.brooklyn.core.effector.AbstractEffector$1$1.call(AbstractEffector.java:79)
    
org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:364)
    
org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:565),
 streams={}, links={self=/activities/b0KkSKlZ, 
children=/activities/b0KkSKlZ/children, 
entity=/applications/xs1j54bv8c/entities/ssstjbyidd}} expected [true] but found 
[false]

Tests run: 242, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Server Root ............................... SUCCESS [  1.590 s]
[INFO] Brooklyn Parent Project ............................ SUCCESS [ 13.362 s]
[INFO] Brooklyn Test Support Utilities .................... SUCCESS [ 13.570 s]
[INFO] Brooklyn Logback Includable Configuration .......... SUCCESS [  0.929 s]
[INFO] Brooklyn Common Utilities .......................... SUCCESS [ 38.000 s]
[INFO] Brooklyn API ....................................... SUCCESS [  2.506 s]
[INFO] CAMP Server Parent Project ......................... SUCCESS [  1.144 s]
[INFO] CAMP Base .......................................... SUCCESS [  3.557 s]
[INFO] Brooklyn Test Support .............................. SUCCESS [  1.622 s]
[INFO] Brooklyn REST Swagger Apidoc Utilities ............. SUCCESS [  3.413 s]
[INFO] Brooklyn Logback Configuration ..................... SUCCESS [  0.508 s]
[INFO] CAMP Server ........................................ SUCCESS [ 11.526 s]
[INFO] Brooklyn Felix Runtime ............................. SUCCESS [  3.669 s]
[INFO] Brooklyn Groovy Utilities .......................... SUCCESS [  2.642 s]
[INFO] Brooklyn Core ...................................... SUCCESS [04:38 min]
[INFO] Brooklyn Policies .................................. SUCCESS [ 40.130 s]
[INFO] Brooklyn WinRM Software Entities ................... SUCCESS [ 13.186 s]
[INFO] Brooklyn Secure JMXMP Agent ........................ SUCCESS [ 10.856 s]
[INFO] Brooklyn JMX RMI Agent ............................. SUCCESS [  0.460 s]
[INFO] Brooklyn Jclouds Location Targets .................. SUCCESS [ 43.418 s]
[INFO] Brooklyn Software Base ............................. SUCCESS [01:42 min]
[INFO] Brooklyn CAMP ...................................... SUCCESS [03:15 min]
[INFO] Brooklyn Launcher Common ........................... SUCCESS [  5.552 s]
[INFO] Brooklyn REST API .................................. SUCCESS [ 11.953 s]
[INFO] Brooklyn REST Resources ............................ FAILURE [ 58.584 s]
[INFO] Brooklyn REST Server ............................... SKIPPED
[INFO] Brooklyn Launcher .................................. SKIPPED
[INFO] Brooklyn Container Location Targets ................ SKIPPED
[INFO] Brooklyn Command Line Interface .................... SKIPPED
[INFO] Brooklyn Test Framework ............................ SKIPPED
[INFO] Brooklyn OSGi init ................................. SKIPPED
[INFO] Brooklyn OSGi start ................................ SKIPPED
[INFO] Brooklyn Karaf ..................................... SKIPPED
[INFO] Jetty config fragment .............................. SKIPPED
[INFO] Apache Http Component extension .................... SKIPPED
[INFO] Brooklyn Karaf Features ............................ SKIPPED
[INFO] Brooklyn Karaf Shell Commands ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14:23 min
[INFO] Finished at: 2018-02-15T11:04:20Z
[INFO] Final Memory: 121M/716M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on 
project brooklyn-rest-resources: There are test failures.
[ERROR] 
[ERROR] Please refer to /usr/build/rest/rest-resources/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-resources
Build step 'Execute shell' marked build as failure
Recording test results
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: 
**/testng-results.xml
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
testng-results.xml was last modified before this build started. Ignoring it.
Saving reports...
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-1.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-10.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-11.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-12.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-13.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-14.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-2.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-3.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-4.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-5.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-6.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-7.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-8.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results-9.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/brooklyn-server-master-docker/builds/54/testng/testng-results.xml'
0.021877% of tests failed, which exceeded threshold of 0%. Marking build as 
UNSTABLE
TestNG Reports Processing: FINISH

Reply via email to