Skip to content

Unstable nav2_util test #4893

@mini-1235

Description

@mini-1235

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions