-
Notifications
You must be signed in to change notification settings - Fork 170
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
[ros2component] find_container_node_names sometimes fails in the presence of other nodes #321
Comments
I think, the problem is that we're first getting a list of node names, and then using it for list services of those nodes. If the node has disappeared in the middle, The problem is not only the test, we're using the same logic in other places: ros2cli/ros2component/ros2component/verb/list.py Lines 41 to 46 in 10c89eb
IMO, |
That is correct. I wonder if this is the only place where we have such races. |
Is the resolution for this issue progressing? It's been the only nightly failure for Linux release/debug for several days now. It would be great to get those builds clean again. If the fix is still a ways out, I'd like to reconsider isolating the domain ID of the test and adding another test case for this issue specifically, since the test is failing due to an issue it isn't actually looking for. |
As discussed on previous tickets there is no good approach to select a unique but no colliding domain id in our test infrastructure atm. |
I'm working on this. I'll finish with it between today and tomorrow. |
Thanks for the update! |
The
ros2component
API tests callfind_container_node_names
, which sometimes fails in the presence of other running tests:On the CI farm, it seems to be common that this test runs at the same time as the
pendulum_control
tests, and it causes this test to fail. I was able to reproduce the behavior locally by running both tests in simultaneously in a loop.The text was updated successfully, but these errors were encountered: