From ef98f39b6d6d706ba449f744b76d8bb0a9b58764 Mon Sep 17 00:00:00 2001 From: Tobin Feldman-Fitzthum Date: Tue, 13 May 2025 09:23:40 -0500 Subject: [PATCH] tests: update error message for authenticated guest pull Some changes in guest components have obscured the error message that we show when we fail to get the credentials for an authenticated image. The new error message is a little bit misleading since it references decrypting an image. This will be udpated in a future release, but for now look for this message. Signed-off-by: Tobin Feldman-Fitzthum --- .../kubernetes/k8s-guest-pull-image-authenticated.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/kubernetes/k8s-guest-pull-image-authenticated.bats b/tests/integration/kubernetes/k8s-guest-pull-image-authenticated.bats index 1bb94ae5fb..27b71dbdb4 100644 --- a/tests/integration/kubernetes/k8s-guest-pull-image-authenticated.bats +++ b/tests/integration/kubernetes/k8s-guest-pull-image-authenticated.bats @@ -87,7 +87,7 @@ function setup_kbs_credentials() { echo "Pod ${kata_pod}: $(cat ${kata_pod})" assert_pod_fail "${kata_pod}" - assert_logs_contain "${node}" kata "${node_start_time}" "failed to pull manifest Not authorized" + assert_logs_contain "${node}" kata "${node_start_time}" "failed to pull image" } @test "Test that creating a container from an authenticated image, with no credentials fails" { @@ -100,7 +100,7 @@ function setup_kbs_credentials() { echo "Pod ${kata_pod}: $(cat ${kata_pod})" assert_pod_fail "${kata_pod}" - assert_logs_contain "${node}" kata "${node_start_time}" "failed to pull manifest Not authorized" + assert_logs_contain "${node}" kata "${node_start_time}" "failed to pull image" } teardown() {