Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testAbsenceEnergySavingAgent fails with execution state can not be reached. #69

Closed
DivineThreepwood opened this issue Aug 5, 2022 · 0 comments · Fixed by #89
Closed

Comments

@DivineThreepwood
Copy link
Member

DivineThreepwood commented Aug 5, 2022

Test fails with:

org.openbase.jul.exception.CouldNotPerformException: PH Hue E27 Device Stairway - stop waiting because state[EXECUTING] cannot be reached from state[REJECTED]
	at app//org.openbase.bco.dal.remote.action.RemoteAction.waitForActionState(RemoteAction.java:1017)
	at app//org.openbase.bco.dal.remote.action.RemoteAction.waitForActionState(RemoteAction.java:997)
	at app//org.openbase.bco.dal.remote.action.RemoteAction.waitForActionState(RemoteAction.java:973)
	at app//org.openbase.bco.dal.test.AbstractBCOTest.waitForExecution(AbstractBCOTest.java:217)
	at app//org.openbase.bco.app.preset.agent.AbsenceEnergySavingAgentTest.testAbsenceEnergySavingAgent(AbsenceEnergySavingAgentTest.java:112)
	at java.base@17.0.4/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base@17.0.4/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base@17.0.4/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Issue can as well be reproduced by:

org.openbase.bco.dal.test.layer.unit.scene.SceneRemoteTest

  Test testTriggerSceneWithLocationActionPerRemoteAndVerifiesUnitModification() FAILED (4.5s)

  org.openbase.jul.exception.CouldNotPerformException: location On Test Scene - stop waiting because state[EXECUTING] cannot be reached from state[REJECTED]
      at app//org.openbase.bco.dal.test.layer.unit.scene.SceneRemoteTest.testTriggerSceneWithLocationActionPerRemoteAndVerifiesUnitModification(SceneRemoteTest.java:576)

  Test testTriggerSceneWithAllDevicesOfLocationActionPerRemoteAndVerifiesUnitModification() FAILED (2.9s)

  org.openbase.jul.exception.CouldNotPerformException: location Devices On Test Scene - stop waiting because state[EXECUTING] cannot be reached from state[REJECTED]
      at app//org.openbase.bco.dal.test.layer.unit.scene.SceneRemoteTest.testTriggerSceneWithAllDevicesOfLocationActionPerRemoteAndVerifiesUnitModification(SceneRemoteTest.java:509)

      Test testIntermediaryActionCancellationOnSceneDeactivation() FAILED (1.8s)
DivineThreepwood added a commit that referenced this issue Dec 14, 2022
…eadlocks_and_other_pipeline_issues

Bugfix/#69 fix action pipeline deadlocks and other issues that cause random action cancelations.
Repository owner moved this from 🏗 In progress to ✅ Done in Base Cube One Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant