You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by neykov <gi...@git.apache.org> on 2016/11/07 10:24:17 UTC

[GitHub] brooklyn-server issue #407: App defaults to requiring all children up

Github user neykov commented on the issue:

    https://github.com/apache/brooklyn-server/pull/407
  
    A couple of failing tests:
    ```
    Tests run: 1931, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 235.556 sec <<< FAILURE! - in TestSuite
    testOnlyChildFailsToStartThenRecoversCausesAppToRecover(org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest)  Time elapsed: 30.283 sec  <<< FAILURE!
    org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: failed succeeds-eventually, 69 attempts, 30001ms elapsed: AssertionError: entity=Application[xof1rmsy]; attribute=Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle) expected [running] but found [on-fire]
    	at org.apache.brooklyn.test.Asserts.fail(Asserts.java:726)
    	at org.apache.brooklyn.test.Asserts.failNotEquals(Asserts.java:116)
    	at org.apache.brooklyn.test.Asserts.assertEquals(Asserts.java:438)
    	at org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEquals(EntityAsserts.java:56)
    	at org.apache.brooklyn.core.entity.EntityAsserts$1.run(EntityAsserts.java:72)
    	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1320)
    	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:939)
    	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:863)
    	at org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEqualsEventually(EntityAsserts.java:69)
    	at org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEqualsEventually(EntityAsserts.java:64)
    	at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.assertHealthEventually(ApplicationLifecycleStateTest.java:171)
    	at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.testOnlyChildFailsToStartThenRecoversCausesAppToRecover(ApplicationLifecycleStateTest.java:79)
    
    testSomeChildFailsToStartThenRecoversCausesAppToRecover(org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest)  Time elapsed: 30.26 sec  <<< FAILURE!
    org.apache.brooklyn.util.exceptions.PropagatedRuntimeException: failed succeeds-eventually, 69 attempts, 30000ms elapsed: AssertionError: entity=Application[xjmypuja]; attribute=Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle) expected [running] but found [on-fire]
    	at org.apache.brooklyn.test.Asserts.fail(Asserts.java:726)
    	at org.apache.brooklyn.test.Asserts.failNotEquals(Asserts.java:116)
    	at org.apache.brooklyn.test.Asserts.assertEquals(Asserts.java:438)
    	at org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEquals(EntityAsserts.java:56)
    	at org.apache.brooklyn.core.entity.EntityAsserts$1.run(EntityAsserts.java:72)
    	at org.apache.brooklyn.test.Asserts$RunnableAdapter.call(Asserts.java:1320)
    	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:939)
    	at org.apache.brooklyn.test.Asserts.succeedsEventually(Asserts.java:863)
    	at org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEqualsEventually(EntityAsserts.java:69)
    	at org.apache.brooklyn.core.entity.EntityAsserts.assertAttributeEqualsEventually(EntityAsserts.java:64)
    	at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.assertHealthEventually(ApplicationLifecycleStateTest.java:171)
    	at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.testSomeChildFailsToStartThenRecoversCausesAppToRecover(ApplicationLifecycleStateTest.java:95)
    
    2016-11-04 21:25:40,057 INFO  Brooklyn shutdown: stopping entities [TestEntityImpl{id=l7anphjy3k}, TestEntityImpl{id=civa7tpffq}, BlockingEntityImpl{id=hap37gs8zx}]
    
    Results :
    
    Failed tests: 
      ApplicationLifecycleStateTest.testOnlyChildFailsToStartThenRecoversCausesAppToRecover:79->assertHealthEventually:171 � PropagatedRuntime
      ApplicationLifecycleStateTest.testSomeChildFailsToStartThenRecoversCausesAppToRecover:95->assertHealthEventually:171 � PropagatedRuntime
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---