Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Various tests hanging sometimes on linux with fastrtps #98

@dhood

Description

@dhood

This times out in different points in the test, e.g.
https://ci.ros2.org/view/nightly/job/nightly_linux_repeated/963/testReport/junit/(root)/projectroot/test_find_weak_nodes/

-- run_test.py: invoking following command in '/home/rosbuild/ci_scripts/ws/src/ros2/rclcpp/rclcpp':
 - /home/rosbuild/ci_scripts/ws/build/rclcpp/test_find_weak_nodes --gtest_output=xml:/home/rosbuild/ci_scripts/ws/build/rclcpp/test_results/rclcpp/test_find_weak_nodes.gtest.xml
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from TestFindWeakNodes
[ RUN      ] TestFindWeakNodes.allocator_strategy_with_weak_nodes

or
https://ci.ros2.org/view/nightly/job/nightly_linux_repeated/939/testReport/junit/(root)/projectroot/test_find_weak_nodes/

-- run_test.py: invoking following command in '/home/rosbuild/ci_scripts/ws/src/ros2/rclcpp/rclcpp':
 - /home/rosbuild/ci_scripts/ws/build/rclcpp/test_find_weak_nodes --gtest_output=xml:/home/rosbuild/ci_scripts/ws/build/rclcpp/test_results/rclcpp/test_find_weak_nodes.gtest.xml
Running main() from gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from TestFindWeakNodes
[ RUN      ] TestFindWeakNodes.allocator_strategy_with_weak_nodes
[       OK ] TestFindWeakNodes.allocator_strategy_with_weak_nodes (14 ms)
[ RUN      ] TestFindWeakNodes.allocator_strategy_no_weak_nodes

Those tests are very simple and there isn't anything they should be waiting on, making me think it's a deadlock. A while ago this was flaky on osx with verbose mutex locking issues, which might still be the underlying problem. https://ci.ros2.org/view/nightly/job/nightly_osx_repeated/768/testReport/junit/(root)/projectroot/test_find_weak_nodes/

This test is only being run for fastrtps. It would be good to know if it's also an issue for connext.

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