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

[test_quality_of_service] Failures #161

Open
Yadunund opened this issue Apr 18, 2024 · 3 comments
Open

[test_quality_of_service] Failures #161

Yadunund opened this issue Apr 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Yadunund
Copy link
Member

colcon test --packages-select test_quality_of_service

86% tests passed, 3 tests failed out of 22

Label Time Summary:
copyright     =   1.68 sec*proc (1 test)
cppcheck      =   0.39 sec*proc (1 test)
cpplint       =   0.62 sec*proc (1 test)
gtest         = 109.42 sec*proc (16 tests)
lint_cmake    =   0.38 sec*proc (1 test)
linter        =   4.23 sec*proc (6 tests)
uncrustify    =   0.43 sec*proc (1 test)
xmllint       =   0.72 sec*proc (1 test)

Total Test time (real) = 113.66 sec

The following tests FAILED:
	 13 - test_deadline__rmw_zenoh_cpp (Failed)
	 15 - test_liveliness__rmw_zenoh_cpp (Failed)
	 16 - test_best_available__rmw_zenoh_cpp (Failed)
@Yadunund Yadunund added the bug Something isn't working label Apr 18, 2024
@Yadunund
Copy link
Member Author

Yadunund commented Apr 18, 2024

Tests fail as these event types are not yet supported in rmw_zenoh

13 - test_deadline__rmw_zenoh_cpp

[INFO] [1713435048.611577533] [subscriber]: created subscriber subscriber test_deadline
unknown file: Failure
C++ exception with description "Failed to initialize event: provided event_type 7 is not supported by rmw_zenoh_cpp, at /home/yadunund/ros2_rolling/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_event.cpp:52" thrown in the test body.
  • Fix:

15 - test_liveliness__rmw_zenoh_cpp

[INFO] [1713435203.641990760] [subscriber]: created subscriber subscriber test_automatic_liveliness_changed
unknown file: Failure
C++ exception with description "Failed to initialize event: provided event_type 0 is not supported by rmw_zenoh_cpp, at /home/yadunund/ros2_rolling/src/rmw_zenoh/rmw_zenoh_cpp/src/rmw_event.cpp:105" thrown in the test body.
  • Fix:

16 - test_best_available__rmw_zenoh_cpp

Failures are related to deadline and liveliness_lease_duration

[INFO] [1713435303.382419270] [subscriber]: created subscriber subscriber /test_best_available_subscription
/home/yadunund/ros2_rolling/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:87: Failure
Expected equality of these values:
  actual_qos.deadline()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 00-00 00-00 00-00 00-00>
  publisher_qos_profile.deadline()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 80-84 1E-00 00-00 00-00>

/home/yadunund/ros2_rolling/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:89: Failure
Expected equality of these values:
  actual_qos.liveliness_lease_duration()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 00-00 00-00 00-00 00-00>
  publisher_qos_profile.liveliness_lease_duration()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 C0-C6 2D-00 00-00 00-00>

[  FAILED  ] QosRclcppTestFixture__rmw_zenoh_cpp.test_best_available_policies_subscription (1533 ms)
[ RUN      ] QosRclcppTestFixture__rmw_zenoh_cpp.test_best_available_policies_publisher
[INFO] [1713435303.901693591] [rmw_zenoh_cpp]: Successfully connected to a Zenoh router with id 6678b139223765f71bf21f1c8967c71.
[INFO] [1713435304.903443449] [publisher]: created publisher publisher /test_best_available_publisher

[INFO] [1713435304.904354009] [subscriber]: created subscriber subscriber /test_best_available_publisher
/home/yadunund/ros2_rolling/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:147: Failure
Expected equality of these values:
  actual_qos.deadline()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 00-00 00-00 00-00 00-00>
  subscription_qos_profile.deadline()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 80-84 1E-00 00-00 00-00>

/home/yadunund/ros2_rolling/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:148: Failure
Expected equality of these values:
  actual_qos.liveliness()
    Which is: 4-byte object <01-00 00-00>
  subscription_qos_profile.liveliness()
    Which is: 4-byte object <03-00 00-00>

/home/yadunund/ros2_rolling/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:149: Failure
Expected equality of these values:
  actual_qos.liveliness_lease_duration()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 00-00 00-00 00-00 00-00>
  subscription_qos_profile.liveliness_lease_duration()
    Which is: 16-byte object <78-AB B4-AC 1B-7F 00-00 C0-C6 2D-00 00-00 00-00>
  • Fix:

@MichaelOrlov
Copy link

MichaelOrlov commented Apr 25, 2024

@Yadunund A friendly ping to handle this issue.
At the waffle meeting, we decided to assign it to you, but I don't have permissions to do so.

@clalancette
Copy link
Collaborator

This is still a problem on the latest as of today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants