Clark Boylan ad8ebb927b Update cleanups for base and base-minimal
This is the followup to the parent change that makes the same cleanup
modifications to base and base-minimal jobs. The justification is the
same: fix a deprecation warning and improve logging and reliability of
the cleanup run. We have split things up to enable testing to ensure we
don't accidentally break the world due to changing the base job.

Change-Id: I6589c185f6071932c6955223ffcbed8d3490fed6
2024-08-02 09:03:55 -07:00

24 lines
575 B
YAML

- hosts: all
roles:
- fetch-output
- merge-output-to-logs
tasks:
- name: Gather debug info on job fail
when: not (zuul_success | bool)
block:
- name: get df disk usage
raw: timeout -k 5 90 df
failed_when: false
- name: get df inode usage
raw: timeout -k 5 90 df -i
failed_when: false
- name: get l2 networking
raw: timeout -k 5 90 ip link
failed_when: false
- name: get l3 networking
raw: timeout -k 5 90 ip addr
failed_when: false