Merge ~pwlars/plainbox-provider-checkbox:no-storage-device-test-crypto into plainbox-provider-checkbox:master
Status: | Merged |
---|---|
Approved by: | Paul Larson |
Approved revision: | b79b11d28205f2d92d099e223f60cf4be7a8257c |
Merged at revision: | 80fe2419f879820bb6737543c199891540fec80f |
Proposed branch: | ~pwlars/plainbox-provider-checkbox:no-storage-device-test-crypto |
Merge into: | plainbox-provider-checkbox:master |
Diff against target: |
19 lines (+3/-3) 1 file modified
bin/storage_test.py (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+430841@code.launchpad.net |
Description of the change
Small optimization to skip adding partitions if we couldn't detect the filesystem (those won't be considered anyway). But the main purpose here was to skip partitions that have the fs type "crypto_LUKS" since we can't use them for this test. I found this when running http://
Log:
Testing disk nvme0n1
identified as a disk...
test will be run on partition /dev/nvme0n1p5
+ mount /dev/nvme0n1p5 /tmp/tmpje0opw2v
mount: /tmp/tmpje0opw2v: unknown filesystem type 'crypto_LUKS'.
Traceback (most recent call last):
File "/tmp/nest-
main()
File "/tmp/nest-
disk_
File "/tmp/nest-
mount(
File "/tmp/nest-
sp.
File "/snap/
raise CalledProcessEr
subprocess.
Thanks for the fix, +1