examples
examples copied to clipboard
:farmer: launch_testing_exaples tests `set_param_launch_test` and `check_node_launch_test` RuntimeError in Humble and Iron Connext
Bug report
Required Info:
- Operating System:
- Ubuntu Jammy
- Installation type:
- Source
- Version or commit hash:
- Humble, Iron
- DDS implementation:
- RTI Connext
- Client library (if applicable):
- Rclpy (shown in log output)
Steps to reproduce issue
- Run a build in Hci__nightly-connext_ubuntu_jammy_amd64 or Ici__nightly-connext_ubuntu_jammy_amd64
- See launch_testing_examples test failures
Additional information
Reference build:
Test regressions:
- launch_testing_examples.launch_testing_examples.check_node_launch_test.launch_testing_examples.check_node_launch_test
- launch_testing_examples.launch_testing_examples.set_param_launch_test.launch_testing_examples.set_param_launch_test
- launch_testing_ros.test.examples.check_node_launch_test.check_node_launch_test
Log output:
=================================== FAILURES ===================================
_________ launch tests: launch_testing_examples.check_node_launch_test _________
========================================================================================================================================================
FAIL: launch_testing_examples.check_node_launch_test.TestFixture.test_node_start
--------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/ws/src/ros2/examples/launch_testing/launch_testing_examples/launch_testing_examples/check_node_launch_test.py", line 48, in test_node_start
rclpy.init()
File "/tmp/ws/install_isolated/rclpy/local/lib/python3.10/dist-packages/rclpy/__init__.py", line 88, in init
context.init(args, domain_id=domain_id)
File "/tmp/ws/install_isolated/rclpy/local/lib/python3.10/dist-packages/rclpy/context.py", line 70, in init
raise RuntimeError('Context.init() must only be called once')
RuntimeError: Context.init() must only be called once
...
_________ launch tests: launch_testing_examples.set_param_launch_test __________
==========================================================================================================================================================
FAIL: launch_testing_examples.set_param_launch_test.TestFixture.test_set_parameter
----------------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/ws/src/ros2/examples/launch_testing/launch_testing_examples/launch_testing_examples/set_param_launch_test.py", line 47, in test_set_parameter
rclpy.init()
File "/tmp/ws/install_isolated/rclpy/local/lib/python3.10/dist-packages/rclpy/__init__.py", line 88, in init
context.init(args, domain_id=domain_id)
File "/tmp/ws/install_isolated/rclpy/local/lib/python3.10/dist-packages/rclpy/context.py", line 70, in init
raise RuntimeError('Context.init() must only be called once')
RuntimeError: Context.init() must only be called once
@Crola1702 it looks like fixes are already applied to humble and iron, do we still have the same failure after those patches? or we can close this one?
@Crola1702 it looks like fixes are already applied to humble and iron, do we still have the same failure after those patches? or we can close this one?
This is not happening anymore. Thanks for the reminder