use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:39:50 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 17:39:51 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 17:39:51 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 17:40:51 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 17:40:51 ] :: [ 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) :: [ 17:40:52 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 17:40:52 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 17:40:53 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 17:40:53 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 17:41:03 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 17:41:04 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 17:41:04 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:41:04 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 17:41:04 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 17:41:05 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 17:41:05 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 17:41:05 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 2:37:01 ago on Sun 25 Sep 2022 03:04:07 PM EDT. Package iproute-5.18.0-2.fc37.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 17:41:09 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 17:41:09 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 17:41:10 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 17:41:10 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 17:41:10 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 17:41:10 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 17:41:11 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:41:11 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 17:41:11 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 17:41:11 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 17:41:11 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 17:41:12 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 17:41:12 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 17:41:12 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 17:41:12 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 17:41:12 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 17:41:13 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 17:41:13 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 17:41:13 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 17:41:13 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 17:41:13 ] :: [ 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); | ^~~~ :: [ 17:41:14 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 84s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:41:18 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:41:18 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 17:41:24 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 17:41:24 ] :: [ 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 } } :: [ 17:41:24 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 17:41:55 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:41:56 ] :: [ BEGIN ] :: Running 'childpid=302096' :: [ 17:41:56 ] :: [ PASS ] :: Command 'childpid=302096' (Expected 0, got 0) :: [ 17:41:56 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 302096' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 17:41:56 ] :: [ PASS ] :: Command 'kill -s SIGINT 302096' (Expected 0, got 0) :: [ 17:41:56 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 17:41:56 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:42:02 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:41:24.164085 IP localhost.46902 > localhost.7811: Flags [S], seq 2220691066, win 65495, options [mss 65495,sackOK,TS val 903760885 ecr 0,nop,wscale 7], length 0 17:41:24.164330 IP localhost.7811 > localhost.46902: Flags [S.], seq 3850128569, ack 2220691067, win 65483, options [mss 65495,sackOK,TS val 903760886 ecr 903760885,nop,wscale 7], length 0 17:41:24.164599 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903760886 ecr 903760886], length 0 17:41:30.215291 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903766936 ecr 903760886], length 0 17:41:30.216021 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903766937 ecr 903760886], length 0 17:41:31.238936 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903767960 ecr 903760886], length 0 17:41:31.239155 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903767960 ecr 903760886], length 0 17:41:32.262808 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903768984 ecr 903760886], length 0 17:41:32.263024 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903768984 ecr 903760886], length 0 17:41:33.286858 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903770008 ecr 903760886], length 0 17:41:33.287075 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903770008 ecr 903760886], length 0 17:41:34.310812 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903771032 ecr 903760886], length 0 17:41:34.311025 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903771032 ecr 903760886], length 0 17:41:35.334858 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903772056 ecr 903760886], length 0 17:41:35.335102 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903772056 ecr 903760886], length 0 17:41:36.358950 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903773080 ecr 903760886], length 0 17:41:36.359387 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903773080 ecr 903760886], length 0 17:41:37.383071 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903774104 ecr 903760886], length 0 17:41:37.383316 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903774105 ecr 903760886], length 0 17:41:38.406988 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903775128 ecr 903760886], length 0 17:41:38.407269 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903775129 ecr 903760886], length 0 17:41:39.430831 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903776152 ecr 903760886], length 0 17:41:39.431077 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903776152 ecr 903760886], length 0 17:41:40.454894 IP localhost.7811 > localhost.46902: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 903777176 ecr 903760886], length 0 :: [ 17:42:02 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 17:42:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:42:02 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:42:03 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:42:03 ] :: [ LOG ] :: 17:41:24.164085 IP localhost.46902 > localhost.7811: Flags [S], seq 2220691066, win 65495, options [mss 65495,sackOK,TS val 903760885 ecr 0,nop,wscale 7], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:24.164330 IP localhost.7811 > localhost.46902: Flags [S.], seq 3850128569, ack 2220691067, win 65483, options [mss 65495,sackOK,TS val 903760886 ecr 903760885,nop,wscale 7], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:24.164599 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903760886 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:30.215291 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903766936 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:30.216021 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903766937 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:31.238936 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903767960 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:31.239155 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903767960 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:32.262808 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903768984 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:32.263024 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903768984 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:33.286858 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903770008 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:33.287075 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903770008 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:34.310812 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903771032 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:34.311025 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903771032 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:35.334858 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903772056 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:35.335102 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903772056 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:36.358950 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903773080 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:36.359387 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903773080 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:37.383071 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903774104 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:37.383316 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903774105 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:38.406988 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903775128 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:38.407269 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903775129 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:39.430831 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903776152 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:39.431077 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903776152 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:40.454894 IP localhost.7811 > localhost.46902: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 903777176 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:42:05 ] :: [ 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 :: [ 17:42:05 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 17:42:06 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:42:06 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 48s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) ** host PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:42:10 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 17:42:10 ] :: [ 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 :: [ 17:42:16 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 17:42:16 ] :: [ 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 } } :: [ 17:42:16 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 17:42:47 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:42:48 ] :: [ BEGIN ] :: Running 'childpid=302720' :: [ 17:42:48 ] :: [ PASS ] :: Command 'childpid=302720' (Expected 0, got 0) :: [ 17:42:48 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 302720' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 17:42:48 ] :: [ PASS ] :: Command 'kill -s SIGINT 302720' (Expected 0, got 0) :: [ 17:42:48 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 17:42:49 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:42:54 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:42:16.216386 IP localhost.37402 > localhost.7811: Flags [S], seq 1660845649, win 65495, options [mss 65495,sackOK,TS val 903812938 ecr 0,nop,wscale 7], length 0 17:42:16.216646 IP localhost.7811 > localhost.37402: Flags [S.], seq 1001223527, ack 1660845650, win 65483, options [mss 65495,sackOK,TS val 903812938 ecr 903812938,nop,wscale 7], length 0 17:42:16.216843 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903812938 ecr 903812938], length 0 17:42:22.438875 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903819160 ecr 903812938], length 0 17:42:22.439179 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903819160 ecr 903812938], length 0 17:42:23.462940 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903820184 ecr 903812938], length 0 17:42:23.463146 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903820184 ecr 903812938], length 0 17:42:24.486905 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903821208 ecr 903812938], length 0 17:42:24.487107 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903821208 ecr 903812938], length 0 17:42:25.510896 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903822232 ecr 903812938], length 0 17:42:25.511097 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903822232 ecr 903812938], length 0 17:42:26.534843 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903823256 ecr 903812938], length 0 17:42:26.535109 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903823256 ecr 903812938], length 0 17:42:27.558898 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903824280 ecr 903812938], length 0 17:42:27.559099 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903824280 ecr 903812938], length 0 17:42:28.582903 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903825304 ecr 903812938], length 0 17:42:28.583169 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903825304 ecr 903812938], length 0 17:42:29.606862 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903826328 ecr 903812938], length 0 17:42:29.607159 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903826328 ecr 903812938], length 0 17:42:30.630937 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903827352 ecr 903812938], length 0 17:42:30.631170 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903827352 ecr 903812938], length 0 17:42:31.654822 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903828376 ecr 903812938], length 0 17:42:31.655087 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903828376 ecr 903812938], length 0 17:42:32.678871 IP localhost.7811 > localhost.37402: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 903829400 ecr 903812938], length 0 :: [ 17:42:54 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 17:42:54 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:42:54 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:42:55 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:42:55 ] :: [ LOG ] :: 17:42:16.216386 IP localhost.37402 > localhost.7811: Flags [S], seq 1660845649, win 65495, options [mss 65495,sackOK,TS val 903812938 ecr 0,nop,wscale 7], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:16.216646 IP localhost.7811 > localhost.37402: Flags [S.], seq 1001223527, ack 1660845650, win 65483, options [mss 65495,sackOK,TS val 903812938 ecr 903812938,nop,wscale 7], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:16.216843 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903812938 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:22.438875 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903819160 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:22.439179 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903819160 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:23.462940 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903820184 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:23.463146 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903820184 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:24.486905 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903821208 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:24.487107 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903821208 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:25.510896 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903822232 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:25.511097 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903822232 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:26.534843 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903823256 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:26.535109 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903823256 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:27.558898 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903824280 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:27.559099 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903824280 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:28.582903 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903825304 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:28.583169 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903825304 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:29.606862 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903826328 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:29.607159 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903826328 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:30.630937 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903827352 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:30.631170 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903827352 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:31.654822 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903828376 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:31.655087 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903828376 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:32.678871 IP localhost.7811 > localhost.37402: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 903829400 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:42:57 ] :: [ 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 :: [ 17:42:58 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 17:42:58 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:42:58 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 48s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:43:02 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 17:43:03 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 19 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch bl-redhat RPM : beakerlib-redhat-1-33.fc37eng.noarch Test name : unknown Test started : 2022-09-25 17:39:47 EDT Test finished : 2022-09-25 17:43:06 EDT (still running) Test duration : 199 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-ml310egen8-01.hpe2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 8 x Intel(R) Xeon(R) CPU E3-1280 V2 @ 3.60GHz RAM size : 3007 MB HDD size : 232.75 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:39:51 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 17:40:51 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 17:40:52 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 17:40:53 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 17:41:03 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 17:41:04 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:41:04 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 17:41:05 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 17:41:09 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 17:41:10 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 17:41:10 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 17:41:11 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:41:11 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 17:41:11 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 17:41:12 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 17:41:12 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 17:41:12 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 17:41:13 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 17:41:13 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 17:41:14 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 84s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:41:18 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 17:41:24 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 17:41:55 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:41:56 ] :: [ PASS ] :: Command 'childpid=302096' (Expected 0, got 0) :: [ 17:41:56 ] :: [ PASS ] :: Command 'kill -s SIGINT 302096' (Expected 0, got 0) :: [ 17:41:56 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:42:02 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 17:42:02 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:42:02 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:42:03 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:42:03 ] :: [ LOG ] :: 17:41:24.164085 IP localhost.46902 > localhost.7811: Flags [S], seq 2220691066, win 65495, options [mss 65495,sackOK,TS val 903760885 ecr 0,nop,wscale 7], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:24.164330 IP localhost.7811 > localhost.46902: Flags [S.], seq 3850128569, ack 2220691067, win 65483, options [mss 65495,sackOK,TS val 903760886 ecr 903760885,nop,wscale 7], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:24.164599 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903760886 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:30.215291 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903766936 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:30.216021 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903766937 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:31.238936 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903767960 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:31.239155 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903767960 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:32.262808 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903768984 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:32.263024 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903768984 ecr 903760886], length 0 :: [ 17:42:03 ] :: [ LOG ] :: 17:41:33.286858 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903770008 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:33.287075 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903770008 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:34.310812 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903771032 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:34.311025 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903771032 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:35.334858 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903772056 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:35.335102 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903772056 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:36.358950 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903773080 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:36.359387 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903773080 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:37.383071 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903774104 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:37.383316 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903774105 ecr 903760886], length 0 :: [ 17:42:04 ] :: [ LOG ] :: 17:41:38.406988 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903775128 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:38.407269 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903775129 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:39.430831 IP localhost.7811 > localhost.46902: Flags [.], ack 1, win 512, options [nop,nop,TS val 903776152 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:39.431077 IP localhost.46902 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903776152 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: 17:41:40.454894 IP localhost.7811 > localhost.46902: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 903777176 ecr 903760886], length 0 :: [ 17:42:05 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:42:05 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 17:42:06 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:42:06 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 48s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:42:10 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 17:42:16 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 17:42:47 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:42:48 ] :: [ PASS ] :: Command 'childpid=302720' (Expected 0, got 0) :: [ 17:42:48 ] :: [ PASS ] :: Command 'kill -s SIGINT 302720' (Expected 0, got 0) :: [ 17:42:49 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:42:54 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 17:42:54 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:42:54 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:42:55 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:42:55 ] :: [ LOG ] :: 17:42:16.216386 IP localhost.37402 > localhost.7811: Flags [S], seq 1660845649, win 65495, options [mss 65495,sackOK,TS val 903812938 ecr 0,nop,wscale 7], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:16.216646 IP localhost.7811 > localhost.37402: Flags [S.], seq 1001223527, ack 1660845650, win 65483, options [mss 65495,sackOK,TS val 903812938 ecr 903812938,nop,wscale 7], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:16.216843 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903812938 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:22.438875 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903819160 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:22.439179 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903819160 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:23.462940 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903820184 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:23.463146 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903820184 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:24.486905 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903821208 ecr 903812938], length 0 :: [ 17:42:55 ] :: [ LOG ] :: 17:42:24.487107 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903821208 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:25.510896 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903822232 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:25.511097 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903822232 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:26.534843 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903823256 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:26.535109 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903823256 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:27.558898 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903824280 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:27.559099 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903824280 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:28.582903 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903825304 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:28.583169 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903825304 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:29.606862 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903826328 ecr 903812938], length 0 :: [ 17:42:56 ] :: [ LOG ] :: 17:42:29.607159 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903826328 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:30.630937 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903827352 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:30.631170 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903827352 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:31.654822 IP localhost.7811 > localhost.37402: Flags [.], ack 1, win 512, options [nop,nop,TS val 903828376 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:31.655087 IP localhost.37402 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 903828376 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: 17:42:32.678871 IP localhost.7811 > localhost.37402: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 903829400 ecr 903812938], length 0 :: [ 17:42:57 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:42:57 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 17:42:58 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:42:58 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 48s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:43:03 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:43:06 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 17:43:07 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 199s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)