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