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