use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:17:07 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 10:17:07 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 10:17:08 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 10:18:08 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 10:18:10 ] :: [ BEGIN ] :: Running 'systemctl status firewalld' ○ firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; preset: enabled) Active: inactive (dead) Docs: man:firewalld(1) :: [ 10:18:10 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 10:18:12 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 10:18:14 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 10:18:15 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 10:18:25 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 10:18:26 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 10:18:26 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:18:27 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 10:18:28 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 10:18:28 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 10:18:29 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 10:18:30 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 2:12:19 ago on Tue 17 Jan 2023 08:06:19 AM EST. Package iproute-6.0.0-2.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 10:18:41 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 10:18:42 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 10:18:42 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 10:18:43 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 10:18:44 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 10:18:45 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 10:18:45 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:18:46 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 10:18:46 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 10:18:47 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 10:18:47 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 10:18:48 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 10:18:48 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 10:18:49 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 10:18:49 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 10:18:50 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 10:18:50 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 10:18:51 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 10:18:51 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 10:18:52 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 10:18:52 ] :: [ BEGIN ] :: Running 'gcc -g -Wall -o keepalive keepalive.c' keepalive.c: In function ‘main’: keepalive.c:119:9: warning: implicit declaration of function ‘wait’ [-Wimplicit-function-declaration] 119 | wait(&status); | ^~~~ :: [ 10:18:54 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 108s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:19:09 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 10:19:10 ] :: [ 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 :: [ 10:19:15 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 10:19:16 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:19:17 ] :: [ BEGIN ] :: Running 'sleep 31 ' table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg drop } } :: [ 10:19:48 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:19:49 ] :: [ BEGIN ] :: Running 'childpid=76373' :: [ 10:19:50 ] :: [ PASS ] :: Command 'childpid=76373' (Expected 0, got 0) :: [ 10:19:50 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 76373' connected :: [ 10:19:51 ] :: [ PASS ] :: Command 'kill -s SIGINT 76373' (Expected 0, got 0) accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 10:19:51 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 10:19:52 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:19:58 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 10:19:16.023771 IP localhost.34860 > localhost.7811: Flags [S], seq 1444338477, win 65495, options [mss 65495,sackOK,TS val 1536778601 ecr 0,nop,wscale 7], length 0 10:19:16.024296 IP localhost.7811 > localhost.34860: Flags [S.], seq 4274797100, ack 1444338478, win 65483, options [mss 65495,sackOK,TS val 1536778601 ecr 1536778601,nop,wscale 7], length 0 10:19:16.024957 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536778602 ecr 1536778601], length 0 10:19:22.385779 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536784962 ecr 1536778602], length 0 10:19:22.386372 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536784963 ecr 1536778601], length 0 10:19:23.408835 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536785986 ecr 1536778602], length 0 10:19:23.409127 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536785986 ecr 1536778601], length 0 10:19:24.432963 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536787010 ecr 1536778602], length 0 10:19:24.433292 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536787010 ecr 1536778601], length 0 10:19:25.457064 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536788034 ecr 1536778602], length 0 10:19:25.457406 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536788035 ecr 1536778601], length 0 10:19:26.480964 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536789058 ecr 1536778602], length 0 10:19:26.481190 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536789058 ecr 1536778601], length 0 10:19:27.505100 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536790082 ecr 1536778602], length 0 10:19:27.505327 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536790083 ecr 1536778601], length 0 10:19:28.529801 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536791107 ecr 1536778602], length 0 10:19:28.530142 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536791107 ecr 1536778601], length 0 10:19:29.552794 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536792130 ecr 1536778602], length 0 10:19:29.553029 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536792130 ecr 1536778601], length 0 10:19:30.577010 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536793154 ecr 1536778602], length 0 10:19:30.577254 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536793154 ecr 1536778601], length 0 10:19:31.600983 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536794178 ecr 1536778602], length 0 10:19:31.601259 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536794178 ecr 1536778601], length 0 10:19:32.625000 IP localhost.7811 > localhost.34860: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1536795202 ecr 1536778602], length 0 :: [ 10:19:59 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 10:19:59 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:19:59 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:19:59 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:20:00 ] :: [ LOG ] :: 10:19:16.023771 IP localhost.34860 > localhost.7811: Flags [S], seq 1444338477, win 65495, options [mss 65495,sackOK,TS val 1536778601 ecr 0,nop,wscale 7], length 0 :: [ 10:20:00 ] :: [ LOG ] :: 10:19:16.024296 IP localhost.7811 > localhost.34860: Flags [S.], seq 4274797100, ack 1444338478, win 65483, options [mss 65495,sackOK,TS val 1536778601 ecr 1536778601,nop,wscale 7], length 0 :: [ 10:20:00 ] :: [ LOG ] :: 10:19:16.024957 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536778602 ecr 1536778601], length 0 :: [ 10:20:00 ] :: [ LOG ] :: 10:19:22.385779 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536784962 ecr 1536778602], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:22.386372 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536784963 ecr 1536778601], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:23.408835 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536785986 ecr 1536778602], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:23.409127 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536785986 ecr 1536778601], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:24.432963 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536787010 ecr 1536778602], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:24.433292 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536787010 ecr 1536778601], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:25.457064 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536788034 ecr 1536778602], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:25.457406 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536788035 ecr 1536778601], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:26.480964 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536789058 ecr 1536778602], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:26.481190 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536789058 ecr 1536778601], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:27.505100 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536790082 ecr 1536778602], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:27.505327 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536790083 ecr 1536778601], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:28.529801 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536791107 ecr 1536778602], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:28.530142 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536791107 ecr 1536778601], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:29.552794 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536792130 ecr 1536778602], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:29.553029 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536792130 ecr 1536778601], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:30.577010 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536793154 ecr 1536778602], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:30.577254 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536793154 ecr 1536778601], length 0 :: [ 10:20:05 ] :: [ LOG ] :: 10:19:31.600983 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536794178 ecr 1536778602], length 0 :: [ 10:20:05 ] :: [ LOG ] :: 10:19:31.601259 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536794178 ecr 1536778601], length 0 :: [ 10:20:05 ] :: [ LOG ] :: 10:19:32.625000 IP localhost.7811 > localhost.34860: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1536795202 ecr 1536778602], length 0 :: [ 10:20:05 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:20:06 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 10:20:07 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 10:20:07 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:20:07 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 59s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) ** host PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:20:22 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 10:20:22 ] :: [ 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 :: [ 10:20:28 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' :: [ 10:20:28 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) /usr/sbin/nft :: [ 10:20:29 ] :: [ BEGIN ] :: Running 'sleep 31 ' table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg drop } } :: [ 10:21:00 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:21:01 ] :: [ BEGIN ] :: Running 'childpid=77000' :: [ 10:21:02 ] :: [ PASS ] :: Command 'childpid=77000' (Expected 0, got 0) :: [ 10:21:02 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 77000' connected :: [ 10:21:03 ] :: [ PASS ] :: Command 'kill -s SIGINT 77000' (Expected 0, got 0) accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 10:21:04 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 10:21:04 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:21:10 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 10:20:28.645726 IP localhost.42118 > localhost.7811: Flags [S], seq 2835142670, win 65495, options [mss 65495,sackOK,TS val 1536851223 ecr 0,nop,wscale 7], length 0 10:20:28.646146 IP localhost.7811 > localhost.42118: Flags [S.], seq 1645427301, ack 2835142671, win 65483, options [mss 65495,sackOK,TS val 1536851223 ecr 1536851223,nop,wscale 7], length 0 10:20:28.646554 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536851224 ecr 1536851223], length 0 10:20:35.089138 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536857666 ecr 1536851224], length 0 10:20:35.089451 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536857667 ecr 1536851223], length 0 10:20:36.112827 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536858690 ecr 1536851224], length 0 10:20:36.113108 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536858690 ecr 1536851223], length 0 10:20:37.139339 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536859716 ecr 1536851224], length 0 10:20:37.139726 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536859717 ecr 1536851223], length 0 10:20:38.160803 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536860738 ecr 1536851224], length 0 10:20:38.161053 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536860738 ecr 1536851223], length 0 10:20:39.184851 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536861762 ecr 1536851224], length 0 10:20:39.185165 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536861762 ecr 1536851223], length 0 10:20:40.209067 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536862786 ecr 1536851224], length 0 10:20:40.209383 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536862787 ecr 1536851223], length 0 10:20:41.232791 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536863810 ecr 1536851224], length 0 10:20:41.233105 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536863810 ecr 1536851223], length 0 10:20:42.256798 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536864834 ecr 1536851224], length 0 10:20:42.257060 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536864834 ecr 1536851223], length 0 10:20:43.280849 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536865858 ecr 1536851224], length 0 10:20:43.281083 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536865858 ecr 1536851223], length 0 10:20:44.304952 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536866882 ecr 1536851224], length 0 10:20:44.305262 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536866882 ecr 1536851223], length 0 10:20:45.328924 IP localhost.7811 > localhost.42118: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1536867906 ecr 1536851224], length 0 :: [ 10:21:11 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 10:21:11 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:21:12 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:21:12 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:21:12 ] :: [ LOG ] :: 10:20:28.645726 IP localhost.42118 > localhost.7811: Flags [S], seq 2835142670, win 65495, options [mss 65495,sackOK,TS val 1536851223 ecr 0,nop,wscale 7], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:28.646146 IP localhost.7811 > localhost.42118: Flags [S.], seq 1645427301, ack 2835142671, win 65483, options [mss 65495,sackOK,TS val 1536851223 ecr 1536851223,nop,wscale 7], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:28.646554 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536851224 ecr 1536851223], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:35.089138 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536857666 ecr 1536851224], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:35.089451 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536857667 ecr 1536851223], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:36.112827 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536858690 ecr 1536851224], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:36.113108 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536858690 ecr 1536851223], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:37.139339 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536859716 ecr 1536851224], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:37.139726 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536859717 ecr 1536851223], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:38.160803 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536860738 ecr 1536851224], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:38.161053 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536860738 ecr 1536851223], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:39.184851 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536861762 ecr 1536851224], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:39.185165 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536861762 ecr 1536851223], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:40.209067 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536862786 ecr 1536851224], length 0 :: [ 10:21:16 ] :: [ LOG ] :: 10:20:40.209383 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536862787 ecr 1536851223], length 0 :: [ 10:21:16 ] :: [ LOG ] :: 10:20:41.232791 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536863810 ecr 1536851224], length 0 :: [ 10:21:16 ] :: [ LOG ] :: 10:20:41.233105 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536863810 ecr 1536851223], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:42.256798 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536864834 ecr 1536851224], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:42.257060 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536864834 ecr 1536851223], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:43.280849 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536865858 ecr 1536851224], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:43.281083 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536865858 ecr 1536851223], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:44.304952 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536866882 ecr 1536851224], length 0 :: [ 10:21:18 ] :: [ LOG ] :: 10:20:44.305262 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536866882 ecr 1536851223], length 0 :: [ 10:21:18 ] :: [ LOG ] :: 10:20:45.328924 IP localhost.7811 > localhost.42118: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1536867906 ecr 1536851224], length 0 :: [ 10:21:18 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:21:19 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 10:21:20 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 10:21:20 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:21:20 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 60s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:21:34 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 10:21:34 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 13 Package : unknown beakerlib RPM : beakerlib-1.29.3-1.fc38.noarch Test name : unknown Test started : 2023-01-17 10:16:59 EST Test finished : 2023-01-17 10:21:44 EST (still running) Test duration : 285 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-07-guest12.hv2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 2 x Intel Xeon Processor (Skylake, IBRS) RAM size : 3335 MB HDD size : 50.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Keep-Alive Process: There are three configurable properties that determine how Keep-Alives work. On Linux they are1: tcp_keepalive_time default 7200 seconds tcp_keepalive_probes default 9 tcp_keepalive_intvl default 75 seconds TCP keepalive works like this: Client opens TCP connection If the connection is silent for tcp_keepalive_time seconds, send a single empty ACK packet.1 Did the server respond with a corresponding ACK of its own? No Wait tcp_keepalive_intvl seconds, then send another ACK Repeat until the number of ACK probes that have been sent equals tcp_keepalive_probes. If no response has been received at this point, send a RST and terminate the connection. Yes: Return to step 2 This process is enabled by default on most operating systems, and thus dead TCP connections are regularly pruned once the other end has been responsive for 2 hours 11 minutes (7200 seconds + 75 * 9 seconds). This test case: Use socket options to overide the system's, and test keepalive process. TCP_KEEPIDLE ----> tcp_keepalive_time TCP_KEEPCNT ----> tcp_keepalive_probes TCP_KEEPINTVL ----> tcp_keepalive_intvl For namespace: Bug 1476667 - [RFE] Namespace tcp_keepalive_time sysctl knob :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:17:07 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 10:18:08 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 10:18:10 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 10:18:14 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 10:18:25 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 10:18:26 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:18:28 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 10:18:29 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 10:18:41 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 10:18:42 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 10:18:44 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 10:18:45 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:18:46 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 10:18:47 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 10:18:48 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 10:18:49 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 10:18:50 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 10:18:51 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 10:18:52 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 10:18:54 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 108s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:19:10 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 10:19:16 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:19:48 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:19:50 ] :: [ PASS ] :: Command 'childpid=76373' (Expected 0, got 0) :: [ 10:19:51 ] :: [ PASS ] :: Command 'kill -s SIGINT 76373' (Expected 0, got 0) :: [ 10:19:52 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:19:59 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 10:19:59 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:19:59 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:19:59 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:20:00 ] :: [ LOG ] :: 10:19:16.023771 IP localhost.34860 > localhost.7811: Flags [S], seq 1444338477, win 65495, options [mss 65495,sackOK,TS val 1536778601 ecr 0,nop,wscale 7], length 0 :: [ 10:20:00 ] :: [ LOG ] :: 10:19:16.024296 IP localhost.7811 > localhost.34860: Flags [S.], seq 4274797100, ack 1444338478, win 65483, options [mss 65495,sackOK,TS val 1536778601 ecr 1536778601,nop,wscale 7], length 0 :: [ 10:20:00 ] :: [ LOG ] :: 10:19:16.024957 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536778602 ecr 1536778601], length 0 :: [ 10:20:00 ] :: [ LOG ] :: 10:19:22.385779 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536784962 ecr 1536778602], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:22.386372 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536784963 ecr 1536778601], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:23.408835 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536785986 ecr 1536778602], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:23.409127 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536785986 ecr 1536778601], length 0 :: [ 10:20:01 ] :: [ LOG ] :: 10:19:24.432963 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536787010 ecr 1536778602], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:24.433292 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536787010 ecr 1536778601], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:25.457064 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536788034 ecr 1536778602], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:25.457406 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536788035 ecr 1536778601], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:26.480964 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536789058 ecr 1536778602], length 0 :: [ 10:20:02 ] :: [ LOG ] :: 10:19:26.481190 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536789058 ecr 1536778601], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:27.505100 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536790082 ecr 1536778602], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:27.505327 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536790083 ecr 1536778601], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:28.529801 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536791107 ecr 1536778602], length 0 :: [ 10:20:03 ] :: [ LOG ] :: 10:19:28.530142 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536791107 ecr 1536778601], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:29.552794 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536792130 ecr 1536778602], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:29.553029 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536792130 ecr 1536778601], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:30.577010 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536793154 ecr 1536778602], length 0 :: [ 10:20:04 ] :: [ LOG ] :: 10:19:30.577254 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536793154 ecr 1536778601], length 0 :: [ 10:20:05 ] :: [ LOG ] :: 10:19:31.600983 IP localhost.7811 > localhost.34860: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536794178 ecr 1536778602], length 0 :: [ 10:20:05 ] :: [ LOG ] :: 10:19:31.601259 IP localhost.34860 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536794178 ecr 1536778601], length 0 :: [ 10:20:05 ] :: [ LOG ] :: 10:19:32.625000 IP localhost.7811 > localhost.34860: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1536795202 ecr 1536778602], length 0 :: [ 10:20:05 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:20:06 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 10:20:07 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:20:07 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 59s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:20:22 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 10:20:28 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:21:00 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:21:02 ] :: [ PASS ] :: Command 'childpid=77000' (Expected 0, got 0) :: [ 10:21:03 ] :: [ PASS ] :: Command 'kill -s SIGINT 77000' (Expected 0, got 0) :: [ 10:21:04 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:21:11 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 10:21:11 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:21:12 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:21:12 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:21:12 ] :: [ LOG ] :: 10:20:28.645726 IP localhost.42118 > localhost.7811: Flags [S], seq 2835142670, win 65495, options [mss 65495,sackOK,TS val 1536851223 ecr 0,nop,wscale 7], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:28.646146 IP localhost.7811 > localhost.42118: Flags [S.], seq 1645427301, ack 2835142671, win 65483, options [mss 65495,sackOK,TS val 1536851223 ecr 1536851223,nop,wscale 7], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:28.646554 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536851224 ecr 1536851223], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:35.089138 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536857666 ecr 1536851224], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:35.089451 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536857667 ecr 1536851223], length 0 :: [ 10:21:13 ] :: [ LOG ] :: 10:20:36.112827 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536858690 ecr 1536851224], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:36.113108 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536858690 ecr 1536851223], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:37.139339 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536859716 ecr 1536851224], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:37.139726 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536859717 ecr 1536851223], length 0 :: [ 10:21:14 ] :: [ LOG ] :: 10:20:38.160803 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536860738 ecr 1536851224], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:38.161053 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536860738 ecr 1536851223], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:39.184851 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536861762 ecr 1536851224], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:39.185165 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536861762 ecr 1536851223], length 0 :: [ 10:21:15 ] :: [ LOG ] :: 10:20:40.209067 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536862786 ecr 1536851224], length 0 :: [ 10:21:16 ] :: [ LOG ] :: 10:20:40.209383 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536862787 ecr 1536851223], length 0 :: [ 10:21:16 ] :: [ LOG ] :: 10:20:41.232791 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536863810 ecr 1536851224], length 0 :: [ 10:21:16 ] :: [ LOG ] :: 10:20:41.233105 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536863810 ecr 1536851223], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:42.256798 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536864834 ecr 1536851224], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:42.257060 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536864834 ecr 1536851223], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:43.280849 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536865858 ecr 1536851224], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:43.281083 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536865858 ecr 1536851223], length 0 :: [ 10:21:17 ] :: [ LOG ] :: 10:20:44.304952 IP localhost.7811 > localhost.42118: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536866882 ecr 1536851224], length 0 :: [ 10:21:18 ] :: [ LOG ] :: 10:20:44.305262 IP localhost.42118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1536866882 ecr 1536851223], length 0 :: [ 10:21:18 ] :: [ LOG ] :: 10:20:45.328924 IP localhost.7811 > localhost.42118: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1536867906 ecr 1536851224], length 0 :: [ 10:21:18 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:21:19 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 10:21:20 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:21:20 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 60s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:21:34 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:21:48 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 10:21:49 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 288s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)