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

test: use pvcreate with a timeout and verbose logging #476

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Aug 19, 2024

the pvcreate call gives us problems, and different problems on different
platforms. Use timeout 30s to avoid hangs when it tries
to read from stdin. Use verbose -vvv to figure out why it
hangs/fails. Use -y to make it not ask questions and continue
anyway.

Signed-off-by: Rich Megginson [email protected]

the pvcreate call gives us problems, and different problems on different
platforms.  Use `timeout 30s` to avoid hangs when it tries
to read from stdin.  Use verbose `-vvv` to figure out why it
hangs/fails.  Use `-y` to make it not ask questions and continue
anyway.

Signed-off-by: Rich Megginson <[email protected]>
@richm
Copy link
Contributor Author

richm commented Aug 19, 2024

[citest]

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.73%. Comparing base (e6cab70) to head (5e23056).
Report is 2 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (e6cab70) and HEAD (5e23056). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (e6cab70) HEAD (5e23056)
sanity 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #476      +/-   ##
==========================================
- 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 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 richm merged commit 344e14b into linux-system-roles:main Aug 19, 2024
22 of 26 checks passed
@richm richm deleted the pvcreate-force branch August 19, 2024 21:50
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.

1 participant