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

Make test_tracetools ping pubs/subs transient_local #125

Conversation

christophebedard
Copy link
Member

@christophebedard christophebedard commented Jul 3, 2024

Fixes #124

See an overview of the tests in #124 (comment)

This will make sure that the initial /ping message is received no matter the launch order of the *ping and *pong executables.

Also, given this guarantee, cancel the timer after the initial /ping message.

Finally, add some helpful debug logs.

This will make sure that the initial `/ping` message is received no
matter the launch order of the `*ping` and `*pong` executables.

Also, given this guarantee, cancel the timer after the initial `/ping`
message.

Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
@christophebedard
Copy link
Member Author

Once this is approved, I'll trigger CI and will use --retest-until-fail N with N=10 to validate that the tests are not flaky.

@christophebedard
Copy link
Member Author

Or let's just do it now:

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

Copy link
Contributor

@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.

i think setting the durability with transient local is the best option here, lgtm!

@christophebedard
Copy link
Member Author

Alright, then let's go ahead with this. This way we'll have the long weekend to see if it works.

@christophebedard christophebedard merged commit 00a4e99 into rolling Jul 4, 2024
9 checks passed
@christophebedard christophebedard deleted the christophebedard/ping-pong-tracing-tests-use-transient-local-stability branch July 4, 2024 16:29
@christophebedard
Copy link
Member Author

@Mergifyio backport jazzy

Copy link

mergify bot commented Aug 22, 2024

backport jazzy

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Aug 22, 2024
This will make sure that the initial `/ping` message is received no
matter the launch order of the `*ping` and `*pong` executables.

Also, given this guarantee, cancel the timer after the initial `/ping`
message.

Finally, add some helpful debug logs.

Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 00a4e99)
christophebedard added a commit that referenced this pull request Aug 26, 2024
This will make sure that the initial `/ping` message is received no
matter the launch order of the `*ping` and `*pong` executables.

Also, given this guarantee, cancel the timer after the initial `/ping`
message.

Finally, add some helpful debug logs.

Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
(cherry picked from commit 00a4e99)

Co-authored-by: Christophe Bedard <christophe.bedard@apex.ai>
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 test_generic_pub_sub__rmw_connextdds in linux and linux-rhel nightlies
2 participants