Skip to content

Tests with MultiThreadedExecutor time out on some CI instances #268

Closed

Description

@jacobperron

Bug report

Required Info:

  • Operating System:
    • Any
  • Installation type:
    • Source
  • Version or commit hash:
    • master
  • DDS implementation:
    • N/A
  • Client library (if applicable):
    • rclpy

Steps to reproduce issue

Unable to reproduce locally on Linux.

Example CI job failing: https://ci.ros2.org/job/ci_linux/6113/

Disabling this test resolves the issue:

def test_send_goal_multiple(self):
ac = ActionClient(
self.node,
Fibonacci,
'fibonacci',
callback_group=ReentrantCallbackGroup())
executor = MultiThreadedExecutor(context=self.context)
try:
self.assertTrue(ac.wait_for_server(timeout_sec=1.0))
future_0 = ac.send_goal_async(Fibonacci.Goal())
future_1 = ac.send_goal_async(Fibonacci.Goal())
future_2 = ac.send_goal_async(Fibonacci.Goal())
rclpy.spin_until_future_complete(self.node, future_0, executor)
rclpy.spin_until_future_complete(self.node, future_1, executor)
rclpy.spin_until_future_complete(self.node, future_2, executor)
self.assertTrue(future_0.done())
self.assertTrue(future_1.done())
self.assertTrue(future_2.done())
self.assertTrue(future_0.result().accepted)
self.assertTrue(future_1.result().accepted)
self.assertTrue(future_2.result().accepted)
finally:
ac.destroy()

Activity

  1. added
    bug
    on Feb 5, 2019
  2. changed the title [-]ActionClient test with MultiThreadedExecutor times out on some CI instances[/-] [+]Tests with MultiThreadedExecutor time out on some CI instances[/+] on Feb 20, 2019
  3. self-assigned this
    on Mar 4, 2019
  4. added
    ready
    in progress
    in review
    and removed
    ready
    in progress
    on Mar 4, 2019
  5. removed
    in review
    on Mar 5, 2019
  6. added a commit that references this issue on Nov 12, 2025
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