:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_nic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:05:20 ] :: [ PASS ] :: Command 'netns_crs_setup' (Expected 0, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'modprobe l2tp_eth' (Expected 0-255, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'modprobe l2tp_ip' (Expected 0-255, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'modprobe l2tp_ip6' (Expected 0-255, got 0) :: [ 21:05:20 ] :: [ 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) :: [ 21:05:20 ] :: [ 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) :: [ 21:05:20 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:20 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:20 ] :: [ 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) :: [ 21:05:21 ] :: [ 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) :: [ 21:05:21 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:21 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:21 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:21 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:21 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 21:05:29 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 21:05:29 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:29 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:29 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 21:05:29 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ 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) :: [ 21:05:30 ] :: [ 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) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ 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) :: [ 21:05:30 ] :: [ 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) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:30 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:35 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 21:05:39 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 21:05:39 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:39 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:39 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 21:05:39 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ 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) :: [ 21:05:40 ] :: [ 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) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ 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) :: [ 21:05:40 ] :: [ 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) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:40 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:45 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 21:05:49 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 21:05:49 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:49 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:49 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 21:05:49 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ 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) :: [ 21:05:50 ] :: [ 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) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ 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) :: [ 21:05:50 ] :: [ 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) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 21:05:50 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 21:05:54 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 21:05:58 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 21:05:58 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:58 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 21:05:58 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 21:05:58 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 21:06:00 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 21:06:00 ] :: [ PASS ] :: Command 'netns_crs_cleanup' (Expected 0, got 0) :: [ 21:06:01 ] :: [ PASS ] :: Command 'modprobe -r l2tp_eth l2tp_ip6 l2tp_ip' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 104s :: Assertions: 90 good, 0 bad :: RESULT: PASS (basic_nic)