< TEST_PROGS=test-tcp.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/srv/vmksft/testing/wt-6/tools/testing/selftests' make[1]: Entering directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' make[1]: Entering directory '/srv/vmksft/testing/wt-6/tools/testing/selftests/net/ovpn' TAP version 13 1..1 # overriding timeout to 240 # selftests: net/ovpn: test-tcp.sh # Deleting interface tun1 ifindex 4 # Deleting interface tun2 ifindex 4 # Deleting interface tun3 ifindex 4 # Creating interface tun0 with mode 1 # Creating interface tun1 with mode 0 # Creating interface tun2 with mode 0 # Creating interface tun3 with mode 0 # Creating interface tun4 with mode 0 # Creating interface tun5 with mode 0 # Creating interface tun6 with mode 0 # connected # Connection received! # Sent 1002 bytes over TCP socket # Connection received! # connected # Sent 1002 bytes over TCP socket # connected # Connection received! # Sent 1002 bytes over TCP socket # connected # Connection received! # Sent 1002 bytes over TCP socket # connected # Connection received! # Sent 1002 bytes over TCP socket # connected # Connection received! # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # >>>> Received 1002 bytes over TCP socket, header: 1000 # Sent 1002 bytes over TCP socket # PING 5.5.5.2 (5.5.5.2) 56(84) bytes of data. # # --- 5.5.5.2 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 487ms # rtt min/avg/max/mdev = 0.491/0.902/16.400/1.630 ms, pipe 2, ipg/ewma 0.975/0.542 ms # PING 5.5.5.2 (5.5.5.2) 3000(3028) bytes of data. # # --- 5.5.5.2 ping statistics --- # 501 packets transmitted, 500 received, 0.199601% packet loss, time 2946ms # rtt min/avg/max/mdev = 1.716/6.359/19.502/6.144 ms, pipe 2, ipg/ewma 5.892/14.745 ms # PING 5.5.5.3 (5.5.5.3) 56(84) bytes of data. # # --- 5.5.5.3 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 364ms # rtt min/avg/max/mdev = 0.497/0.659/11.275/0.774 ms, pipe 2, ipg/ewma 0.729/0.536 ms # PING 5.5.5.3 (5.5.5.3) 3000(3028) bytes of data. # # --- 5.5.5.3 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1219ms # rtt min/avg/max/mdev = 1.643/2.267/9.612/1.522 ms, ipg/ewma 2.442/2.470 ms # PING 5.5.5.4 (5.5.5.4) 56(84) bytes of data. # # --- 5.5.5.4 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 353ms # rtt min/avg/max/mdev = 0.480/0.638/9.477/0.784 ms, ipg/ewma 0.707/0.510 ms # PING 5.5.5.4 (5.5.5.4) 3000(3028) bytes of data. # # --- 5.5.5.4 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1241ms # rtt min/avg/max/mdev = 1.735/2.300/8.973/1.487 ms, ipg/ewma 2.487/2.150 ms # PING 5.5.5.5 (5.5.5.5) 56(84) bytes of data. # # --- 5.5.5.5 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 380ms # rtt min/avg/max/mdev = 0.497/0.678/8.815/0.853 ms, ipg/ewma 0.761/0.526 ms # PING 5.5.5.5 (5.5.5.5) 3000(3028) bytes of data. # # --- 5.5.5.5 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1204ms # rtt min/avg/max/mdev = 1.661/2.247/8.995/1.450 ms, ipg/ewma 2.413/2.472 ms # PING 5.5.5.6 (5.5.5.6) 56(84) bytes of data. # # --- 5.5.5.6 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 374ms # rtt min/avg/max/mdev = 0.502/0.686/7.015/0.814 ms, ipg/ewma 0.749/0.551 ms # PING 5.5.5.6 (5.5.5.6) 3000(3028) bytes of data. # # --- 5.5.5.6 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1292ms # rtt min/avg/max/mdev = 1.722/2.406/12.209/1.639 ms, pipe 2, ipg/ewma 2.589/2.073 ms # PING 5.5.5.7 (5.5.5.7) 56(84) bytes of data. # # --- 5.5.5.7 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 377ms # rtt min/avg/max/mdev = 0.505/0.664/5.438/0.718 ms, ipg/ewma 0.755/0.616 ms # PING 5.5.5.7 (5.5.5.7) 3000(3028) bytes of data. # # --- 5.5.5.7 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 1213ms # rtt min/avg/max/mdev = 1.672/2.242/9.620/1.378 ms, ipg/ewma 2.431/2.041 ms # PING 11.11.11.11 (11.11.11.11) 56(84) bytes of data. # # --- 11.11.11.11 ping statistics --- # 500 packets transmitted, 500 received, 0% packet loss, time 353ms # rtt min/avg/max/mdev = 0.487/0.637/6.053/0.696 ms, ipg/ewma 0.708/0.524 ms # ----------------------------------------------------------- # Server listening on 5201 (test #1) # ----------------------------------------------------------- # Connecting to host 5.5.5.1, port 5201 # Accepted connection from 5.5.5.2, port 52494 # [ 7] local 5.5.5.2 port 52502 connected to 5.5.5.1 port 5201 # [ 7] local 5.5.5.1 port 5201 connected to 5.5.5.2 port 52502 # [ ID] Interval Transfer Bitrate # [ 7] 0.00-1.00 sec 3.00 MBytes 25.2 Mbits/sec # [ ID] Interval Transfer Bitrate Retr Cwnd # [ 7] 0.00-1.00 sec 3.12 MBytes 26.2 Mbits/sec 0 93.2 KBytes # [ 7] 1.00-2.00 sec 3.38 MBytes 28.2 Mbits/sec # [ 7] 1.00-2.00 sec 3.38 MBytes 28.3 Mbits/sec 0 93.2 KBytes # [ 7] 2.00-3.00 sec 3.38 MBytes 28.4 Mbits/sec # [ 7] 3.00-3.05 sec 256 KBytes 42.8 Mbits/sec # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate # [ 7] 0.00-3.05 sec 10.0 MBytes 27.5 Mbits/sec receiver # [ 7] 2.00-3.01 sec 3.25 MBytes 27.0 Mbits/sec 0 93.2 KBytes # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate Retr # [ 7] 0.00-3.01 sec 9.88 MBytes 27.5 Mbits/sec 0 sender # [ 7] 0.00-3.05 sec 10.0 MBytes 27.5 Mbits/sec receiver # # iperf Done. # Adding secondary key and then swap: # Querying all peers: # List of peers connected to: tun0 # * Peer 4 # TX peer ID 13 # VPN IPv4: 5.5.5.5 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # * Peer 3 # TX peer ID 12 # VPN IPv4: 5.5.5.4 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # * Peer 5 # TX peer ID 14 # VPN IPv4: 5.5.5.6 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # LINK TX packets: 2000 # * Peer 1 # TX peer ID 10 # VPN IPv4: 5.5.5.2 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 12516890 # VPN TX bytes: 1646832 # VPN RX packets: 10369 # VPN TX packets: 2991 # LINK RX bytes: 12765890 # LINK TX bytes: 1718616 # LINK RX packets: 10371 # LINK TX packets: 2991 # * Peer 6 # TX peer ID 15 # VPN IPv4: 5.5.5.7 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # * Peer 2 # TX peer ID 11 # VPN IPv4: 5.5.5.3 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1576000 # VPN TX bytes: 1576000 # VPN RX packets: 2000 # VPN TX packets: 2000 # LINK RX bytes: 1624144 # LINK TX bytes: 1624000 # LINK RX packets: 2002 # LINK TX packets: 2000 # List of peers connected to: tun1 # * Peer 10 # TX peer ID 1 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 1646832 # VPN TX bytes: 12517034 # VPN RX packets: 2991 # VPN TX packets: 10372 # LINK RX bytes: 1718616 # LINK TX bytes: 12765890 # LINK RX packets: 2991 # LINK TX packets: 10371 # Querying peer 1: # * Peer 1 # TX peer ID 10 # VPN IPv4: 5.5.5.2 # Keepalive interval: 60 sec # Keepalive timeout: 120 sec # VPN RX bytes: 12516890 # VPN TX bytes: 1646832 # VPN RX packets: 10369 # VPN TX packets: 2991 # LINK RX bytes: 12765890 # LINK TX bytes: 1718616 # LINK RX packets: 10371 # LINK TX packets: 2991 # Querying non-existent peer 20: # kernel error: ovpn: cannot find peer with id 20 # netlink reports error (-12): Object not found # failed to send netlink message: No such file or directory (-2) # Cannot execute command: No such file or directory (-2) # Deleting peer 1: # Querying keys: # * Peer 11 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 11 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 12 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 12 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 13 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 13 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 14 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 14 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # * Peer 15 # - Slot: primary # - Key ID: 1 # - Cipher: aes-gcm # * Peer 15 # - Slot: secondary # - Key ID: 0 # - Cipher: aes-gcm # Deleting peer while sending traffic: # PING 5.5.5.1 (5.5.5.1) 56(84) bytes of data. # Deleting keys: # Setting timeout to 3s MP: # # --- 5.5.5.1 ping statistics --- # 2905 packets transmitted, 2733 received, 5.92083% packet loss, time 3993ms # rtt min/avg/max/mdev = 0.474/0.673/10.934/0.932 ms, pipe 2, ipg/ewma 1.374/0.659 ms # Setting timeout to 3s P2P: # ./common.sh: line 111: kill: (6892) - No such process # Checking notifications for peer 0... OK # ./common.sh: line 111: kill: (6894) - No such process # Checking notifications for peer 1... OK # ./common.sh: line 111: kill: (6896) - No such process # Checking notifications for peer 2... OK # ./common.sh: line 111: kill: (6898) - No such process # Checking notifications for peer 3... 1,9d0 # < { # < "name": "peer-del-ntf", # < "msg": { # < "peer": { # < "del-reason": "expired", # < "id": 12 # < } # < } # < } WAIT TIMEOUT stdout Ctrl-C stdout Ctrl-C stdout ^Cmake[1]: *** [../../lib.mk:142: run_tests] Interrupt make: *** [Makefile:223: run_tests] Interrupt xx__-> echo scan > /sys/kernel/debug/kmemleak xx__->