Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/kind_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,17 @@ jobs:
/usr/local/bin/urunc --version
'

- name: Configure urunc with debug logging
run: |
docker exec urunc-test-control-plane bash -c '
mkdir -p /etc/urunc
cat > /etc/urunc/config.toml <<EOF
[log]
level = "debug"
syslog = true
EOF
'

- name: Install QEMU inside kind node (amd64 only)
if: matrix.arch == 'amd64'
run: |
Expand Down Expand Up @@ -340,4 +351,6 @@ jobs:
echo "=== Logs ==="
kubectl logs hello-spt-rumprun-block || true
fi

echo "=== urunc debug logs ==="
docker exec urunc-test-control-plane journalctl --identifier=urunc --no-pager || true

17 changes: 16 additions & 1 deletion .github/workflows/vm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,16 @@ jobs:
sudo mv urunc_static_${{ matrix.arch }} /usr/local/bin/urunc
sudo mv containerd-shim-urunc-v2_static_${{ matrix.arch }} /usr/local/bin/containerd-shim-urunc-v2
urunc --version


- name: Configure urunc with debug logging
run: |
sudo mkdir -p /etc/urunc
sudo tee /etc/urunc/config.toml > /dev/null <<'EOF'
[log]
level = "debug"
syslog = true
EOF

- name: Add runner user to KVM group
if: ${{ matrix.arch == 'amd64' }}
id: kvm-setup
Expand Down Expand Up @@ -287,3 +296,9 @@ jobs:
else
sudo -E env "PATH=$PATH" "GOROOT=$GOROOT" make ${{ matrix.test }}
fi

- name: Dump urunc logs on failure
if: failure()
run: |
echo "=== urunc debug logs ==="
sudo journalctl --identifier=urunc --no-pager
Loading