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

👨‍🌾 launch_testing_ros set_param_launch_test fails on Windows release #280

Closed
Blast545 opened this issue Oct 22, 2021 · 10 comments
Closed

Comments

@Blast545
Copy link
Contributor

Bug report

Required Info:

  • Operating System: Windows Release
  • Installation type: Source
  • Version or commit hash: 4bfd998
  • DDS implementation: N/A
  • Client library (if applicable): rclpy

Steps to reproduce issue

It's a test failure appearing in the nightly_win_rel jobs of the buildfarm.

https://ci.ros2.org/view/nightly/job/nightly_win_rel/2094/

Expected behavior

Test passes.

Actual behavior

The test set_param_launch_test.TestFixture.test_set_parameter fails with the following stacktrace:

==================================================================================================================================================
FAIL: set_param_launch_test.TestFixture.test_set_parameter
--------------------------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\ci\ws\src\ros2\launch_ros\launch_testing_ros\test\examples\set_param_launch_test.py", line 52, in test_set_parameter
    response = node.set_parameter(state=True)
  File "C:\ci\ws\src\ros2\launch_ros\launch_testing_ros\test\examples\set_param_launch_test.py", line 76, in set_parameter
    assert future.done(), 'Client request timed out'
AssertionError: Client request timed out
assert False
 +  where False = <bound method Future.done of <rclpy.task.Future object at 0x0000018AC59141C0>>()
 +    where <bound method Future.done of <rclpy.task.Future object at 0x0000018AC59141C0>> = <rclpy.task.Future object at 0x0000018AC59141C0>.done

It has failed in the latest 9 nightly jobs.

@Blast545
Copy link
Contributor Author

It probably requires a continuation of launch_ros#273

@Blast545
Copy link
Contributor Author

This test caused a build hang yesterday: https://ci.ros2.org/job/nightly_win_deb/2151/

@Blast545
Copy link
Contributor Author

Blast545 commented Nov 9, 2021

The window hangs issues seems to be unrelated to this particular issue and will be tracked here: #285

I'll close this issue for now.

@Blast545 Blast545 closed this as completed Nov 9, 2021
@audrow audrow reopened this Dec 21, 2021
@audrow
Copy link
Member

audrow commented Dec 21, 2021

Reopening as I saw this error here: https://ci.ros2.org/job/ci_windows/16088/.

@Blast545
Copy link
Contributor Author

Some recent metrics about this error in the nightlies:

The last time it happened on the Windows release job:
https://ci.ros2.org/view/nightly/job/nightly_win_rel/2118/ (Nov 15th, 1 build)

Before that
https://ci.ros2.org/view/nightly/job/nightly_win_rel/2104/ (Nov 1st, 19 consecutive builds)

Last time it happened on the Windows repeated jobs:
https://ci.ros2.org/view/nightly/job/nightly_win_rep/2447/ (Dec 2nd, 21 consecutive builds)

@adityapande-1995
Copy link
Contributor

adityapande-1995 commented Jan 6, 2022

Disabled the test on Windows here : ros2/examples#333. It was originally added here with green CI : ros2/examples#324

@sloretz
Copy link
Contributor

sloretz commented Jan 10, 2022

Reopening - I think this issue is about the launch_testing_ros set_param_launch_test, not WaitForTopics. I'm still seeing it in CI for ros2/rosidl_python#149 (but I'm not seeing it fail on my Windows machine locally)

@adityapande-1995
Copy link
Contributor

@sloretz
Copy link
Contributor

sloretz commented Jan 10, 2022

The test is disabled for windows : https://github.com/ros2/examples/blob/6e76f78950a949007825f623b38f8f2305eac387/launch_testing/launch_testing_examples/launch_testing_examples/set_param_launch_test.py#L43, maybe we need a new release of ros2/examples ?

Oops, my bad. I thought it was in another package for some reason. Sorry about that!

@sloretz sloretz closed this as completed Jan 10, 2022
@mlanting
Copy link

I've seen this failure a couple times on my Ubuntu machine while repeatedly running tests in an attempt to recreate a different intermittent failure with one of the timer tests.

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

6 participants