Skip to content

nav2_costmap_2d reports test success despite internal failures #5943

@tonynajjar

Description

@tonynajjar
25: [costmap_tests-4] [INFO 1770374255.630603724] [test_costmap.test_costmap]: Destroying
25: [costmap_tests-4] [WARN 1770374255.630609279] [rclcpp_lifecycle]: LifecycleNode is not shut down: Node still in state(1) in destructor
25: [costmap_tests-4] unknown file: Failure
25: [costmap_tests-4] C++ exception with description "parameter 'global_frame' cannot be set because it was not declared" thrown in the test body.
25: [costmap_tests-4] 
25: [costmap_tests-4] [  FAILED  ] TestNode.testDynParamsSet (2 ms)
25: [costmap_tests-4] [----------] 10 tests from TestNode (17 ms total)
25: [costmap_tests-4] 
25: [costmap_tests-4] [----------] Global test environment tear-down
25: [costmap_tests-4] [==========] 10 tests from 1 test suite ran. (17 ms total)
25: [costmap_tests-4] [  PASSED  ] 9 tests.
25: [costmap_tests-4] [  FAILED  ] 1 test, listed below:
25: [costmap_tests-4] [  FAILED  ] TestNode.testDynParamsSet
25: [costmap_tests-4] 
25: [costmap_tests-4]  1 FAILED TEST
25: [ERROR] [costmap_tests-4]: process has died [pid 1079878, exit code 1, cmd '/opt/auto_ws/build/nav2_costmap_2d/test/integration/inflation_tests_exec'].
25: [INFO] [launch]: process[costmap_tests-4] was required: shutting down launched system
25: [INFO] [lifecycle_manager-3]: sending signal 'SIGINT' to process[lifecycle_manager-3]
25: [INFO] [static_transform_publisher-2]: sending signal 'SIGINT' to process[static_transform_publisher-2]
25: [INFO] [map_server-1]: sending signal 'SIGINT' to process[map_server-1]
25: [lifecycle_manager-3] [INFO 1770374255.638471512] [rclcpp]: signal_handler(SIGINT/SIGTERM)
25: [lifecycle_manager-3] [INFO 1770374255.638548657] [lifecycle_manager]: Running Nav2 LifecycleManager rcl preshutdown (lifecycle_manager)
25: [lifecycle_manager-3] [INFO 1770374255.638589577] [lifecycle_manager]: Terminating bond timer...
25: [static_transform_publisher-2] [INFO 1770374255.638653190] [rclcpp]: signal_handler(SIGINT/SIGTERM)
25: [map_server-1] [INFO 1770374255.638755725] [rclcpp]: signal_handler(SIGINT/SIGTERM)
25: [map_server-1] [INFO 1770374255.638805524] [map_server]: Running Nav2 LifecycleNode rcl preshutdown (map_server)
25: [map_server-1] [INFO 1770374255.638846289] [map_server]: Deactivating
25: [map_server-1] [INFO 1770374255.638853997] [map_server]: Destroying bond (map_server) to lifecycle manager.
25: [INFO] [static_transform_publisher-2]: process has finished cleanly [pid 1079829]
25: [map_server-1] [INFO 1770374255.649101344] [map_server]: Cleaning up
25: [map_server-1] [INFO 1770374255.649155386] [map_server]: Destroying bond (map_server) to lifecycle manager.
25: [lifecycle_manager-3] [INFO 1770374255.649503660] [lifecycle_manager]: Destroying lifecycle_manager
25: [map_server-1] [INFO 1770374255.649706869] [map_server]: Destroying
25: [map_server-1] [WARN 1770374255.649732333] [rclcpp_lifecycle]: LifecycleNode is not shut down: Node still in state(1) in destructor
25: [INFO] [map_server-1]: process has finished cleanly [pid 1079828]
25: [INFO] [lifecycle_manager-3]: process has finished cleanly [pid 1079830]
25: -- run_test.py: return code 0
25: -- run_test.py: generate result file '/opt/auto_ws/build/nav2_costmap_2d/test_results/nav2_costmap_2d/inflation_tests.xml' with successful test
1/1 Test #25: inflation_tests ..................   Passed    1.39 sec

The following tests passed:
	inflation_tests

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   1.39 sec
Finished <<< nav2_costmap_2d [1.45s]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions