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

Windows Opensplice test_graph is flaky #138

Closed
clalancette opened this issue Jul 5, 2018 · 1 comment
Closed

Windows Opensplice test_graph is flaky #138

clalancette opened this issue Jul 5, 2018 · 1 comment

Comments

@clalancette
Copy link

On some builds (https://ci.ros2.org/view/nightly/job/nightly_win_ospl_rel/36), the test_graph__rmw_opensplice_cpp test fails with the following output:

Stacktrace

-- run_test.py: extra environment variables:
 - RMW_IMPLEMENTATION=rmw_opensplice_cpp
-- run_test.py: extra environment variables to append:
 - PATH+=C:/J/workspace/nightly_win_ospl_rel/ws/build/rcl/Release
-- run_test.py: invoking following command in 'C:\J\workspace\nightly_win_ospl_rel\ws\src\ros2\rcl\rcl':
 - C:/J/workspace/nightly_win_ospl_rel/ws/build/rcl/test/Release/test_graph__rmw_opensplice_cpp.exe --gtest_output=xml:C:/J/workspace/nightly_win_ospl_rel/ws/build/rcl/test_results/rcl/test_graph__rmw_opensplice_cpp.gtest.xml
Running main() from gtest_main.cc
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 6 tests from TestGraphFixture__rmw_opensplice_cpp
[ RUN      ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_get_and_destroy_topic_names_and_types
[       OK ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_get_and_destroy_topic_names_and_types (1442 ms)
[ RUN      ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_count_publishers
[       OK ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_count_publishers (1443 ms)
[ RUN      ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_count_subscribers
[       OK ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_count_subscribers (1440 ms)
[ RUN      ] TestGraphFixture__rmw_opensplice_cpp.test_graph_query_functions
[INFO] [rcl]: Using topic name: /test_graph_query_functions__1530778908542314100
[INFO] [rcl]: Expecting 0 publishers, 0 subscribers, and that the topic is not in the graph.
[INFO] [rcl]:  Try 1: 0 publishers, 0 subscribers, and that the topic is not in the graph.
[INFO] [rcl]:   state correct!
[INFO] [rcl]: Expecting 1 publishers, 0 subscribers, and that the topic is in the graph.
[INFO] [rcl]:  Try 1: 0 publishers, 0 subscribers, and that the topic is not in the graph.
[INFO] [rcl]:   state wrong, waiting up to '200000000' nanoseconds for graph changes... 
[INFO] [rcl]: change occurred
[INFO] [rcl]:  Try 2: 0 publishers, 0 subscribers, and that the topic is not in the graph.
[INFO] [rcl]:   state wrong, waiting up to '200000000' nanoseconds for graph changes... 
[INFO] [rcl]: change occurred
[INFO] [rcl]:  Try 3: 1 publishers, 0 subscribers, and that the topic is in the graph.
[INFO] [rcl]:   state correct!
[INFO] [rcl]: Expecting 1 publishers, 1 subscribers, and that the topic is in the graph.
[INFO] [rcl]:  Try 1: 1 publishers, 0 subscribers, and that the topic is in the graph.
[INFO] [rcl]:   state wrong, waiting up to '200000000' nanoseconds for graph changes... 
[INFO] [rcl]: change occurred
[INFO] [rcl]:  Try 2: 1 publishers, 1 subscribers, and that the topic is in the graph.
[INFO] [rcl]:   state correct!
[INFO] [rcl]: Expecting 0 publishers, 1 subscribers, and that the topic is in the graph.
[INFO] [rcl]:  Try 1: 1 publishers, 1 subscribers, and that the topic is in the graph.
[INFO] [rcl]:   state wrong, waiting up to '200000000' nanoseconds for graph changes... 
[INFO] [rcl]: change occurred
[INFO] [rcl]:  Try 2: 0 publishers, 1 subscribers, and that the topic is in the graph.
[INFO] [rcl]:   state correct!
[INFO] [rcl]: Expecting 0 publishers, 0 subscribers, and that the topic is not in the graph.
[INFO] [rcl]:  Try 1: 0 publishers, 1 subscribers, and that the topic is in the graph.
[INFO] [rcl]:   state wrong, waiting up to '200000000' nanoseconds for graph changes... 
[INFO] [rcl]: change occurred
[INFO] [rcl]:  Try 2: 0 publishers, 0 subscribers, and that the topic is not in the graph.
[INFO] [rcl]:   state correct!
[       OK ] TestGraphFixture__rmw_opensplice_cpp.test_graph_query_functions (1449 ms)
[ RUN      ] TestGraphFixture__rmw_opensplice_cpp.test_graph_guard_condition_topics
[INFO] [rcl]: waiting up to '200000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '200000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '200000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '200000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '200000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '200000000' nanoseconds for graph changes
[       OK ] TestGraphFixture__rmw_opensplice_cpp.test_graph_guard_condition_topics (2053 ms)
[ RUN      ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_service_server_is_available
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
[INFO] [rcl]: waiting up to '1000000000' nanoseconds for graph changes
C:\J\workspace\nightly_win_ospl_rel\ws\src\ros2\rcl\rcl\test\rcl\test_graph.cpp(550): error: Value of: is_available
  Actual: false
Expected: true
[  FAILED  ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_service_server_is_available (11461 ms)
[----------] 6 tests from TestGraphFixture__rmw_opensplice_cpp (19288 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (19288 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TestGraphFixture__rmw_opensplice_cpp.test_rcl_service_server_is_available

 1 FAILED TEST
-- run_test.py: return code 1
-- run_test.py: inject classname prefix into gtest result file 'C:/J/workspace/nightly_win_ospl_rel/ws/build/rcl/test_results/rcl/test_graph__rmw_opensplice_cpp.gtest.xml'
-- run_test.py: verify result file 'C:/J/workspace/nightly_win_ospl_rel/ws/build/rcl/test_results/rcl/test_graph__rmw_opensplice_cpp.gtest.xml'
@sloretz
Copy link

sloretz commented Mar 1, 2019

Haven't seen this in a while, so optimistically closing

@sloretz sloretz closed this as completed Mar 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants