brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BROOKLYN-206) Unreliable test: AbstractControllerTest.testUpdateCalledWhenChildHostnameAndPortChanges
Date Mon, 18 Jan 2016 12:11:39 GMT

    [ https://issues.apache.org/jira/browse/BROOKLYN-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105205#comment-15105205
] 

ASF GitHub Bot commented on BROOKLYN-206:
-----------------------------------------

Github user sjcorbett commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/1154#issuecomment-172511906
  
    Generally I file an issue at JIRA (e.g. [BROOKLYN-206](https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=50&view=detail&selectedIssue=BROOKLYN-206))
and force a test re-run by opening and closing the PR.


> Unreliable test: AbstractControllerTest.testUpdateCalledWhenChildHostnameAndPortChanges
> ---------------------------------------------------------------------------------------
>
>                 Key: BROOKLYN-206
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-206
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Sam Corbett
>
> Stacktrace
> {code}
> java.lang.AssertionError: expected [true] but found [false]
> 	at org.testng.Assert.fail(Assert.java:94)
> 	at org.testng.Assert.failNotEquals(Assert.java:494)
> 	at org.testng.Assert.assertTrue(Assert.java:42)
> 	at org.testng.Assert.assertTrue(Assert.java:52)
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest.assertAddressesMatch(AbstractControllerTest.java:308)
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest.access$100(AbstractControllerTest.java:67)
> {code}
> Debug log
> {code}
> 2015-12-15 15:30:17,853 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.entity.proxy.AbstractControllerTest.setUp()
> 2015-12-15 15:30:18,096 INFO  Starting TrackingAbstractControllerImpl{id=Zveoz16x}, obtaining
a new location instance in FixedListMachineProvisioningLocation{id=HsQneYPD, name=FixedListMachineProvisioningLocation:HsQn}
with ports [22, 8000, 8443]
> 2015-12-15 15:30:18,108 INFO  Starting TrackingAbstractControllerImpl{id=Zveoz16x} on
machine SshMachineLocation[SshMachineLocation:TM32:null@/1.1.1.1:22(id=TM32DuVH)]
> 2015-12-15 15:30:18,242 INFO  Added policy ServerPoolMemberTrackerPolicy{name=Controller
targets tracker, running=true} to TrackingAbstractControllerImpl{id=Zveoz16x}
> 2015-12-15 15:30:18,242 INFO  Resetting TrackingAbstractControllerImpl{id=Zveoz16x},
server pool targets {}
> 2015-12-15 15:30:18,244 INFO  Updating TrackingAbstractControllerImpl{id=Zveoz16x}, server
pool targets {}
> 2015-12-15 15:30:18,244 INFO  test controller reconfigure, targets []
> 2015-12-15 15:30:18,252 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.entity.proxy.AbstractControllerTest.setUp() finished in 399 ms
> 2015-12-15 15:30:18,253 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.entity.proxy.AbstractControllerTest.testUpdateCalledWhenChildHostnameAndPortChanges()
> 2015-12-15 15:30:33,398 INFO  succeedsEventually exceeded max attempts or timeout - 39
attempts lasting 15001 ms, for RunnableAdapter(org.apache.brooklyn.entity.proxy.AbstractControllerTest$3@186540e1)
> 2015-12-15 15:30:33,398 INFO  failed succeeds-eventually, 39 attempts, 15001ms elapsed
(rethrowing): java.lang.AssertionError: expected [true] but found [false]
> 2015-12-15 15:30:33,401 INFO  TESTNG FAILED: "Surefire test" - org.apache.brooklyn.entity.proxy.AbstractControllerTest.testUpdateCalledWhenChildHostnameAndPortChanges()
finished in 15147 ms
> java.lang.AssertionError: expected [true] but found [false]
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest.assertAddressesMatch(AbstractControllerTest.java:308)
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest.access$100(AbstractControllerTest.java:67)
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest$3.run(AbstractControllerTest.java:300)
> 	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1208)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:870)
> 	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:797)
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest.assertEventuallyExplicitAddressesMatch(AbstractControllerTest.java:298)
> 	at org.apache.brooklyn.entity.proxy.AbstractControllerTest.testUpdateCalledWhenChildHostnameAndPortChanges(AbstractControllerTest.java:120)
> 2015-12-15 15:30:33,406 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown()
> 2015-12-15 15:30:33,417 INFO  Stopping TrackingAbstractControllerImpl{id=Zveoz16x} in
[SshMachineLocation[SshMachineLocation:TM32:null@1.1.1.1/1.1.1.1:22(id=TM32DuVH)]]
> 2015-12-15 15:30:33,460 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.core.test.BrooklynMgmtUnitTestSupport.tearDown() finished in 55 ms
> {code}



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

Mime
View raw message