use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:09:09 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 10:09:09 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 10:09:09 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 10:10:09 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 10:10:09 ] :: [ 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:10:09 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 10:10:09 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 10:10:09 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 10:10:09 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 10:10:19 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 10:10:19 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 10:10:19 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:10:19 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 10:10:19 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 10:10:19 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 10:10:19 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 10:10:19 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:40:26 ago on Sat 01 Oct 2022 09:29:53 AM EDT. Package iproute-5.18.0-2.fc37.s390x is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 10:10:21 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 10:10:21 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 10:10:21 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 10:10:21 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 10:10:21 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 10:10:21 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 10:10:21 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 10:10:21 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 10:10:21 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 10:10:21 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 10:10:21 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 10:10:21 ] :: [ 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:10:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 72s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:10:21 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 10:10:22 ] :: [ 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:10:27 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 10:10:27 ] :: [ 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 } } :: [ 10:10:27 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 10:10:58 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:10:58 ] :: [ BEGIN ] :: Running 'childpid=448914' :: [ 10:10:58 ] :: [ PASS ] :: Command 'childpid=448914' (Expected 0, got 0) :: [ 10:10:58 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 448914' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 10:10:58 ] :: [ PASS ] :: Command 'kill -s SIGINT 448914' (Expected 0, got 0) :: [ 10:10:58 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 10:10:58 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:11:03 ] :: [ 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:10:27.021115 IP localhost.60690 > localhost.7811: Flags [S], seq 2933705096, win 65495, options [mss 65495,sackOK,TS val 900467235 ecr 0,nop,wscale 7], length 0 10:10:27.021126 IP localhost.7811 > localhost.60690: Flags [S.], seq 2188298383, ack 2933705097, win 65483, options [mss 65495,sackOK,TS val 900467235 ecr 900467235,nop,wscale 7], length 0 10:10:27.021133 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900467235 ecr 900467235], length 0 10:10:33.626213 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900473840 ecr 900467235], length 0 10:10:33.626238 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900473840 ecr 900467235], length 0 10:10:34.666022 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900474880 ecr 900467235], length 0 10:10:34.666043 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900474880 ecr 900467235], length 0 10:10:35.706144 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900475920 ecr 900467235], length 0 10:10:35.706168 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900475920 ecr 900467235], length 0 10:10:36.746031 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900476960 ecr 900467235], length 0 10:10:36.746056 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900476960 ecr 900467235], length 0 10:10:37.786072 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900478000 ecr 900467235], length 0 10:10:37.786095 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900478000 ecr 900467235], length 0 10:10:38.826023 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900479040 ecr 900467235], length 0 10:10:38.826043 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900479040 ecr 900467235], length 0 10:10:39.866013 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900480080 ecr 900467235], length 0 10:10:39.866037 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900480080 ecr 900467235], length 0 10:10:40.906142 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900481120 ecr 900467235], length 0 10:10:40.906160 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900481120 ecr 900467235], length 0 10:10:41.945986 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900482160 ecr 900467235], length 0 10:10:41.946007 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900482160 ecr 900467235], length 0 10:10:42.986026 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900483200 ecr 900467235], length 0 10:10:42.986048 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900483200 ecr 900467235], length 0 10:10:44.026017 IP localhost.7811 > localhost.60690: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 900484240 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 10:11:03 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:11:03 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:11:03 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:11:03 ] :: [ LOG ] :: 10:10:27.021115 IP localhost.60690 > localhost.7811: Flags [S], seq 2933705096, win 65495, options [mss 65495,sackOK,TS val 900467235 ecr 0,nop,wscale 7], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:27.021126 IP localhost.7811 > localhost.60690: Flags [S.], seq 2188298383, ack 2933705097, win 65483, options [mss 65495,sackOK,TS val 900467235 ecr 900467235,nop,wscale 7], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:27.021133 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900467235 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:33.626213 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900473840 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:33.626238 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900473840 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:34.666022 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900474880 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:34.666043 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900474880 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:35.706144 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900475920 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:35.706168 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900475920 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:36.746031 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900476960 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:36.746056 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900476960 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:37.786072 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900478000 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:37.786095 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900478000 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:38.826023 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900479040 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:38.826043 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900479040 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:39.866013 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900480080 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:39.866037 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900480080 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:40.906142 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900481120 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:40.906160 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900481120 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:41.945986 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900482160 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:41.946007 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900482160 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:42.986026 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900483200 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:42.986048 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900483200 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:44.026017 IP localhost.7811 > localhost.60690: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 900484240 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:11:03 ] :: [ 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:11:03 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 10:11:03 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:11:03 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:11:03 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 10:11:03 ] :: [ 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:11:08 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 10:11:08 ] :: [ 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 } } :: [ 10:11:08 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 10:11:39 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:11:39 ] :: [ BEGIN ] :: Running 'childpid=449530' :: [ 10:11:39 ] :: [ PASS ] :: Command 'childpid=449530' (Expected 0, got 0) :: [ 10:11:39 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 449530' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 10:11:39 ] :: [ PASS ] :: Command 'kill -s SIGINT 449530' (Expected 0, got 0) :: [ 10:11:39 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 10:11:39 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:11:44 ] :: [ 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:11:08.564658 IP localhost.37472 > localhost.7811: Flags [S], seq 3352109187, win 65495, options [mss 65495,sackOK,TS val 900508779 ecr 0,nop,wscale 7], length 0 10:11:08.564669 IP localhost.7811 > localhost.37472: Flags [S.], seq 3080766455, ack 3352109188, win 65483, options [mss 65495,sackOK,TS val 900508779 ecr 900508779,nop,wscale 7], length 0 10:11:08.564676 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900508779 ecr 900508779], length 0 10:11:14.586004 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900514800 ecr 900508779], length 0 10:11:14.586027 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900514800 ecr 900508779], length 0 10:11:15.626047 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900515840 ecr 900508779], length 0 10:11:15.626070 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900515840 ecr 900508779], length 0 10:11:16.665989 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900516880 ecr 900508779], length 0 10:11:16.666006 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900516880 ecr 900508779], length 0 10:11:17.706018 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900517920 ecr 900508779], length 0 10:11:17.706041 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900517920 ecr 900508779], length 0 10:11:18.746153 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900518960 ecr 900508779], length 0 10:11:18.746175 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900518960 ecr 900508779], length 0 10:11:19.786049 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900520000 ecr 900508779], length 0 10:11:19.786072 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900520000 ecr 900508779], length 0 10:11:20.826124 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900521040 ecr 900508779], length 0 10:11:20.826148 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900521040 ecr 900508779], length 0 10:11:21.866029 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900522080 ecr 900508779], length 0 10:11:21.866053 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900522080 ecr 900508779], length 0 10:11:22.906015 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900523120 ecr 900508779], length 0 10:11:22.906032 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900523120 ecr 900508779], length 0 10:11:23.946034 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900524160 ecr 900508779], length 0 10:11:23.946051 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900524160 ecr 900508779], length 0 10:11:24.985997 IP localhost.7811 > localhost.37472: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 900525200 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 10:11:44 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:11:44 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:08.564658 IP localhost.37472 > localhost.7811: Flags [S], seq 3352109187, win 65495, options [mss 65495,sackOK,TS val 900508779 ecr 0,nop,wscale 7], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:08.564669 IP localhost.7811 > localhost.37472: Flags [S.], seq 3080766455, ack 3352109188, win 65483, options [mss 65495,sackOK,TS val 900508779 ecr 900508779,nop,wscale 7], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:08.564676 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900508779 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:14.586004 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900514800 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:14.586027 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900514800 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:15.626047 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900515840 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:15.626070 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900515840 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:16.665989 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900516880 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:16.666006 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900516880 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:17.706018 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900517920 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:17.706041 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900517920 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:18.746153 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900518960 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:18.746175 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900518960 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:19.786049 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900520000 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:19.786072 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900520000 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:20.826124 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900521040 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:20.826148 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900521040 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:21.866029 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900522080 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:21.866053 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900522080 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:22.906015 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900523120 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:22.906032 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900523120 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:23.946034 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900524160 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:23.946051 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900524160 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:11:44 ] :: [ LOG ] :: 10:11:24.985997 IP localhost.7811 > localhost.37472: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 900525200 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:11:44 ] :: [ 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:11:44 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 10:11:44 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:11:44 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:11:45 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 10:11:45 ] :: [ 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 : 19 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-10-01 10:09:09 EDT Test finished : 2022-10-01 10:11:45 EDT (still running) Test duration : 156 seconds Distro : Fedora release 38 (Rawhide) Hostname : s390x-kvm-043.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 8023 MB HDD size : 119.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:09:09 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 10:10:09 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 10:10:09 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 10:10:09 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 10:10:19 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 10:10:19 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:10:19 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 10:10:19 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 10:10:21 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 10:10:21 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 10:10:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 72s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:10:22 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 10:10:27 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:10:58 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:10:58 ] :: [ PASS ] :: Command 'childpid=448914' (Expected 0, got 0) :: [ 10:10:58 ] :: [ PASS ] :: Command 'kill -s SIGINT 448914' (Expected 0, got 0) :: [ 10:10:58 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:11:03 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 10:11:03 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:11:03 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:11:03 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:11:03 ] :: [ LOG ] :: 10:10:27.021115 IP localhost.60690 > localhost.7811: Flags [S], seq 2933705096, win 65495, options [mss 65495,sackOK,TS val 900467235 ecr 0,nop,wscale 7], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:27.021126 IP localhost.7811 > localhost.60690: Flags [S.], seq 2188298383, ack 2933705097, win 65483, options [mss 65495,sackOK,TS val 900467235 ecr 900467235,nop,wscale 7], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:27.021133 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900467235 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:33.626213 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900473840 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:33.626238 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900473840 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:34.666022 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900474880 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:34.666043 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900474880 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:35.706144 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900475920 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:35.706168 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900475920 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:36.746031 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900476960 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:36.746056 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900476960 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:37.786072 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900478000 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:37.786095 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900478000 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:38.826023 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900479040 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:38.826043 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900479040 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:39.866013 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900480080 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:39.866037 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900480080 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:40.906142 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900481120 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:40.906160 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900481120 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:41.945986 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900482160 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:41.946007 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900482160 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:42.986026 IP localhost.7811 > localhost.60690: Flags [.], ack 1, win 512, options [nop,nop,TS val 900483200 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:42.986048 IP localhost.60690 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900483200 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: 10:10:44.026017 IP localhost.7811 > localhost.60690: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 900484240 ecr 900467235], length 0 :: [ 10:11:03 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:11:03 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 10:11:03 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:11:03 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:11:03 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 10:11:08 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 10:11:39 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 10:11:39 ] :: [ PASS ] :: Command 'childpid=449530' (Expected 0, got 0) :: [ 10:11:39 ] :: [ PASS ] :: Command 'kill -s SIGINT 449530' (Expected 0, got 0) :: [ 10:11:39 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 10:11:44 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 10:11:44 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 10:11:44 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:08.564658 IP localhost.37472 > localhost.7811: Flags [S], seq 3352109187, win 65495, options [mss 65495,sackOK,TS val 900508779 ecr 0,nop,wscale 7], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:08.564669 IP localhost.7811 > localhost.37472: Flags [S.], seq 3080766455, ack 3352109188, win 65483, options [mss 65495,sackOK,TS val 900508779 ecr 900508779,nop,wscale 7], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:08.564676 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900508779 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:14.586004 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900514800 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:14.586027 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900514800 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:15.626047 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900515840 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:15.626070 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900515840 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:16.665989 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900516880 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:16.666006 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900516880 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:17.706018 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900517920 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:17.706041 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900517920 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:18.746153 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900518960 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:18.746175 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900518960 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:19.786049 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900520000 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:19.786072 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900520000 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:20.826124 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900521040 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:20.826148 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900521040 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:21.866029 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900522080 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:21.866053 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900522080 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:22.906015 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900523120 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:22.906032 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900523120 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:23.946034 IP localhost.7811 > localhost.37472: Flags [.], ack 1, win 512, options [nop,nop,TS val 900524160 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: 10:11:23.946051 IP localhost.37472 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 900524160 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 10:11:44 ] :: [ LOG ] :: 10:11:24.985997 IP localhost.7811 > localhost.37472: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 900525200 ecr 900508779], length 0 :: [ 10:11:44 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 10:11:44 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 10:11:44 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 10:11:44 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:11:45 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 10:11:45 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 10:11:45 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 156s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)