You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Geoff Macartney (JIRA)" <ji...@apache.org> on 2016/11/02 11:46:58 UTC

[jira] [Updated] (BROOKLYN-378) Intermittent failures in builds on stop related tests

     [ https://issues.apache.org/jira/browse/BROOKLYN-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoff Macartney updated BROOKLYN-378:
-------------------------------------
    Summary: Intermittent failures in builds on stop related tests  (was: Failures in builds on stop related tests)

> Intermittent failures in builds on stop related tests
> -----------------------------------------------------
>
>                 Key: BROOKLYN-378
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-378
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Geoff Macartney
>            Priority: Minor
>
> Intermittently the test SoftwareProcessEntityLatchTest.testStopLatchBlocks is failing.
> The failures were seen in brooklyn-master-build, which is pinned to a specific machine, 
> haven't observed it *yet* in server-master job.
> from https://builds.apache.org/job/brooklyn-master-build/501/
> {code}
> 2016-11-02 01:04:54,318 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks()
> 2016-11-02 01:04:54,348 INFO  No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
> 2016-11-02 01:04:54,351 INFO  Starting MyServiceImpl{id=a27ogjk91g}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=zic8brg77w, name=FixedListMachineProvisioningLocation:zic8} with ports [22, 8080]
> 2016-11-02 01:04:54,353 INFO  Starting MyServiceImpl{id=a27ogjk91g} on machine SshMachineLocation[SshMachineLocation:yk3u:null@localhost/127.0.0.1:22(id=yk3uh1n57q)]
> 2016-11-02 01:04:54,489 WARN  Setting Application[3act9toe] on-fire due to problems when expected running, up=false, not-up-indicators: {service.state=Application stopping}
> 2016-11-02 01:04:54,493 WARN  Error invoking stop at MyServiceImpl{id=a27ogjk91g}: Error resolving config stop.latch, Task[waiting on stop.now]@KRwYrVGe, in org.apache.brooklyn.util.core.task.BasicExecutionContext@3eb15176([Wrapped[contextEntity:MyServiceImpl{id=a27ogjk91g}], LocalManagementContext[VN615ulB-yIoEvNag]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Abort due to Application[3act9toe] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> 2016-11-02 01:04:54,496 WARN  Error stopping application Application[3act9toe] (rethrowing): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking stop at MyServiceImpl{id=a27ogjk91g}: Error resolving config stop.latch, Task[waiting on stop.now]@KRwYrVGe, in org.apache.brooklyn.util.core.task.BasicExecutionContext@3eb15176([Wrapped[contextEntity:MyServiceImpl{id=a27ogjk91g}], LocalManagementContext[VN615ulB-yIoEvNag]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Abort due to Application[3act9toe] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> 2016-11-02 01:04:54,496 WARN  Error invoking stop at Application[3act9toe]: Error invoking stop at MyServiceImpl{id=a27ogjk91g}: Error resolving config stop.latch, Task[waiting on stop.now]@KRwYrVGe, in org.apache.brooklyn.util.core.task.BasicExecutionContext@3eb15176([Wrapped[contextEntity:MyServiceImpl{id=a27ogjk91g}], LocalManagementContext[VN615ulB-yIoEvNag]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Abort due to Application[3act9toe] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> 2016-11-02 01:05:24,489 INFO  succeedsEventually exceeded max attempts or timeout - 69 attempts lasting 30001 ms, for RunnableAdapter(org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest$1@62c72a73)
> 2016-11-02 01:05:24,491 INFO  failed succeeds-eventually, 69 attempts, 30003ms elapsed (rethrowing): java.lang.IllegalStateException: No blocking details for Task[stop]@spjC8ENY (walked task chain [Task[stop]@spjC8ENY])
> 2016-11-02 01:05:24,493 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 30174 ms
> org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: failed succeeds-eventually, 69 attempts, 30003ms elapsed: No blocking details for Task[stop]@spjC8ENY (walked task chain [Task[stop]@spjC8ENY])
> 	at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:165)
> 	at org.apache.brooklyn.util.exceptions.Exceptions.propagateAnnotated(Exceptions.java:145)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:972)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:863)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:856)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.assertEffectorBlockingDetailsEventually(SoftwareProcessEntityLatchTest.java:165)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks(SoftwareProcessEntityLatchTest.java:134)
> Caused by: java.lang.IllegalStateException: No blocking details for Task[stop]@spjC8ENY (walked task chain [Task[stop]@spjC8ENY])
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.getBlockingDetails(SoftwareProcessEntityLatchTest.java:191)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.access$100(SoftwareProcessEntityLatchTest.java:60)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest$1.run(SoftwareProcessEntityLatchTest.java:176)
> 	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1320)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:939)
> 	... 32 more
> 2016-11-02 01:05:24,503 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown()
> 2016-11-02 01:05:24,509 WARN  Error invoking stop at MyServiceImpl{id=a27ogjk91g}: Error resolving config stop.latch, Task[waiting on stop.now]@KRwYrVGe, in org.apache.brooklyn.util.core.task.BasicExecutionContext@3eb15176([Wrapped[contextEntity:MyServiceImpl{id=a27ogjk91g}], LocalManagementContext[VN615ulB-yIoEvNag]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[3act9toe] Sensor: stop.now (java.lang.Boolean): Abort due to Application[3act9toe] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> {code}
> previous failure was from from https://builds.apache.org/job/brooklyn-master-build/org.apache.brooklyn$brooklyn-software-base/484
> {code}
> 2016-10-26 11:33:04,872 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.setUp()
> 2016-10-26 11:33:04,889 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.setUp() finished in 17 ms
> 2016-10-26 11:33:04,890 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks()
> 2016-10-26 11:33:04,922 INFO  No Camp-YAML parser registered for parsing catalog item DSL; skipping DSL-parsing
> 2016-10-26 11:33:04,926 INFO  Starting MyServiceImpl{id=m6lah5k77a}, obtaining a new location instance in FixedListMachineProvisioningLocation{id=s8rvak3f1o, name=FixedListMachineProvisioningLocation:s8rv} with ports [22, 8080]
> 2016-10-26 11:33:04,928 INFO  Starting MyServiceImpl{id=m6lah5k77a} on machine SshMachineLocation[SshMachineLocation:sdit:null@localhost/127.0.0.1:22(id=sdit1aldat)]
> 2016-10-26 11:33:05,065 WARN  Setting Application[2eg2y6m0] on-fire due to problems when expected running, up=false, not-up-indicators: {service.state=Application stopping}
> 2016-10-26 11:33:05,068 WARN  Error invoking stop at MyServiceImpl{id=m6lah5k77a}: Error resolving config stop.latch, Task[waiting on stop.now]@PE2G0SYw, in org.apache.brooklyn.util.core.task.BasicExecutionContext@473cbd6f([Wrapped[contextEntity:MyServiceImpl{id=m6lah5k77a}], LocalManagementContext[wajsxJSx-jviQFxlo]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[2eg2y6m0] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[2eg2y6m0] Sensor: stop.now (java.lang.Boolean): Abort due to Application[2eg2y6m0] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> 2016-10-26 11:33:05,072 WARN  Error stopping application Application[2eg2y6m0] (rethrowing): org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: Error invoking stop at MyServiceImpl{id=m6lah5k77a}: Error resolving config stop.latch, Task[waiting on stop.now]@PE2G0SYw, in org.apache.brooklyn.util.core.task.BasicExecutionContext@473cbd6f([Wrapped[contextEntity:MyServiceImpl{id=m6lah5k77a}], LocalManagementContext[wajsxJSx-jviQFxlo]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[2eg2y6m0] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[2eg2y6m0] Sensor: stop.now (java.lang.Boolean): Abort due to Application[2eg2y6m0] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> 2016-10-26 11:33:05,073 WARN  Error invoking stop at Application[2eg2y6m0]: Error invoking stop at MyServiceImpl{id=m6lah5k77a}: Error resolving config stop.latch, Task[waiting on stop.now]@PE2G0SYw, in org.apache.brooklyn.util.core.task.BasicExecutionContext@473cbd6f([Wrapped[contextEntity:MyServiceImpl{id=m6lah5k77a}], LocalManagementContext[wajsxJSx-jviQFxlo]]): java.util.concurrent.ExecutionException: org.apache.brooklyn.util.exceptions.CompoundRuntimeException: Aborted waiting for ready from Application[2eg2y6m0] Sensor: stop.now (java.lang.Boolean): Aborted waiting for ready from Application[2eg2y6m0] Sensor: stop.now (java.lang.Boolean): Abort due to Application[2eg2y6m0] -> Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle)
> 2016-10-26 11:33:35,064 INFO  succeedsEventually exceeded max attempts or timeout - 69 attempts lasting 30000 ms, for RunnableAdapter(org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest$1@b3f3739)
> 2016-10-26 11:33:35,064 INFO  failed succeeds-eventually, 69 attempts, 30001ms elapsed (rethrowing): java.lang.IllegalStateException: No blocking details for Task[stop]@aDcjsklu (walked task chain [Task[stop]@aDcjsklu])
> 2016-10-26 11:33:35,068 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 30175 ms
> org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: failed succeeds-eventually, 69 attempts, 30001ms elapsed: No blocking details for Task[stop]@aDcjsklu (walked task chain [Task[stop]@aDcjsklu])
> 	at org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:165)
> 	at org.apache.brooklyn.util.exceptions.Exceptions.propagateAnnotated(Exceptions.java:145)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:967)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:858)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:851)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.assertEffectorBlockingDetailsEventually(SoftwareProcessEntityLatchTest.java:165)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks(SoftwareProcessEntityLatchTest.java:134)
> Caused by: java.lang.IllegalStateException: No blocking details for Task[stop]@aDcjsklu (walked task chain [Task[stop]@aDcjsklu])
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.getBlockingDetails(SoftwareProcessEntityLatchTest.java:191)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.access$100(SoftwareProcessEntityLatchTest.java:60)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest$1.run(SoftwareProcessEntityLatchTest.java:176)
> 	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1310)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:934)
> 	... 32 more
> {code}
> There was also a stop related failure in SoftwareProcessStopsDuringStartTest.testStopDuringProvisionWaitsForCompletion in build 485
> from https://builds.apache.org/job/brooklyn-master-build/org.apache.brooklyn$brooklyn-software-base/485
> {code}
> org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.testStopDuringProvisionWaitsForCompletion (from TestSuite)
> ...
> Error Message
> null: lists don't have the same size expected [2] but found [1]
> Stacktrace
> java.lang.AssertionError: null: lists don't have the same size expected [2] but found [1]
> 	at org.testng.Assert.fail(Assert.java:94)
> 	at org.testng.Assert.failNotEquals(Assert.java:494)
> 	at org.testng.Assert.assertEquals(Assert.java:123)
> 	at org.testng.Assert.assertEquals(Assert.java:370)
> 	at org.testng.Assert.assertEquals(Assert.java:537)
> 	at org.testng.Assert.assertEquals(Assert.java:514)
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.testStopDuringProvisionWaitsForCompletion(SoftwareProcessStopsDuringStartTest.java:182)
> Standard Output
> 2016-10-26 12:21:57,982 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.tearDown()
> 2016-10-26 12:21:58,082 WARN  Error invoking start at EmptySoftwareProcessImpl{id=zbkwg3bt90}: Entity EmptySoftwareProcessImpl{id=zbkwg3bt90} is no longer managed, when trying to publish Sensor: service.state.expected (org.apache.brooklyn.core.entity.lifecycle.Lifecycle$Transition) on-fire @ 1477484518082 / Wed Oct 26 12:21:58 UTC 2016
> 2016-10-26 12:21:58,084 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.tearDown() finished in 103 ms
> 2016-10-26 12:21:58,084 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.setUp()
> 2016-10-26 12:21:58,145 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.setUp() finished in 61 ms
> 2016-10-26 12:21:58,146 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.testStopDuringProvisionWaitsForCompletion()
> 2016-10-26 12:21:58,177 INFO  Stopping EmptySoftwareProcessImpl{id=wv1hnujc1w} in []
> 2016-10-26 12:21:58,178 INFO  When stopping EmptySoftwareProcessImpl{id=wv1hnujc1w}, waiting for up to 10m for the machine to finish provisioning, before terminating it
> 2016-10-26 12:21:58,195 WARN  Deprecated use of unmanaged location (SshMachineLocation[SshMachineLocation:vd3l:null@localhost/127.0.0.1:22(id=vd3letkg0h)]); will be managed automatically now but not supported in future versions
> 2016-10-26 12:21:58,195 INFO  Simulated obtain of machine SshMachineLocation[SshMachineLocation:vd3l:null@localhost/127.0.0.1:22(id=vd3letkg0h)]
> 2016-10-26 12:21:58,352 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.testStopDuringProvisionWaitsForCompletion() finished in 206 ms
> java.lang.AssertionError: null: lists don't have the same size expected [2] but found [1]
> 	at org.apache.brooklyn.entity.software.base.SoftwareProcessStopsDuringStartTest.testStopDuringProvisionWaitsForCompletion(SoftwareProcessStopsDuringStartTest.java:182)
> {code}
> h4. Steps to reproduce?
> So far I have been unable to reproduce the problem. I have tried to reproduce it with the following steps: 
> 1. Running the test with a restricted environment.  Used a Vagrant box with 1 CPU and RAM set at 1496Mb. 
> 2. Adding CPU stress to the machine. Added the 'stress' tool to the machine {{sudo apt-get install -y stress}} and ran with up to four stressors {{stress -c 4 -t 3600}}
>  while executing the unit test. The tool restricts Java to about 45% of the CPU at most. (Oddly this doesn't depend on the number of stressors running.)
> 3. Jittering threads. Added jitter to the test with 
> {code}
> mvn surefire:test -Dtest=org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest#testStopLatchBlocks -Dbrooklyn.executionManager.jitterThreads=true -Dbrooklyn.executionManager.jitterThreads.maxDelay=1000
> {code} 
> 4. Added {{@Test(invocationCount = 20)}} to the test.
> 5. Did the iteration count while running stress tool.  This did give a timeout on the first iteration only, but not on the stop latch, rather on the
>  {{assertAttributeEqualsEventually(timeoutConfig, app, SERVICE_UP, true);}} on the app. The rest of the tests succeeded with timings:
> {code}
> 2016-10-28 13:36:21,701 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 33549 ms (1 of 20)
> 2016-10-28 13:36:24,980 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1972 ms (2 of 20)
> 2016-10-28 13:36:26,063 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 812 ms (3 of 20)
> 2016-10-28 13:36:27,107 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 768 ms (4 of 20)
> 2016-10-28 13:36:28,135 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 749 ms (5 of 20)
> 2016-10-28 13:36:29,648 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1233 ms (6 of 20)
> 2016-10-28 13:36:30,623 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 761 ms (7 of 20)
> 2016-10-28 13:36:31,551 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 710 ms (8 of 20)
> 2016-10-28 13:36:32,527 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 756 ms (9 of 20)
> 2016-10-28 13:36:33,328 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 661 ms (10 of 20)
> 2016-10-28 13:36:34,228 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 728 ms (11 of 20)
> 2016-10-28 13:36:35,102 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 670 ms (12 of 20)
> 2016-10-28 13:36:36,604 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1188 ms (13 of 20)
> 2016-10-28 13:36:38,197 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1378 ms (14 of 20)
> 2016-10-28 13:36:39,775 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1315 ms (15 of 20)
> 2016-10-28 13:36:41,258 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1269 ms (16 of 20)
> 2016-10-28 13:36:42,731 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1230 ms (17 of 20)
> 2016-10-28 13:36:43,583 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 724 ms (18 of 20)
> 2016-10-28 13:36:45,022 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 1235 ms (19 of 20)
> 2016-10-28 13:36:45,839 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.entity.software.base.SoftwareProcessEntityLatchTest.testStopLatchBlocks() finished in 646 ms (20 of 20)
> {code}
> 6. Added multiple successive iterations of setting and releasing the stop latch within the test.  Testing with 200 iterations under stress didn't reproduce the issue.
> 7. Updated the test to add multiple child entities and stop them in parallel tasks. Testing with 200 iterations under stress didn't reproduce the issue.
> 8. All of the above: stress + jitter (up to 200ms) + 200 serial iterations or 20 parallel.  Again both tests succeeded.
> I haven't yet tried to repoduce the failure in SoftwareProcessStopsDuringStartTest.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)