From 70accb10860e83d72d4008910dd1378a8b33cdee Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 14 Jan 2022 11:50:27 +0900 Subject: [PATCH] Capture network information in integration/litmus jobs This change adds output of the following three commands so that we can check network setup. $ sudo ip -d address $ sudo brctl show $ sudo ovs-vsctl show Change-Id: Ic17dbf2eec527eb6a62ba9c21fab66dc98554989 --- copy_logs.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/copy_logs.sh b/copy_logs.sh index d6616c293..bfcec573d 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -241,6 +241,11 @@ free -m > $LOG_DIR/free.txt lsmod > $LOG_DIR/lsmod.txt cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt sudo ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt +sudo ip -d address > $LOG_DIR/ip_-d_address.txt +sudo brctl show > $LOG_DIR/brctl_show.txt +if [ `command -v ovs-vsctl` ]; then + sudo ovs-vsctl show > $LOG_DIR/ovs-vsctl_show.txt +fi sudo netstat -tulpn > $LOG_DIR/netstat.txt sudo systemctl status --all 2>/dev/null > $LOG_DIR/systemctl.txt