Skip to content

🧑‍🌾 check_msgs_launch_test failing in kilted by a python package not importing site module #446

@miguelgonrod

Description

@miguelgonrod

Generated by Generative AI

No response

Operating System:

Ubuntu Noble

ROS version or commit hash:

Kilted

RMW implementation (if applicable):

rmw_zenoh, cyclonedds

RMW Configuration (if applicable):

No response

Client library (if applicable):

rclcpp

'ros2 doctor --report' output

No response

Steps to reproduce issue

  1. go to any of the jobs listed below
  2. Build a Job
  3. See test regressions

Expected behavior

To build without test regressions

Actual behavior

Building with test regressions

Additional information

Reference Builds

Failing Tests

  • launch_testing_examples.launch_testing_examples.check_msgs_launch_test.launch_testing_examples.check_msgs_launch_test

Log Output

35: OK
35: [INFO] [python3-14]: sending signal 'SIGINT' to process[python3-14]
35: [python3-14] Fatal Python error: init_import_site: Failed to import the site module
35: [python3-14] Python runtime state: initialized
35: [python3-14] Traceback (most recent call last):
35: [python3-14]   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
35: [python3-14]   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
35: [python3-14]   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
35: [python3-14]   File "<frozen importlib._bootstrap>", line 1176, in exec_module
35: [python3-14]   File "<frozen site>", line 643, in <module>
35: [python3-14]   File "<frozen site>", line 630, in main
35: [python3-14]   File "<frozen site>", line 413, in addsitepackages
35: [python3-14]   File "<frozen site>", line 242, in addsitedir
35: [python3-14]   File "<frozen site>", line 201, in addpackage
35: [python3-14]   File "<string>", line 1, in <module>
35: [python3-14]   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
35: [python3-14]   File "<frozen importlib._bootstrap>", line 1322, in _find_and_load_unlocked
35: [python3-14]   File "<frozen importlib._bootstrap>", line 1262, in _find_spec
35: [python3-14]   File "<frozen importlib._bootstrap_external>", line 1528, in find_spec
35: [python3-14]   File "<frozen importlib._bootstrap_external>", line 1502, in _get_spec
35: [python3-14]   File "<frozen importlib._bootstrap_external>", line 1605, in find_spec
35: [python3-14]   File "<frozen importlib._bootstrap_external>", line 1648, in _fill_cache
35: [python3-14] KeyboardInterrupt
35: [ERROR] [python3-14]: process has died [pid 292555, exit code 1, cmd '/usr/bin/python3 -c 
35: import signal
35: import time
35: 
35: try:
35:     while True:
35:         time.sleep(1)
35: except KeyboardInterrupt:
35:     pass
35: '].
35: test_process_terminates_as_expected[garbage, rmw_zenoh_cpp] (rcl.TestRMWImplementationIDCheckAfterShutdown.test_process_terminates_as_expected[garbage, rmw_zenoh_cpp])
35: Test that the executable under test terminates as expected. ... ok

Flakyness 15 days

job_name last_fail first_fail build_count failure_count failure_percentage
Kci__nightly-zenoh_ubuntu_noble_amd64 2026-03-31 2026-03-19 5 5 100.0
Kci__nightly-cyclonedds_ubuntu_noble_amd64 2026-03-31 2026-03-22 5 4 80.0
Rci__nightly-zenoh_ubuntu_noble_amd64 2026-03-30 2026-03-19 12 12 100.0

This error have been happenning for more than the jenkins history can save in memory, also even when it says 100% there are some builds that don't have this error.

CC: @Crola1702

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions