fix: Use exit 77 for skipped tests in test-rdma.sh#113
Open
ggoklani wants to merge 1 commit intolinux-system-roles:mainfrom
Open
fix: Use exit 77 for skipped tests in test-rdma.sh#113ggoklani wants to merge 1 commit intolinux-system-roles:mainfrom
ggoklani wants to merge 1 commit intolinux-system-roles:mainfrom
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAligns test-rdma.sh skip behavior with other test scripts by introducing a skip helper that exits with code 77 and using it for environment-based skips, while simplifying output for skipped checks. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
spetrosi
approved these changes
Mar 26, 2026
Changes:
1. Update test-rdma.sh to use exit code 77 for skipped tests (following
test-nvidia-docker.sh pattern) instead of exit 0, avoiding brittle
string assertions in test framework
2. Fix azure_persistent_rdma_naming.service boot failures caused by race
conditions during system startup:
- Remove 'set -e' from naming script to prevent early exit on
transient device initialization failures
- Add error handling for rdma_rename failures with warning messages
- Add systemd service retry logic (Restart=on-failure, RestartSec=2,
StartLimitBurst=3) to handle boot-time race conditions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Signed-off-by: Gaurav Goklani <ggoklani@redhat.com>
6e87dcf to
3155fb5
Compare
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.
Fix RDMA test script and service boot reliability
Changes:
Update test-rdma.sh to use exit code 77 for skipped tests (following
test-nvidia-docker.sh pattern) instead of exit 0, avoiding brittle
string assertions in test framework
Fix azure_persistent_rdma_naming.service boot failures caused by race intermidiatly
conditions during system startup:(intermediately)
transient device initialization failures
StartLimitBurst=3) to handle boot-time race conditions
🤖 Generated with Claude Code
Signed-off-by: Gaurav Goklani ggoklani@redhat.com
Summary by Sourcery
Align RDMA test script exit codes with established convention for skipped tests by introducing a dedicated skip path and adjusting Azure/systemd checks accordingly.
Bug Fixes:
Enhancements: