-
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-1528] Fix empty error message in Yum transaction failure #1214
Conversation
Co-authored-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
6cc51cb
to
994e8ea
Compare
/packit test --labels tier0 |
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 to me!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1214 +/- ##
=======================================
Coverage 95.47% 95.47%
=======================================
Files 54 54
Lines 4682 4682
Branches 824 824
=======================================
Hits 4470 4470
Misses 131 131
Partials 81 81
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.
Expecting everything apart from Alma Linux 8.9 to pass, if so, we can merge.
This PR resolves an issue where the error result from the YumBaseError exception would not be displayed in the diagnosis of the Error - FAILED_TO_VALIDATE_TRANSACTION for yum transcations. The issue was that the type of the error was of YumBaseError so when a .join was used on it the output would be blank. This PR extracts the actual value from the YumBaseError class and properly displays it with the Error result. There are also updates to the unit tests for both yum and dnf transcation failures so we assert the proper content is in the Error result
Jira Issues:
Checklist
[RHELC-]
is part of the PR titleRelease Pending
if relevant