-
Notifications
You must be signed in to change notification settings - Fork 35
tests, net, service-mesh: Drop usage of 'running_vm' #1093
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
base: main
Are you sure you want to change the base?
tests, net, service-mesh: Drop usage of 'running_vm' #1093
Conversation
`running_vm` is performing multiple checks to assure correct VM start. However, these checks are not required for the network tests. For the network tests, a successful VM start is one that: - Reaches ready status (i.e. a VMI in running phase). - Reaches `AgentConnected` condition status (i.e. cloud-init stage succeeded based on the Fedora image setup). This is an optimization to reduce observed flakiness on VM startup and simplify the overall maintenance (e.g. the use of a common helper that covers many aspects of a VM startup cycle forces all its users to the same logic, even though that logic is not of interest). Signed-off-by: Edward Haas <[email protected]>
WalkthroughThe import and usage of the Changes
Possibly related issues
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Graph Analysis (1)tests/network/service_mesh/conftest.py (1)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Report bugs in Issues The following are automatically added:
Available user actions:
PR will be approved when the following conditions are met:
Approvers and Reviewers
Supported /retest check runs
Supported labels
|
/build-and-push-container |
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-1093 published |
/approve |
What this PR does / why we need it:
running_vm
is performing multiple checks to assure correct VM start. However, these checks are not required for the network tests.For the network tests, a successful VM start is one that:
AgentConnected
condition status (i.e. cloud-init stage succeeded based on the Fedora image setup).This is an optimization to reduce observed flakiness on VM startup and simplify the overall maintenance (e.g. the use of a common helper that covers many aspects of a VM startup cycle forces all its users to the same logic, even though that logic is not of interest).
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
Summary by CodeRabbit