Merge ~raharper/curtin:fix/vmtest-bcache-missing-environ-vars into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | 6752bbd85dc757013a3c82c9f24f41276df9b967 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix/vmtest-bcache-missing-environ-vars |
Merge into: | curtin:master |
Diff against target: |
17 lines (+4/-3) 1 file modified
examples/tests/bcache-wipe-xfs.yaml (+4/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Dan Watkins (community) | Approve | ||
Paride Legovini | Approve | ||
Review via email: mp+376911@code.launchpad.net |
Commit message
vmtest: Fix a missing unset of OUTPUT_FSTAB
The initramfs-only-one branch modified how we use "dirty-disk" mode
which previously had unset environment variables used by curtin,
OUTPUT_FSTAB; this had some undesirable side-effects and instead
we set OUTPUT_FSTAB to a tmpdir and block-meta will now verify
expected environment variables. We missed a variant of the "dirty-disk"
mode used to recreate a specific bcache bug and now we see stack traces
warning about unset OUTPUT_FSTAB in vmtest output:
raise KeyError("missing environment vars: %s" % missing)
This branch applies the same fix to this scenario.
To post a comment you must log in.
Looks good, thanks!