From 268da67661d0631ec4a730f96ee614b6e1f2f0e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9na=C3=AFc=20Huard?= Date: Wed, 6 Apr 2022 18:52:39 +0200 Subject: [PATCH] Fix E2E tests `failed to create containerd task` (#11577) Fix ``` StartError (exit code 128): failed to create containerd task: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "sh": executable file not found in $PATH: unknown ``` caused by the removal of the `busybox` shell from the `argoproj/argoexec` image. --- .../templates/datadog-agent.yaml | 30 +++++++++---------- .../templates/fake-datadog.yaml | 2 +- test/e2e/argo-workflows/templates/nginx.yaml | 6 ++-- .../argo-workflows/templates/otlp-test.yaml | 2 +- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/test/e2e/argo-workflows/templates/datadog-agent.yaml b/test/e2e/argo-workflows/templates/datadog-agent.yaml index 379d171c4d9135..6da73b5256c58b 100644 --- a/test/e2e/argo-workflows/templates/datadog-agent.yaml +++ b/test/e2e/argo-workflows/templates/datadog-agent.yaml @@ -144,7 +144,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -170,7 +170,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -191,7 +191,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -437,7 +437,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -453,7 +453,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -469,7 +469,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -485,7 +485,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -501,7 +501,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -517,7 +517,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -533,7 +533,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -549,7 +549,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -565,7 +565,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -581,7 +581,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -597,7 +597,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -613,7 +613,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail diff --git a/test/e2e/argo-workflows/templates/fake-datadog.yaml b/test/e2e/argo-workflows/templates/fake-datadog.yaml index 486138a23d6028..c0c091754b2fc4 100644 --- a/test/e2e/argo-workflows/templates/fake-datadog.yaml +++ b/test/e2e/argo-workflows/templates/fake-datadog.yaml @@ -131,7 +131,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail diff --git a/test/e2e/argo-workflows/templates/nginx.yaml b/test/e2e/argo-workflows/templates/nginx.yaml index 88a22592b1aba2..292e4c3e107ca1 100644 --- a/test/e2e/argo-workflows/templates/nginx.yaml +++ b/test/e2e/argo-workflows/templates/nginx.yaml @@ -297,7 +297,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -314,7 +314,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail @@ -396,7 +396,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail diff --git a/test/e2e/argo-workflows/templates/otlp-test.yaml b/test/e2e/argo-workflows/templates/otlp-test.yaml index 7273dae019be2f..0aca5a5d7bf232 100644 --- a/test/e2e/argo-workflows/templates/otlp-test.yaml +++ b/test/e2e/argo-workflows/templates/otlp-test.yaml @@ -219,7 +219,7 @@ spec: - name: namespace activeDeadlineSeconds: 300 script: - image: argoproj/argoexec:latest + image: argoproj/argoexec:v3.3.1 command: [sh] source: | set -euo pipefail