< 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 # 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! # 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 415ms # rtt min/avg/max/mdev = 0.499/0.751/10.760/1.171 ms, pipe 2, ipg/ewma 0.830/0.645 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 1365ms # rtt min/avg/max/mdev = 1.714/2.560/14.494/2.132 ms, pipe 2, ipg/ewma 2.729/8.612 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 441ms # rtt min/avg/max/mdev = 0.491/0.799/10.485/1.023 ms, pipe 2, ipg/ewma 0.884/0.516 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 1315ms # rtt min/avg/max/mdev = 1.711/2.424/14.323/1.682 ms, pipe 2, ipg/ewma 2.635/2.054 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 446ms # rtt min/avg/max/mdev = 0.491/0.811/9.834/1.033 ms, pipe 2, ipg/ewma 0.894/0.968 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 1258ms # rtt min/avg/max/mdev = 1.713/2.328/14.807/1.598 ms, pipe 2, ipg/ewma 2.520/2.190 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 378ms # rtt min/avg/max/mdev = 0.487/0.679/10.019/0.879 ms, pipe 2, ipg/ewma 0.757/0.663 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 1341ms # rtt min/avg/max/mdev = 1.721/2.479/16.008/1.779 ms, pipe 2, ipg/ewma 2.687/2.319 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 371ms # rtt min/avg/max/mdev = 0.498/0.682/10.799/0.837 ms, pipe 2, ipg/ewma 0.742/1.299 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 1271ms # rtt min/avg/max/mdev = 1.724/2.333/12.748/1.562 ms, pipe 2, ipg/ewma 2.547/1.997 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 421ms # rtt min/avg/max/mdev = 0.495/0.754/9.874/0.951 ms, pipe 2, ipg/ewma 0.844/0.646 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 1247ms # rtt min/avg/max/mdev = 1.714/2.296/10.585/1.469 ms, pipe 2, ipg/ewma 2.498/2.413 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 364ms # rtt min/avg/max/mdev = 0.489/0.659/7.935/0.712 ms, ipg/ewma 0.729/0.518 ms # ----------------------------------------------------------- # Server listening on 5201 (test #1) # ----------------------------------------------------------- # Connecting to host 5.5.5.1, port 5201 # Accepted connection from 5.5.5.2, port 57136 # [ 7] local 5.5.5.2 port 57152 connected to 5.5.5.1 port 5201 # [ 7] local 5.5.5.1 port 5201 connected to 5.5.5.2 port 57152 # [ ID] Interval Transfer Bitrate # [ 7] 0.00-1.00 sec 2.50 MBytes 20.9 Mbits/sec # [ ID] Interval Transfer Bitrate Retr Cwnd # [ 7] 0.00-1.00 sec 2.62 MBytes 22.0 Mbits/sec 0 177 KBytes # [ 7] 1.00-2.00 sec 2.88 MBytes 24.1 Mbits/sec # [ 7] 1.00-2.01 sec 2.88 MBytes 24.0 Mbits/sec 0 177 KBytes # [ 7] 2.00-3.00 sec 2.88 MBytes 24.1 Mbits/sec # [ 7] 3.00-3.10 sec 128 KBytes 10.9 Mbits/sec # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate # [ 7] 0.00-3.10 sec 8.38 MBytes 22.7 Mbits/sec receiver # [ 7] 2.01-3.02 sec 2.88 MBytes 23.8 Mbits/sec 0 177 KBytes # - - - - - - - - - - - - - - - - - - - - - - - - - # [ ID] Interval Transfer Bitrate Retr # [ 7] 0.00-3.02 sec 8.38 MBytes 23.3 Mbits/sec 0 sender # [ 7] 0.00-3.10 sec 8.38 MBytes 22.7 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 10882497 # VPN TX bytes: 1638616 # VPN RX packets: 9191 # VPN TX packets: 2833 # LINK RX bytes: 11103297 # LINK TX bytes: 1706608 # LINK RX packets: 9194 # LINK TX packets: 2833 # * 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: 1624216 # LINK TX bytes: 1624000 # LINK RX packets: 2003 # 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: 1638616 # VPN TX bytes: 10882641 # VPN RX packets: 2833 # VPN TX packets: 9194 # LINK RX bytes: 1706608 # LINK TX bytes: 11103297 # LINK RX packets: 2833 # LINK TX packets: 9194 # 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: 10882497 # VPN TX bytes: 1638616 # VPN RX packets: 9191 # VPN TX packets: 2833 # LINK RX bytes: 11103297 # LINK TX bytes: 1706608 # LINK RX packets: 9194 # LINK TX packets: 2833 # 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 --- # 2744 packets transmitted, 2568 received, 6.41399% packet loss, time 3997ms # rtt min/avg/max/mdev = 0.457/0.717/12.363/1.002 ms, pipe 2, ipg/ewma 1.457/0.591 ms # Setting timeout to 3s P2P: # ./common.sh: line 126: kill: (7304) - No such process # Checking notifications for peer 0... OK # ./common.sh: line 126: kill: (7306) - No such process # Checking notifications for peer 1... OK # ./common.sh: line 126: kill: (7308) - No such process # Checking notifications for peer 2... OK # ./common.sh: line 126: kill: (7310) - 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__->