Skip to content

Commit

Permalink
Fix E2E tests failed to create containerd task (#11577)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
L3n41c authored Apr 6, 2022
1 parent 2fb5e82 commit 268da67
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
30 changes: 15 additions & 15 deletions test/e2e/argo-workflows/templates/datadog-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/argo-workflows/templates/fake-datadog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/argo-workflows/templates/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/argo-workflows/templates/otlp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 268da67

Please sign in to comment.