~dbungert/curtin:integration-run-bm-debug

Last commit made on 2024-02-28
Get this branch:
git clone -b integration-run-bm-debug https://git.launchpad.net/~dbungert/curtin
Only Dan Bungert can upload to this branch. If you are Dan Bungert please log in for upload directions.

Branch merges

Branch information

Name:
integration-run-bm-debug
Repository:
lp:~dbungert/curtin

Recent commits

942bb97... by Dan Bungert

integration: add run_bm(..., debug=True) helper

The debug argument for run_bm allows for running curtin outside of the
integration test itself, but with all the setup being done for you by
the integration test. This means that custom tweaks can be done to the
curtin code before running, setting breakpoints, etc.

e01fe40... by Dan Bungert

dm_crypt: tests related to keyfile removal

5999a74... by Dan Bungert

dm_crypt: clearer name for keyfile removal

1a3efd1... by Dan Bungert

dm_crypt: create and use cryptoswap as PLAIN

Previously, cryptoswap was acting strangely, in that at install time it
was considered to be a LUKS2 device and durign actual system use it
would be considered a PLAIN device, in the cryptsetup(8) meanings of
these terms.

This caused problems when attempting to reference the device, as we
would do get_volume_spec(), the returned /dev/disk/by-id/dm-uuid-...
value would be wrong - it would change from dm-uuid-CRYPT-LUKS2-... to
dm-uuid-CRYPT-PLAIN-...

As the real runtime behavior is to be a PLAIN device for cryptoswap,
stop creating it as a LUKS2 device and just use it as a PLAIN device,
which doesn't involve a "create" step at all, you just open it as PLAIN
directly.

9274f95... by Dan Bungert

dm_crypt: split create and open operations

fc39d74... by Dan Bungert

block_meta: improve get_volume_uuid

blkid can return 3 different types of UUIDs, and they aren't
interchangable. Clarify which one we're using.

Also, leverage the existing blkid() wrapper to do so.

a85f7d6... by Alexsander de Souza

raise exception on bcache validation errors

returning the exception is probably a typo

cbe2186... by Skia

pycodestyle: make use of isinstance() instead of type()

Should fix curtin-style-tip job.

c3f04cb... by Skia

Disable a flaky test to reach forever green CI.

237053d... by Olivier Gayot

Merge branch 'nvme-o-tcp-storageconfig'

https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/458446