mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 05:58:04 +00:00
tests: pull-image: Don't run on TEEs
Let's skip those tests on TEEs as we've been facing a reasonable amount of issues, most likely on the containerd side, related to pulling the image on the guest. Once we're able to fix the issues on containerd, we can get back and re-enable those by reverting this commit. The decision of disabling the tests for TEEs is because the machines may end up in a state where human intervention is necessary to get them back to a functional state, and that's really not optimal for our CI. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
c0bf9e9bc6
commit
142342012c
@ -9,7 +9,8 @@ load "${BATS_TEST_DIRNAME}/lib.sh"
|
|||||||
load "${BATS_TEST_DIRNAME}/confidential_common.sh"
|
load "${BATS_TEST_DIRNAME}/confidential_common.sh"
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
confidential_setup || skip "Test not supported for ${KATA_HYPERVISOR}."
|
confidential_setup && skip "Due to issues related to pull-image integration skip tests for ${KATA_HYPERVISOR}."
|
||||||
|
|
||||||
[ "${SNAPSHOTTER:-}" = "nydus" ] || skip "None snapshotter was found but this test requires one"
|
[ "${SNAPSHOTTER:-}" = "nydus" ] || skip "None snapshotter was found but this test requires one"
|
||||||
|
|
||||||
setup_common
|
setup_common
|
||||||
@ -19,6 +20,8 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "Test we can pull an unencrypted image outside the guest with runc and then inside the guest successfully" {
|
@test "Test we can pull an unencrypted image outside the guest with runc and then inside the guest successfully" {
|
||||||
|
confidential_setup && skip "Due to issues related to pull-image integration skip tests for ${KATA_HYPERVISOR}."
|
||||||
|
|
||||||
# 1. Create one runc pod with the $unencrypted_image_1 image
|
# 1. Create one runc pod with the $unencrypted_image_1 image
|
||||||
# We want to have one runc pod, so we pass a fake runtimeclass "runc" and then delete the runtimeClassName,
|
# We want to have one runc pod, so we pass a fake runtimeclass "runc" and then delete the runtimeClassName,
|
||||||
# because the runtimeclass is not optional in new_pod_config function.
|
# because the runtimeclass is not optional in new_pod_config function.
|
||||||
@ -213,7 +216,8 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
check_hypervisor_for_confidential_tests ${KATA_HYPERVISOR} || skip "Test not supported for ${KATA_HYPERVISOR}."
|
confidential_setup && skip "Due to issues related to pull-image integration skip tests for ${KATA_HYPERVISOR}."
|
||||||
|
|
||||||
[ "${SNAPSHOTTER:-}" = "nydus" ] || skip "None snapshotter was found but this test requires one"
|
[ "${SNAPSHOTTER:-}" = "nydus" ] || skip "None snapshotter was found but this test requires one"
|
||||||
|
|
||||||
kubectl describe pod "$pod_name"
|
kubectl describe pod "$pod_name"
|
||||||
|
Loading…
Reference in New Issue
Block a user