:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_nic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:31:12 ] :: [ PASS ] :: Command 'netns_crs_setup' (Expected 0, got 0) :: [ 10:31:13 ] :: [ PASS ] :: Command 'modprobe l2tp_eth' (Expected 0-255, got 0) :: [ 10:31:13 ] :: [ PASS ] :: Command 'modprobe l2tp_ip' (Expected 0-255, got 0) :: [ 10:31:13 ] :: [ PASS ] :: Command 'modprobe l2tp_ip6' (Expected 0-255, got 0) :: [ 10:31:14 ] :: [ 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) :: [ 10:31:14 ] :: [ 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) :: [ 10:31:14 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:14 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:15 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:15 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:15 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:16 ] :: [ 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) :: [ 10:31:16 ] :: [ 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) :: [ 10:31:16 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:16 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:17 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:17 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:17 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:22 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 10:31:26 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 10:31:26 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:31:26 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:31:27 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 10:31:27 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 10:31:28 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 10:31:28 ] :: [ 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) :: [ 10:31:29 ] :: [ 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) :: [ 10:31:29 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:29 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:29 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:30 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:30 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31: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) :: [ 10:31: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) :: [ 10:31:31 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:31 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:31 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:31 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:32 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:36 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 10:31:40 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 10:31:41 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:31:41 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:31:41 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 10:31:42 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 10:31:43 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 10:31:43 ] :: [ 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) :: [ 10:31:43 ] :: [ 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) :: [ 10:31:44 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:44 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:44 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:44 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:45 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:45 ] :: [ 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) :: [ 10:31:45 ] :: [ 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) :: [ 10:31:45 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:46 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:46 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:46 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:46 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:51 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 10:31:55 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 10:31:55 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:31:56 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:31:56 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 10:31:56 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 10:31:57 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 10:31:58 ] :: [ 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) :: [ 10:31:58 ] :: [ 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) :: [ 10:31:58 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:31:58 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:59 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:59 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:31:59 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:31:59 ] :: [ 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) :: [ 10:32:00 ] :: [ 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) :: [ 10:32:00 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 10:32:00 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 10:32:00 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 10:32:01 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 10:32:01 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 10:32:05 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 10:32:10 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 10:32:10 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:32:10 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 10:32:10 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 10:32:11 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 10:32:12 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 10:32:13 ] :: [ PASS ] :: Command 'netns_crs_cleanup' (Expected 0, got 0) :: [ 10:32:14 ] :: [ PASS ] :: Command 'modprobe -r l2tp_eth l2tp_ip6 l2tp_ip' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 134s :: Assertions: 90 good, 0 bad :: RESULT: PASS (basic_nic)