:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_nic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:29:11 ] :: [ PASS ] :: Command 'netns_crs_setup' (Expected 0, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'modprobe l2tp_eth' (Expected 0-255, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'modprobe l2tp_ip' (Expected 0-255, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'modprobe l2tp_ip6' (Expected 0-255, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add tunnel tunnel_id 3000 peer_tunnel_id 4000 encap ip local 10.10.0.1 remote 10.10.1.1' (Expected 0, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add session name l2tp1 tunnel_id 3000 session_id 1000 peer_session_id 2000' (Expected 0, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:11 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add tunnel tunnel_id 4000 peer_tunnel_id 3000 encap ip local 10.10.1.1 remote 10.10.0.1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add session name l2tp1 tunnel_id 4000 session_id 2000 peer_session_id 1000' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:12 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:16 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 23:29:20 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 23:29:20 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:20 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:20 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 23:29:20 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 23:29:21 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add tunnel tunnel_id 3000 peer_tunnel_id 4000 encap ip local 2000::1 remote 2001::1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add session name l2tp1 tunnel_id 3000 session_id 1000 peer_session_id 2000' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add tunnel tunnel_id 4000 peer_tunnel_id 3000 encap ip local 2001::1 remote 2000::1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add session name l2tp1 tunnel_id 4000 session_id 2000 peer_session_id 1000' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:22 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:26 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 23:29:30 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 23:29:30 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:30 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:31 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 23:29:31 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add tunnel tunnel_id 3000 peer_tunnel_id 4000 encap udp local 10.10.0.1 remote 10.10.1.1 udp_sport 5000 udp_dport 6000' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add session name l2tp1 tunnel_id 3000 session_id 1000 peer_session_id 2000' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add tunnel tunnel_id 4000 peer_tunnel_id 3000 encap udp local 10.10.1.1 remote 10.10.0.1 udp_sport 6000 udp_dport 5000' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add session name l2tp1 tunnel_id 4000 session_id 2000 peer_session_id 1000' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:32 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:36 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 23:29:41 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 23:29:41 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:41 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:41 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 23:29:41 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add tunnel tunnel_id 3000 peer_tunnel_id 4000 encap udp local 2000::1 remote 2001::1 udp_sport 5000 udp_dport 6000' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp add session name l2tp1 tunnel_id 3000 session_id 1000 peer_session_id 2000' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add tunnel tunnel_id 4000 peer_tunnel_id 3000 encap udp local 2001::1 remote 2000::1 udp_sport 6000 udp_dport 5000' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp add session name l2tp1 tunnel_id 4000 session_id 2000 peer_session_id 1000' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 23:29:42 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 23:29:47 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 23:29:51 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 23:29:51 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:51 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 23:29:51 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 23:29:51 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 23:29:52 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 23:29:52 ] :: [ PASS ] :: Command 'netns_crs_cleanup' (Expected 0, got 0) :: [ 23:29:52 ] :: [ PASS ] :: Command 'modprobe -r l2tp_eth l2tp_ip6 l2tp_ip' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 107s :: Assertions: 90 good, 0 bad :: RESULT: PASS (basic_nic)