-
Notifications
You must be signed in to change notification settings - Fork 86
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
[RHELC-788] Implement integration test error after ponr #1265
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1265 +/- ##
=======================================
Coverage 96.51% 96.51%
=======================================
Files 71 71
Lines 5077 5077
Branches 883 883
=======================================
Hits 4900 4900
Misses 98 98
Partials 79 79
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Looks great, just a couple of adjustments requested.
Also, please just switch test-coverage-enhancement
label for no-changelog
, the enhancement serves for larger introductions, we don't use it for single tests :)
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
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.
Looks good now, great job!
Thanks @SerCantus
/packit test --labels tier1 |
Needs a rebase and a test re-run. |
7c1c16d
to
016262e
Compare
/packit test --labels tier1 |
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.
Looks promising, the test will fail now due to subman registration error. We should hold this PR open till it is working again
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
/packit test --labels tier1 |
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Fixed
Show fixed
Hide fixed
/packit test --labels tier1 |
Seems like that the conversion works fine - no error happens. I went over the logs, and it seems that the
I suggest doing it much sooner, if you put it just after the |
The issue with this test is that it only fails on automated executions. When I try to so it manually it always passes so I'm lost. I will try your approach. |
/packit test --labels tier1 |
8af878d
to
91c7f0c
Compare
/packit test --labels tier1 |
tests/integration/tier1/destructive/error-after-ponr/test_error_after_ponr.py
Outdated
Show resolved
Hide resolved
91c7f0c
to
a5dd447
Compare
/packit test --labels tier1 |
Tier1 is failing now due to the "/plans/tier1/destructive/modified_grub_file/changed_grub_invalid fail" being obsoloete after recent changes. Once this gets fixed, we can re-run the tests here #1391 |
a5dd447
to
d0eab54
Compare
/packit test --labels tier1 |
d0eab54
to
94cab6a
Compare
/packit test --labels tier1 |
94cab6a
to
8bbd470
Compare
/packit test --labels tier1 |
Apply suggestions from code review Co-authored-by: Daniel Diblik <[email protected]> Add comment to new test discover [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Add assert for a shell invoke and indentation to comment Co-authored-by: Martin "kokesak" Litwora <[email protected]> Update test_error_after_ponr with new TEST_VARS naming Co-authored-by: Daniel Diblik <[email protected]> Update how to trigger the PONR failure in the test [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Change the source of the error - internet connection after PONR
8bbd470
to
6b1533e
Compare
/packit test --labels tier1 |
Co-authored-by: Daniel Diblik <[email protected]>
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
Implement a new integration test to verify the log message when a fail occurs after PONR
Jira Issues:
Checklist
[RHELC-]
or[HMS-]
is part of the PR titleRelease Pending
if relevant