[
https://issues.apache.org/jira/browse/BROOKLYN-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193398#comment-15193398
]
ASF GitHub Bot commented on BROOKLYN-239:
-----------------------------------------
Github user ahgittin commented on the pull request:
https://github.com/apache/brooklyn-server/pull/58#issuecomment-196348975
failure unrelated, recorded in new non-det test issue
https://issues.apache.org/jira/browse/BROOKLYN-239 /cc @aledsage @sjcorbett
PR here looks good, merging
> Intermittent failing test:
> AutoScalerPolicyNoMoreMachinesTest.testPoolHotSensorResizingBeyondMaxMachines
> ---------------------------------------------------------------------------------------------------------
>
> Key: BROOKLYN-239
> URL: https://issues.apache.org/jira/browse/BROOKLYN-239
> Project: Brooklyn
> Issue Type: Bug
> Environment: jenkins
> Reporter: Alex Heneveld
>
> does not seem to try to scale to 3 nodes. observed on (slow) apache jenkins
> PR build:
> https://builds.apache.org/job/brooklyn-server-pull-requests/org.apache.brooklyn$brooklyn-software-base/181/testReport/junit/org.apache.brooklyn.entity.software.base.test.autoscaling/AutoScalerPolicyNoMoreMachinesTest/testPoolHotSensorResizingBeyondMaxMachines/
> maybe a timing issue causing it not to scale? would really help to see the
> workspace / debug log for this but unfortunately it has been wiped by
> jenkins. recording for posterity.
> {code}
> Error Message
> failed succeeds-eventually, 69 attempts, 30001ms elapsed: AssertionError:
> removed=[] expected [1] but found [0]
> Stacktrace
> org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: failed
> succeeds-eventually, 69 attempts, 30001ms elapsed: AssertionError: removed=[]
> expected [1] but found [0]
> 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.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest$2.run(AutoScalerPolicyNoMoreMachinesTest.java:203)
> at
> org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1277)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:930)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:854)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:847)
> at
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.assertSizeEventually(AutoScalerPolicyNoMoreMachinesTest.java:200)
> at
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.testPoolHotSensorResizingBeyondMaxMachines(AutoScalerPolicyNoMoreMachinesTest.java:128)
> Standard Output
> 2016-03-11 15:30:01,264 INFO TESTNG INVOKING CONFIGURATION: "Surefire test"
> - @AfterMethod
> org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown()
> 2016-03-11 15:30:01,269 INFO Stopping EmptySoftwareProcessImpl{id=RpkcofwJ}
> in [FixedListMachineProvisioningLocation{id=OFJrKbG7,
> name=FixedListMachineProvisioningLocation:OFJr},
> SshMachineLocation[SshMachineLocation:EHrV:[email protected]/1.1.1.2:22(id=EHrV9iEn)]]
> 2016-03-11 15:30:01,271 INFO Stopping EmptySoftwareProcessImpl{id=BCEPprmN}
> in [FixedListMachineProvisioningLocation{id=OFJrKbG7,
> name=FixedListMachineProvisioningLocation:OFJr},
> SshMachineLocation[SshMachineLocation:Uxre:[email protected]/1.1.1.1:22(id=UxretoRd)]]
> 2016-03-11 15:30:01,298 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
> @AfterMethod
> org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown() finished
> in 35 ms
> 2016-03-11 15:30:01,299 INFO TESTNG INVOKING CONFIGURATION: "Surefire test"
> - @BeforeMethod
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.setUp()
> 2016-03-11 15:30:01,363 INFO No Camp-YAML parser registered for parsing
> catalog item DSL; skipping DSL-parsing
> 2016-03-11 15:30:01,405 INFO TESTNG PASSED CONFIGURATION: "Surefire test" -
> @BeforeMethod
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.setUp()
> finished in 106 ms
> 2016-03-11 15:30:01,406 INFO TESTNG INVOKING: "Surefire test" -
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.testPoolHotSensorResizingBeyondMaxMachines()
> 2016-03-11 15:30:01,407 INFO Resize DynamicClusterImpl{id=t02HU0Ue} from 0
> to 1
> 2016-03-11 15:30:01,440 INFO Starting EmptySoftwareProcessImpl{id=a1VtHWCu},
> obtaining a new location instance in
> FixedListMachineProvisioningLocation{id=qJFayMMf,
> name=FixedListMachineProvisioningLocation:qJFa} with ports [22]
> 2016-03-11 15:30:01,441 INFO Starting EmptySoftwareProcessImpl{id=a1VtHWCu}
> on machine
> SshMachineLocation[SshMachineLocation:twp3:[email protected]/1.1.1.1:22(id=twp3JGLx)]
> 2016-03-11 15:30:01,599 INFO Resize DynamicClusterImpl{id=t02HU0Ue} from 1
> to 2
> 2016-03-11 15:30:01,631 INFO Starting EmptySoftwareProcessImpl{id=zMZMnt07},
> obtaining a new location instance in
> FixedListMachineProvisioningLocation{id=qJFayMMf,
> name=FixedListMachineProvisioningLocation:qJFa} with ports [22]
> 2016-03-11 15:30:01,633 INFO Starting EmptySoftwareProcessImpl{id=zMZMnt07}
> on machine
> SshMachineLocation[SshMachineLocation:Wio6:[email protected]/1.1.1.2:22(id=Wio6talD)]
> 2016-03-11 15:30:31,633 INFO succeedsEventually exceeded max attempts or
> timeout - 69 attempts lasting 30000 ms, for
> RunnableAdapter(org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest$2@7954e1de)
> 2016-03-11 15:30:31,633 INFO failed succeeds-eventually, 69 attempts,
> 30001ms elapsed (rethrowing): java.lang.AssertionError: removed=[] expected
> [1] but found [0]
> 2016-03-11 15:30:31,638 INFO TESTNG FAILED: "Surefire test" -
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.testPoolHotSensorResizingBeyondMaxMachines()
> finished in 30229 ms
> org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: failed
> succeeds-eventually, 69 attempts, 30001ms elapsed: AssertionError: removed=[]
> expected [1] but found [0]
> at
> org.apache.brooklyn.util.exceptions.Exceptions.propagate(Exceptions.java:164)
> at
> org.apache.brooklyn.util.exceptions.Exceptions.propagateAnnotated(Exceptions.java:144)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:963)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:854)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:847)
> at
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.assertSizeEventually(AutoScalerPolicyNoMoreMachinesTest.java:200)
> at
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest.testPoolHotSensorResizingBeyondMaxMachines(AutoScalerPolicyNoMoreMachinesTest.java:128)
> Caused by: java.lang.AssertionError: removed=[] expected [1] but found [0]
> at
> org.apache.brooklyn.entity.software.base.test.autoscaling.AutoScalerPolicyNoMoreMachinesTest$2.run(AutoScalerPolicyNoMoreMachinesTest.java:203)
> at
> org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1277)
> at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:930)
> ... 32 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)