use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:35:14 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 07:35:14 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 07:35:14 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 07:36:14 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 07:36:14 ] :: [ 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) :: [ 07:36:14 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 07:36:14 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 07:36:14 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 07:36:14 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 07:36:24 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 07:36:24 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 07:36:24 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:36:24 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 07:36:24 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 07:36:24 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 07:36:24 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 07:36:24 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 1:09:06 ago on Wed 28 Dec 2022 06:27:19 AM EST. Package iproute-6.0.0-2.fc38.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 07:36:26 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 07:36:26 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 07:36:26 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 07:36:26 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 07:36:26 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 07:36:26 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 07:36:26 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:36:26 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 07:36:26 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 07:36:26 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 07:36:26 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 07:36:27 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 07:36:27 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 07:36:27 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 07:36:27 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 07:36:27 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 07:36:27 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 07:36:27 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 07:36:27 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 07:36:27 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 07:36:27 ] :: [ 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); | ^~~~ :: [ 07:36:27 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:36:27 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 07:36:27 ] :: [ 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 :: [ 07:36:32 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 07:36:32 ] :: [ 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 drop } } :: [ 07:36:32 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 07:37:03 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:37:03 ] :: [ BEGIN ] :: Running 'childpid=654714' :: [ 07:37:03 ] :: [ PASS ] :: Command 'childpid=654714' (Expected 0, got 0) :: [ 07:37:03 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 654714' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 07:37:03 ] :: [ PASS ] :: Command 'kill -s SIGINT 654714' (Expected 0, got 0) :: [ 07:37:03 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 07:37:03 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:37:08 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 07:36:32.692382 IP localhost.43152 > localhost.7811: Flags [S], seq 2863082891, win 65495, options [mss 65495,sackOK,TS val 3378986301 ecr 0,nop,wscale 7], length 0 07:36:32.692397 IP localhost.7811 > localhost.43152: Flags [S.], seq 3795104277, ack 2863082892, win 65483, options [mss 65495,sackOK,TS val 3378986301 ecr 3378986301,nop,wscale 7], length 0 07:36:32.692408 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378986301 ecr 3378986301], length 0 07:36:39.153245 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378992762 ecr 3378986301], length 0 07:36:39.153260 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378992762 ecr 3378986301], length 0 07:36:40.193241 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378993802 ecr 3378986301], length 0 07:36:40.193257 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378993802 ecr 3378986301], length 0 07:36:41.233219 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378994842 ecr 3378986301], length 0 07:36:41.233224 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378994842 ecr 3378986301], length 0 07:36:42.273240 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378995882 ecr 3378986301], length 0 07:36:42.273252 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378995882 ecr 3378986301], length 0 07:36:43.313233 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378996922 ecr 3378986301], length 0 07:36:43.313244 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378996922 ecr 3378986301], length 0 07:36:44.353238 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378997962 ecr 3378986301], length 0 07:36:44.353257 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378997962 ecr 3378986301], length 0 07:36:45.393220 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378999002 ecr 3378986301], length 0 07:36:45.393228 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378999002 ecr 3378986301], length 0 07:36:46.433223 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379000042 ecr 3378986301], length 0 07:36:46.433231 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379000042 ecr 3378986301], length 0 07:36:47.473231 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379001082 ecr 3378986301], length 0 07:36:47.473244 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379001082 ecr 3378986301], length 0 07:36:48.513214 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379002122 ecr 3378986301], length 0 07:36:48.513222 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379002122 ecr 3378986301], length 0 07:36:49.553230 IP localhost.7811 > localhost.43152: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3379003162 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 07:37:08 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:37:08 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:37:08 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:37:08 ] :: [ LOG ] :: 07:36:32.692382 IP localhost.43152 > localhost.7811: Flags [S], seq 2863082891, win 65495, options [mss 65495,sackOK,TS val 3378986301 ecr 0,nop,wscale 7], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:32.692397 IP localhost.7811 > localhost.43152: Flags [S.], seq 3795104277, ack 2863082892, win 65483, options [mss 65495,sackOK,TS val 3378986301 ecr 3378986301,nop,wscale 7], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:32.692408 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378986301 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:39.153245 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378992762 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:39.153260 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378992762 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:40.193241 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378993802 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:40.193257 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378993802 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:41.233219 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378994842 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:41.233224 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378994842 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:42.273240 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378995882 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:42.273252 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378995882 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:43.313233 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378996922 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:43.313244 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378996922 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:44.353238 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378997962 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:44.353257 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378997962 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:45.393220 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378999002 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:45.393228 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378999002 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:46.433223 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379000042 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:46.433231 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379000042 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:47.473231 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379001082 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:47.473244 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379001082 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:48.513214 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379002122 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:48.513222 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379002122 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:49.553230 IP localhost.7811 > localhost.43152: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3379003162 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:37:09 ] :: [ 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 :: [ 07:37:09 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 07:37:09 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:37:09 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:37:09 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 07:37:09 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 07:37:14 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 07:37:14 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg drop } } :: [ 07:37:14 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 07:37:45 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:37:45 ] :: [ BEGIN ] :: Running 'childpid=655328' :: [ 07:37:45 ] :: [ PASS ] :: Command 'childpid=655328' (Expected 0, got 0) :: [ 07:37:45 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 655328' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 07:37:45 ] :: [ PASS ] :: Command 'kill -s SIGINT 655328' (Expected 0, got 0) :: [ 07:37:45 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 07:37:45 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:37:50 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 07:37:14.591139 IP localhost.32802 > localhost.7811: Flags [S], seq 661753414, win 65495, options [mss 65495,sackOK,TS val 3379028199 ecr 0,nop,wscale 7], length 0 07:37:14.591152 IP localhost.7811 > localhost.32802: Flags [S.], seq 4221719959, ack 661753415, win 65483, options [mss 65495,sackOK,TS val 3379028199 ecr 3379028199,nop,wscale 7], length 0 07:37:14.591163 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379028199 ecr 3379028199], length 0 07:37:20.753241 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379034362 ecr 3379028199], length 0 07:37:20.753265 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379034362 ecr 3379028199], length 0 07:37:21.793232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379035402 ecr 3379028199], length 0 07:37:21.793246 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379035402 ecr 3379028199], length 0 07:37:22.833231 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379036442 ecr 3379028199], length 0 07:37:22.833251 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379036442 ecr 3379028199], length 0 07:37:23.883227 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379037492 ecr 3379028199], length 0 07:37:23.883246 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379037492 ecr 3379028199], length 0 07:37:24.913232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379038522 ecr 3379028199], length 0 07:37:24.913256 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379038522 ecr 3379028199], length 0 07:37:25.953229 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379039562 ecr 3379028199], length 0 07:37:25.953245 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379039562 ecr 3379028199], length 0 07:37:26.993242 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379040602 ecr 3379028199], length 0 07:37:26.993255 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379040602 ecr 3379028199], length 0 07:37:28.033238 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379041642 ecr 3379028199], length 0 07:37:28.033248 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379041642 ecr 3379028199], length 0 07:37:29.073228 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379042682 ecr 3379028199], length 0 07:37:29.073239 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379042682 ecr 3379028199], length 0 07:37:30.113232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379043722 ecr 3379028199], length 0 07:37:30.113249 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379043722 ecr 3379028199], length 0 07:37:31.153234 IP localhost.7811 > localhost.32802: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3379044762 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 07:37:50 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:37:50 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:37:50 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:37:50 ] :: [ LOG ] :: 07:37:14.591139 IP localhost.32802 > localhost.7811: Flags [S], seq 661753414, win 65495, options [mss 65495,sackOK,TS val 3379028199 ecr 0,nop,wscale 7], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:14.591152 IP localhost.7811 > localhost.32802: Flags [S.], seq 4221719959, ack 661753415, win 65483, options [mss 65495,sackOK,TS val 3379028199 ecr 3379028199,nop,wscale 7], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:14.591163 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379028199 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:20.753241 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379034362 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:20.753265 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379034362 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:21.793232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379035402 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:21.793246 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379035402 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:22.833231 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379036442 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:22.833251 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379036442 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:23.883227 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379037492 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:23.883246 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379037492 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:24.913232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379038522 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:24.913256 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379038522 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:25.953229 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379039562 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:25.953245 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379039562 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:26.993242 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379040602 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:26.993255 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379040602 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:28.033238 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379041642 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:28.033248 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379041642 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:29.073228 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379042682 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:29.073239 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379042682 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:30.113232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379043722 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:30.113249 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379043722 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:31.153234 IP localhost.7811 > localhost.32802: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3379044762 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:37:50 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 07:37:50 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 07:37:51 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:37:51 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:37:51 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 07:37:51 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 25 Package : unknown beakerlib RPM : beakerlib-1.29.3-1.fc38.noarch Test name : unknown Test started : 2022-12-28 07:35:14 EST Test finished : 2022-12-28 07:37:51 EST (still running) Test duration : 157 seconds Distro : Fedora release 38 (Rawhide) Hostname : ampere-mtsnow-altra-01-vm-11.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 30012 MB HDD size : 215.86 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:35:14 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 07:36:14 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 07:36:14 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 07:36:14 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 07:36:24 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 07:36:24 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:36:24 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 07:36:24 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 07:36:26 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 07:36:26 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 07:36:26 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 07:36:26 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:36:26 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 07:36:26 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 07:36:27 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 07:36:27 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 07:36:27 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 07:36:27 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 07:36:27 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 07:36:27 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:36:27 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 07:36:32 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 07:37:03 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:37:03 ] :: [ PASS ] :: Command 'childpid=654714' (Expected 0, got 0) :: [ 07:37:03 ] :: [ PASS ] :: Command 'kill -s SIGINT 654714' (Expected 0, got 0) :: [ 07:37:03 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:37:08 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 07:37:08 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:37:08 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:37:08 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:37:08 ] :: [ LOG ] :: 07:36:32.692382 IP localhost.43152 > localhost.7811: Flags [S], seq 2863082891, win 65495, options [mss 65495,sackOK,TS val 3378986301 ecr 0,nop,wscale 7], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:32.692397 IP localhost.7811 > localhost.43152: Flags [S.], seq 3795104277, ack 2863082892, win 65483, options [mss 65495,sackOK,TS val 3378986301 ecr 3378986301,nop,wscale 7], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:32.692408 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378986301 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:39.153245 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378992762 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:39.153260 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378992762 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:40.193241 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378993802 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:40.193257 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378993802 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:41.233219 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378994842 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:41.233224 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378994842 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:42.273240 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378995882 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:42.273252 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378995882 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:43.313233 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378996922 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:43.313244 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378996922 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:44.353238 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378997962 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:44.353257 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378997962 ecr 3378986301], length 0 :: [ 07:37:08 ] :: [ LOG ] :: 07:36:45.393220 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378999002 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:45.393228 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3378999002 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:46.433223 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379000042 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:46.433231 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379000042 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:47.473231 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379001082 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:47.473244 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379001082 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:48.513214 IP localhost.7811 > localhost.43152: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379002122 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:48.513222 IP localhost.43152 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379002122 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: 07:36:49.553230 IP localhost.7811 > localhost.43152: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3379003162 ecr 3378986301], length 0 :: [ 07:37:09 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:37:09 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 07:37:09 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:37:09 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:37:09 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 07:37:14 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 07:37:45 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:37:45 ] :: [ PASS ] :: Command 'childpid=655328' (Expected 0, got 0) :: [ 07:37:45 ] :: [ PASS ] :: Command 'kill -s SIGINT 655328' (Expected 0, got 0) :: [ 07:37:45 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:37:50 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 07:37:50 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:37:50 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:37:50 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:37:50 ] :: [ LOG ] :: 07:37:14.591139 IP localhost.32802 > localhost.7811: Flags [S], seq 661753414, win 65495, options [mss 65495,sackOK,TS val 3379028199 ecr 0,nop,wscale 7], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:14.591152 IP localhost.7811 > localhost.32802: Flags [S.], seq 4221719959, ack 661753415, win 65483, options [mss 65495,sackOK,TS val 3379028199 ecr 3379028199,nop,wscale 7], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:14.591163 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379028199 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:20.753241 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379034362 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:20.753265 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379034362 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:21.793232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379035402 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:21.793246 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379035402 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:22.833231 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379036442 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:22.833251 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379036442 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:23.883227 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379037492 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:23.883246 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379037492 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:24.913232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379038522 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:24.913256 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379038522 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:25.953229 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379039562 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:25.953245 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379039562 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:26.993242 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379040602 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:26.993255 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379040602 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:28.033238 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379041642 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:28.033248 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379041642 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:29.073228 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379042682 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:29.073239 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379042682 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:30.113232 IP localhost.7811 > localhost.32802: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379043722 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:30.113249 IP localhost.32802 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 3379043722 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: 07:37:31.153234 IP localhost.7811 > localhost.32802: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 3379044762 ecr 3379028199], length 0 :: [ 07:37:50 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:37:50 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 07:37:51 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:37:51 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:37:51 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:37:51 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 07:37:51 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 157s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)