Merge ~raharper/curtin:fix-missing-zfs-supported-mock into curtin:master
Proposed by
Ryan Harper
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | df25e6b718ee803b3fbe496d133a4a35198a7b6e |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~raharper/curtin:fix-missing-zfs-supported-mock |
Merge into: | curtin:master |
Diff against target: |
19 lines (+6/-1) 1 file modified
tests/unittests/test_block_zfs.py (+6/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+353364@code.launchpad.net |
Commit message
Don't allow reads of /proc and modprobe zfs through
New zfs_supported check reads /proc/filesystems to see if
zfs is already available and attempts to modprobe. These things
fail under launchpad sbuilds. Make sure to mock out the calls to
these functions and provide positive values for the failing unittest.
To post a comment you must log in.
PASSED: Continuous integration, rev:df25e6b718e e803b3fbe496d13 3a4a35198a7b6e /jenkins. ubuntu. com/server/ job/curtin- ci/1041/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 1041 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 1041 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 1041 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= torkoal/ 1041
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/1041/ rebuild
https:/