:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_nic :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:50:16 ] :: [ PASS ] :: Command 'netns_crs_setup' (Expected 0, got 0) :: [ 11:50:16 ] :: [ PASS ] :: Command 'modprobe l2tp_eth' (Expected 0-255, got 0) :: [ 11:50:17 ] :: [ PASS ] :: Command 'modprobe l2tp_ip' (Expected 0-255, got 0) :: [ 11:50:17 ] :: [ PASS ] :: Command 'modprobe l2tp_ip6' (Expected 0-255, got 0) :: [ 11:50:18 ] :: [ 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) :: [ 11:50:18 ] :: [ 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) :: [ 11:50:18 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:50:19 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:19 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:20 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:20 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50: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) :: [ 11:50: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) :: [ 11:50:21 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:50:21 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:22 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:22 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:22 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:27 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 11:50:31 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 11:50:32 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:50:32 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:50:32 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 11:50:33 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 11:50:34 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 11:50:34 ] :: [ 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) :: [ 11:50:35 ] :: [ 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) :: [ 11:50:35 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:50:35 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:36 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:36 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:36 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:37 ] :: [ 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) :: [ 11:50:37 ] :: [ 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) :: [ 11:50:37 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:50:38 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:38 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:38 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:39 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:43 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 11:50:47 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 11:50:48 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:50:48 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:50:48 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 11:50:49 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 11:50:50 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 11:50:50 ] :: [ 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) :: [ 11:50:51 ] :: [ 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) :: [ 11:50:51 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:50:51 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:52 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:52 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:52 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:53 ] :: [ 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) :: [ 11:50:53 ] :: [ 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) :: [ 11:50:53 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:50:54 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:54 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:54 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:50:55 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:50:59 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 11:51:04 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 11:51:04 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:51:04 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:51:05 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 11:51:05 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 11:51:06 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 11:51:07 ] :: [ 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) :: [ 11:51:07 ] :: [ 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) :: [ 11:51:07 ] :: [ PASS ] :: Command 'ip netns exec client ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:51:08 ] :: [ PASS ] :: Command 'ip netns exec client ip addr add 192.168.6.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:51:08 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 addr add 6001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:51:08 ] :: [ PASS ] :: Command 'ip netns exec client ip route add 192.168.7.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:51:09 ] :: [ PASS ] :: Command 'ip netns exec client ip -6 route add 7001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:51:09 ] :: [ 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) :: [ 11:51:09 ] :: [ 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) :: [ 11:51:09 ] :: [ PASS ] :: Command 'ip netns exec server ip link set l2tp1 up' (Expected 0, got 0) :: [ 11:51:10 ] :: [ PASS ] :: Command 'ip netns exec server ip addr add 192.168.7.2/24 dev l2tp1' (Expected 0, got 0) :: [ 11:51:10 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 addr add 7001:db8:ac10:fe01::2/64 dev l2tp1' (Expected 0, got 0) :: [ 11:51:10 ] :: [ PASS ] :: Command 'ip netns exec server ip route add 192.168.6.0/24 dev l2tp1' (Expected 0, got 0) :: [ 11:51:11 ] :: [ PASS ] :: Command 'ip netns exec server ip -6 route add 6001:db8:ac10:fe01::0/64 dev l2tp1' (Expected 0, got 0) :: [ 11:51:15 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.7.2 -c 5' (Expected 0, got 0) :: [ 11:51:20 ] :: [ PASS ] :: Command 'ip netns exec client ping6 7001:db8:ac10:fe01::2 -c 5' (Expected 0, got 0) :: [ 11:51:20 ] :: [ PASS ] :: Command 'ip netns exec client ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:51:20 ] :: [ PASS ] :: Command 'ip netns exec server ip -d -s link sh l2tp1' (Expected 0, got 0) :: [ 11:51:21 ] :: [ PASS ] :: Command 'ip netns exec client ip l2tp del tunnel tunnel_id 3000 peer_tunnel_id 4000' (Expected 0, got 0) :: [ 11:51:21 ] :: [ PASS ] :: Command 'ip netns exec server ip l2tp del tunnel tunnel_id 4000 peer_tunnel_id 3000' (Expected 0, got 0) :: [ 11:51:22 ] :: [ PASS ] :: Command 'sleep 1' (Expected 0, got 0) :: [ 11:51:24 ] :: [ PASS ] :: Command 'netns_crs_cleanup' (Expected 0, got 0) :: [ 11:51:25 ] :: [ PASS ] :: Command 'modprobe -r l2tp_eth l2tp_ip6 l2tp_ip' (Expected 0-255, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 146s :: Assertions: 90 good, 0 bad :: RESULT: PASS (basic_nic)