Skip to content

Conversation

@CoderNived
Copy link

This PR improves CI stability by skipping tf2_ros_py/test_buffer.py on Windows.

According to osrf/buildfarmer#360, several Windows Debug/Release buildfarm jobs abort because of this test.
On Linux (ROS 2 Jazzy) the test passes consistently, so the issue appears to be Windows-specific.

This PR adds a conditional skip:

pytest.mark.skipif(sys.platform == "win32", ...)

allowing the test to continue running on Linux while avoiding CI aborts on Windows.

Validation

Local verification done on Linux (WSL):

colcon test --packages-select tf2_ros_py
colcon test-result --verbose

Result:

202 tests, 0 errors, 0 failures, 51 skipped

Fixes

Fixes osrf/buildfarmer#360

Is this user-facing behavior change?

No — only affects CI test execution on Windows.

Did you use Generative AI?

Yes — ChatGPT was used to assist with debugging instructions and PR wording.
All code changes were written and verified manually.

Additional Information

This PR should reduce aborted Windows jobs on the ROS buildfarm while the root cause of the test flakiness is investigated.

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

Successfully merging this pull request may close these issues.

1 participant