Skip to content
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-1396] fix: errors in utils.py after full test suite #1134

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Venefilyn
Copy link
Member

@Venefilyn Venefilyn commented Mar 6, 2024

Since of merging #1029 we get an issue with unit tests that causes a lot
of strange errors to occur. Likely due to a stream not being closed
correctly.

This aims to either fix or mitigate this from occuring during test runs
as it should not appear in convert2rhel by itself.

Jira Issues: RHELC-1396

Checklist

  • PR has been tested manually in a VM (either author or reviewer)
  • Jira issue has been made public if possible
  • [RHELC-] is part of the PR title
  • GitHub label has been added to help with Release notes
  • PR title explains the change from the user's point of view
  • Code and tests are documented properly
  • The commits are squashed to as few commits as possible (without losing data)
  • When merged: Jira issue has been updated to Release Pending if relevant

@Venefilyn Venefilyn changed the title fix: errors in utils.py after full test squite fix: errors in utils.py after full test suite Mar 6, 2024
Since of merging oamg#1029 we get an issue with unit tests that causes a lot
of strange errors to occur. Likely due to a stream not being closed
correctly.

This aims to either fix or mitigate this from occuring during test runs
as it should not appear in convert2rhel by itself.
@Venefilyn Venefilyn changed the title fix: errors in utils.py after full test suite [RHELC-1396] fix: errors in utils.py after full test suite Mar 6, 2024
@Venefilyn Venefilyn added skip/changelog If it should be excluded from changelog or Release notes. Such as infra, reverted PRs, etc. tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`. labels Mar 6, 2024
@Venefilyn Venefilyn marked this pull request as ready for review March 6, 2024 15:58
@has-bot
Copy link
Member

has-bot commented Mar 6, 2024

/packit test --labels sanity


Comment generated by an automation.

Copy link

codecov bot commented Mar 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.48%. Comparing base (f992a1d) to head (6e94925).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1134   +/-   ##
=======================================
  Coverage   95.48%   95.48%           
=======================================
  Files          51       51           
  Lines        4627     4627           
  Branches      820      820           
=======================================
  Hits         4418     4418           
  Misses        134      134           
  Partials       75       75           
Flag Coverage Δ
centos-linux-7 90.57% <100.00%> (ø)
centos-linux-8 91.57% <100.00%> (ø)
centos-linux-9 91.63% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@r0x0d r0x0d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the issue!

Tested locally and it works nicely.

@Venefilyn Venefilyn merged commit 474c947 into oamg:main Mar 7, 2024
28 of 67 checks passed
@Venefilyn Venefilyn deleted the fix/logging-errors branch March 7, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog If it should be excluded from changelog or Release notes. Such as infra, reverted PRs, etc. tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants