openremote
openremote copied to clipboard
UserAndAssetProvisioningTest unstable
It failed in this build: https://github.com/openremote/openremote/actions/runs/12990709118/job/36226542491
UserAndAssetProvisioningTest > Check basic functionality FAILED
Condition not satisfied after 10.00 seconds and 66 attempts
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:185)
at app//spock.util.concurrent.PollingConditions.eventually(PollingConditions.java:140)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality(UserAndAssetProvisioningTest.groovy:664)
Caused by:
Condition not satisfied:
deviceNClient.topicConsumerMap.get(deviceNResponseTopic) != null
| | | | |
| [:] null| false
| provisioning/device3/response
<org.openremote.agent.protocol.mqtt.MQTT_IOClient@5e989d64 clientId=7J7NbcFm3W9QRR5c3Kpq25 host=127.0.0.1 port=1883 secure=false cleanSession=false usernamePassword=null websocketURI=null client=com.hivemq.client.internal.mqtt.mqtt3.Mqtt3AsyncClientView@68bdaf8c connectionStatusConsumers=[] topicConsumerMap=[:] executorService=org.openremote.container.concurrent.ContainerScheduledExecutor@28cd5ec6[Running, pool size = 4, active threads = 0, queued tasks = 21, completed tasks = 85] disconnected=true connected=false topicSubscribeFailureConsumer=org.openremote.test.provisioning.UserAndAssetProvisioningTest$__spock_feature_0_0_closure6@32248506>
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure54(UserAndAssetProvisioningTest.groovy:665)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure54(UserAndAssetProvisioningTest.groovy)
at app//groovy.lang.Closure.call(Closure.java:412)
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:168)
... 2 more
Confirm still happening on master head
Happening very frequently now so should have high priority to fix
org.openremote.test.provisioning.UserAndAssetProvisioningTest
Test Check basic functionality FAILED (23.4s)
Condition not satisfied after 20.00 seconds and 115 attempts
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:206)
at app//spock.util.concurrent.PollingConditions.eventually(PollingConditions.java:158)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality(UserAndAssetProvisioningTest.groovy:276)
Caused by: Condition not satisfied:
device1Responses.size() == 1
| | |
[] 0 false
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure18(UserAndAssetProvisioningTest.groovy:277)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure18(UserAndAssetProvisioningTest.groovy)
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:186)
... 2 more
Test run logs:
https://github.com/openremote/openremote/actions/runs/17488145076/artifacts/3935279455
https://github.com/openremote/openremote/actions/runs/17577809496/job/49927050182
org.openremote.test.provisioning.UserAndAssetProvisioningTest
Test Check basic functionality FAILED (28.9s)
Condition not satisfied after 20.00 seconds and 114 attempts
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:206)
at app//spock.util.concurrent.PollingConditions.eventually(PollingConditions.java:158)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality(UserAndAssetProvisioningTest.groovy:787)
Caused by: Condition not satisfied:
deviceNResponses.size() == 1
| | |
[] 0 false
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure62(UserAndAssetProvisioningTest.groovy:788)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure62(UserAndAssetProvisioningTest.groovy)
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:186)
... 2 more
https://github.com/openremote/openremote/actions/runs/20126249021/job/57756471919
org.openremote.test.provisioning.UserAndAssetProvisioningTest
Test Check basic functionality FAILED (23.3s)
Condition not satisfied after 20.00 seconds and 104 attempts
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:206)
at app//spock.util.concurrent.PollingConditions.eventually(PollingConditions.java:158)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality(UserAndAssetProvisioningTest.groovy:280)
Caused by: Condition not satisfied:
device1Responses.size() == 1
| | |
[] 0 false
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure19(UserAndAssetProvisioningTest.groovy:281)
at org.openremote.test.provisioning.UserAndAssetProvisioningTest.Check basic functionality_closure19(UserAndAssetProvisioningTest.groovy)
at app//spock.util.concurrent.PollingConditions.within(PollingConditions.java:186)
... 2 more