mirror of
https://github.com/systemd/systemd.git
synced 2026-08-13 06:32:22 +00:00
The test leaves a lot of state around, and when the test is re-run, for example due to the qemu bug that makes a VM reboot instead of shutting down, it fails. Do more cleanups in the traps. [ 162.642175] TEST-70-TPM2.sh[2815]: Calculated public key name: 000b2b66edc3a466e81059286aaf38d09ea42a7a9dcdf6ba3b664c62f0cae4ce4f66 [ 162.642628] TEST-70-TPM2.sh[2815]: PolicyAuthorize calculated digest: 2caa740101f65734d50395d6abc64fa46015d40d1f5de239434578544e592a92 [ 162.643681] TEST-70-TPM2.sh[2815]: Calculated NV index name: 000b439cfa1534815bbe8d33b80c56f5a8d17d36fe94a7782b23a37b50def5fc5eaa [ 162.645111] TEST-70-TPM2.sh[2815]: PolicyAuthorizeNV calculated digest: 69ee0e89fafe6b9df2cd6a5defbf74aa46cf6d92703e645d463549da4ba5e1a4 [ 162.645407] TEST-70-TPM2.sh[2815]: Combined signed PCR policies and pcrlock policies cannot be calculated offline, currently. [ 162.649576] TEST-70-TPM2.sh[2815]: Releasing crypt device /dev/loop0 context. [ 162.652433] TEST-70-TPM2.sh[2815]: Releasing device-mapper backend. [ 162.653518] TEST-70-TPM2.sh[2815]: Closing read only fd for /dev/loop0. [ 162.654359] TEST-70-TPM2.sh[2815]: Closing read write fd for /dev/loop0. [ 162.654786] TEST-70-TPM2.sh[2815]: Failed to encrypt device: Operation not supported Fixes https://github.com/systemd/systemd/issues/38241 (cherry picked from commit2fc008b9e4) (cherry picked from commitd258851ffe)