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

👩‍🌾 RuntimeError: Context.init() must only be called once test regression #407

Closed
claraberendsen opened this issue Jul 19, 2024 · 3 comments

Comments

@claraberendsen
Copy link

claraberendsen commented Jul 19, 2024

Bug report

It seems like #402 might have introduced a regression on the tests for all repeated linux jobs.

test_launch_ros.test.test_launch_ros.actions.test_ros_timer.test_timer_uses_sim_time[2-3]
test_launch_ros.test.test_launch_ros.actions.test_ros_timer.test_timer_uses_sim_time[3-3]

The error message is:

failed on setup with "RuntimeError: Context.init() must only be called once"

Previous example build without this error: https://ci.ros2.org/view/nightly/job/nightly_linux-aarch64_repeated/2812/
Affected builds:
nightly_linux-rhel_repeated#1968
nightly_linux_repeated#3521
nightly_linux-aarch64_repeated#2823

Required Info:

  • Operating System:
    • Ubuntu
    • RHEL
  • Version or commit hash:

Steps to reproduce issue

Run a build of any of the projects above and see the test fail

@claraberendsen
Copy link
Author

It seems to be related to a change in rclpy ros2/rclpy#1298

@clalancette
Copy link
Contributor

This should be fixed by ros2/rclpy#1314

@clalancette
Copy link
Contributor

Closing now that ros2/rclpy#1314 has been merged.

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

No branches or pull requests

2 participants