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_security] Secure communication tests are unstable causing CI to fail sometimes #446

Closed
mikaelarguedas opened this issue May 30, 2020 · 4 comments
Assignees

Comments

@mikaelarguedas
Copy link
Member

Bug report

Required Info:

  • Operating System:
    • Ubuntu Focal
  • Installation type:
    • source
  • Version or commit hash:
    • master
  • DDS implementation:
    • Fast-RTPS (static and dynamic)
  • Client library (if applicable):
    • rclcpp

Since ros2/sros2#208 the end-to-end tests of sros2 are enabled on the CI of this repo (daily master branch test + PR testing).
While the code is located at https://github.com/ros2/system_tests/tree/master/test_security I'm reporting it here because that's the repo watched by he sros2 maintainer and the test failures are happening on the CI of this repo.

Some tests time out making CI fail, this seems unrelated to the changes being tested, some examples of this:

41 - test_secure_publisher_subscriber__UnboundedSequences__rmw_fastrtps_dynamic_cpp__secure_comm_0 (Timeout)
19 - test_secure_publisher_subscriber__UnboundedSequences__rmw_fastrtps_cpp__secure_comm_1 (Timeout)
30 - test_secure_publisher_subscriber__Empty__rmw_fastrtps_dynamic_cpp__secure_comm_0 (Timeout)
30 - test_secure_publisher_subscriber__Empty__rmw_fastrtps_dynamic_cpp__secure_comm_0 (Timeout)

Looking at the ROS2 CI from ci.ros2.org over the last week it seems to fail very often but only on linux and only for fastrtps. It goes unnoticed because tests are ran multiple times:

Linux:

  33 - test_secure_publisher_subscriber__Empty__rmw_fastrtps_cpp__secure_comm_3 (Timeout)
  43 - test_secure_publisher_subscriber__UnboundedSequences__rmw_fastrtps_cpp__secure_comm_2 (Timeout)
  41 - test_secure_publisher_subscriber__UnboundedSequences__rmw_fastrtps_cpp__secure_comm_0 (Timeout)
  43 - test_secure_publisher_subscriber__UnboundedSequences__rmw_fastrtps_cpp__secure_comm_2 (Timeout)
  43 - test_secure_publisher_subscriber__UnboundedSequences__rmw_fastrtps_cpp__secure_comm_2 (Timeout)

MacOS:

  • All Connext tests fail (for a different reason) but all Fast-RTPS tests pass ✔️

Windows

  • All tests pass ✔️
@kyrofa
Copy link
Member

kyrofa commented Aug 26, 2020

While the code is located at https://github.com/ros2/system_tests/tree/master/test_security I'm reporting it here because that's the repo watched by he sros2 maintainer and the test failures are happening on the CI of this repo.

I'm not sure it makes sense to have a system_tests issue logged here. It certainly effects sros2 but the fix won't happen here, it'll happen over there. I propose we open this issue against system_tests and assign @ros-security-wg over there like other issues. I don't have permission to transfer it, does anyone else?

@clalancette
Copy link
Contributor

I don't have permission to transfer it, does anyone else?

I'll go ahead and do it.

@clalancette clalancette transferred this issue from ros2/sros2 Aug 31, 2020
@jacobperron
Copy link
Member

I'm pretty sure this is a duplicate of #435, so I'll close this out. Please comment and/or re-open if I'm mistaken.

@mikaelarguedas
Copy link
Member Author

I believe this issue was moved from sros2 to here to replace #435 that was a duplicate without much context.
If the content of #435 is now more up-to-date than the content of this one let's keep the other one

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

5 participants