Skip to content

🧑‍🌾 rclpy time test failing by a windows access violation in win-rep #1638

Description

@miguelgonrod

Generated by Generative AI

No response

Operating System:

Windows 10

ROS version or commit hash:

rolling

RMW implementation (if applicable):

No response

RMW Configuration (if applicable):

No response

Client library (if applicable):

No response

'ros2 doctor --report' output

No response

Steps to reproduce issue

  1. go to https://ci.ros2.org/job/nightly_win_rep
  2. Build a job
  3. See the test failing inconsistently

Expected behavior

To build without test regressions

Actual behavior

Building with test regressions

Additional information

Reference Build

Failing tests

  • rclpy.test_time_source.xunit.missing_result
  • rclpy.test_timer.xunit.missing_result
  • rclpy.test_wait_for_message.xunit.missing_result
  • rclpy.test_waitable.xunit.missing_result
  • rclpy.test_rate.xunit.missing_result
  • rclpy.test_service.xunit.missing_result
  • rclpy.test_rosout_subscription.xunit.missing_result
  • rclpy.test_service_introspection.xunit.missing_result

Log Output

 ..\..\src\ros2\rclpy\rclpy\test\test_time_source.py Windows fatal exception: access violation
39: 
39: Current thread 0x00001980 (most recent call first):
39:   File "C:\ci\ws\src\ros2\rclpy\rclpy\rclpy\node.py", line 220 in __init__
39:   File "C:\ci\ws\src\ros2\rclpy\rclpy\rclpy\__init__.py", line 260 in create_node
39:   File "C:\ci\ws\src\ros2\rclpy\rclpy\test\test_time_source.py", line 37 in setUp
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\unittest\case.py", line 586 in _callSetUp
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\unittest\case.py", line 630 in run
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\unittest\case.py", line 690 in __call__
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\unittest.py", line 333 in runtest
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 169 in pytest_runtest_call
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 262 in <lambda>
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 341 in from_call
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 222 in call_and_report
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\main.py", line 325 in _main
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\main.py", line 271 in wrap_session
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_callers.py", line 102 in _multicall
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_manager.py", line 119 in _hookexec
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pluggy\_hooks.py", line 501 in __call__
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\config\__init__.py", line 169 in main
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\_pytest\config\__init__.py", line 192 in console_main
39:   File "C:\pixi_ws\.pixi\envs\default\Lib\site-packages\pytest\__main__.py", line 5 in <module>
39:   File "<frozen runpy>", line 88 in _run_code
39:   File "<frozen runpy>", line 198 in _run_module_as_main
39: -- run_test.py: return code 3221225477

Flakyness 15 days

job_name last_fail first_fail build_count failure_count failure_percentage
nightly_win_rep 2026-03-30 2026-03-15 12 4 33.33

Looking at regression history this is flaky, happens sometimes but for no special reason.

CC: @Crola1702

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions