Skip to content

test_multithreaded_executor is flaky #1552

Closed

Description

@jacobperron

Bug report

Required Info:

  • Operating System:
    • macOS
  • Version or commit hash:

Steps to reproduce issue

Latest failure: https://ci.ros2.org/job/nightly_osx_release/1962/testReport/rclcpp/TestMultiThreadedExecutor/timer_over_take/

Looks like it has been failing for a while now, but not consistently:

https://ci.ros2.org/job/nightly_osx_release/1962/testReport/rclcpp/TestMultiThreadedExecutor/timer_over_take/history

Additional information

Looks like the same as #1110, but only noticing the failure on macOS now.

Activity

  1. added
    bug
    on Feb 11, 2021
  2. changed the title [-]:man_farmer: test_multithreaded_executor is flaky[/-] [+]test_multithreaded_executor is flaky[/+] on Feb 11, 2021
  3. clalancette commented on Feb 12, 2021

    @clalancette
    Contributor

    I did take a quick look into it a while ago, and I think it is a real bug. If you look closely at when it fails, the timer is supposed to take at least 0.75 seconds. If you look at the output there, it only took 0.4 seconds, so it is clearly expiring much too early. macOS has the most "interesting" CPU scheduler of our target platforms, so that is likely why we only see it there.

  4. tfoote commented on Mar 8, 2021

    @tfoote
    Contributor

    This came up again last night on two separate builds with an even larger underun of 0.22 vs 0.75 seconds.

    /Users/osrf/jenkins-agent/workspace/nightly_osx_release/ws/src/ros2/rclcpp/rclcpp/test/rclcpp/executors/test_multi_threaded_executor.cpp:91 Expected: (diff) > (PERIOD - TOLERANCE), actual: 0.220429 vs 0.75

    Observed in OSX nightly repeated and OSX release

  5. clalancette commented on Mar 30, 2021

    @clalancette
    Contributor

    I'm going to close this one as a duplicate of #1008, since we see this on all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions