From 2feecd46bdbf6138b8c97123f35affb572e32a01 Mon Sep 17 00:00:00 2001 From: Tsubasa Nagasawa Date: Mon, 24 Feb 2025 11:14:14 +0900 Subject: [PATCH] [e2e/node] update base image from busybox to agnhost Since around 2024/11/27, a Node E2E test that repeatedly creates Pods and checks whether they terminate with the expected exit code has occasionally ended with exit code 2, making it flaky. There have been no changes in kubelet that would modify the exit code before 2024/11/27, so the cause is likely elsewhere. Rather than an issue with the container runtime, it is possible that the problem lies in the BusyBox base image. To narrow down the cause, we will replace the base image from BusyBox to Agnhost. Signed-off-by: Tsubasa Nagasawa --- test/e2e/node/pods.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/node/pods.go b/test/e2e/node/pods.go index e149d3172fb..64bca724eef 100644 --- a/test/e2e/node/pods.go +++ b/test/e2e/node/pods.go @@ -610,7 +610,7 @@ func (s podFastDeleteScenario) Pod(worker, attempt int) *v1.Pod { InitContainers: []v1.Container{ { Name: "fail", - Image: imageutils.GetE2EImage(imageutils.BusyBox), + Image: imageutils.GetE2EImage(imageutils.Agnhost), Command: []string{ "/bin/false", }, @@ -625,7 +625,7 @@ func (s podFastDeleteScenario) Pod(worker, attempt int) *v1.Pod { Containers: []v1.Container{ { Name: "blocked", - Image: imageutils.GetE2EImage(imageutils.BusyBox), + Image: imageutils.GetE2EImage(imageutils.Agnhost), Command: []string{ "/bin/true", }, @@ -654,7 +654,7 @@ func (s podFastDeleteScenario) Pod(worker, attempt int) *v1.Pod { Containers: []v1.Container{ { Name: "fail", - Image: imageutils.GetE2EImage(imageutils.BusyBox), + Image: imageutils.GetE2EImage(imageutils.Agnhost), Command: []string{ "/bin/false", },