use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:29:20 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 10:29:20 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 10:29:20 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 10:30:20 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 10:30:20 ] :: [ 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) :: [ 10:30:20 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 10:30:20 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 10:30:20 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 10:30:20 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 10:30:30 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 10:30:30 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 10:30:30 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:30:30 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 10:30:30 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 10:30:30 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 10:30:30 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 10:30:30 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:59:37 ago on Thu 12 Jan 2023 09:30:54 AM EST. Package iproute-6.0.0-2.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 10:30:33 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 10:30:33 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 10:30:33 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 10:30:33 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 10:30:33 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 10:30:33 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 10:30:34 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:30:34 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 10:30:34 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 10:30:34 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 10:30:34 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 10:30:34 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 10:30:34 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 10:30:34 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 10:30:34 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 10:30:34 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 10:30:34 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 10:30:34 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 10:30:34 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 10:30:34 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 10:30:34 ] :: [ 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); | ^~~~ :: [ 10:30:34 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:30:34 ] :: [ 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 :: [ 10:30:34 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 10:30:39 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 10:30:40 ] :: [ 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 :: [ 10:30:40 ] :: [ BEGIN ] :: Running 'sleep 31 ' tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg drop } } :: [ 10:31:11 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:31:11 ] :: [ BEGIN ] :: Running 'childpid=651543' :: [ 10:31:11 ] :: [ PASS ] :: Command 'childpid=651543' (Expected 0, got 0) :: [ 10:31:11 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 651543' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 10:31:11 ] :: [ PASS ] :: Command 'kill -s SIGINT 651543' (Expected 0, got 0) :: [ 10:31:11 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 10:31:11 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:31:16 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 10:30:40.004219 IP localhost.58694 > localhost.7811: Flags [S], seq 3790009323, win 65495, options [mss 65495,sackOK,TS val 198752003 ecr 0,nop,wscale 7], length 0 10:30:40.004231 IP localhost.7811 > localhost.58694: Flags [S.], seq 2012106125, ack 3790009324, win 65483, options [mss 65495,sackOK,TS val 198752003 ecr 198752003,nop,wscale 7], length 0 10:30:40.004240 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198752003 ecr 198752003], length 0 10:30:46.145220 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198758144 ecr 198752003], length 0 10:30:46.145234 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198758144 ecr 198752003], length 0 10:30:47.169218 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198759168 ecr 198752003], length 0 10:30:47.169242 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198759168 ecr 198752003], length 0 10:30:48.193240 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198760192 ecr 198752003], length 0 10:30:48.193254 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198760192 ecr 198752003], length 0 10:30:49.217212 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198761216 ecr 198752003], length 0 10:30:49.217223 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198761216 ecr 198752003], length 0 10:30:50.241317 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198762240 ecr 198752003], length 0 10:30:50.241363 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198762240 ecr 198752003], length 0 10:30:51.265234 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198763264 ecr 198752003], length 0 10:30:51.265255 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198763264 ecr 198752003], length 0 10:30:52.289203 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198764288 ecr 198752003], length 0 10:30:52.289212 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198764288 ecr 198752003], length 0 10:30:53.313217 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198765312 ecr 198752003], length 0 10:30:53.313230 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198765312 ecr 198752003], length 0 10:30:54.337141 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198766336 ecr 198752003], length 0 10:30:54.337151 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198766336 ecr 198752003], length 0 10:30:55.361268 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198767360 ecr 198752003], length 0 10:30:55.361277 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198767360 ecr 198752003], length 0 10:30:56.385185 IP localhost.7811 > localhost.58694: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 198768384 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 10:31:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:31:16 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:31:16 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:31:16 ] :: [ LOG ] :: 10:30:40.004219 IP localhost.58694 > localhost.7811: Flags [S], seq 3790009323, win 65495, options [mss 65495,sackOK,TS val 198752003 ecr 0,nop,wscale 7], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:40.004231 IP localhost.7811 > localhost.58694: Flags [S.], seq 2012106125, ack 3790009324, win 65483, options [mss 65495,sackOK,TS val 198752003 ecr 198752003,nop,wscale 7], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:40.004240 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198752003 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:46.145220 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198758144 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:46.145234 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198758144 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:47.169218 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198759168 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:47.169242 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198759168 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:48.193240 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198760192 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:48.193254 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198760192 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:49.217212 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198761216 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:49.217223 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198761216 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:50.241317 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198762240 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:50.241363 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198762240 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:51.265234 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198763264 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:51.265255 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198763264 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:52.289203 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198764288 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:52.289212 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198764288 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:53.313217 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198765312 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:53.313230 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198765312 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:54.337141 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198766336 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:54.337151 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198766336 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:55.361268 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198767360 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:55.361277 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198767360 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:56.385185 IP localhost.7811 > localhost.58694: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 198768384 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:31:16 ] :: [ 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 :: [ 10:31:16 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 10:31:16 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:31:16 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:31:17 ] :: [ 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 :: [ 10:31:17 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 10:31:22 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 10:31:22 ] :: [ 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 drop } } :: [ 10:31:22 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 10:31:53 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:31:53 ] :: [ BEGIN ] :: Running 'childpid=652157' :: [ 10:31:53 ] :: [ PASS ] :: Command 'childpid=652157' (Expected 0, got 0) :: [ 10:31:53 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 652157' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 10:31:53 ] :: [ PASS ] :: Command 'kill -s SIGINT 652157' (Expected 0, got 0) :: [ 10:31:53 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 10:31:53 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:31:58 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 10:31:22.288620 IP localhost.40876 > localhost.7811: Flags [S], seq 3328961621, win 65495, options [mss 65495,sackOK,TS val 198794287 ecr 0,nop,wscale 7], length 0 10:31:22.288632 IP localhost.7811 > localhost.40876: Flags [S.], seq 2031686876, ack 3328961622, win 65483, options [mss 65495,sackOK,TS val 198794287 ecr 198794287,nop,wscale 7], length 0 10:31:22.288642 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198794287 ecr 198794287], length 0 10:31:28.641159 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198800640 ecr 198794287], length 0 10:31:28.641175 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198800640 ecr 198794287], length 0 10:31:29.665171 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198801664 ecr 198794287], length 0 10:31:29.665186 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198801664 ecr 198794287], length 0 10:31:30.689103 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198802688 ecr 198794287], length 0 10:31:30.689115 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198802688 ecr 198794287], length 0 10:31:31.713231 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198803712 ecr 198794287], length 0 10:31:31.713264 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198803712 ecr 198794287], length 0 10:31:32.737146 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198804736 ecr 198794287], length 0 10:31:32.737159 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198804736 ecr 198794287], length 0 10:31:33.761212 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198805760 ecr 198794287], length 0 10:31:33.761225 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198805760 ecr 198794287], length 0 10:31:34.785227 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198806784 ecr 198794287], length 0 10:31:34.785240 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198806784 ecr 198794287], length 0 10:31:35.809212 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198807808 ecr 198794287], length 0 10:31:35.809224 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198807808 ecr 198794287], length 0 10:31:36.833258 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198808832 ecr 198794287], length 0 10:31:36.833275 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198808832 ecr 198794287], length 0 10:31:37.857197 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198809856 ecr 198794287], length 0 10:31:37.857228 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198809856 ecr 198794287], length 0 10:31:38.881207 IP localhost.7811 > localhost.40876: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 198810880 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 10:31:58 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:31:58 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:31:58 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:31:58 ] :: [ LOG ] :: 10:31:22.288620 IP localhost.40876 > localhost.7811: Flags [S], seq 3328961621, win 65495, options [mss 65495,sackOK,TS val 198794287 ecr 0,nop,wscale 7], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:22.288632 IP localhost.7811 > localhost.40876: Flags [S.], seq 2031686876, ack 3328961622, win 65483, options [mss 65495,sackOK,TS val 198794287 ecr 198794287,nop,wscale 7], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:22.288642 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198794287 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:28.641159 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198800640 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:28.641175 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198800640 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:29.665171 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198801664 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:29.665186 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198801664 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:30.689103 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198802688 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:30.689115 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198802688 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:31.713231 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198803712 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:31.713264 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198803712 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:32.737146 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198804736 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:32.737159 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198804736 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:33.761212 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198805760 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:33.761225 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198805760 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:34.785227 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198806784 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:34.785240 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198806784 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:35.809212 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198807808 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:35.809224 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198807808 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:36.833258 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198808832 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:36.833275 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198808832 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:37.857197 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198809856 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:37.857228 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198809856 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:38.881207 IP localhost.7811 > localhost.40876: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 198810880 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:31:58 ] :: [ 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 :: [ 10:31:58 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 10:31:58 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:31:58 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:31:59 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 10:31:59 ] :: [ 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.3-1.fc38.noarch Test name : unknown Test started : 2023-01-12 10:29:20 EST Test finished : 2023-01-12 10:31:59 EST (still running) Test duration : 159 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-04-guest14.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 1 x Intel Xeon Processor (Skylake, IBRS) RAM size : 3726 MB HDD size : 53.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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:29:20 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 10:30:20 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 10:30:20 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 10:30:20 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 10:30:30 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 10:30:30 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:30:30 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 10:30:30 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 10:30:33 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 10:30:33 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 10:30:33 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 10:30:34 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 10:30:34 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 10:30:34 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 74s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:30:34 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 10:30:40 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:31:11 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:31:11 ] :: [ PASS ] :: Command 'childpid=651543' (Expected 0, got 0) :: [ 10:31:11 ] :: [ PASS ] :: Command 'kill -s SIGINT 651543' (Expected 0, got 0) :: [ 10:31:11 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:31:16 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 10:31:16 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:31:16 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:31:16 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:31:16 ] :: [ LOG ] :: 10:30:40.004219 IP localhost.58694 > localhost.7811: Flags [S], seq 3790009323, win 65495, options [mss 65495,sackOK,TS val 198752003 ecr 0,nop,wscale 7], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:40.004231 IP localhost.7811 > localhost.58694: Flags [S.], seq 2012106125, ack 3790009324, win 65483, options [mss 65495,sackOK,TS val 198752003 ecr 198752003,nop,wscale 7], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:40.004240 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198752003 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:46.145220 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198758144 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:46.145234 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198758144 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:47.169218 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198759168 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:47.169242 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198759168 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:48.193240 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198760192 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:48.193254 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198760192 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:49.217212 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198761216 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:49.217223 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198761216 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:50.241317 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198762240 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:50.241363 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198762240 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:51.265234 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198763264 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:51.265255 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198763264 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:52.289203 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198764288 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:52.289212 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198764288 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:53.313217 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198765312 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:53.313230 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198765312 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:54.337141 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198766336 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:54.337151 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198766336 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:55.361268 IP localhost.7811 > localhost.58694: Flags [.], ack 1, win 512, options [nop,nop,TS val 198767360 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:55.361277 IP localhost.58694 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198767360 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: 10:30:56.385185 IP localhost.7811 > localhost.58694: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 198768384 ecr 198752003], length 0 :: [ 10:31:16 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:31:16 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 10:31:16 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:31:16 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:31:17 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 10:31:22 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:31:53 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:31:53 ] :: [ PASS ] :: Command 'childpid=652157' (Expected 0, got 0) :: [ 10:31:53 ] :: [ PASS ] :: Command 'kill -s SIGINT 652157' (Expected 0, got 0) :: [ 10:31:53 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:31:58 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 10:31:58 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:31:58 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:31:58 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:31:58 ] :: [ LOG ] :: 10:31:22.288620 IP localhost.40876 > localhost.7811: Flags [S], seq 3328961621, win 65495, options [mss 65495,sackOK,TS val 198794287 ecr 0,nop,wscale 7], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:22.288632 IP localhost.7811 > localhost.40876: Flags [S.], seq 2031686876, ack 3328961622, win 65483, options [mss 65495,sackOK,TS val 198794287 ecr 198794287,nop,wscale 7], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:22.288642 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198794287 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:28.641159 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198800640 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:28.641175 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198800640 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:29.665171 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198801664 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:29.665186 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198801664 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:30.689103 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198802688 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:30.689115 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198802688 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:31.713231 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198803712 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:31.713264 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198803712 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:32.737146 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198804736 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:32.737159 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198804736 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:33.761212 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198805760 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:33.761225 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198805760 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:34.785227 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198806784 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:34.785240 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198806784 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:35.809212 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198807808 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:35.809224 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198807808 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:36.833258 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198808832 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:36.833275 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198808832 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:37.857197 IP localhost.7811 > localhost.40876: Flags [.], ack 1, win 512, options [nop,nop,TS val 198809856 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:37.857228 IP localhost.40876 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 198809856 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: 10:31:38.881207 IP localhost.7811 > localhost.40876: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 198810880 ecr 198794287], length 0 :: [ 10:31:58 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:31:58 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 10:31:58 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:31:58 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:31:59 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:31:59 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 10:31:59 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 159s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)