Fix README smoke tests in CI#26
Merged
sgillen merged 7 commits intoNVIDIA-ISAAC-ROS:mainfrom Jan 28, 2026
Merged
Conversation
Greptile OverviewGreptile SummaryThis PR improves CI smoke tests by removing the
Key improvements:
Issue found:
Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant CI as GitHub CI
participant Setup as Setup Phase
participant Test as Smoke Test
participant ROS as ROS2 Runtime
participant Topics as Topic Publishers
CI->>Setup: Install ros-base package
CI->>Setup: Build greenwave_monitor
CI->>Setup: Install r2s_gw from requirements.txt
CI->>Setup: Build r2s_gw with colcon
CI->>Test: Run smoke tests (set -e enabled)
Test->>ROS: timeout 10s ncurses_dashboard + 'q' input
ROS-->>Test: Exit 0 (success)
Test->>ROS: timeout 10s ncurses_dashboard --demo + 'q' input
ROS-->>Test: Exit 0 (success)
Test->>ROS: timeout 10s r2s_gw_dashboard + 'q' input
ROS-->>Test: Exit 0 (success)
Test->>ROS: timeout 10s r2s_gw_dashboard --demo + 'q' input
ROS-->>Test: Exit 0 (success)
Test->>Topics: Start /topic1 publisher (background)
Test->>Topics: Start /topic2 publisher (background)
Test->>Test: Set trap to kill publishers on EXIT
Test->>Test: sleep 1s (allow publishers to start)
Test->>ROS: timeout --signal=INT --preserve-status 5s hz.launch.py
ROS-->>Test: Monitor topics until SIGINT
Note over ROS,Test: Expects exit 130 (SIGINT) or 0 (clean exit)
Test->>Topics: trap executes: kill publishers
Test-->>CI: Return exit code (0 = pass, non-zero = fail)
|
0d0da99 to
7ce3300
Compare
Signed-off-by: Blake McHale <bmchale@nvidia.com>
Signed-off-by: Blake McHale <bmchale@nvidia.com>
Signed-off-by: Blake McHale <bmchale@nvidia.com>
887651c to
06b847c
Compare
Signed-off-by: Blake McHale <bmchale@nvidia.com>
5b6e798 to
4c55aa2
Compare
Signed-off-by: Blake McHale <bmchale@nvidia.com>
Collaborator
|
Thankyou but can you please update the PR description, you actually did fix the hz.launch.py test as well. |
Contributor
Author
|
Updated the description. Realized I could fix it so decided to not remove. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Smoke tests for the README in CI always return true. Failures are currently not being caught because of this. Updated the smoke tests to run the TUI applications and their demo modes. Updated the
hz.launch.pytest to measure topics we publish in the background so it doesn't error.