linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
101 stars 59 forks source link

fix: Use blkid instead of lsblk in tests to get partition table #480

Closed vojtechtrefny closed 2 weeks ago

vojtechtrefny commented 2 weeks ago

Older versions of lsblk cannot print the PTTYPE column.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 10.73%. Comparing base (59fd1c6) to head (024212b). Report is 1 commits behind head on main.

:exclamation: There is a different number of reports uploaded between BASE (59fd1c6) and HEAD (024212b). Click for more details.

HEAD has 1 upload less than BASE | Flag | BASE (59fd1c6) | HEAD (024212b) | |------|------|------| |sanity|1|0|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #480 +/- ## ========================================== - Coverage 16.54% 10.73% -5.81% ========================================== Files 2 8 +6 Lines 284 1946 +1662 Branches 79 0 -79 ========================================== + Hits 47 209 +162 - Misses 237 1737 +1500 ``` | [Flag](https://app.codecov.io/gh/linux-system-roles/storage/pull/480/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | Coverage Δ | | |---|---|---| | [sanity](https://app.codecov.io/gh/linux-system-roles/storage/pull/480/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

spetrosi commented 2 weeks ago

[citest]

vojtechtrefny commented 2 weeks ago

[citest]

richm commented 2 weeks ago

Works locally with: ansible 2.9/centos-7, ansible 2.16/centos-8, ansible 2.17/centos-10

richm commented 2 weeks ago

The stratis failure on el8 is known and will be fixed in a subsequent PR