use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:20:52 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 19:20:52 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 19:20:52 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 19:21:52 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 19:21:52 ] :: [ 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) :: [ 19:21:52 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 19:21:52 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 19:21:52 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 19:21:52 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 19:22:02 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 19:22:02 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 19:22:02 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 19:22:02 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 19:22:02 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 19:22:02 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 19:22:02 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 19:22:02 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:25:33 ago on Fri 30 Sep 2022 06:56:30 PM EDT. Package iproute-5.18.0-2.fc37.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 19:22:05 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 19:22:05 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 19:22:05 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 19:22:05 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 19:22:05 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 19:22:05 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 19:22:05 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 19:22:05 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 19:22:05 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 19:22:05 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 19:22:05 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 19:22:05 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 19:22:06 ] :: [ 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); | ^~~~ :: [ 19:22:06 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:22:06 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 19:22:06 ] :: [ 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 :: [ 19:22:11 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 19:22:11 ] :: [ 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 } } :: [ 19:22:11 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 19:22:42 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 19:22:42 ] :: [ BEGIN ] :: Running 'childpid=439085' :: [ 19:22:42 ] :: [ PASS ] :: Command 'childpid=439085' (Expected 0, got 0) :: [ 19:22:42 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 439085' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 19:22:42 ] :: [ PASS ] :: Command 'kill -s SIGINT 439085' (Expected 0, got 0) :: [ 19:22:42 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 19:22:42 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 19:22:47 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 19:22:11.718165 IP localhost.40270 > localhost.7811: Flags [S], seq 575726165, win 65495, options [mss 65495,sackOK,TS val 3411720536 ecr 0,nop,wscale 7], length 0 19:22:11.718181 IP localhost.7811 > localhost.40270: Flags [S.], seq 1553097293, ack 575726166, win 65483, options [mss 65495,sackOK,TS val 3411720536 ecr 3411720536,nop,wscale 7], length 0 19:22:11.718196 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411720536 ecr 3411720536], length 0 19:22:18.202230 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411727020 ecr 3411720536], length 0 19:22:18.202243 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411727020 ecr 3411720536], length 0 19:22:19.226158 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411728044 ecr 3411720536], length 0 19:22:19.226174 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411728044 ecr 3411720536], length 0 19:22:20.250139 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411729068 ecr 3411720536], length 0 19:22:20.250154 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411729068 ecr 3411720536], length 0 19:22:21.274130 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411730092 ecr 3411720536], length 0 19:22:21.274155 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411730092 ecr 3411720536], length 0 19:22:22.298229 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411731116 ecr 3411720536], length 0 19:22:22.298255 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411731116 ecr 3411720536], length 0 19:22:23.322135 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411732140 ecr 3411720536], length 0 19:22:23.322161 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411732140 ecr 3411720536], length 0 19:22:24.346202 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411733164 ecr 3411720536], length 0 19:22:24.346228 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411733164 ecr 3411720536], length 0 19:22:25.370248 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411734188 ecr 3411720536], length 0 19:22:25.370274 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411734188 ecr 3411720536], length 0 19:22:26.394155 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411735212 ecr 3411720536], length 0 19:22:26.394169 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411735212 ecr 3411720536], length 0 19:22:27.418206 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411736236 ecr 3411720536], length 0 19:22:27.418231 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411736236 ecr 3411720536], length 0 19:22:28.442214 IP localhost.7811 > localhost.40270: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3411737260 ecr 3411720536], length 0 :: [ 19:22:47 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 19:22:47 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:22:48 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 19:22:48 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 19:22:48 ] :: [ LOG ] :: 19:22:11.718165 IP localhost.40270 > localhost.7811: Flags [S], seq 575726165, win 65495, options [mss 65495,sackOK,TS val 3411720536 ecr 0,nop,wscale 7], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:11.718181 IP localhost.7811 > localhost.40270: Flags [S.], seq 1553097293, ack 575726166, win 65483, options [mss 65495,sackOK,TS val 3411720536 ecr 3411720536,nop,wscale 7], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:11.718196 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411720536 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:18.202230 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411727020 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:18.202243 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411727020 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:19.226158 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411728044 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:19.226174 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411728044 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:20.250139 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411729068 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:20.250154 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411729068 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:21.274130 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411730092 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:21.274155 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411730092 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:22.298229 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411731116 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:22.298255 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411731116 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:23.322135 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411732140 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:23.322161 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411732140 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:24.346202 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411733164 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:24.346228 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411733164 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:25.370248 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411734188 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:25.370274 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411734188 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:26.394155 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411735212 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:26.394169 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411735212 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:27.418206 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411736236 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:27.418231 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411736236 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:28.442214 IP localhost.7811 > localhost.40270: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3411737260 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:22:48 ] :: [ 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 :: [ 19:22:48 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 19:22:48 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 19:22:48 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:22:48 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 19:22:48 ] :: [ 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 :: [ 19:22:53 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 19:22:53 ] :: [ 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 } } :: [ 19:22:53 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 19:23:24 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 19:23:24 ] :: [ BEGIN ] :: Running 'childpid=439704' :: [ 19:23:24 ] :: [ PASS ] :: Command 'childpid=439704' (Expected 0, got 0) :: [ 19:23:24 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 439704' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 19:23:24 ] :: [ PASS ] :: Command 'kill -s SIGINT 439704' (Expected 0, got 0) :: [ 19:23:24 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 19:23:24 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 19:23:29 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 19:22:53.779108 IP localhost.49740 > localhost.7811: Flags [S], seq 2628353486, win 65495, options [mss 65495,sackOK,TS val 3411762597 ecr 0,nop,wscale 7], length 0 19:22:53.779121 IP localhost.7811 > localhost.49740: Flags [S.], seq 2789194175, ack 2628353487, win 65483, options [mss 65495,sackOK,TS val 3411762597 ecr 3411762597,nop,wscale 7], length 0 19:22:53.779131 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411762597 ecr 3411762597], length 0 19:23:00.186217 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411769004 ecr 3411762597], length 0 19:23:00.186232 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411769004 ecr 3411762597], length 0 19:23:01.210270 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411770028 ecr 3411762597], length 0 19:23:01.210295 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411770028 ecr 3411762597], length 0 19:23:02.234208 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411771052 ecr 3411762597], length 0 19:23:02.234222 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411771052 ecr 3411762597], length 0 19:23:03.258199 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411772076 ecr 3411762597], length 0 19:23:03.258223 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411772076 ecr 3411762597], length 0 19:23:04.282209 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411773100 ecr 3411762597], length 0 19:23:04.282229 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411773100 ecr 3411762597], length 0 19:23:05.306203 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411774124 ecr 3411762597], length 0 19:23:05.306217 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411774124 ecr 3411762597], length 0 19:23:06.330133 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411775148 ecr 3411762597], length 0 19:23:06.330147 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411775148 ecr 3411762597], length 0 19:23:07.354288 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411776172 ecr 3411762597], length 0 19:23:07.354309 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411776172 ecr 3411762597], length 0 19:23:08.378260 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411777196 ecr 3411762597], length 0 19:23:08.378281 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411777196 ecr 3411762597], length 0 19:23:09.402384 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411778220 ecr 3411762597], length 0 19:23:09.402407 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411778220 ecr 3411762597], length 0 19:23:10.426235 IP localhost.7811 > localhost.49740: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3411779244 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 19:23:30 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:23:30 ] :: [ LOG ] :: 19:22:53.779108 IP localhost.49740 > localhost.7811: Flags [S], seq 2628353486, win 65495, options [mss 65495,sackOK,TS val 3411762597 ecr 0,nop,wscale 7], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:22:53.779121 IP localhost.7811 > localhost.49740: Flags [S.], seq 2789194175, ack 2628353487, win 65483, options [mss 65495,sackOK,TS val 3411762597 ecr 3411762597,nop,wscale 7], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:22:53.779131 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411762597 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:00.186217 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411769004 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:00.186232 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411769004 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:01.210270 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411770028 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 19:23:30 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 19:23:30 ] :: [ LOG ] :: 19:23:01.210295 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411770028 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:02.234208 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411771052 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:02.234222 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411771052 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:03.258199 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411772076 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:03.258223 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411772076 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:04.282209 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411773100 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:04.282229 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411773100 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:05.306203 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411774124 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:05.306217 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411774124 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:06.330133 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411775148 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:06.330147 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411775148 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:07.354288 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411776172 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:07.354309 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411776172 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:08.378260 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411777196 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:08.378281 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411777196 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:09.402384 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411778220 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:09.402407 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411778220 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:10.426235 IP localhost.7811 > localhost.49740: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3411779244 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:23:30 ] :: [ 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 :: [ 19:23:30 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 19:23:30 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 19:23:30 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:23:30 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 19:23:30 ] :: [ 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 : 14 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-09-30 19:20:52 EDT Test finished : 2022-09-30 19:23:31 EDT (still running) Test duration : 159 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-04-guest20.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 2 x Intel Xeon Processor (Skylake, IBRS) RAM size : 7568 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:20:52 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 19:21:52 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 19:21:52 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 19:21:52 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 19:22:02 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 19:22:02 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 19:22:02 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 19:22:02 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 19:22:05 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 19:22:05 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 19:22:05 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 19:22:06 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 74s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:22:06 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 19:22:11 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 19:22:42 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 19:22:42 ] :: [ PASS ] :: Command 'childpid=439085' (Expected 0, got 0) :: [ 19:22:42 ] :: [ PASS ] :: Command 'kill -s SIGINT 439085' (Expected 0, got 0) :: [ 19:22:42 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 19:22:47 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 19:22:47 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:22:48 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 19:22:48 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 19:22:48 ] :: [ LOG ] :: 19:22:11.718165 IP localhost.40270 > localhost.7811: Flags [S], seq 575726165, win 65495, options [mss 65495,sackOK,TS val 3411720536 ecr 0,nop,wscale 7], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:11.718181 IP localhost.7811 > localhost.40270: Flags [S.], seq 1553097293, ack 575726166, win 65483, options [mss 65495,sackOK,TS val 3411720536 ecr 3411720536,nop,wscale 7], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:11.718196 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411720536 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:18.202230 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411727020 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:18.202243 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411727020 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:19.226158 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411728044 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:19.226174 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411728044 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:20.250139 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411729068 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:20.250154 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411729068 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:21.274130 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411730092 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:21.274155 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411730092 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:22.298229 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411731116 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:22.298255 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411731116 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:23.322135 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411732140 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:23.322161 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411732140 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:24.346202 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411733164 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:24.346228 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411733164 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:25.370248 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411734188 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:25.370274 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411734188 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:26.394155 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411735212 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:26.394169 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411735212 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:27.418206 IP localhost.7811 > localhost.40270: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411736236 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:27.418231 IP localhost.40270 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411736236 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: 19:22:28.442214 IP localhost.7811 > localhost.40270: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3411737260 ecr 3411720536], length 0 :: [ 19:22:48 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:22:48 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 19:22:48 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 19:22:48 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:22:48 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 19:22:53 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 19:23:24 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 19:23:24 ] :: [ PASS ] :: Command 'childpid=439704' (Expected 0, got 0) :: [ 19:23:24 ] :: [ PASS ] :: Command 'kill -s SIGINT 439704' (Expected 0, got 0) :: [ 19:23:24 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 19:23:30 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 19:23:30 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 19:23:30 ] :: [ LOG ] :: 19:22:53.779108 IP localhost.49740 > localhost.7811: Flags [S], seq 2628353486, win 65495, options [mss 65495,sackOK,TS val 3411762597 ecr 0,nop,wscale 7], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:22:53.779121 IP localhost.7811 > localhost.49740: Flags [S.], seq 2789194175, ack 2628353487, win 65483, options [mss 65495,sackOK,TS val 3411762597 ecr 3411762597,nop,wscale 7], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:22:53.779131 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411762597 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:00.186217 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411769004 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:00.186232 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411769004 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:01.210270 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411770028 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 19:23:30 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 19:23:30 ] :: [ LOG ] :: 19:23:01.210295 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411770028 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:02.234208 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411771052 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:02.234222 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411771052 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:03.258199 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411772076 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:03.258223 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411772076 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:04.282209 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411773100 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:04.282229 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411773100 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:05.306203 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411774124 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:05.306217 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411774124 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:06.330133 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411775148 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:06.330147 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411775148 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:07.354288 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411776172 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:07.354309 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411776172 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:08.378260 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411777196 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:08.378281 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411777196 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:09.402384 IP localhost.7811 > localhost.49740: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411778220 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:09.402407 IP localhost.49740 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3411778220 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: 19:23:10.426235 IP localhost.7811 > localhost.49740: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3411779244 ecr 3411762597], length 0 :: [ 19:23:30 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 19:23:30 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 19:23:30 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 19:23:30 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:23:30 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:23:31 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 19:23:31 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 159s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)