Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧑‍🌾 Windows fatal exception: access violation in rclpy tests #1406

Open
Crola1702 opened this issue Jan 27, 2025 · 1 comment
Open
Assignees

Comments

@Crola1702
Copy link
Contributor

Bug report

Required Info:

  • Operating System:
    • Windows
  • Installation type:
    • Source
  • Version or commit hash:
    • Rolling
  • Client library (if applicable):
    • rclpy

Expected behavior

Windows Release Tests should pass

Actual behavior

There are 17 test regressions in windows rclpy

Reference build:

Test regressions:
Log output:
22: ..\..\src\ros2\rclpy\rclpy\test\test_node.py .....Windows fatal exception: access violation
22: 
22: Current thread 0x00001a60 (most recent call first):
22:   File "C:\ci\ws\src\ros2\rclpy\rclpy\rclpy\node.py", line 200 in __init__
22:   File "C:\ci\ws\src\ros2\rclpy\rclpy\rclpy\__init__.py", line 250 in create_node
22:   File "C:\ci\ws\src\ros2\rclpy\rclpy\test\test_node.py", line 76 in setUp
22:   File "C:\Python38\lib\unittest\case.py", line 630 in _callSetUp
22:   File "C:\Python38\lib\unittest\case.py", line 672 in run
22:   File "C:\Python38\lib\unittest\case.py", line 736 in __call__
22:   File "C:\Python38\lib\site-packages\_pytest\unittest.py", line 321 in runtest
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 162 in pytest_runtest_call
22:   File "C:\Python38\lib\site-packages\pluggy\_callers.py", line 103 in _multicall
22:   File "C:\Python38\lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
22:   File "C:\Python38\lib\site-packages\pluggy\_hooks.py", line 513 in __call__
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 255 in <lambda>
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 311 in from_call
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 254 in call_runtest_hook
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 215 in call_and_report
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 126 in runtestprotocol
22:   File "C:\Python38\lib\site-packages\_pytest\runner.py", line 109 in pytest_runtest_protocol
22:   File "C:\Python38\lib\site-packages\pluggy\_callers.py", line 103 in _multicall
22:   File "C:\Python38\lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
22:   File "C:\Python38\lib\site-packages\pluggy\_hooks.py", line 513 in __call__
22:   File "C:\Python38\lib\site-packages\_pytest\main.py", line 348 in pytest_runtestloop
22:   File "C:\Python38\lib\site-packages\pluggy\_callers.py", line 103 in _multicall
22:   File "C:\Python38\lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
22:   File "C:\Python38\lib\site-packages\pluggy\_hooks.py", line 513 in __call__
22:   File "C:\Python38\lib\site-packages\_pytest\main.py", line 323 in _main
22:   File "C:\Python38\lib\site-packages\_pytest\main.py", line 269 in wrap_session
22:   File "C:\Python38\lib\site-packages\_pytest\main.py", line 316 in pytest_cmdline_main
22:   File "C:\Python38\lib\site-packages\pluggy\_callers.py", line 103 in _multicall
22:   File "C:\Python38\lib\site-packages\pluggy\_manager.py", line 120 in _hookexec
22:   File "C:\Python38\lib\site-packages\pluggy\_hooks.py", line 513 in __call__
22:   File "C:\Python38\lib\site-packages\_pytest\config\__init__.py", line 162 in main
22:   File "C:\Python38\lib\site-packages\_pytest\config\__init__.py", line 185 in console_main
22:   File "C:\Python38\lib\site-packages\pytest\__main__.py", line 5 in <module>
22:   File "C:\Python38\lib\runpy.py", line 87 in _run_code
22:   File "C:\Python38\lib\runpy.py", line 194 in _run_module_as_main
22: -- run_test.py: return code 3221225477
22: -- run_test.py: generate result file 'C:/ci/ws/build/rclpy/test_results/rclpy/test_node.xunit.xml' with failed test
22: -- run_test.py: verify result file 'C:/ci/ws/build/rclpy/test_results/rclpy/test_node.xunit.xml'
22/58 Test #22: test_node .........................***Failed    2.30 sec

These failures started on January 6 and got consistent in January 10th. See: https://ci.ros2.org/job/nightly_win_rel/3294/#showFailuresLink

@Yadunund
Copy link
Member

Yadunund commented Feb 6, 2025

@mjcarroll please take a look when you get the chance 🧇

Note: The behavior is flaky.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants