:farmer: Intermittent Windows failures in type description service and parameter events tests with Connext DDS

Open
#263 1 comment 0 reactions 1 assignee View on GitHub

@fgallegosalido is already working on this.

Since Oct 21, 2026.

Assessment

This issue has not been assessed yet.

Description

System Info

  • OS
    • Windows 11
  • ROS version and installation type
    • Rolling
  • RTI Connext DDS version and installation type
    • connext

Bug Description

Jobs are failing intermittently as it is receiving a windows access violation

Expected Behavior

Build without test regressions

How to Reproduce

  1. Go to https://ci.ros2.org/job/nightly_win_rep
  2. Build a Job
  3. See test failing
Reference Build
Failing tests
  • rcl.test_get_type_description_service__rmw_connextdds.gtest.missing_result
  • demo_nodes_cpp.TestExecutablesTutorial__test_tutorial_parameter_events_async__rmw_connextdds.test_processes_output
Log Output 1
[       OK ] TestGetTypeDescSrvFixture.test_service_nominal (1252 ms)
[ RUN      ] TestGetTypeDescSrvFixture.test_service_invalid_hash
[ERROR] [1792481749.995100000] [rcl]: Failed to parse type hash 'foo'
-- run_test.py: return code 3221225477
-- run_test.py: generate result file 'W:/build/rcl/test_results/rcl/test_get_type_description_service__rmw_connextdds.gtest.xml' with failed test
-- run_test.py: verify result file 'W:/build/rcl/test_results/rcl/test_get_type_description_service__rmw_connextdds.gtest.xml'
Log Output 2
4: [test_executable_0-1] Parameter event:
4: [test_executable_0-1]  new parameters:
4: [test_executable_0-1]  changed parameters:
4: [test_executable_0-1]   foobar
4: [test_executable_0-1]  deleted parameters:
4: [test_executable_0-1] 
4: [INFO] [test_executable_0-1]: process has finished cleanly [pid 21464]
4: FAIL
4: 
4: ======================================================================
4: FAIL: test_processes_output (demo_nodes_cpp.TestExecutablesTutorial.test_processes_output)
4: Test all processes output against expectations.
4: ----------------------------------------------------------------------
4: Traceback (most recent call last):
4:   File "W:\build\demo_nodes_cpp\test_parameter_events_async__rmw_connextdds_Release.py", line 78, in test_processes_output
4:     proc_output.assertWaitFor(
4:     ~~~~~~~~~~~~~~~~~~~~~~~~~^
4:         expected_output=launch_testing.tools.expected_output_from_file(
4:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4:             path=output_file
4:             ^^^^^^^^^^^^^^^^
4:         ), process=process, output_filter=output_filter, timeout=30
4:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4:     )
4:     ^
4:   File "W:\install\Lib\site-packages\launch_testing\io_handler.py", line 146, in assertWaitFor
4:     assert success, 'Waiting for output timed out'
4:            ^^^^^^^
4: AssertionError: Waiting for output timed out
4: 
4: ----------------------------------------------------------------------
4: Ran 1 test in 30.008s
4: 
4: FAILED (failures=1)
4: [WARNING] [python.exe-2]: 'SIGINT' sent to process[python.exe-2] not supported on Windows, escalating to 'SIGTERM'
4: [INFO] [python.exe-2]: sending signal 'SIGTERM' to process[python.exe-2]
4: [ERROR] [python.exe-2]: process has died [pid 2056, exit code 1, cmd 'C:\pixi_ws\.pixi\envs\buildfarm\python.exe -c 
4: import signal
4: import time
4: 
4: try:
4:     while True:
4:         time.sleep(1)
4: except KeyboardInterrupt:
4:     pass
4: '].
4: test_last_process_exit_code (demo_nodes_cpp.TestExecutablesTutorialAfterShutdown.test_last_process_exit_code)
4: Test last process exit code. ... ok
4: 
Flakyness 15 days
job_name last_fail first_fail build_count failure_count failure_percentage
nightly_win_rep 2026-10-19 2026-10-06 21 3 14.29

In the first one, the exit code 3221225477 on Windows is equivalent to 0xC0000005, which is an access violation.
The second one could be a different issue, but I feel these could be related as it failed after foobar.

Dominant language
C++
Stars
68
Forks
42
Avg merge
9d 15h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/rmw_connextdds

All issues in ros2/rmw_connextdds

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.