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

Build Farm - Tolerance flakiness in TestMultiThreadedExecutor #904

Closed
piraka9011 opened this issue Oct 24, 2019 · 1 comment
Closed

Build Farm - Tolerance flakiness in TestMultiThreadedExecutor #904

piraka9011 opened this issue Oct 24, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@piraka9011
Copy link
Contributor

piraka9011 commented Oct 24, 2019

Bug report

Required Info:

  • Operating System: OS X
  • Installation type: Source (Build Farm)
  • Version or commit hash: bf89dc0
  • DDS implementation: FastRTPS
  • Client library (if applicable): rclcpp

Steps to reproduce issue

Run the build farm. TestMultiThreadExecutor fails due to tolerance.

Expected behavior

TestMultiThreadExecutor passes.

Actual behavior

TestMultiThreadExecutor fails.

A recent build in the Nightly OS X - Release failed because the tolerance in the TestMultiThreadExecutor was too low.
Should the tolerance be increased the test is running on an OS X system or is there another way to minimize flakiness?

@jacobperron
Copy link
Member

Based on the comment here, we may consider relaxing the test to check that more than X seconds has passed and not have an upper bound:

-  if (diff < PERIOD - TOLERANCE || diff > PERIOD + TOLERANCE) {
+  if (diff < PERIOD - TOLERANCE) {

@jacobperron jacobperron added the bug Something isn't working label Oct 25, 2019
nnmm pushed a commit to ApexAI/rclcpp that referenced this issue Jul 9, 2022
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this issue Aug 5, 2022
* Add --start-paused option to ros2bag

Signed-off-by: Ivan Santiago Paunovic <[email protected]>

* Suppress false positive

Signed-off-by: Ivan Santiago Paunovic <[email protected]>

* suppress cppcheck false positive

Signed-off-by: Ivan Santiago Paunovic <[email protected]>

* paused -> start_paused

Signed-off-by: Ivan Santiago Paunovic <[email protected]>

* Address peer review comments

Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants