File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,17 @@ jobs:
160160 /usr/local/bin/urunc --version
161161 '
162162
163+ - name : Configure urunc with debug logging
164+ run : |
165+ docker exec urunc-test-control-plane bash -c '
166+ mkdir -p /etc/urunc
167+ cat > /etc/urunc/config.toml <<EOF
168+ [log]
169+ level = "debug"
170+ syslog = true
171+ EOF
172+ '
173+
163174 - name : Install QEMU inside kind node (amd64 only)
164175 if : matrix.arch == 'amd64'
165176 run : |
@@ -340,4 +351,6 @@ jobs:
340351 echo "=== Logs ==="
341352 kubectl logs hello-spt-rumprun-block || true
342353 fi
343-
354+ echo "=== urunc debug logs ==="
355+ docker exec urunc-test-control-plane journalctl --identifier=urunc --no-pager || true
356+
Original file line number Diff line number Diff line change @@ -253,7 +253,16 @@ jobs:
253253 sudo mv urunc_static_${{ matrix.arch }} /usr/local/bin/urunc
254254 sudo mv containerd-shim-urunc-v2_static_${{ matrix.arch }} /usr/local/bin/containerd-shim-urunc-v2
255255 urunc --version
256-
256+
257+ - name : Configure urunc with debug logging
258+ run : |
259+ sudo mkdir -p /etc/urunc
260+ sudo tee /etc/urunc/config.toml > /dev/null <<'EOF'
261+ [log]
262+ level = "debug"
263+ syslog = true
264+ EOF
265+
257266 - name : Add runner user to KVM group
258267 if : ${{ matrix.arch == 'amd64' }}
259268 id : kvm-setup
@@ -287,3 +296,9 @@ jobs:
287296 else
288297 sudo -E env "PATH=$PATH" "GOROOT=$GOROOT" make ${{ matrix.test }}
289298 fi
299+
300+ - name : Dump urunc logs on failure
301+ if : failure()
302+ run : |
303+ echo "=== urunc debug logs ==="
304+ sudo journalctl --identifier=urunc --no-pager
You can’t perform that action at this time.
0 commit comments