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

Increase the test_action_interaction timeouts. #1172

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

clalancette
Copy link
Contributor

While I can't reproduce the problem locally, I suspect that waiting only 1 second for the entities to become ready isn't enough in all cases, particularly on Windows, with Connext, and when we are running in parallel with other tests. Thus, increase the timeout for the rcl_wait() in all of the test_action_interaction tests, which should hopefully be enough to make this always pass.

In theory this should fix #1162

While I can't reproduce the problem locally, I suspect that
waiting only 1 second for the entities to become ready isn't
enough in all cases, particularly on Windows, with Connext,
and when we are running in parallel with other tests.
Thus, increase the timeout for the rcl_wait() in all of the
test_action_interaction tests, which should hopefully be
enough to make this always pass.

Signed-off-by: Chris Lalancette <[email protected]>
@clalancette
Copy link
Contributor Author

Here's CI with this in place, intentionally running everything to ensure that rcl_action tests get run in parallel with other things:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Copy link
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clalancette i am okay to extend the wait duration. one question is that can we verify this PR can actually mitigate the #1162 with nightly build before merging this?

@clalancette
Copy link
Contributor Author

@clalancette i am okay to extend the wait duration. one question is that can we verify this PR can actually mitigate the #1162 with nightly build before merging this?

Not really, unfortunately. The best we can do is to run the full set of tests to try to reproduce the conditions in which it fails. I think only merging it and keeping an eye on the flakiness over time will really tell us whether this is enough or not.

@clalancette clalancette merged commit 5193dc6 into rolling Jul 25, 2024
3 checks passed
@clalancette clalancette deleted the clalancette/increase-rcl-action-timeout branch July 25, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🧑‍🌾 Flaky test_action_interaction__rmw_connextdds in Windows debug and release
2 participants