-
Notifications
You must be signed in to change notification settings - Fork 87
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-750] Rewrite the log messages using the word "unsupported" in is_loaded_kernel_latest() #684
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #684 +/- ##
=======================================
Coverage 94.32% 94.33%
=======================================
Files 47 47
Lines 4549 4551 +2
Branches 810 811 +1
=======================================
+ Hits 4291 4293 +2
Misses 182 182
Partials 76 76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2968529
to
19a7d66
Compare
19a7d66
to
1c11522
Compare
96f89f6
to
1de7ccc
Compare
c70360a
to
3e4485e
Compare
3e4485e
to
c5ca369
Compare
c5ca369
to
7850393
Compare
/packit test |
7850393
to
614681f
Compare
614681f
to
f017da2
Compare
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.
The integration tests part was reviewed. Please do not forget to fix https://github.com/oamg/convert2rhel/pull/817/files#diff-8fef26b9233077200d013e299553602a76272853b79cfd6d5693d18162f1c116R40 before merging
f094da6
to
84176c7
Compare
84176c7
to
5b4d65e
Compare
7f21b40
to
9de7cc6
Compare
52e7dfa
to
14d1e05
Compare
fdccc79
to
cf923b1
Compare
tests/integration/tier1/destructive/system-up-to-date/test_system_up_to_date.py
Outdated
Show resolved
Hide resolved
4d46c2c
to
aaebbe9
Compare
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.
After applying the suggestions I believe this PR is good to go, approved
72ad647
to
4992b25
Compare
4992b25
to
95c8b00
Compare
/packit test --labels tier0 |
1 similar comment
/packit test --labels tier0 |
/packit test |
/packit test --labels tier0 |
1 similar comment
/packit test --labels tier0 |
tests/hotfix/Remove parsing .env in conftest (oamg#838) * we do not have any .env file in the repository, the line is redundant Signed-off-by: Daniel Diblik <[email protected]> Modify tests * use `CONVERT2RHEL_SKIP_KERNEL_CURRENCY_CHECK` instead of deprecated `CONVERT2RHEL_UNSUPPORTED_SKIP_KERNEL_CURRENCY_CHECK` Signed-off-by: Daniel Diblik <[email protected]> Revised checks.py and checks_test.py * After Rebasing some of the code changed, and added in code not from this PR. * In checks.py the log message was edited and the rest of the code. * In checks_test.py edited is_loaded_kernel_latet_unsupported_skip, and added is_loaded_kernel_latet_unsupported_skip_env_var * Use `CONVERT2RHEL_SKIP_KERNEL_CURRENCY_CHECK` instead of deprecated `CONVERT2RHEL_UNSUPPORTED_SKIP_KERNEL_CURRENCY_CHECK` Signed-off-by: Daniel Diblik <[email protected]> Use the deprecated envar in latest_kernel_check_skip Signed-off-by: Daniel Diblik <[email protected]> [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci fixed the log message * I belive that there is still an issue with the log message as I think the assert for the action is fails because of that, I am currently lookign into that though Changed the action level description message refactored the if statment * this if statment now takes in account what envar is being used and will display the correct message acordingly reverted the if statment back to the correct format fix for the unit tests * This is a temporary fix for the uint test I had to seperate one tests from the is_loaded_kernel_latest_skip_warnings as it wasn't passing with the log message test. For some unknown reason the envar is only set in all of the tests.
95c8b00
to
1904142
Compare
/packit test --labels tier0 |
1 similar comment
/packit test --labels tier0 |
Integration tests unrelated, merging |
Convert2RHEL is moving away from using the word unsupported, and we will gradually go away from using this terminology. This PR also goes through the log message to better explain how the conversion can fail.
Jira Issue: RHELC-750
Checklist
[RHELC-]
is part of the PR titleRelease Pending