Repository navigation
Add ctest loop script - #1076
Conversation
| echo $failcount "TOTAL FAILURES" | ||
| done | ||
| echo $failcount " FAILURES / " $loopcount | ||
| echo $failcount " FAILURES / " $loopcount >> $outfile |
There was a problem hiding this comment.
I never use the the $outfile. I didn't even realize it was there in the script. I'm OK with removing it if you don't have a use for it. That way we can simplify to just one log.
There was a problem hiding this comment.
I use it to get a quick pass/fail count summary
|
Just as a note: if you are not interested in the detailed statistic this script generates you can check for two different cases with
|
|
Thanks @dirk-thomas for the info. This script is explicitly for measuring pass/fail % so we can determine how flaky the system is and track it over time. It's good to know about the |
|
|
||
| ## To run the test | ||
| First, build the package | ||
| First, remove the COLCON_IGNORE; this exists so the system tests won't be in the debian release package |
There was a problem hiding this comment.
You should not use a COLCON_IGNORE file for this since it makes it impossible to build/test this package from source without manually removing the file. Instead you should ignore the package explicitly in the release repository. See https://github.com/ros-gbp/ros_comm-release/blob/a5cd5afe79e6bc23965817072e279f7b9dca2f88/melodic.ignored for an example.
There was a problem hiding this comment.
I don't see a "dashing.ignored" file there, should I create a PR to create one? Also, does this mean for every release we have to go create a new one; "eloquent.ignored", etc?
There was a problem hiding this comment.
I don't see a "dashing.ignored" file there, should I create a PR to create one?
Yes.
does this mean for every release we have to go create a new one; "eloquent.ignored", etc?
Yes.
There was a problem hiding this comment.
Alternatively, if the tests pass in the build farm (our goal), then we don't have to do either, we just don't include nav2_system_tests in the meta-package so it isn't installed by 'sudo apt install ros-dashing-navigation2'. That's the ideal solution IMO.
There was a problem hiding this comment.
But you don't want to produce a Debian package for it.
Description of contribution in a few bullet points
Adds a script to the system tests directory for looping the bt_navigator system test. Useful for reliability testing.
Also updates the README files with instructions
Future work that may be required in bullet points
N/A