-
Notifications
You must be signed in to change notification settings - Fork 43
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
[Test Failure] rclcpp_action / test_client #326
Comments
Fixed by #336. |
This is still flaky, so reopening. |
Closing as i'm unable to reproduce with the latest changes. |
Ah I was wrong. This is failing still. |
StudyWhen running the following test: /workspace/build/rclcpp_action/test_client using /workspace/src/rclcpp/rclcpp_action/test/test_client.cpp:860: Failure
Expected equality of these values:
rclcpp_action::GoalStatus::STATUS_CANCELED
Which is: '\x5' (5)
goal_handle0->get_status()
Which is: '\x1' (1) This indicates that the Root Cause: Race ConditionThe error occurs due to a race condition between the initial query and the subscriber callback in the The assertion relies on two actions:
In However, if the Zenoh router is slow for some reason (falled into an abnormal status? we're still investigating why), the initial query from the subscriber (either ObservationAdding a delay between
To address this, a delay can be introduced in the client code). This delay allows the subscriber callback to execute first, ensuring the DiscussionIs it appropriate to assume that local pub/sub operations are synchronous for this test? |
Info
To reproduce
/workspace/build/rclcpp_action/test_client --gtest_filter="TestClientAgainstServer.*"
Backtrace
Identified issue
rmw_node *
suddenly becomes invalid henceget_node_daata
failed to complete.The text was updated successfully, but these errors were encountered: