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

[jazzy] Add debug information for flaky can_record_again_after_stop test (backport #1871) #1874

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 3, 2024

This PR adds debug output for flaky rosbag2_transport::can_record_again_after_stop test.

Some times can_record_again_after_stop test fail with error messages like

/tmp/ws/src/rosbag2/rosbag2_transport/test/rosbag2_transport/test_record.cpp:167
Value of: recorded_messages
Expected: has a size that is equal to 4
  Actual: { (ptr = 0x7f429c0023e0, value = 64-byte object <60-23 00-9C 42-7F 00-00 F0-22 00-9C 42-7F 00-00 98-12 B6-45 47-6C 0A-18 D1-BA B5-45 47-6C 0A-18 10-24 00-9C 42-7F 00-00 0D-00 00-00 00-00 00-00 2F-73 74-72 69-6E 67-5F 74-6F 70-69 63-00 00-00>), (ptr = 0x7f429c003670, value = 64-byte object <F0-1E 00-9C 42-7F 00-00 70-18 00-9C 42-7F 00-00 BE-31 B3-48 47-6C 0A-18 5A-B9 B2-48 47-6C 0A-18 A0-36 00-9C 42-7F 00-00 0D-00 00-00 00-00 00-00 2F-73 74-72 69-6E 67-5F 74-6F 70-69 63-00 00-00>), (ptr = 0x7f429c003870, value = 64-byte object <10-37 00-9C 42-7F 00-00 70-33 00-9C 42-7F 00-00 D9-94 DA-4B 47-6C 0A-18 0D-7A DA-4B 47-6C 0A-18 A0-38 00-9C 42-7F 00-00 0D-00 00-00 00-00 00-00 2F-73 74-72 69-6E 67-5F 74-6F 70-69 63-00 00-00>), (ptr = 0x55695db64300, value = 64-byte object <50-D8 B5-5D 69-55 00-00 30-7C 9D-5D 69-55 00-00 3D-A9 DA-4B 47-6C 0A-18 0D-7A DA-4B 47-6C 0A-18 30-43 B6-5D 69-55 00-00 0D-00 00-00 00-00 00-00 2F-73 74-72 69-6E 67-5F 74-6F 70-69 63-00 00-00>), (ptr = 0x55695d9b0390, value = 64-byte object <00-05 9B-5D 69-55 00-00 10-F3 8F-5D 69-55 00-00 B2-0B D8-4E 47-6C 0A-18 33-7B D7-4E 47-6C 0A-18 C0-03 9B-5D 69-55 00-00 0D-00 00-00 00-00 00-00 2F-73 74-72 69-6E 67-5F 74-6F 70-69 63-00 00-00>) }, whose size 5 doesn't match


/tmp/ws/src/rosbag2/rosbag2_transport/test/rosbag2_transport/test_record.cpp:180
Value of: string_messages
Expected: has a size that is equal to 4
  Actual: { (ptr = 0x55695d7b3b70, value = 384-byte object <80-3B 7B-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-7F 00-00 A0-3B 7B-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-00 00-00 ... C0-3C 7B-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-27 77-6F 72-6C 64-21 00-00 00-00 E0-3C 7B-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-22 77-6F 72-6C 64-21 00-00 00-00>), (ptr = 0x55695d720600, value = 384-byte object <10-06 72-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-33 34-00 30-06 72-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-00 00-00 ... 50-07 72-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-27 77-6F 72-6C 64-21 00-00 00-00 70-07 72-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-22 77-6F 72-6C 64-21 00-00 00-00>), (ptr = 0x55695dba00b0, value = 384-byte object <C0-00 BA-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-21 00-00 E0-00 BA-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-00 00-00 ... 00-02 BA-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-27 77-6F 72-6C 64-21 00-00 00-00 20-02 BA-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-22 77-6F 72-6C 64-21 00-00 00-00>), (ptr = 0x55695db9e0b0, value = 384-byte object <C0-E0 B9-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-00 00-00 E0-E0 B9-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-00 00-00 ... 00-E2 B9-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-27 77-6F 72-6C 64-21 00-00 00-00 20-E2 B9-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-22 77-6F 72-6C 64-21 00-00 00-00>), (ptr = 0x55695d6669b0, value = 384-byte object <C0-69 66-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-21 00-00 E0-69 66-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-20 77-6F 72-6C 64-21 00-00 00-00 ... 00-6B 66-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-27 77-6F 72-6C 64-21 00-00 00-00 20-6B 66-5D 69-55 00-00 0C-00 00-00 00-00 00-00 48-65 6C-6C 6F-22 77-6F 72-6C 64-21 00-00 00-00>) }, whose size 5 doesn't match

Link to the failing rpr job https://build.ros2.org/job/Jpr__rosbag2__ubuntu_noble_amd64/66/testReport/junit/rosbag2_transport/RecordIntegrationTestFixture/can_record_again_after_stop/


This is an automatic backport of pull request #1871 done by Mergify.

@mergify mergify bot requested a review from a team as a code owner December 3, 2024 00:30
@mergify mergify bot requested review from james-rms and jhdcs and removed request for a team December 3, 2024 00:30
@MichaelOrlov MichaelOrlov changed the title Add debug information for flaky can_record_again_after_stop test (backport #1871) [jazzy] Add debug information for flaky can_record_again_after_stop test (backport #1871) Dec 3, 2024
@MichaelOrlov
Copy link
Contributor

Pulls: #1874
Gist: https://gist.githubusercontent.com/MichaelOrlov/36d27176d92fb0f3cab70d8c0c0037b4/raw/5f026c2474c6aceeb8a67f630e347d86baf5f55e/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_transport rosbag2_test_common
TEST args: --packages-above rosbag2_transport rosbag2_test_common
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14896

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@MichaelOrlov MichaelOrlov merged commit 1ae448c into jazzy Dec 3, 2024
11 of 12 checks passed
@MichaelOrlov MichaelOrlov deleted the mergify/bp/jazzy/pr-1871 branch December 3, 2024 04:42
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

Successfully merging this pull request may close these issues.

1 participant