Skip to content

👨‍🌾 multi_access_publisher_intra_process test failing  #487

Closed

Description

@Blast545

Bug report

Required Info:

  • Operating System:
    • Ubuntu Focal
  • Installation type:
    • Binaries, build.ros2.org CI
  • Version or commit hash:
    • Foxy, Fci__nightly-release_ubuntu_focal_amd64
  • DDS implementation:
    • Cyclone and FastRTPS
  • Client library (if applicable):
    • Package: test_rclcpp

Expected behavior

All CI tests should pass.

Actual behavior

test_rclcpp.gtest_multithreaded__rmw_cyclonedds_cpp.gtest.missing_result
test_rclcpp.gtest_multithreaded__rmw_fastrtps_cpp.gtest.missing_result

The test test_multithreaded__rmw_fastrtps_cpp.multi_access_publisher_intra_process and its equivalent for Cyclone have been failing in the Fci__nightly-release_ubuntu_focal_amd64 CI.

Additional information

Reference jobs:

First time: https://build.ros2.org/view/Fci/job/Fci__nightly-release_ubuntu_focal_amd64/223/ (Actually this is the oldest saved from CI, so I imagine this issue could be happening for a longer time)
Latest: https://build.ros2.org/view/Fci/job/Fci__nightly-release_ubuntu_focal_amd64/323/

The error seems to come from a bad usage from rclcpp:

37: [       OK ] test_multithreaded__rmw_cyclonedds_cpp.multi_consumer_single_producer (247 ms)
37: [ RUN      ] test_multithreaded__rmw_cyclonedds_cpp.multi_consumer_intra_process
37: [ERROR] [1633988911.515884625] [rclcpp]: Calling dequeue on empty intra-process buffer
37: terminate called after throwing an instance of 'std::runtime_error'
37:   what():  Calling dequeue on empty intra-process buffer
37: -- run_test.py: return code -6
37: -- run_test.py: generate result file '/tmp/ws/test_results/test_rclcpp/gtest_multithreaded__rmw_cyclonedds_cpp.gtest.xml' with failed test
37: -- run_test.py: verify result file '/tmp/ws/test_results/test_rclcpp/gtest_multithreaded__rmw_cyclonedds_cpp.gtest.xml'
37/81 Test #37: gtest_multithreaded__rmw_cyclonedds_cpp .........................***Failed    0.52 sec

Activity

  1. Blast545 commented on Oct 14, 2021

    @Blast545
    Author

    Seems to me like the define test requires additional configuration to configure the intra-process buffer or there's a problem with the current configuration.

    node_topic_name, rclcpp::NodeOptions().use_intra_process_comms(intra_process));

  2. Blast545 commented on Jan 24, 2022

    @Blast545
    Author

    👨‍🌾 🕵️‍♂️ After digging deeper into this issue I've realized that the actual fix for this was introduced for Galactic with ros2/rclcpp#1241. AFAIK this is not backportable to Foxy, should we add a note to those tests and disable them @jacobperron ?

    Those are failing pretty consistently in the buildfarm: https://build.ros2.org/view/Fci/job/Fci__nightly-release_ubuntu_focal_amd64/359/

  3. jacobperron commented on Jan 25, 2022

    @jacobperron
    Member

    hmm, yeah I don't think ros2/rclcpp#1241 is backportable. I think I'm okay with disabling the failing test with a note about the bug. I'm happy to review a PR :)

    We may want to also add a note about the bug on the Foxy release page.

  4. Blast545 commented on Jan 25, 2022

    @Blast545
    Author

    Cool, I opened #495 to disable the test and ros2/ros2_documentation#2243 to document it as a known issue 🙌

  5. Blast545 commented on Feb 1, 2022

    @Blast545
    Author

    Addressed by now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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