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