-
Notifications
You must be signed in to change notification settings - Fork 1.3k
test: additional check to ensure hosts are left in up state #8383
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
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
b84b654 to
1951b0c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #8383 +/- ##
=========================================
Coverage 13.12% 13.12%
Complexity 9141 9141
=========================================
Files 2720 2720
Lines 257723 257723
Branches 40177 40177
=========================================
Hits 33838 33838
Misses 219595 219595
Partials 4290 4290 ☔ View full report in Codecov by Sentry. |
| hostid=host.id, | ||
| type='Routing' | ||
| )[0] | ||
| if restarted_host.state == state: |
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.
should == state be == "Up" ?
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.
@weizhouapache yes 🙈
But I'm not able to reproduce the issue with hosts remaining in Connecting state so not sure if this will solve the problem
|
@blueorangutan package |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8106 |
|
@blueorangutan test |
|
@weizhouapache a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8648)
|
weizhouapache
left a comment
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.
code lgtm
@shwstppr
smoke test results look perfect. is it ready for review ?
|
@weizhouapache there seems some issue with GH action run on test cleanup. Checking that |
DaanHoogland
left a comment
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.
lgtm, note that this test is not safe in life environment to begin with, so this does not have an influence to its
@shwstppr right.. |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
|
@weizhouapache I guess With this change, I'm testing a fix for failures seen with |
yes, right.
Great ! |
|
Will merge this once GH actions return success |
) With this change, a fix is added for failures seen with test_08_migrate_vm or other migration-related tests because the target host is in `Connecting` state, apache#8356 (comment) apache#8374 (comment) and more
Description
With this change, a fix is added for failures seen with test_08_migrate_vm or other migration-related tests because the target host is in
Connectingstate,#8356 (comment)
#8374 (comment)
and more
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?