brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjcorbett <...@git.apache.org>
Subject [GitHub] brooklyn-server pull request: BROOKLYN-278: fix Propagator validat...
Date Fri, 27 May 2016 11:03:52 GMT
Github user sjcorbett commented on the pull request:

    https://github.com/apache/brooklyn-server/pull/154#issuecomment-222119849
  
    @aledsage This seems to break `EnrichersSlightlySimplerYamlTest.testWithAppEnricher`:
    ```
    testWithAppEnricher(org.apache.brooklyn.qa.camp.EnrichersSlightlySimplerYamlTest)  Time
elapsed: 1.235 sec  <<< FAILURE!
    org.apache.brooklyn.util.exceptions.PropagatedRuntimeException:
    	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    	at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
    	at org.apache.brooklyn.util.core.task.BasicTask.get(BasicTask.java:361)
    	at org.apache.brooklyn.util.core.task.BasicTask.getUnchecked(BasicTask.java:370)
    	at org.apache.brooklyn.core.objs.proxy.InternalEntityFactory.initEntityAndDescendants(InternalEntityFactory.java:361)
    	at org.apache.brooklyn.core.objs.proxy.InternalEntityFactory.createEntity(InternalEntityFactory.java:188)
    	at org.apache.brooklyn.core.mgmt.internal.LocalEntityManager.createEntity(LocalEntityManager.java:145)
    	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.createAndStartApplication(AbstractYamlTest.java:128)
    	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.createAndStartApplication(AbstractYamlTest.java:123)
    	at org.apache.brooklyn.camp.brooklyn.AbstractYamlTest.createAndStartApplication(AbstractYamlTest.java:119)
    	at org.apache.brooklyn.qa.camp.EnrichersSlightlySimplerYamlTest.testWithAppEnricher(EnrichersSlightlySimplerYamlTest.java:57)
    Caused by: java.lang.IllegalStateException: Propagator enricher Propagator{running=true,
entity=BasicApplicationImpl{id=B4jktQsQ}, id=FH9VxCyW} must have 'propagating' and/or 'sensorMapping',
or 'propagatingAll' or 'propagatingAllBut' set
    	at org.apache.brooklyn.enricher.stock.Propagator.setEntity(Propagator.java:106)
    	at org.apache.brooklyn.core.entity.AbstractEntity$BasicEnricherSupport.add(AbstractEntity.java:1746)
    	at org.apache.brooklyn.core.objs.proxy.InternalEntityFactory$1.run(InternalEntityFactory.java:344)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    	at org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:519)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    	at java.lang.Thread.run(Thread.java:745)
    ``` 
    Will fix.


---
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.
---

Mime
View raw message