mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
test: debug deprecated bond test failures
When the test fails, gather additional information to help diagnose the failure. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
parent
008fe5cd3b
commit
5e384bbe8d
1 changed files with 11 additions and 0 deletions
|
|
@ -92,6 +92,17 @@
|
|||
retries: 20
|
||||
delay: 2
|
||||
changed_when: false
|
||||
rescue:
|
||||
- name: Gather failure information
|
||||
shell: |
|
||||
exec 1>&2
|
||||
set -xo pipefail
|
||||
ip -d -s link show
|
||||
ip -d -s a s
|
||||
journalctl -ex
|
||||
ps -ef | grep dnsmasq || :
|
||||
changed_when: false
|
||||
failed_when: true
|
||||
always:
|
||||
- name: Clean up the test devices and the connection profiles
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue