use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh absolute networking path is /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking /usr/bin/socat /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/tunnel/common /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/tunnel/gre/basic /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/tunnel/gre/basic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 01:08:32 ] :: [ BEGIN ] :: Running '/usr/bin/dnf install psmisc -y --skip-broken' Last metadata expiration check: 0:45:39 ago on Tue 27 Sep 2022 12:22:57 AM EDT. Package psmisc-23.4-4.fc37.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 01:08:38 ] :: [ PASS ] :: Command '/usr/bin/dnf install psmisc -y --skip-broken' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_nic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 01:08:46 ] :: [ BEGIN ] :: Running 'netns_crs_setup' setenforce: SELinux is disabled egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ============= Start setup_topo 1/1: nic ================ ------------- choose required NIC(s) ---------------- NAY='no' PVT='yes' NIC_DRIVER='veth' NIC_MODEL='any' NIC_SPEED='any' NIC_NUM='1' TOPO='nic' MTU_VAL='1500' picked NIC(s): egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E veth0_c $ ethtool -i veth0_c driver: veth version: 1.0 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no ----------- start setup nic, handle: veth0_c ----------- 52: veth0_c@if51: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether fa:7a:aa:33:06:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 0 ---------- finish setup nic, got iface: veth0_c -------- setenforce: SELinux is disabled egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ============= Start setup_topo 1/1: nic ================ ------------- choose required NIC(s) ---------------- NAY='no' PVT='yes' NIC_DRIVER='veth' NIC_MODEL='any' NIC_SPEED='any' NIC_NUM='1' TOPO='nic' MTU_VAL='1500' picked NIC(s): egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E veth0_s $ ethtool -i veth0_s driver: veth version: 1.0 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no ----------- start setup nic, handle: veth0_s ----------- 60: veth0_s@if59: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 3a:6a:3a:4b:4f:25 brd ff:ff:ff:ff:ff:ff link-netnsid 0 ---------- finish setup nic, got iface: veth0_s -------- /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 PING 10.10.1.1 (10.10.1.1) 56(84) bytes of data. 64 bytes from 10.10.1.1: icmp_seq=1 ttl=63 time=2.07 ms 64 bytes from 10.10.1.1: icmp_seq=2 ttl=63 time=1.45 ms --- 10.10.1.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 1.446/1.759/2.073/0.313 ms PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=63 time=1017 ms 64 bytes from 2001::1: icmp_seq=2 ttl=63 time=2.11 ms --- 2001::1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1016ms rtt min/avg/max/mdev = 2.106/509.778/1017.451/507.672 ms, pipe 2 :: [ 01:18:22 ] :: [ PASS ] :: Command 'netns_crs_setup' (Expected 0, got 0) :: [ 01:18:23 ] :: [ BEGIN ] :: Running 'ip netns exec client ip tunnel add gre1 mode gre local 10.10.0.1 remote 10.10.1.1 ttl 64' :: [ 01:18:23 ] :: [ PASS ] :: Command 'ip netns exec client ip tunnel add gre1 mode gre local 10.10.0.1 remote 10.10.1.1 ttl 64' (Expected 0, got 0) :: [ 01:18:24 ] :: [ BEGIN ] :: Running 'ip netns exec client ip tunnel add gre1 mode gre local 10.10.0.1 remote 10.10.1.1 ttl 64' add tunnel "gre0" failed: File exists :: [ 01:18:24 ] :: [ PASS ] :: Command 'ip netns exec client ip tunnel add gre1 mode gre local 10.10.0.1 remote 10.10.1.1 ttl 64' (Expected 0-255, got 1) :: [ 01:18:25 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 10.10.1.1 ttl 128' :: [ 01:18:25 ] :: [ PASS ] :: Command 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 10.10.1.1 ttl 128' (Expected 0, got 0) :: [ 01:18:26 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 10.10.1.1 ttl 64' :: [ 01:18:26 ] :: [ PASS ] :: Command 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 10.10.1.1 ttl 64' (Expected 0, got 0) :: [ 01:18:26 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link set gre1 up' :: [ 01:18:27 ] :: [ PASS ] :: Command 'ip netns exec client ip link set gre1 up' (Expected 0, got 0) :: [ 01:18:27 ] :: [ BEGIN ] :: Running 'ip netns exec client ip addr add 192.168.6.2/24 dev gre1' :: [ 01:18:28 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev gre1' (Expected 0, got 0) :: [ 01:18:28 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev gre1' :: [ 01:18:28 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:18:29 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route add 192.168.7.0/24 dev gre1' :: [ 01:18:29 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev gre1' (Expected 0, got 0) :: [ 01:18:30 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev gre1' :: [ 01:18:30 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:18:31 ] :: [ BEGIN ] :: Running 'ip netns exec server ip tunnel add gre1 mode gre local 10.10.1.1 remote 10.10.0.1 ttl 64' :: [ 01:18:31 ] :: [ PASS ] :: Command 'ip netns exec server ip tunnel add gre1 mode gre local 10.10.1.1 remote 10.10.0.1 ttl 64' (Expected 0, got 0) :: [ 01:18:31 ] :: [ BEGIN ] :: Running 'ip netns exec server ip link set gre1 up' :: [ 01:18:32 ] :: [ PASS ] :: Command 'ip netns exec server ip link set gre1 up' (Expected 0, got 0) :: [ 01:18:32 ] :: [ BEGIN ] :: Running 'ip netns exec server ip addr add 192.168.7.2/24 dev gre1' :: [ 01:18:33 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev gre1' (Expected 0, got 0) :: [ 01:18:33 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev gre1' :: [ 01:18:33 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:18:34 ] :: [ BEGIN ] :: Running 'ip netns exec server ip route add 192.168.6.0/24 dev gre1' :: [ 01:18:34 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev gre1' (Expected 0, got 0) :: [ 01:18:35 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev gre1' :: [ 01:18:35 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:18:36 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 01:18:41 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:18:42 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.7.2 -c 5' PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data. 64 bytes from 192.168.7.2: icmp_seq=1 ttl=64 time=1.58 ms 64 bytes from 192.168.7.2: icmp_seq=2 ttl=64 time=2.22 ms 64 bytes from 192.168.7.2: icmp_seq=3 ttl=64 time=21.5 ms 64 bytes from 192.168.7.2: icmp_seq=4 ttl=64 time=2.16 ms 64 bytes from 192.168.7.2: icmp_seq=5 ttl=64 time=1.91 ms --- 192.168.7.2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4008ms rtt min/avg/max/mdev = 1.580/5.875/21.506/7.818 ms :: [ 01:18:46 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 01:18:46 ] :: [ BEGIN ] :: Running 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' PING 7001:db8:ac10:fe01::2(7001:db8:ac10:fe01::2) 56 data bytes 64 bytes from 7001:db8:ac10:fe01::2: icmp_seq=1 ttl=64 time=1.07 ms 64 bytes from 7001:db8:ac10:fe01::2: icmp_seq=2 ttl=64 time=2.01 ms 64 bytes from 7001:db8:ac10:fe01::2: icmp_seq=3 ttl=64 time=2.13 ms 64 bytes from 7001:db8:ac10:fe01::2: icmp_seq=4 ttl=64 time=2.00 ms 64 bytes from 7001:db8:ac10:fe01::2: icmp_seq=5 ttl=64 time=1.93 ms --- 7001:db8:ac10:fe01::2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4008ms rtt min/avg/max/mdev = 1.074/1.830/2.133/0.383 ms :: [ 01:18:51 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 01:18:52 ] :: [ BEGIN ] :: Running 'killall -9 socat' socat: no process found :: [ 01:18:52 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 1) :: [ 01:18:53 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -k -n tcp 51110 ' :: [ 01:18:53 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51110 ' (Expected 0-255, got 1) :: [ 01:18:54 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -6 -k -n tcp 51110 ' :: [ 01:18:55 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51110 ' (Expected 0-255, got 1) :: [ 01:18:55 ] :: [ BEGIN ] :: Running 'ip netns exec server socat tcp4-listen:51110,fork - > server4.log &' :: [ 01:18:55 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp4-listen:51110,fork - > server4.log &' (Expected 0, got 0) :: [ 01:18:56 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 01:19:01 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:19:02 ] :: [ BEGIN ] :: Running 'ip netns exec client nc -4 192.168.7.2 51110 <<< h' :: [ 01:19:02 ] :: [ PASS ] :: Command 'ip netns exec client nc -4 192.168.7.2 51110 <<< h' (Expected 0, got 0) :: [ 01:19:03 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 01:19:08 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:19:09 ] :: [ PASS ] :: File 'server4.log' should contain 'h' :: [ 01:19:09 ] :: [ BEGIN ] :: Running 'killall -9 socat' /usr/share/beakerlib/logging.sh: line 293: 349713 Killed ip netns exec server socat tcp4-listen:51110,fork - > server4.log :: [ 01:19:10 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 0) :: [ 01:19:11 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -k -n tcp 51111' :: [ 01:19:11 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51111' (Expected 0-255, got 1) :: [ 01:19:12 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -6 -k -n tcp 51111' :: [ 01:19:12 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51111' (Expected 0-255, got 1) :: [ 01:19:13 ] :: [ BEGIN ] :: Running 'ip netns exec server socat tcp6-listen:51111,fork - > server6.log &' :: [ 01:19:13 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp6-listen:51111,fork - > server6.log &' (Expected 0, got 0) :: [ 01:19:14 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 01:19:19 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:19:20 ] :: [ BEGIN ] :: Running 'ip netns exec client nc -6 7001:db8:ac10:fe01::2 51111 <<< h' :: [ 01:19:20 ] :: [ PASS ] :: Command 'ip netns exec client nc -6 7001:db8:ac10:fe01::2 51111 <<< h' (Expected 0, got 0) :: [ 01:19:20 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 01:19:26 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:19:26 ] :: [ PASS ] :: File 'server6.log' should contain 'h' :: [ 01:19:27 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -d -s link sh gre1' 10: gre1@NONE: mtu 1476 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/gre 10.10.0.1 peer 10.10.1.1 promiscuity 0 minmtu 68 maxmtu 65511 gre remote 10.10.1.1 local 10.10.0.1 ttl 64 erspan_ver 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 gro_max_size 65536 RX: bytes packets errors dropped missed mcast 1328 16 0 0 0 0 TX: bytes packets errors dropped carrier collsns 1580 20 0 0 0 0 :: [ 01:19:27 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:19:27 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -d -s tunnel show gre1' gre1: gre/ip remote 10.10.1.1 local 10.10.0.1 ttl 64 :: [ 01:19:28 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:19:28 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -d -s tunnel show gre1' gre1: gre/ip remote 10.10.0.1 local 10.10.1.1 ttl 64 :: [ 01:19:29 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:19:29 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -d -s link sh gre1' 10: gre1@NONE: mtu 1476 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/gre 10.10.1.1 peer 10.10.0.1 promiscuity 0 minmtu 68 maxmtu 65511 gre remote 10.10.0.1 local 10.10.1.1 ttl 64 erspan_ver 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 gro_max_size 65536 RX: bytes packets errors dropped missed mcast 1580 20 0 0 0 0 TX: bytes packets errors dropped carrier collsns 1328 16 0 0 0 0 :: [ 01:19:29 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:19:30 ] :: [ BEGIN ] :: Running 'ip netns exec client ip tunnel del gre1' :: [ 01:19:30 ] :: [ PASS ] :: Command 'ip netns exec client ip tunnel del gre1' (Expected 0, got 0) :: [ 01:19:31 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link del gre1' Cannot find device "gre1" :: [ 01:19:32 ] :: [ PASS ] :: Command 'ip netns exec client ip link del gre1' (Expected 0-255, got 1) :: [ 01:19:32 ] :: [ BEGIN ] :: Running 'ip netns exec server ip link del gre1' :: [ 01:19:32 ] :: [ PASS ] :: Command 'ip netns exec server ip link del gre1' (Expected 0, got 0) :: [ 01:19:33 ] :: [ BEGIN ] :: Running 'ip netns exec server ip tunnel del gre1' delete tunnel "gre1" failed: No such device :: [ 01:19:34 ] :: [ PASS ] :: Command 'ip netns exec server ip tunnel del gre1' (Expected 0-255, got 1) :: [ 01:19:34 ] :: [ BEGIN ] :: Running 'netns_crs_cleanup' Cannot find device "br_c" Cannot find device "br_s" Cannot find device "veth0_c" Cannot find device "veth0_c_br" Cannot find device "veth1_c" Cannot find device "veth1_c_br" Cannot find device "veth0_cr" Cannot find device "veth0_cr_br" Cannot find device "veth0_s" Cannot find device "veth0_s_br" Cannot find device "veth1_s" Cannot find device "veth1_s_br" Cannot find device "veth0_sr" Cannot find device "veth0_sr_br" Cannot find device "br0" :: [ 01:19:39 ] :: [ PASS ] :: Command 'netns_crs_cleanup' (Expected 0, got 0) :: [ 01:19:39 ] :: [ LOG ] :: remote as multicast :: [ 01:19:40 ] :: [ BEGIN ] :: Running 'netns_cs_setup' setenforce: SELinux is disabled egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ============= Start setup_topo 1/1: nic ================ ------------- choose required NIC(s) ---------------- NAY='no' PVT='yes' NIC_DRIVER='veth' NIC_MODEL='any' NIC_SPEED='any' NIC_NUM='1' TOPO='nic' MTU_VAL='1500' picked NIC(s): egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E veth0_c $ ethtool -i veth0_c driver: veth version: 1.0 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no ----------- start setup nic, handle: veth0_c ----------- 65: veth0_c@if64: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether fa:7a:aa:33:06:c2 brd ff:ff:ff:ff:ff:ff link-netnsid 0 ---------- finish setup nic, got iface: veth0_c -------- setenforce: SELinux is disabled egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ============= Start setup_topo 1/1: nic ================ ------------- choose required NIC(s) ---------------- NAY='no' PVT='yes' NIC_DRIVER='veth' NIC_MODEL='any' NIC_SPEED='any' NIC_NUM='1' TOPO='nic' MTU_VAL='1500' picked NIC(s): egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E RTNETLINK answers: Cannot assign requested address egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E veth0_s $ ethtool -i veth0_s driver: veth version: 1.0 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no ----------- start setup nic, handle: veth0_s ----------- 69: veth0_s@if68: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 02:a2:87:16:6b:49 brd ff:ff:ff:ff:ff:ff link-netnsid 0 ---------- finish setup nic, got iface: veth0_s -------- PING 10.10.0.2 (10.10.0.2) 56(84) bytes of data. 64 bytes from 10.10.0.2: icmp_seq=1 ttl=64 time=1.17 ms 64 bytes from 10.10.0.2: icmp_seq=2 ttl=64 time=1.23 ms --- 10.10.0.2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 1.171/1.198/1.225/0.027 ms PING 2000::2(2000::2) 56 data bytes 64 bytes from 2000::2: icmp_seq=1 ttl=64 time=1056 ms 64 bytes from 2000::2: icmp_seq=2 ttl=64 time=3.47 ms --- 2000::2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1053ms rtt min/avg/max/mdev = 3.474/529.727/1055.980/526.253 ms, pipe 2 :: [ 01:29:14 ] :: [ PASS ] :: Command 'netns_cs_setup' (Expected 0, got 0) :: [ 01:29:14 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 64' :: [ 01:29:15 ] :: [ PASS ] :: Command 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 64' (Expected 0, got 0) :: [ 01:29:16 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 64' RTNETLINK answers: File exists :: [ 01:29:16 ] :: [ PASS ] :: Command 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 64' (Expected 0-255, got 2) :: [ 01:29:16 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 128' :: [ 01:29:17 ] :: [ PASS ] :: Command 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 128' (Expected 0, got 0) :: [ 01:29:17 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 64' :: [ 01:29:17 ] :: [ PASS ] :: Command 'ip netns exec client ip link change gre1 type gre local 10.10.0.1 remote 239.1.1.1 ttl 64' (Expected 0, got 0) :: [ 01:29:18 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link set gre1 up' :: [ 01:29:18 ] :: [ PASS ] :: Command 'ip netns exec client ip link set gre1 up' (Expected 0, got 0) :: [ 01:29:19 ] :: [ BEGIN ] :: Running 'ip netns exec client ip addr add 192.168.6.2/24 dev gre1' :: [ 01:29:19 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev gre1' (Expected 0, got 0) :: [ 01:29:20 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev gre1' :: [ 01:29:20 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:29:21 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route add 192.168.7.0/24 dev gre1' :: [ 01:29:21 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev gre1' (Expected 0, got 0) :: [ 01:29:21 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev gre1' :: [ 01:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:29:22 ] :: [ BEGIN ] :: Running 'ip netns exec server ip link add gre1 type gre local 10.10.0.2 remote 239.1.1.1 ttl 64' :: [ 01:29:23 ] :: [ PASS ] :: Command 'ip netns exec server ip link add gre1 type gre local 10.10.0.2 remote 239.1.1.1 ttl 64' (Expected 0, got 0) :: [ 01:29:23 ] :: [ BEGIN ] :: Running 'ip netns exec server ip link set gre1 up' :: [ 01:29:23 ] :: [ PASS ] :: Command 'ip netns exec server ip link set gre1 up' (Expected 0, got 0) :: [ 01:29:24 ] :: [ BEGIN ] :: Running 'ip netns exec server ip addr add 192.168.7.2/24 dev gre1' :: [ 01:29:24 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev gre1' (Expected 0, got 0) :: [ 01:29:25 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev gre1' :: [ 01:29:25 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:29:26 ] :: [ BEGIN ] :: Running 'ip netns exec server ip route add 192.168.6.0/24 dev gre1' :: [ 01:29:26 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev gre1' (Expected 0, got 0) :: [ 01:29:26 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev gre1' :: [ 01:29:27 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:29:27 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 01:29:33 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:29:33 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.7.2 -c 5' PING 192.168.7.2 (192.168.7.2) 56(84) bytes of data. 64 bytes from 192.168.7.2: icmp_seq=1 ttl=64 time=1.10 ms 64 bytes from 192.168.7.2: icmp_seq=2 ttl=64 time=2.96 ms 64 bytes from 192.168.7.2: icmp_seq=3 ttl=64 time=2.71 ms 64 bytes from 192.168.7.2: icmp_seq=4 ttl=64 time=2.82 ms 64 bytes from 192.168.7.2: icmp_seq=5 ttl=64 time=3.20 ms --- 192.168.7.2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 1.100/2.557/3.196/0.746 ms :: [ 01:29:37 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 01:29:38 ] :: [ BEGIN ] :: Running 'killall -9 socat' /usr/share/beakerlib/logging.sh: line 293: 349942 Killed ip netns exec server socat tcp6-listen:51111,fork - > server6.log :: [ 01:29:39 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 0) :: [ 01:29:40 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -k -n tcp 51112' :: [ 01:29:40 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51112' (Expected 0-255, got 1) :: [ 01:29:41 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -6 -k -n tcp 51112' :: [ 01:29:41 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51112' (Expected 0-255, got 1) :: [ 01:29:42 ] :: [ BEGIN ] :: Running 'ip netns exec server socat tcp4-listen:51112,fork - > server4.log &' :: [ 01:29:42 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp4-listen:51112,fork - > server4.log &' (Expected 0, got 0) :: [ 01:29:43 ] :: [ BEGIN ] :: Running 'sleep 1' :: [ 01:29:44 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:29:44 ] :: [ BEGIN ] :: Running 'ip netns exec client nc -4 192.168.7.2 51112 <<< h' :: [ 01:29:45 ] :: [ PASS ] :: Command 'ip netns exec client nc -4 192.168.7.2 51112 <<< h' (Expected 0, got 0) :: [ 01:29:45 ] :: [ BEGIN ] :: Running 'sleep 1' :: [ 01:29:47 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:29:47 ] :: [ PASS ] :: File 'server4.log' should contain 'h' :: [ 01:29:48 ] :: [ BEGIN ] :: Running 'killall -9 socat' /usr/share/beakerlib/logging.sh: line 293: 352066 Killed ip netns exec server socat tcp4-listen:51112,fork - > server4.log :: [ 01:29:48 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 0) :: [ 01:29:49 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -k -n tcp 51113' :: [ 01:29:50 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51113' (Expected 0-255, got 1) :: [ 01:29:51 ] :: [ BEGIN ] :: Running 'ip netns exec server fuser -6 -k -n tcp 51113' :: [ 01:29:51 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51113' (Expected 0-255, got 1) :: [ 01:29:52 ] :: [ BEGIN ] :: Running 'ip netns exec server socat tcp6-listen:51113,fork - > server6.log &' :: [ 01:29:52 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp6-listen:51113,fork - > server6.log &' (Expected 0, got 0) :: [ 01:29:52 ] :: [ BEGIN ] :: Running 'sleep 1' :: [ 01:29:54 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:29:54 ] :: [ BEGIN ] :: Running 'ip netns exec client nc -6 7001:db8:ac10:fe01::2 51113 <<< h' :: [ 01:29:54 ] :: [ PASS ] :: Command 'ip netns exec client nc -6 7001:db8:ac10:fe01::2 51113 <<< h' (Expected 0, got 0) :: [ 01:29:55 ] :: [ BEGIN ] :: Running 'sleep 1' :: [ 01:29:56 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:29:57 ] :: [ PASS ] :: File 'server6.log' should contain 'h' :: [ 01:29:57 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -d -s tunnel show gre1' gre1: gre/ip remote 239.1.1.1 local 10.10.0.1 ttl 64 key 4009820417 :: [ 01:29:58 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:29:58 ] :: [ BEGIN ] :: Running 'ip netns exec client ip -d -s link sh gre1' 10: gre1@NONE: mtu 1472 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/gre 10.10.0.1 peer 239.1.1.1 promiscuity 0 minmtu 0 maxmtu 0 gre remote 239.1.1.1 local 10.10.0.1 ttl 64 ikey 239.1.1.1 okey 239.1.1.1 erspan_ver 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 gro_max_size 65536 RX: bytes packets errors dropped missed mcast 1032 14 0 0 0 14 TX: bytes packets errors dropped carrier collsns 1284 18 0 0 0 0 :: [ 01:29:58 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:29:59 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -d -s link sh gre1' 10: gre1@NONE: mtu 1472 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/gre 10.10.0.2 peer 239.1.1.1 promiscuity 0 minmtu 0 maxmtu 0 gre remote 239.1.1.1 local 10.10.0.2 ttl 64 ikey 239.1.1.1 okey 239.1.1.1 erspan_ver 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 gro_max_size 65536 RX: bytes packets errors dropped missed mcast 1060 15 0 0 0 15 TX: bytes packets errors dropped carrier collsns 1032 14 0 0 0 0 :: [ 01:29:59 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:30:00 ] :: [ BEGIN ] :: Running 'ip netns exec server ip -d -s tunnel show gre1' gre1: gre/ip remote 239.1.1.1 local 10.10.0.2 ttl 64 key 4009820417 :: [ 01:30:00 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:30:01 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link del gre1' :: [ 01:30:01 ] :: [ PASS ] :: Command 'ip netns exec client ip link del gre1' (Expected 0, got 0) :: [ 01:30:02 ] :: [ BEGIN ] :: Running 'ip netns exec client ip tunnel del gre1' delete tunnel "gre1" failed: No such device :: [ 01:30:02 ] :: [ PASS ] :: Command 'ip netns exec client ip tunnel del gre1' (Expected 0-255, got 1) :: [ 01:30:03 ] :: [ BEGIN ] :: Running 'ip netns exec server ip tunnel del gre1' :: [ 01:30:03 ] :: [ PASS ] :: Command 'ip netns exec server ip tunnel del gre1' (Expected 0, got 0) :: [ 01:30:04 ] :: [ BEGIN ] :: Running 'ip netns exec server ip link del gre1' Cannot find device "gre1" :: [ 01:30:05 ] :: [ PASS ] :: Command 'ip netns exec server ip link del gre1' (Expected 0-255, got 1) :: [ 01:30:05 ] :: [ LOG ] :: gre without remote :: [ 01:30:05 ] :: [ BEGIN ] :: Running 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 ttl 64' :: [ 01:30:06 ] :: [ PASS ] :: Command 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 ttl 64' (Expected 0, got 0) :: [ 01:30:06 ] :: [ BEGIN ] :: Running 'netns_cs_cleanup' Cannot find device "br_c" Cannot find device "br_s" Cannot find device "veth0_c" Cannot find device "veth0_c_br" Cannot find device "veth1_c" Cannot find device "veth1_c_br" Cannot find device "veth0_cr" Cannot find device "veth0_cr_br" Cannot find device "veth0_s" Cannot find device "veth0_s_br" Cannot find device "veth1_s" Cannot find device "veth1_s_br" Cannot find device "veth0_sr" Cannot find device "veth0_sr_br" Cannot find device "br0" :: [ 01:30:10 ] :: [ PASS ] :: Command 'netns_cs_cleanup' (Expected 0, got 0) :: [ 01:30:11 ] :: [ BEGIN ] :: Running 'modprobe -r vport_gre' :: [ 01:30:11 ] :: [ PASS ] :: Command 'modprobe -r vport_gre' (Expected 0-255, got 0) :: [ 01:30:12 ] :: [ BEGIN ] :: Running 'modprobe -r ip_gre' modprobe: FATAL: Module ip_gre is builtin. :: [ 01:30:13 ] :: [ PASS ] :: Command 'modprobe -r ip_gre' (Expected 0-255, got 1) :: [ 01:30:14 ] :: [ BEGIN ] :: Running 'jobs -p | xargs kill -9' /usr/share/beakerlib/logging.sh: line 293: 352291 Killed ip netns exec server socat tcp6-listen:51113,fork - > server6.log :: [ 01:30:14 ] :: [ PASS ] :: Command 'jobs -p | xargs kill -9' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1289s :: Assertions: 91 good, 0 bad :: RESULT: PASS (basic_nic) ** basic-nic PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 0 good, 0 bad :: RESULT: PASS (Test) ** Test PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 0 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/tunnel/gre/basic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 01:30:37 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 01:30:37 ] :: [ LOG ] :: Asserts fingerprint: BfcJZvFN Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1329s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (networking/tunnel/gre/basic)