:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_nic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 01:40:48 ] :: [ PASS ] :: Command 'netns_crs_setup' (Expected 0, got 0) :: [ 01:40:49 ] :: [ 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:40:50 ] :: [ 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:40:50 ] :: [ 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:40:51 ] :: [ 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:40:52 ] :: [ PASS ] :: Command 'ip netns exec client ip link set gre1 up' (Expected 0, got 0) :: [ 01:40:53 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev gre1' (Expected 0, got 0) :: [ 01:40:54 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:40:54 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev gre1' (Expected 0, got 0) :: [ 01:40:55 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:40:56 ] :: [ 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:40:57 ] :: [ PASS ] :: Command 'ip netns exec server ip link set gre1 up' (Expected 0, got 0) :: [ 01:40:57 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev gre1' (Expected 0, got 0) :: [ 01:40:58 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:40:59 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev gre1' (Expected 0, got 0) :: [ 01:41:00 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:41:06 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:41:11 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 01:41:15 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 01:41:17 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 1) :: [ 01:41:18 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51110 ' (Expected 0-255, got 1) :: [ 01:41:19 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51110 ' (Expected 0-255, got 1) :: [ 01:41:20 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp4-listen:51110,fork - > server4.log &' (Expected 0, got 0) :: [ 01:41:25 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:41:26 ] :: [ PASS ] :: Command 'ip netns exec client nc -4 192.168.7.2 51110 <<< h' (Expected 0, got 0) :: [ 01:41:32 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:41:33 ] :: [ PASS ] :: File 'server4.log' should contain 'h' :: [ 01:41:34 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 0) :: [ 01:41:35 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51111' (Expected 0-255, got 1) :: [ 01:41:36 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51111' (Expected 0-255, got 1) :: [ 01:41:37 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp6-listen:51111,fork - > server6.log &' (Expected 0, got 0) :: [ 01:41:42 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:41:43 ] :: [ PASS ] :: Command 'ip netns exec client nc -6 7001:db8:ac10:fe01::2 51111 <<< h' (Expected 0, got 0) :: [ 01:41:49 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:41:49 ] :: [ PASS ] :: File 'server6.log' should contain 'h' :: [ 01:41:50 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:41:51 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:41:51 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:41:52 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:41:53 ] :: [ PASS ] :: Command 'ip netns exec client ip tunnel del gre1' (Expected 0, got 0) :: [ 01:41:54 ] :: [ PASS ] :: Command 'ip netns exec client ip link del gre1' (Expected 0-255, got 1) :: [ 01:41:55 ] :: [ PASS ] :: Command 'ip netns exec server ip link del gre1' (Expected 0, got 0) :: [ 01:41:56 ] :: [ PASS ] :: Command 'ip netns exec server ip tunnel del gre1' (Expected 0-255, got 1) :: [ 01:42:00 ] :: [ PASS ] :: Command 'netns_crs_cleanup' (Expected 0, got 0) :: [ 01:42:00 ] :: [ LOG ] :: remote as multicast :: [ 01:51:50 ] :: [ PASS ] :: Command 'netns_cs_setup' (Expected 0, got 0) :: [ 01:51:50 ] :: [ 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:51:52 ] :: [ 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:51:53 ] :: [ 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:51:53 ] :: [ 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:51:54 ] :: [ PASS ] :: Command 'ip netns exec client ip link set gre1 up' (Expected 0, got 0) :: [ 01:51:55 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev gre1' (Expected 0, got 0) :: [ 01:51:55 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:51:56 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev gre1' (Expected 0, got 0) :: [ 01:51:57 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:51:58 ] :: [ 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:51:58 ] :: [ PASS ] :: Command 'ip netns exec server ip link set gre1 up' (Expected 0, got 0) :: [ 01:51:59 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev gre1' (Expected 0, got 0) :: [ 01:52:00 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev gre1' (Expected 0, got 0) :: [ 01:52:01 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev gre1' (Expected 0, got 0) :: [ 01:52:01 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev gre1' (Expected 0, got 0) :: [ 01:52:07 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 01:52:12 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 01:52:13 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 0) :: [ 01:52:14 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51112' (Expected 0-255, got 1) :: [ 01:52:15 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51112' (Expected 0-255, got 1) :: [ 01:52:16 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp4-listen:51112,fork - > server4.log &' (Expected 0, got 0) :: [ 01:52:18 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:52:19 ] :: [ PASS ] :: Command 'ip netns exec client nc -4 192.168.7.2 51112 <<< h' (Expected 0, got 0) :: [ 01:52:21 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:52:21 ] :: [ PASS ] :: File 'server4.log' should contain 'h' :: [ 01:52:22 ] :: [ PASS ] :: Command 'killall -9 socat' (Expected 0-255, got 0) :: [ 01:52:23 ] :: [ PASS ] :: Command 'ip netns exec server fuser -k -n tcp 51113' (Expected 0-255, got 1) :: [ 01:52:24 ] :: [ PASS ] :: Command 'ip netns exec server fuser -6 -k -n tcp 51113' (Expected 0-255, got 1) :: [ 01:52:25 ] :: [ PASS ] :: Command 'ip netns exec server socat tcp6-listen:51113,fork - > server6.log &' (Expected 0, got 0) :: [ 01:52:27 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:52:28 ] :: [ PASS ] :: Command 'ip netns exec client nc -6 7001:db8:ac10:fe01::2 51113 <<< h' (Expected 0, got 0) :: [ 01:52:29 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 01:52:30 ] :: [ PASS ] :: File 'server6.log' should contain 'h' :: [ 01:52:30 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:52:31 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:52:32 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh gre1' (Expected 0, got 0) :: [ 01:52:33 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s tunnel show gre1' (Expected 0, got 0) :: [ 01:52:34 ] :: [ PASS ] :: Command 'ip netns exec client ip link del gre1' (Expected 0, got 0) :: [ 01:52:35 ] :: [ PASS ] :: Command 'ip netns exec client ip tunnel del gre1' (Expected 0-255, got 1) :: [ 01:52:36 ] :: [ PASS ] :: Command 'ip netns exec server ip tunnel del gre1' (Expected 0, got 0) :: [ 01:52:37 ] :: [ PASS ] :: Command 'ip netns exec server ip link del gre1' (Expected 0-255, got 1) :: [ 01:52:37 ] :: [ LOG ] :: gre without remote :: [ 01:52:38 ] :: [ PASS ] :: Command 'ip netns exec client ip link add gre1 type gre local 10.10.0.1 ttl 64' (Expected 0, got 0) :: [ 01:52:42 ] :: [ PASS ] :: Command 'netns_cs_cleanup' (Expected 0, got 0) :: [ 01:52:43 ] :: [ PASS ] :: Command 'modprobe -r vport_gre' (Expected 0-255, got 0) :: [ 01:52:44 ] :: [ PASS ] :: Command 'modprobe -r ip_gre' (Expected 0-255, got 1) :: [ 01:52:45 ] :: [ PASS ] :: Command 'jobs -p | xargs kill -9' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1309s :: Assertions: 91 good, 0 bad :: RESULT: PASS (basic_nic)