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

fix: Fix expected error message in tests_misc.yml #446

Merged

Conversation

vojtechtrefny
Copy link
Collaborator

Different versions of blivet return a different error message when trying to create a filesystem with invalid parameters.

On Fedora 39 and older:
"Failed to commit changes to disk: (FSError('format failed: 1'), '/dev/mapper/foo-test1')"

On Fedora 40 and newer:
"Failed to commit changes to disk: Process reported exit code 1: mke2fs: invalid block size - 512\n"

Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.64%. Comparing base (acd20be) to head (d6c8d95).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #446      +/-   ##
==========================================
- Coverage   16.54%   11.64%   -4.91%     
==========================================
  Files           2        8       +6     
  Lines         284     1795    +1511     
  Branches       79        0      -79     
==========================================
+ Hits           47      209     +162     
- Misses        237     1586    +1349     
Flag Coverage Δ
sanity ?

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.

@richm
Copy link
Contributor

richm commented Jun 4, 2024

[citest]

@richm
Copy link
Contributor

richm commented Jun 5, 2024

@vojtechtrefny please rebase on top of the latest main to fix the get_unused_disk issue

Different versions of blivet return a different error message when
trying to create a filesystem with invalid parameters.

On Fedora 39 and older:
"Failed to commit changes to disk: (FSError('format failed: 1'),
'/dev/mapper/foo-test1')"

On Fedora 40 and newer:
"Failed to commit changes to disk: Process reported exit code 1:
mke2fs: invalid block size - 512\n"
@vojtechtrefny
Copy link
Collaborator Author

[citest]

@richm richm merged commit 7ef66d8 into linux-system-roles:main Jun 6, 2024
19 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants