mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 17:52:40 +00:00
tests/k8s: Skip measured rootfs test
The only kernel built for measured rootfs was the kernel-tdx-experimental,
so this test only ran in the qemu-tdx job runs the test.
In commit 6cbdba7
we switched all TEE configurations to use the same kernel-confidential,
so rootfs measured is disabled for qemu-tdx too now.
The VM still fails to boot (because of a different reason...) but the bug
in the assert_logs_contain, fixed in this PR was masking the checks on the logs.
We still have a few open issues related to measured rootfs and generating
the root hash, so let's skip this test that doesn't work until they are looked at
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
2cf94ae717
commit
b060fb5b31
@ -9,10 +9,12 @@ load "${BATS_TEST_DIRNAME}/lib.sh"
|
||||
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
||||
|
||||
check_and_skip() {
|
||||
# Currently the only kernel built with measured rootfs support is
|
||||
# the kernel-tdx-experimental.
|
||||
[ "${KATA_HYPERVISOR}" = "qemu-tdx" ] || \
|
||||
skip "measured rootfs tests not implemented for hypervisor: $KATA_HYPERVISOR"
|
||||
# Currently the kernel-confidential, isn't built withh measured rootfs support, so this test
|
||||
# should be skipped until it is
|
||||
# See https://github.com/kata-containers/kata-containers/issues/9612,
|
||||
# https://github.com/kata-containers/kata-containers/issues/7235
|
||||
# and https://github.com/kata-containers/kata-containers/issues/7415
|
||||
skip "measured rootfs tests not implemented for hypervisor: $KATA_HYPERVISOR"
|
||||
}
|
||||
|
||||
setup() {
|
||||
|
Loading…
Reference in New Issue
Block a user