use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:44:05 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 00:44:05 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 00:44:05 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 00:45:05 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 00:45:05 ] :: [ BEGIN ] :: Running 'systemctl status firewalld' ○ firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; preset: enabled) Active: inactive (dead) Docs: man:firewalld(1) :: [ 00:45:05 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 00:45:05 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 00:45:05 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 00:45:05 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 00:45:15 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 00:45:15 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 00:45:15 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 00:45:15 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 00:45:15 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 00:45:15 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 00:45:15 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 00:45:15 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:59:25 ago on Fri 30 Sep 2022 11:45:52 PM CEST. Package iproute-5.18.0-2.fc37.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 00:45:19 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 00:45:19 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 00:45:19 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 00:45:19 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 00:45:19 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 00:45:19 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 00:45:19 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 00:45:19 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 00:45:19 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 00:45:19 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 00:45:19 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 00:45:19 ] :: [ BEGIN ] :: Running 'gcc -g -Wall -o keepalive keepalive.c' keepalive.c: In function ‘main’: keepalive.c:119:9: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 119 | wait(&status); | ^~~~ :: [ 00:45:19 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 74s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:45:20 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 00:45:20 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 00:45:25 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 00:45:25 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 00:45:25 ] :: [ BEGIN ] :: Running 'sleep 31 ' table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg counter packets 0 bytes 0 drop } } :: [ 00:45:56 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 00:45:56 ] :: [ BEGIN ] :: Running 'childpid=743526' :: [ 00:45:56 ] :: [ PASS ] :: Command 'childpid=743526' (Expected 0, got 0) :: [ 00:45:56 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 743526' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 00:45:56 ] :: [ PASS ] :: Command 'kill -s SIGINT 743526' (Expected 0, got 0) :: [ 00:45:56 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 00:45:56 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 00:46:01 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 00:45:25.286563 IP localhost.60362 > localhost.7811: Flags [S], seq 424296077, win 65495, options [mss 65495,sackOK,TS val 3108065672 ecr 0,nop,wscale 7], length 0 00:45:25.286607 IP localhost.7811 > localhost.60362: Flags [S.], seq 3923442777, ack 424296078, win 65483, options [mss 65495,sackOK,TS val 3108065672 ecr 3108065672,nop,wscale 7], length 0 00:45:25.286635 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108065672 ecr 3108065672], length 0 00:45:31.315833 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108071701 ecr 3108065672], length 0 00:45:31.315859 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108071702 ecr 3108065672], length 0 00:45:32.339785 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108072725 ecr 3108065672], length 0 00:45:32.339805 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108072725 ecr 3108065672], length 0 00:45:33.363897 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108073749 ecr 3108065672], length 0 00:45:33.363948 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108073750 ecr 3108065672], length 0 00:45:34.387810 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108074773 ecr 3108065672], length 0 00:45:34.387830 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108074774 ecr 3108065672], length 0 00:45:35.411797 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108075797 ecr 3108065672], length 0 00:45:35.411817 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108075797 ecr 3108065672], length 0 00:45:36.435784 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108076821 ecr 3108065672], length 0 00:45:36.435815 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108076821 ecr 3108065672], length 0 00:45:37.459782 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108077845 ecr 3108065672], length 0 00:45:37.459802 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108077845 ecr 3108065672], length 0 00:45:38.483809 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108078869 ecr 3108065672], length 0 00:45:38.483828 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108078870 ecr 3108065672], length 0 00:45:39.507829 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108079893 ecr 3108065672], length 0 00:45:39.507901 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108079894 ecr 3108065672], length 0 00:45:40.531866 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108080917 ecr 3108065672], length 0 00:45:40.531916 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108080918 ecr 3108065672], length 0 00:45:41.555810 IP localhost.7811 > localhost.60362: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3108081941 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 00:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 00:46:01 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 00:46:01 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 00:46:01 ] :: [ LOG ] :: 00:45:25.286563 IP localhost.60362 > localhost.7811: Flags [S], seq 424296077, win 65495, options [mss 65495,sackOK,TS val 3108065672 ecr 0,nop,wscale 7], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:25.286607 IP localhost.7811 > localhost.60362: Flags [S.], seq 3923442777, ack 424296078, win 65483, options [mss 65495,sackOK,TS val 3108065672 ecr 3108065672,nop,wscale 7], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:25.286635 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108065672 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:31.315833 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108071701 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:31.315859 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108071702 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:32.339785 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108072725 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:32.339805 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108072725 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:33.363897 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108073749 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:33.363948 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108073750 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:34.387810 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108074773 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:34.387830 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108074774 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:35.411797 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108075797 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:35.411817 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108075797 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:36.435784 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108076821 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:36.435815 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108076821 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:37.459782 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108077845 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:37.459802 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108077845 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:38.483809 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108078869 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:38.483828 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108078870 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:39.507829 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108079893 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:39.507901 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108079894 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:40.531866 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108080917 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:40.531916 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108080918 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:41.555810 IP localhost.7811 > localhost.60362: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3108081941 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 00:46:01 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 00:46:01 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 00:46:02 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 00:46:02 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) ** host PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:46:02 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 00:46:02 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 00:46:07 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 00:46:07 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg counter packets 0 bytes 0 drop } } :: [ 00:46:07 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 00:46:38 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 00:46:38 ] :: [ BEGIN ] :: Running 'childpid=744145' :: [ 00:46:38 ] :: [ PASS ] :: Command 'childpid=744145' (Expected 0, got 0) :: [ 00:46:38 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 744145' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 00:46:38 ] :: [ PASS ] :: Command 'kill -s SIGINT 744145' (Expected 0, got 0) :: [ 00:46:38 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 00:46:38 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 00:46:44 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 00:46:07.716759 IP localhost.38226 > localhost.7811: Flags [S], seq 227391817, win 65495, options [mss 65495,sackOK,TS val 3108108102 ecr 0,nop,wscale 7], length 0 00:46:07.716792 IP localhost.7811 > localhost.38226: Flags [S.], seq 2235942988, ack 227391818, win 65483, options [mss 65495,sackOK,TS val 3108108102 ecr 3108108102,nop,wscale 7], length 0 00:46:07.716819 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108108102 ecr 3108108102], length 0 00:46:13.812179 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108114197 ecr 3108108102], length 0 00:46:13.812339 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108114198 ecr 3108108102], length 0 00:46:14.835829 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108115221 ecr 3108108102], length 0 00:46:14.835860 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108115222 ecr 3108108102], length 0 00:46:15.859803 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108116245 ecr 3108108102], length 0 00:46:15.859822 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108116246 ecr 3108108102], length 0 00:46:16.883807 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108117269 ecr 3108108102], length 0 00:46:16.883827 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108117270 ecr 3108108102], length 0 00:46:17.907782 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108118293 ecr 3108108102], length 0 00:46:17.907799 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108118293 ecr 3108108102], length 0 00:46:18.931819 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108119317 ecr 3108108102], length 0 00:46:18.931842 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108119318 ecr 3108108102], length 0 00:46:19.955768 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108120341 ecr 3108108102], length 0 00:46:19.955798 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108120341 ecr 3108108102], length 0 00:46:20.979749 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108121365 ecr 3108108102], length 0 00:46:20.979770 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108121365 ecr 3108108102], length 0 00:46:22.003779 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108122389 ecr 3108108102], length 0 00:46:22.003805 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108122389 ecr 3108108102], length 0 00:46:23.027805 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108123413 ecr 3108108102], length 0 00:46:23.027840 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108123414 ecr 3108108102], length 0 00:46:24.051867 IP localhost.7811 > localhost.38226: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3108124437 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 00:46:44 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 00:46:44 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 00:46:44 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 00:46:44 ] :: [ LOG ] :: 00:46:07.716759 IP localhost.38226 > localhost.7811: Flags [S], seq 227391817, win 65495, options [mss 65495,sackOK,TS val 3108108102 ecr 0,nop,wscale 7], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:07.716792 IP localhost.7811 > localhost.38226: Flags [S.], seq 2235942988, ack 227391818, win 65483, options [mss 65495,sackOK,TS val 3108108102 ecr 3108108102,nop,wscale 7], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:07.716819 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108108102 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:13.812179 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108114197 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:13.812339 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108114198 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:14.835829 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108115221 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:14.835860 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108115222 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:15.859803 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108116245 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:15.859822 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108116246 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:16.883807 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108117269 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:16.883827 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108117270 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:17.907782 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108118293 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:17.907799 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108118293 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:18.931819 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108119317 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:18.931842 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108119318 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:19.955768 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108120341 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:19.955798 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108120341 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:20.979749 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108121365 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:20.979770 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108121365 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:22.003779 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108122389 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:22.003805 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108122389 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:23.027805 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108123413 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:23.027840 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108123414 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:24.051867 IP localhost.7811 > localhost.38226: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3108124437 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 00:46:44 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 00:46:44 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 00:46:44 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 00:46:44 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:46:44 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 00:46:44 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 23 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-10-01 00:44:05 CEST Test finished : 2022-10-01 00:46:45 CEST (still running) Test duration : 160 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-02-guest10.rhts.eng.brq.redhat.com Architecture : unknown CPUs : 1 x Intel Core Processor (Broadwell, IBRS) RAM size : 3918 MB HDD size : 59.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Keep-Alive Process: There are three configurable properties that determine how Keep-Alives work. On Linux they are1: tcp_keepalive_time default 7200 seconds tcp_keepalive_probes default 9 tcp_keepalive_intvl default 75 seconds TCP keepalive works like this: Client opens TCP connection If the connection is silent for tcp_keepalive_time seconds, send a single empty ACK packet.1 Did the server respond with a corresponding ACK of its own? No Wait tcp_keepalive_intvl seconds, then send another ACK Repeat until the number of ACK probes that have been sent equals tcp_keepalive_probes. If no response has been received at this point, send a RST and terminate the connection. Yes: Return to step 2 This process is enabled by default on most operating systems, and thus dead TCP connections are regularly pruned once the other end has been responsive for 2 hours 11 minutes (7200 seconds + 75 * 9 seconds). This test case: Use socket options to overide the system's, and test keepalive process. TCP_KEEPIDLE ----> tcp_keepalive_time TCP_KEEPCNT ----> tcp_keepalive_probes TCP_KEEPINTVL ----> tcp_keepalive_intvl For namespace: Bug 1476667 - [RFE] Namespace tcp_keepalive_time sysctl knob :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:44:05 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 00:45:05 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 00:45:05 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 00:45:05 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 00:45:15 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 00:45:15 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 00:45:15 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 00:45:15 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 00:45:19 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 00:45:19 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 00:45:19 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 74s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:45:20 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 00:45:25 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 00:45:56 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 00:45:56 ] :: [ PASS ] :: Command 'childpid=743526' (Expected 0, got 0) :: [ 00:45:56 ] :: [ PASS ] :: Command 'kill -s SIGINT 743526' (Expected 0, got 0) :: [ 00:45:56 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 00:46:01 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 00:46:01 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 00:46:01 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 00:46:01 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 00:46:01 ] :: [ LOG ] :: 00:45:25.286563 IP localhost.60362 > localhost.7811: Flags [S], seq 424296077, win 65495, options [mss 65495,sackOK,TS val 3108065672 ecr 0,nop,wscale 7], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:25.286607 IP localhost.7811 > localhost.60362: Flags [S.], seq 3923442777, ack 424296078, win 65483, options [mss 65495,sackOK,TS val 3108065672 ecr 3108065672,nop,wscale 7], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:25.286635 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108065672 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:31.315833 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108071701 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:31.315859 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108071702 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:32.339785 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108072725 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:32.339805 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108072725 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:33.363897 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108073749 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:33.363948 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108073750 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:34.387810 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108074773 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:34.387830 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108074774 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:35.411797 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108075797 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:35.411817 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108075797 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:36.435784 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108076821 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:36.435815 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108076821 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:37.459782 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108077845 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:37.459802 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108077845 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:38.483809 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108078869 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:38.483828 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108078870 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:39.507829 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108079893 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:39.507901 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108079894 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:40.531866 IP localhost.7811 > localhost.60362: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108080917 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:40.531916 IP localhost.60362 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108080918 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: 00:45:41.555810 IP localhost.7811 > localhost.60362: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3108081941 ecr 3108065672], length 0 :: [ 00:46:01 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 00:46:01 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 00:46:02 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 00:46:02 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:46:02 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 00:46:07 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 00:46:38 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 00:46:38 ] :: [ PASS ] :: Command 'childpid=744145' (Expected 0, got 0) :: [ 00:46:38 ] :: [ PASS ] :: Command 'kill -s SIGINT 744145' (Expected 0, got 0) :: [ 00:46:38 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 00:46:44 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 00:46:44 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 00:46:44 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 00:46:44 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 00:46:44 ] :: [ LOG ] :: 00:46:07.716759 IP localhost.38226 > localhost.7811: Flags [S], seq 227391817, win 65495, options [mss 65495,sackOK,TS val 3108108102 ecr 0,nop,wscale 7], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:07.716792 IP localhost.7811 > localhost.38226: Flags [S.], seq 2235942988, ack 227391818, win 65483, options [mss 65495,sackOK,TS val 3108108102 ecr 3108108102,nop,wscale 7], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:07.716819 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108108102 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:13.812179 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108114197 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:13.812339 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108114198 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:14.835829 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108115221 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:14.835860 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108115222 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:15.859803 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108116245 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:15.859822 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108116246 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:16.883807 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108117269 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:16.883827 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108117270 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:17.907782 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108118293 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:17.907799 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108118293 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:18.931819 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108119317 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:18.931842 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108119318 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:19.955768 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108120341 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:19.955798 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108120341 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:20.979749 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108121365 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:20.979770 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108121365 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:22.003779 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108122389 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:22.003805 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108122389 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:23.027805 IP localhost.7811 > localhost.38226: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108123413 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:23.027840 IP localhost.38226 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3108123414 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: 00:46:24.051867 IP localhost.7811 > localhost.38226: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3108124437 ecr 3108108102], length 0 :: [ 00:46:44 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 00:46:44 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 00:46:44 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 00:46:44 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:46:44 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:46:45 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 00:46:45 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 160s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)