use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:49:13 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 16:49:13 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 16:49:13 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 16:50:13 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 16:50:13 ] :: [ 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) :: [ 16:50:13 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 16:50:13 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 16:50:13 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 16:50:13 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 16:50:23 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 16:50:23 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 16:50:23 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:23 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 16:50:23 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:23 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 16:50:23 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:23 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:56:57 ago on Thu 29 Sep 2022 03:53:27 PM EDT. Package iproute-5.18.0-2.fc37.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 16:50:25 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 16:50:25 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 16:50:25 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 16:50:25 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 16:50:25 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 16:50:25 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:25 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 16:50:25 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 16:50:25 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 16:50:25 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 16:50:25 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 16:50:26 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 16:50:26 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 16:50:26 ] :: [ 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); | ^~~~ :: [ 16:50:26 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:50:26 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 16:50:26 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 16:50:31 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 16:50:31 ] :: [ PASS ] :: Command './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 } } :: [ 16:50:31 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 16:51:02 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:51:02 ] :: [ BEGIN ] :: Running 'childpid=540704' :: [ 16:51:02 ] :: [ PASS ] :: Command 'childpid=540704' (Expected 0, got 0) :: [ 16:51:02 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 540704' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 16:51:02 ] :: [ PASS ] :: Command 'kill -s SIGINT 540704' (Expected 0, got 0) :: [ 16:51:02 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 16:51:03 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:51:08 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 16:50:31.779836 IP localhost.49736 > localhost.7811: Flags [S], seq 3592431292, win 65495, options [mss 65495,sackOK,TS val 2818288604 ecr 0,nop,wscale 7], length 0 16:50:31.779854 IP localhost.7811 > localhost.49736: Flags [S.], seq 617735271, ack 3592431293, win 65483, options [mss 65495,sackOK,TS val 2818288604 ecr 2818288604,nop,wscale 7], length 0 16:50:31.779870 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818288604 ecr 2818288604], length 0 16:50:37.964835 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818294789 ecr 2818288604], length 0 16:50:37.964871 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818294789 ecr 2818288604], length 0 16:50:39.004683 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818295829 ecr 2818288604], length 0 16:50:39.004703 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818295829 ecr 2818288604], length 0 16:50:40.044672 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818296869 ecr 2818288604], length 0 16:50:40.044687 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818296869 ecr 2818288604], length 0 16:50:41.084680 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818297909 ecr 2818288604], length 0 16:50:41.084697 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818297909 ecr 2818288604], length 0 16:50:42.124701 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818298949 ecr 2818288604], length 0 16:50:42.124715 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818298949 ecr 2818288604], length 0 16:50:43.164808 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818299989 ecr 2818288604], length 0 16:50:43.164856 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818299989 ecr 2818288604], length 0 16:50:44.204680 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818301029 ecr 2818288604], length 0 16:50:44.204695 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818301029 ecr 2818288604], length 0 16:50:45.244688 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818302069 ecr 2818288604], length 0 16:50:45.244703 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818302069 ecr 2818288604], length 0 16:50:46.284820 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818303109 ecr 2818288604], length 0 16:50:46.284865 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818303109 ecr 2818288604], length 0 16:50:47.324669 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818304149 ecr 2818288604], length 0 16:50:47.324685 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818304149 ecr 2818288604], length 0 16:50:48.364713 IP localhost.7811 > localhost.49736: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2818305189 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 16:51:08 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:51:08 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:51:08 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:51:08 ] :: [ LOG ] :: 16:50:31.779836 IP localhost.49736 > localhost.7811: Flags [S], seq 3592431292, win 65495, options [mss 65495,sackOK,TS val 2818288604 ecr 0,nop,wscale 7], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:31.779854 IP localhost.7811 > localhost.49736: Flags [S.], seq 617735271, ack 3592431293, win 65483, options [mss 65495,sackOK,TS val 2818288604 ecr 2818288604,nop,wscale 7], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:31.779870 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818288604 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:37.964835 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818294789 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:37.964871 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818294789 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:39.004683 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818295829 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:39.004703 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818295829 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:40.044672 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818296869 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:40.044687 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818296869 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:41.084680 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818297909 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:41.084697 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818297909 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:42.124701 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818298949 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:42.124715 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818298949 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:43.164808 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818299989 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:43.164856 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818299989 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:44.204680 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818301029 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:44.204695 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818301029 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:45.244688 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818302069 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:45.244703 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818302069 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:46.284820 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818303109 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:46.284865 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818303109 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:47.324669 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818304149 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:47.324685 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818304149 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:48.364713 IP localhost.7811 > localhost.49736: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2818305189 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:51:08 ] :: [ 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 :: [ 16:51:08 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 16:51:08 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:51:08 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:09 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 16:51:09 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 16:51:14 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 16:51:14 ] :: [ 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 } } :: [ 16:51:14 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 16:51:45 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:51:45 ] :: [ BEGIN ] :: Running 'childpid=541324' :: [ 16:51:45 ] :: [ PASS ] :: Command 'childpid=541324' (Expected 0, got 0) :: [ 16:51:45 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 541324' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 16:51:45 ] :: [ PASS ] :: Command 'kill -s SIGINT 541324' (Expected 0, got 0) :: [ 16:51:45 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 16:51:45 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:51:50 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 16:51:14.200786 IP localhost.47898 > localhost.7811: Flags [S], seq 3500655470, win 65495, options [mss 65495,sackOK,TS val 2818331025 ecr 0,nop,wscale 7], length 0 16:51:14.200806 IP localhost.7811 > localhost.47898: Flags [S.], seq 3612806396, ack 3500655471, win 65483, options [mss 65495,sackOK,TS val 2818331025 ecr 2818331025,nop,wscale 7], length 0 16:51:14.200822 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818331025 ecr 2818331025], length 0 16:51:20.204720 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818337029 ecr 2818331025], length 0 16:51:20.204756 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818337029 ecr 2818331025], length 0 16:51:21.244673 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818338069 ecr 2818331025], length 0 16:51:21.244691 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818338069 ecr 2818331025], length 0 16:51:22.284712 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818339109 ecr 2818331025], length 0 16:51:22.284762 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818339109 ecr 2818331025], length 0 16:51:23.324635 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818340149 ecr 2818331025], length 0 16:51:23.324648 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818340149 ecr 2818331025], length 0 16:51:24.364671 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818341189 ecr 2818331025], length 0 16:51:24.364715 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818341189 ecr 2818331025], length 0 16:51:25.404702 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818342229 ecr 2818331025], length 0 16:51:25.404751 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818342229 ecr 2818331025], length 0 16:51:26.444719 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818343269 ecr 2818331025], length 0 16:51:26.444763 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818343269 ecr 2818331025], length 0 16:51:27.484816 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818344309 ecr 2818331025], length 0 16:51:27.484861 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818344309 ecr 2818331025], length 0 16:51:28.524696 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818345349 ecr 2818331025], length 0 16:51:28.524742 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818345349 ecr 2818331025], length 0 16:51:29.564702 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818346389 ecr 2818331025], length 0 16:51:29.564747 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818346389 ecr 2818331025], length 0 16:51:30.604633 IP localhost.7811 > localhost.47898: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2818347429 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 16:51:50 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:51:50 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:51:50 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:51:50 ] :: [ LOG ] :: 16:51:14.200786 IP localhost.47898 > localhost.7811: Flags [S], seq 3500655470, win 65495, options [mss 65495,sackOK,TS val 2818331025 ecr 0,nop,wscale 7], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:14.200806 IP localhost.7811 > localhost.47898: Flags [S.], seq 3612806396, ack 3500655471, win 65483, options [mss 65495,sackOK,TS val 2818331025 ecr 2818331025,nop,wscale 7], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:14.200822 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818331025 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:20.204720 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818337029 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:20.204756 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818337029 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:21.244673 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818338069 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:21.244691 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818338069 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:22.284712 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818339109 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:22.284762 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818339109 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:23.324635 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818340149 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:23.324648 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818340149 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:24.364671 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818341189 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:24.364715 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818341189 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:25.404702 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818342229 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:25.404751 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818342229 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:26.444719 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818343269 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:26.444763 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818343269 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:27.484816 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818344309 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:27.484861 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818344309 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:28.524696 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818345349 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:28.524742 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818345349 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:29.564702 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818346389 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:29.564747 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818346389 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:30.604633 IP localhost.7811 > localhost.47898: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2818347429 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:51:50 ] :: [ 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 :: [ 16:51:50 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 16:51:50 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:51:50 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:51 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 16:51:51 ] :: [ 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 : 24 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-09-29 16:49:12 EDT Test finished : 2022-09-29 16:51:51 EDT (still running) Test duration : 159 seconds Distro : Fedora release 38 (Rawhide) Hostname : ampere-mtsnow-altramax-54.khw4.lab.eng.bos.redhat.com Architecture : unknown CPUs : 0 x RAM size : 63711 MB HDD size : 894.12 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:49:13 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 16:50:13 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 16:50:13 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 16:50:13 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 16:50:23 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 16:50:23 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:23 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:23 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:25 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 16:50:25 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 16:50:25 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 16:50:26 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 16:50:26 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:50:26 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 16:50:31 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 16:51:02 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:51:02 ] :: [ PASS ] :: Command 'childpid=540704' (Expected 0, got 0) :: [ 16:51:02 ] :: [ PASS ] :: Command 'kill -s SIGINT 540704' (Expected 0, got 0) :: [ 16:51:03 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:51:08 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 16:51:08 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:51:08 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:51:08 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:51:08 ] :: [ LOG ] :: 16:50:31.779836 IP localhost.49736 > localhost.7811: Flags [S], seq 3592431292, win 65495, options [mss 65495,sackOK,TS val 2818288604 ecr 0,nop,wscale 7], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:31.779854 IP localhost.7811 > localhost.49736: Flags [S.], seq 617735271, ack 3592431293, win 65483, options [mss 65495,sackOK,TS val 2818288604 ecr 2818288604,nop,wscale 7], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:31.779870 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818288604 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:37.964835 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818294789 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:37.964871 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818294789 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:39.004683 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818295829 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:39.004703 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818295829 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:40.044672 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818296869 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:40.044687 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818296869 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:41.084680 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818297909 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:41.084697 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818297909 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:42.124701 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818298949 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:42.124715 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818298949 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:43.164808 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818299989 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:43.164856 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818299989 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:44.204680 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818301029 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:44.204695 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818301029 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:45.244688 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818302069 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:45.244703 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818302069 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:46.284820 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818303109 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:46.284865 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818303109 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:47.324669 IP localhost.7811 > localhost.49736: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818304149 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:47.324685 IP localhost.49736 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818304149 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: 16:50:48.364713 IP localhost.7811 > localhost.49736: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2818305189 ecr 2818288604], length 0 :: [ 16:51:08 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:51:08 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 16:51:08 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:51:08 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:09 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 16:51:14 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 16:51:45 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:51:45 ] :: [ PASS ] :: Command 'childpid=541324' (Expected 0, got 0) :: [ 16:51:45 ] :: [ PASS ] :: Command 'kill -s SIGINT 541324' (Expected 0, got 0) :: [ 16:51:45 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:51:50 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 16:51:50 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:51:50 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:51:50 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:51:50 ] :: [ LOG ] :: 16:51:14.200786 IP localhost.47898 > localhost.7811: Flags [S], seq 3500655470, win 65495, options [mss 65495,sackOK,TS val 2818331025 ecr 0,nop,wscale 7], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:14.200806 IP localhost.7811 > localhost.47898: Flags [S.], seq 3612806396, ack 3500655471, win 65483, options [mss 65495,sackOK,TS val 2818331025 ecr 2818331025,nop,wscale 7], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:14.200822 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818331025 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:20.204720 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818337029 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:20.204756 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818337029 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:21.244673 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818338069 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:21.244691 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818338069 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:22.284712 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818339109 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:22.284762 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818339109 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:23.324635 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818340149 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:23.324648 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818340149 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:24.364671 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818341189 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:24.364715 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818341189 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:25.404702 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818342229 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:25.404751 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818342229 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:26.444719 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818343269 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:26.444763 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818343269 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:27.484816 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818344309 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:27.484861 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818344309 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:28.524696 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818345349 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:28.524742 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818345349 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:29.564702 IP localhost.7811 > localhost.47898: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818346389 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:29.564747 IP localhost.47898 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2818346389 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: 16:51:30.604633 IP localhost.7811 > localhost.47898: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2818347429 ecr 2818331025], length 0 :: [ 16:51:50 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:51:50 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 16:51:50 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:51:50 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:51 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:51 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 16:51:51 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 159s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)