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

ROS2 communication test failed. #53

Open
ZhenshengLee opened this issue Jul 27, 2021 · 1 comment
Open

ROS2 communication test failed. #53

ZhenshengLee opened this issue Jul 27, 2021 · 1 comment

Comments

@ZhenshengLee
Copy link
Contributor

ZhenshengLee commented Jul 27, 2021

Recently I used test_communication from system_tests to test rmw_iceoryx, here is the result.

The following tests FAILED:
	�[0;31m 15 - test_messages_c__rmw_iceoryx_cpp (Timeout)�[0;0m
	�[0;31m 27 - test_publisher_subscriber_cpp__rmw_iceoryx_cpp__WStrings (Failed)�[0;0m
	�[0;31m 30 - test_serialize__rmw_iceoryx_cpp (Failed)�[0;0m
	�[0;31m 36 - flake8 (Failed)�[0;0m
@ZhenshengLee ZhenshengLee changed the title System test from test communication package failed. ROS2 communication test failed. Jul 27, 2021
@ZhenshengLee
Copy link
Contributor Author

According to #30 this test's failing can be accepted because there is a unique serialization method rather than cdr, am I right? @Karsten1987

test 30
      Start 30: test_serialize__rmw_iceoryx_cpp

30: Test command: /usr/bin/python3 "-u" "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py" "/home/zs/zs_ws/ga_ros2/colcon/test/test_communication/test_serialize__rmw_iceoryx_cpp.gtest.xml" "--package-name" "test_communication" "--output-file" "/home/zs/zs_ws/ga_ros2/colcon/build/test_communication/ament_cmake_gtest/test_serialize__rmw_iceoryx_cpp.txt" "--env" "RCL_ASSERT_RMW_ID_MATCHES=rmw_iceoryx_cpp" "RMW_IMPLEMENTATION=rmw_iceoryx_cpp" "--command" "/home/zs/zs_ws/ga_ros2/colcon/build/test_communication/test_serialize__rmw_iceoryx_cpp" "--gtest_output=xml:/home/zs/zs_ws/ga_ros2/colcon/test/test_communication/test_serialize__rmw_iceoryx_cpp.gtest.xml"
30: Test timeout computed to be: 30
30: -- run_test.py: extra environment variables:
30:  - RCL_ASSERT_RMW_ID_MATCHES=rmw_iceoryx_cpp
30:  - RMW_IMPLEMENTATION=rmw_iceoryx_cpp
30: -- run_test.py: invoking following command in '/home/zs/zs_ws/ga_ros2/colcon/build/test_communication':
30:  - /home/zs/zs_ws/ga_ros2/colcon/build/test_communication/test_serialize__rmw_iceoryx_cpp --gtest_output=xml:/home/zs/zs_ws/ga_ros2/colcon/test/test_communication/test_serialize__rmw_iceoryx_cpp.gtest.xml
30: Running main() from /opt/ros/foxy/src/gtest_vendor/src/gtest_main.cc
30: [==========] Running 3 tests from 1 test case.
30: [----------] Global test environment set-up.
30: [----------] 3 tests from TestMessageSerialization
30: [ RUN      ] TestMessageSerialization.de_serialize_c
30: /home/zs/zs_ws/ga_ros2/ga_deps/system_tests/test_communication/test/test_message_serialization.cpp:117: Failure
30: Expected equality of these values:
30:   52u
30:     Which is: 52
30:   serialized_message_c.buffer_length
30:     Which is: 48
30: serialized data length: 48
30: serialized message c
30: 01 ff 6b 00 00 00 80 3f 00 00 00 00 00 00 00 40 03 04 05 00 06 00 00 00 07 00 00 00 08 00 00 00 09 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 
30: [  FAILED  ] TestMessageSerialization.de_serialize_c (0 ms)
30: [ RUN      ] TestMessageSerialization.de_serialize_cpp
30: /home/zs/zs_ws/ga_ros2/ga_deps/system_tests/test_communication/test/test_message_serialization.cpp:163: Failure
30: Expected equality of these values:
30:   52u
30:     Which is: 52
30:   serialized_message_cpp.buffer_length
30:     Which is: 48
30: serialized message cpp
30: 01 ff 6b 00 00 00 80 3f 00 00 00 00 00 00 00 40 03 04 05 00 06 00 00 30 07 00 00 00 08 00 00 00 09 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 
30: [  FAILED  ] TestMessageSerialization.de_serialize_cpp (1 ms)
30: [ RUN      ] TestMessageSerialization.cdr_integrity
30: -- run_test.py: return code -11
30: -- run_test.py: generate result file '/home/zs/zs_ws/ga_ros2/colcon/test/test_communication/test_serialize__rmw_iceoryx_cpp.gtest.xml' with failed test
30: -- run_test.py: verify result file '/home/zs/zs_ws/ga_ros2/colcon/test/test_communication/test_serialize__rmw_iceoryx_cpp.gtest.xml'
30/40 Test #30: test_serialize__rmw_iceoryx_cpp .......................................***Failed    0.18 sec

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

No branches or pull requests

1 participant