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

Unstable nav2_util test #4893

Closed
mini-1235 opened this issue Feb 2, 2025 · 0 comments · Fixed by #4894
Closed

Unstable nav2_util test #4893

mini-1235 opened this issue Feb 2, 2025 · 0 comments · Fixed by #4894

Comments

@mini-1235
Copy link
Contributor

mini-1235 commented Feb 2, 2025

Bug report

Required Info:

  • Operating System:
    • Ubuntu 24.04
  • Computer:
  • ROS2 Version:
    • Rolling
  • Version or commit hash:
  • DDS implementation:
    • rmw_fastrtps_cpp

Steps to reproduce issue

running

colcon test 

for a multiple times, will produce the following result randomly

[ RUN      ] ActionTest.test_simple_action
unknown file: Failure
C++ exception with description "Goal handle is not known to this client." thrown in the test body.

 Teardown
 Teardown...
 Teardown complete
[  FAILED  ] ActionTest.test_simple_action (25 ms)
[ RUN      ] ActionTest.test_simple_action_with_feedback
unknown file: Failure
C++ exception with description "Goal handle is not known to this client." thrown in the test body.

 Teardown
 Teardown...
 Teardown complete
[  FAILED  ] ActionTest.test_simple_action_with_feedback (9 ms)
[ RUN      ] ActionTest.test_simple_action_activation_cycling
unknown file: Failure
C++ exception with description "Goal handle is not known to this client." thrown in the test body.

 Teardown
 Teardown...
 Teardown complete
[  FAILED  ] ActionTest.test_simple_action_activation_cycling (10 ms)
[ RUN      ] ActionTest.test_simple_action_preemption
Sent goal, spinning til complete...
[INFO] [1738492501.832007406] [fibonacci_server_node]: Deactivating
Sent goal, spinning til complete...
unknown file: Failure
C++ exception with description "Goal handle is not known to this client." thrown in the test body.

 Teardown
 Teardown...
 Teardown complete
[  FAILED  ] ActionTest.test_simple_action_preemption (20 ms)
[ RUN      ] ActionTest.test_simple_action_preemption_after_succeeded
unknown file: Failure
C++ exception with description "Goal handle is not known to this client." thrown in the test body.

 Teardown
 Teardown...
 Teardown complete
[  FAILED  ] ActionTest.test_simple_action_preemption_after_succeeded (10 ms)
[ RUN      ] ActionTest.test_handle_goal_deactivated
[INFO] [1738492501.862808930] [fibonacci_server_node]: Ignoring preemptions
[INFO] [1738492501.862839257] [fibonacci_server_node]: Deactivating
[WARN] [1738492501.962966199] [fibonacci_server_node.rclcpp_action]: Failed to send goal response aad89a70-9359-6796-8b88-2d11ec8cba33 (timeout): client will not receive response, at ./src/rmw_response.cpp:162, at ./src/rcl/service.c:401
 Teardown
 Teardown...
 Teardown complete
[       OK ] ActionTest.test_handle_goal_deactivated (120 ms)
[ RUN      ] ActionTest.test_handle_cancel
[INFO] [1738492501.983524095] [fibonacci_server_node]: Activating
 Teardown
 Teardown...
 Teardown complete
[       OK ] ActionTest.test_handle_cancel (20 ms)
[----------] 7 tests from ActionTest (217 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test suite ran. (217 ms total)
[  PASSED  ] 2 tests.
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] ActionTest.test_simple_action
[  FAILED  ] ActionTest.test_simple_action_with_feedback
[  FAILED  ] ActionTest.test_simple_action_activation_cycling
[  FAILED  ] ActionTest.test_simple_action_preemption
[  FAILED  ] ActionTest.test_simple_action_preemption_after_succeeded

Expected behavior

Stable nav2_util test

Actual behavior

Unstable, sometimes failure, sometimes success

Additional information

@SteveMacenski SteveMacenski linked a pull request Feb 3, 2025 that will close this issue
7 tasks
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 a pull request may close this issue.

1 participant