Skip to content

Commit

Permalink
conformance-runtime: add step to debug test flake
Browse files Browse the repository at this point in the history
There was one occurrence where the "Runtime Test (agent)" failed. This
commit will hopefully help to determine to cause of this flakiness.

Signed-off-by: André Martins <andre@cilium.io>
  • Loading branch information
aanm committed Jun 1, 2023
1 parent 0f3b578 commit 5693d41
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/conformance-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,18 @@ jobs:
export GOTEST_FORMATTER="/root/go/bin/go-junit-report -set-exit-code -iocopy -out test/runtime.xml"
make tests-privileged NO_COLOR=1
- name: Debug failure on VM
# Only debug the failure on the LVH that have Cilium running as a service,
# which is 'agent' and 'datapath' focus.
if: ${{ !success() && (matrix.focus == 'agent' || matrix.focus == 'datapath') }}
timeout-minutes: 10
uses: cilium/little-vm-helper@0b7d7157dae56a44dc531c852e7756dc671071af # v0.0.3
with:
provision: 'false'
cmd: |
journalctl --no-pager -xeu cilium.service
systemctl status cilium.service
- name: Fetch artifacts
if: ${{ !success() && (matrix.focus == 'agent' || matrix.focus == 'datapath') }}
shell: bash
Expand Down

0 comments on commit 5693d41

Please sign in to comment.