Skip to content

🧑‍🌾 launch_testing_exaples tests set_param_launch_test and check_node_launch_test RuntimeError in Humble and Iron Connext #391

Closed

Description

@Crola1702

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

  1. Run a build in Hci__nightly-connext_ubuntu_jammy_amd64 or Ici__nightly-connext_ubuntu_jammy_amd64
  2. See launch_testing_examples test failures

Additional information

Reference build:

Test regressions:

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

Activity

  1. added a commit that references this issue on Aug 26, 2024
  2. changed the title [-]:farmer: launch_testing_exaples tests `set_param_launch_test` and `check_node_launch_test` RuntimeError in Humble Connext[/-] [+]:farmer: launch_testing_exaples tests `set_param_launch_test` and `check_node_launch_test` RuntimeError in Humble and Iron Connext[/+] on Aug 26, 2024
  3. fujitatomoya commented on Sep 17, 2024

    @fujitatomoya
    Collaborator

    @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?

  4. Crola1702 commented on Oct 9, 2024

    @Crola1702
    Author

    @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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions