-
Notifications
You must be signed in to change notification settings - Fork 35
test: debug finding ethernet with pci #285
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
Conversation
Reviewer's GuideThis PR enhances the PCI interface test by injecting verbose shell-based debug steps for network and sysfs inspection, capturing nftables rulesets before and after rule application for diff analysis, and introduces a new FMF provisioning configuration file. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
[citest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #285 +/- ##
==========================================
- Coverage 61.09% 58.41% -2.69%
==========================================
Files 2 2
Lines 910 1188 +278
==========================================
+ Hits 556 694 +138
- Misses 354 494 +140
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
[citest] |
3 similar comments
|
[citest] |
|
[citest] |
|
[citest] |
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
5e37926 to
ae088ba
Compare
|
[citest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @richm - I've reviewed your changes - here's some feedback:
- Add a task to install pciutils before using lspci to ensure the debug output is always available.
- Integrate the new tests/provision.fmf into an existing test plan or update CI to pick it up, otherwise it won’t be used.
- Consider refactoring the repeated shell debug steps into a reusable role or guard them with a debug variable to avoid cluttering logs.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Add a task to install pciutils before using lspci to ensure the debug output is always available.
- Integrate the new tests/provision.fmf into an existing test plan or update CI to pick it up, otherwise it won’t be used.
- Consider refactoring the repeated shell debug steps into a reusable role or guard them with a debug variable to avoid cluttering logs.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Signed-off-by: Rich Megginson rmeggins@redhat.com
Summary by Sourcery
Add detailed debug logging to the PCI interface tests by listing system network and PCI data, capturing nftables state before and after tests, and diffing results for easier troubleshooting.
Enhancements:
Tests: