Skip to content

Commit

Permalink
ci: print k3s logs on failure
Browse files Browse the repository at this point in the history
The `E2E Tests (test-executor, v1.28.13+k3s1, minimal, false)` test has
been flaky for awhile and keeps failing with the error
`ErrImageNeverPull: Container image "quay.io/argoproj/argocli:latest" is
not present with pull policy of Never.

This shouldn't be happening because k3s should be using cri-dockerd as
the container runtime and the "Load images" step handles loading that
image into Docker. There were changes to cri-dockerd recently
(Mirantis/cri-dockerd#373) that might be
related, but it's impossible to tell without the logs.

Signed-off-by: Mason Malone <[email protected]>
  • Loading branch information
MasonM committed Sep 25, 2024
1 parent 554fb0c commit a381108
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ jobs:
run: make ${{matrix.test}} E2E_SUITE_TIMEOUT=20m STATIC_FILES=false

# failure debugging below
- name: Failure debug - k3s logs
if: ${{ failure() }}
run: journalctl -u k3s
- name: Failure debug - describe MinIO/MySQL deployment
if: ${{ failure() }}
run: |
Expand Down

0 comments on commit a381108

Please sign in to comment.