You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
colcon test --packages-select ros2_benchmark | fails #16
Running Step 7 in quickstart guide I run into the following error
$ colcon test --packages-select ros2_benchmark
Starting >>> ros2_benchmark
[Processing: ros2_benchmark]
--- stderr: ros2_benchmark
Errors while running CTest
Output from these tests are in: /root/ros_ws/build/ros2_benchmark/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
---
Finished <<< ros2_benchmark [34.9s] [ with test failures ]
Summary: 1 package finished [35.0s]
1 package had stderr output: ros2_benchmark
1 package had test failures: ros2_benchmark
Opening the output file
$ cat /root/ros_ws/build/ros2_benchmark/Testing/Temporary/LastTest.log
Start testing: Sep 12 11:22 UTC
----------------------------------------------------------
End testing: Sep 12 11:22 UTC
Hello, could you share the full log for the test failure? You could also print out the log spew in-line with this flag --event-handlers console_direct+ for e.g colcon test --packages-select ros2_benchmark --event-handlers console_direct+
From the logs, it looks like the script could not open the simple rosbag for testing. Did you happen to install and setup git-lfs correctly? Could you list the file sizes of the contents of /root/ros_ws/src/ros2_benchmark/ros2_benchmark/test/pol.bag/? I suspect these are placeholder files and not real files.
In the quick start guide, I do not see git lfs being used. Please let me know What could be missing. As for the content of /pol.bag. The file size is as follows, "metadata.yaml"[1.5KB] | "pol.bag_0.db3"[235MB] | "pol.bag_0.db3.zstd"[86MB]
There is a missing step to install git-lfs before you clone (or run git lfs pull afterwards) to make sure the POL rosbag is materialized. I'll update that but the file sizes you're reporting looks correct (they'd be a hundred bytes at most otherwise). Have you tried a clean rebuild otherwise? You didn't have git-lfs installed and you had these files downloaded, you say?
Activity
swapnesh-wani-nvidia commentedon Sep 18, 2023
Hello, could you share the full log for the test failure? You could also print out the log spew in-line with this flag
--event-handlers console_direct+for e.gcolcon test --packages-select ros2_benchmark --event-handlers console_direct+OsamaThakur commentedon Sep 20, 2023
Hello , Thanks for getting back to me, here is the complete log
hemalshahNV commentedon Sep 29, 2023
From the logs, it looks like the script could not open the simple rosbag for testing. Did you happen to install and setup git-lfs correctly? Could you list the file sizes of the contents of
/root/ros_ws/src/ros2_benchmark/ros2_benchmark/test/pol.bag/? I suspect these are placeholder files and not real files.OsamaThakur commentedon Oct 2, 2023
In the quick start guide, I do not see git lfs being used. Please let me know What could be missing. As for the content of /pol.bag. The file size is as follows, "metadata.yaml"[1.5KB] | "pol.bag_0.db3"[235MB] | "pol.bag_0.db3.zstd"[86MB]
hemalshahNV commentedon Oct 2, 2023
There is a missing step to install
git-lfsbefore you clone (or rungit lfs pullafterwards) to make sure the POL rosbag is materialized. I'll update that but the file sizes you're reporting looks correct (they'd be a hundred bytes at most otherwise). Have you tried a clean rebuild otherwise? You didn't have git-lfs installed and you had these files downloaded, you say?hemalshahNV commentedon Oct 2, 2023
Updated the README Quick Start, maybe try running from scratch again to see if that clears up any lingering issues?
OsamaThakur commentedon Oct 3, 2023
It works now 😄 . Thank you so much for the help !