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

Change the topic names in test_record.cpp #988

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

clalancette
Copy link
Contributor

We've observed the 'test_record' series of tests sometimes
succeeding and sometimes failing on https://ci.ros2.org, particularly
in Windows builds. When it does fail, it shows error messages
like this:

[ERROR] [1649769476.588754000] [ROSBAG2_TRANSPORT]: Topic '/chatter' has more than one type associated. Only topics with one type are supported

Given that we run tests sequentially (i.e. not in parallel), that
really shouldn't be the case.

However, we have noticed in the past that Windows can sometimes
be extremely slow to cleanup processes from previous tests.
Since many of our tests use a topic name of 'chatter', that is
likely what is happening in this case. This change works around
this problem by using an alternate name for the topics.

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

We've observed the 'test_record' series of tests sometimes
succeeding and sometimes failing on https://ci.ros2.org, particularly
in Windows builds.  When it does fail, it shows error messages
like this:

[ERROR] [1649769476.588754000] [ROSBAG2_TRANSPORT]: Topic '/chatter' has more than one type associated. Only topics with one type are supported

Given that we run tests sequentially (i.e. not in parallel), that
really shouldn't be the case.

However, we have noticed in the past that Windows can sometimes
be extremely slow to cleanup processes from previous tests.
Since many of our tests use a topic name of 'chatter', that is
likely what is happening in this case.  This change works around
this problem by using an alternate name for the topics.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette clalancette requested a review from a team as a code owner April 13, 2022 19:50
@clalancette clalancette requested review from emersonknapp and jhdcs and removed request for a team April 13, 2022 19:50
@clalancette
Copy link
Contributor Author

clalancette commented Apr 13, 2022

CI:

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

@clalancette
Copy link
Contributor Author

The Rpr jobs are failing because of another flaky test (test_play_services). That also needs to be investigated. However, CI was happy here, so I'm going to go ahead and merge this one. We'll investigate test_play_services separately.

@clalancette clalancette merged commit 5fa3a67 into master Apr 14, 2022
@delete-merged-branch delete-merged-branch bot deleted the clalancette/change-test-topic-names branch April 14, 2022 12:23
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.

2 participants