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