ci: dump journalctl + systemctl status on integration-linux failure
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -93,6 +93,17 @@ jobs:
|
||||
sudo ./target/release/numa uninstall
|
||||
sleep 1
|
||||
! curl -sf http://127.0.0.1:5380/health 2>/dev/null
|
||||
- name: diagnostics on failure
|
||||
if: failure()
|
||||
run: |
|
||||
echo "=== systemctl status numa ==="
|
||||
sudo systemctl status numa --no-pager -l || true
|
||||
echo "=== journalctl -u numa (last 200) ==="
|
||||
sudo journalctl -u numa --no-pager -n 200 || true
|
||||
echo "=== ss -tulnp on 53/80/443/853/5380 ==="
|
||||
sudo ss -tulnp 2>/dev/null | grep -E ':(53|80|443|853|5380)\b' || true
|
||||
echo "=== systemctl is-active systemd-resolved ==="
|
||||
systemctl is-active systemd-resolved || true
|
||||
- name: cleanup
|
||||
if: always()
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user