use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:45:34 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 09:45:34 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 09:45:34 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 09:46:34 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 09:46:34 ] :: [ 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) :: [ 09:46:34 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 09:46:35 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 09:46:35 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 09:46:35 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 09:46:45 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 09:46:45 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 09:46:45 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 09:46:45 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 09:46:45 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 09:46:45 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 09:46:45 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 09:46:45 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 1:00:52 ago on Tue 24 Jan 2023 08:45:54 AM EST. Package iproute-6.0.0-2.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 09:46:48 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 09:46:48 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 09:46:48 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 09:46:48 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 09:46:48 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 09:46:48 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 09:46:48 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 09:46:48 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 09:46:48 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 09:46:48 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 09:46:48 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 09:46:48 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 09:46:48 ] :: [ 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); | ^~~~ :: [ 09:46:48 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:46:49 ] :: [ 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 :: [ 09:46:49 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 09:46:54 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 09:46:54 ] :: [ 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 :: [ 09:46:54 ] :: [ BEGIN ] :: Running 'sleep 31 ' tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg drop } } :: [ 09:47:25 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 09:47:25 ] :: [ BEGIN ] :: Running 'childpid=681753' :: [ 09:47:25 ] :: [ PASS ] :: Command 'childpid=681753' (Expected 0, got 0) :: [ 09:47:25 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 681753' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 09:47:25 ] :: [ PASS ] :: Command 'kill -s SIGINT 681753' (Expected 0, got 0) :: [ 09:47:25 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 09:47:25 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 09:47:30 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 09:46:54.565121 IP localhost.48288 > localhost.7811: Flags [S], seq 729386640, win 65495, options [mss 65495,sackOK,TS val 1006837082 ecr 0,nop,wscale 7], length 0 09:46:54.565132 IP localhost.7811 > localhost.48288: Flags [S.], seq 3399350466, ack 729386641, win 65483, options [mss 65495,sackOK,TS val 1006837082 ecr 1006837082,nop,wscale 7], length 0 09:46:54.565142 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006837082 ecr 1006837082], length 0 09:47:01.001348 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006843518 ecr 1006837082], length 0 09:47:01.001361 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006843518 ecr 1006837082], length 0 09:47:02.025346 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006844542 ecr 1006837082], length 0 09:47:02.025360 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006844542 ecr 1006837082], length 0 09:47:03.049237 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006845566 ecr 1006837082], length 0 09:47:03.049250 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006845566 ecr 1006837082], length 0 09:47:04.073369 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006846590 ecr 1006837082], length 0 09:47:04.073378 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006846590 ecr 1006837082], length 0 09:47:05.097471 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006847614 ecr 1006837082], length 0 09:47:05.097502 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006847615 ecr 1006837082], length 0 09:47:06.121363 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006848638 ecr 1006837082], length 0 09:47:06.121378 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006848638 ecr 1006837082], length 0 09:47:07.145255 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006849662 ecr 1006837082], length 0 09:47:07.145264 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006849662 ecr 1006837082], length 0 09:47:08.169310 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006850686 ecr 1006837082], length 0 09:47:08.169321 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006850686 ecr 1006837082], length 0 09:47:09.193280 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006851710 ecr 1006837082], length 0 09:47:09.193293 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006851710 ecr 1006837082], length 0 09:47:10.217325 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006852734 ecr 1006837082], length 0 09:47:10.217338 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006852734 ecr 1006837082], length 0 09:47:11.241289 IP localhost.7811 > localhost.48288: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1006853758 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 09:47:30 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 09:47:30 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 09:47:30 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 09:47:30 ] :: [ LOG ] :: 09:46:54.565121 IP localhost.48288 > localhost.7811: Flags [S], seq 729386640, win 65495, options [mss 65495,sackOK,TS val 1006837082 ecr 0,nop,wscale 7], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:46:54.565132 IP localhost.7811 > localhost.48288: Flags [S.], seq 3399350466, ack 729386641, win 65483, options [mss 65495,sackOK,TS val 1006837082 ecr 1006837082,nop,wscale 7], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:46:54.565142 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006837082 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:01.001348 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006843518 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:01.001361 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006843518 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:02.025346 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006844542 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:02.025360 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006844542 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:03.049237 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006845566 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:03.049250 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006845566 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:04.073369 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006846590 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:04.073378 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006846590 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:05.097471 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006847614 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:05.097502 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006847615 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:06.121363 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006848638 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:06.121378 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006848638 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:07.145255 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006849662 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:07.145264 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006849662 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:08.169310 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006850686 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:08.169321 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006850686 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:09.193280 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006851710 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:09.193293 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006851710 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:10.217325 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006852734 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:10.217338 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006852734 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:11.241289 IP localhost.7811 > localhost.48288: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1006853758 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 09:47:31 ] :: [ 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 :: [ 09:47:31 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 09:47:31 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 09:47:31 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:47:31 ] :: [ 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 :: [ 09:47:31 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 09:47:36 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 09:47:36 ] :: [ 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 } } :: [ 09:47:36 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 09:48:07 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 09:48:07 ] :: [ BEGIN ] :: Running 'childpid=682369' :: [ 09:48:07 ] :: [ PASS ] :: Command 'childpid=682369' (Expected 0, got 0) :: [ 09:48:08 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 682369' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 09:48:08 ] :: [ PASS ] :: Command 'kill -s SIGINT 682369' (Expected 0, got 0) :: [ 09:48:08 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 09:48:08 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 09:48:13 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 09:47:36.859936 IP localhost.39064 > localhost.7811: Flags [S], seq 886110164, win 65495, options [mss 65495,sackOK,TS val 1006879377 ecr 0,nop,wscale 7], length 0 09:47:36.859948 IP localhost.7811 > localhost.39064: Flags [S.], seq 591552098, ack 886110165, win 65483, options [mss 65495,sackOK,TS val 1006879377 ecr 1006879377,nop,wscale 7], length 0 09:47:36.859958 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006879377 ecr 1006879377], length 0 09:47:42.985308 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006885502 ecr 1006879377], length 0 09:47:42.985331 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006885502 ecr 1006879377], length 0 09:47:44.009401 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006886526 ecr 1006879377], length 0 09:47:44.009425 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006886526 ecr 1006879377], length 0 09:47:45.033250 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006887550 ecr 1006879377], length 0 09:47:45.033276 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006887550 ecr 1006879377], length 0 09:47:46.057399 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006888574 ecr 1006879377], length 0 09:47:46.057410 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006888574 ecr 1006879377], length 0 09:47:47.081420 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006889598 ecr 1006879377], length 0 09:47:47.081432 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006889598 ecr 1006879377], length 0 09:47:48.105288 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006890622 ecr 1006879377], length 0 09:47:48.105299 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006890622 ecr 1006879377], length 0 09:47:49.129349 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006891646 ecr 1006879377], length 0 09:47:49.129360 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006891646 ecr 1006879377], length 0 09:47:50.153316 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006892670 ecr 1006879377], length 0 09:47:50.153337 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006892670 ecr 1006879377], length 0 09:47:51.177347 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006893694 ecr 1006879377], length 0 09:47:51.177369 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006893694 ecr 1006879377], length 0 09:47:52.201307 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006894718 ecr 1006879377], length 0 09:47:52.201328 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006894718 ecr 1006879377], length 0 09:47:53.225331 IP localhost.7811 > localhost.39064: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1006895742 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 09:48:13 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 09:48:13 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 09:48:13 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 09:48:13 ] :: [ LOG ] :: 09:47:36.859936 IP localhost.39064 > localhost.7811: Flags [S], seq 886110164, win 65495, options [mss 65495,sackOK,TS val 1006879377 ecr 0,nop,wscale 7], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:36.859948 IP localhost.7811 > localhost.39064: Flags [S.], seq 591552098, ack 886110165, win 65483, options [mss 65495,sackOK,TS val 1006879377 ecr 1006879377,nop,wscale 7], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:36.859958 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006879377 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:42.985308 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006885502 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:42.985331 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006885502 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:44.009401 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006886526 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:44.009425 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006886526 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:45.033250 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006887550 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:45.033276 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006887550 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:46.057399 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006888574 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:46.057410 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006888574 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:47.081420 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006889598 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:47.081432 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006889598 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:48.105288 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006890622 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:48.105299 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006890622 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:49.129349 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006891646 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:49.129360 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006891646 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:50.153316 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006892670 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:50.153337 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006892670 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:51.177347 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006893694 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:51.177369 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006893694 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:52.201307 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006894718 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:52.201328 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006894718 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:53.225331 IP localhost.7811 > localhost.39064: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1006895742 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 09:48:13 ] :: [ 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 :: [ 09:48:13 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 09:48:13 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 09:48:13 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:48:14 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 09:48:14 ] :: [ 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-24 09:45:34 EST Test finished : 2023-01-24 09:48:14 EST (still running) Test duration : 160 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-04-guest01.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 1 x Intel Xeon Processor (Skylake, IBRS) RAM size : 3730 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:45:34 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 09:46:34 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 09:46:34 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 09:46:35 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 09:46:45 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 09:46:45 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 09:46:45 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 09:46:45 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 09:46:48 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 09:46:48 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 09:46:48 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 74s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:46:49 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 09:46:54 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 09:47:25 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 09:47:25 ] :: [ PASS ] :: Command 'childpid=681753' (Expected 0, got 0) :: [ 09:47:25 ] :: [ PASS ] :: Command 'kill -s SIGINT 681753' (Expected 0, got 0) :: [ 09:47:25 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 09:47:30 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 09:47:30 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 09:47:30 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 09:47:30 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 09:47:30 ] :: [ LOG ] :: 09:46:54.565121 IP localhost.48288 > localhost.7811: Flags [S], seq 729386640, win 65495, options [mss 65495,sackOK,TS val 1006837082 ecr 0,nop,wscale 7], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:46:54.565132 IP localhost.7811 > localhost.48288: Flags [S.], seq 3399350466, ack 729386641, win 65483, options [mss 65495,sackOK,TS val 1006837082 ecr 1006837082,nop,wscale 7], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:46:54.565142 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006837082 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:01.001348 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006843518 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:01.001361 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006843518 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:02.025346 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006844542 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:02.025360 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006844542 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:03.049237 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006845566 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:03.049250 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006845566 ecr 1006837082], length 0 :: [ 09:47:30 ] :: [ LOG ] :: 09:47:04.073369 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006846590 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:04.073378 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006846590 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:05.097471 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006847614 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:05.097502 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006847615 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:06.121363 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006848638 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:06.121378 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006848638 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:07.145255 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006849662 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:07.145264 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006849662 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:08.169310 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006850686 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:08.169321 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006850686 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:09.193280 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006851710 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:09.193293 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006851710 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:10.217325 IP localhost.7811 > localhost.48288: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006852734 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:10.217338 IP localhost.48288 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006852734 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: 09:47:11.241289 IP localhost.7811 > localhost.48288: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1006853758 ecr 1006837082], length 0 :: [ 09:47:31 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 09:47:31 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 09:47:31 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 09:47:31 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:47:31 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 09:47:36 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 09:48:07 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 09:48:07 ] :: [ PASS ] :: Command 'childpid=682369' (Expected 0, got 0) :: [ 09:48:08 ] :: [ PASS ] :: Command 'kill -s SIGINT 682369' (Expected 0, got 0) :: [ 09:48:08 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 09:48:13 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 09:48:13 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 09:48:13 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 09:48:13 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 09:48:13 ] :: [ LOG ] :: 09:47:36.859936 IP localhost.39064 > localhost.7811: Flags [S], seq 886110164, win 65495, options [mss 65495,sackOK,TS val 1006879377 ecr 0,nop,wscale 7], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:36.859948 IP localhost.7811 > localhost.39064: Flags [S.], seq 591552098, ack 886110165, win 65483, options [mss 65495,sackOK,TS val 1006879377 ecr 1006879377,nop,wscale 7], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:36.859958 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006879377 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:42.985308 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006885502 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:42.985331 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006885502 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:44.009401 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006886526 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:44.009425 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006886526 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:45.033250 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006887550 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:45.033276 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006887550 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:46.057399 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006888574 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:46.057410 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006888574 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:47.081420 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006889598 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:47.081432 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006889598 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:48.105288 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006890622 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:48.105299 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006890622 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:49.129349 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006891646 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:49.129360 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006891646 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:50.153316 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006892670 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:50.153337 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006892670 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:51.177347 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006893694 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:51.177369 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006893694 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:52.201307 IP localhost.7811 > localhost.39064: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006894718 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:52.201328 IP localhost.39064 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1006894718 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: 09:47:53.225331 IP localhost.7811 > localhost.39064: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1006895742 ecr 1006879377], length 0 :: [ 09:48:13 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 09:48:13 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 09:48:13 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 09:48:13 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:48:14 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:48:14 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 09:48:14 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 160s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)