use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:49:45 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 16:49:45 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 16:49:45 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 16:50:45 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 16:50:45 ] :: [ 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) :: [ 16:50:45 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 16:50:45 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 16:50:45 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 16:50:45 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 16:50:55 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 16:50:55 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 16:50:55 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:55 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 16:50:55 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:55 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 16:50:55 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:55 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 1:18:29 ago on Thu 26 Jan 2023 03:32:27 PM EST. Package iproute-6.0.0-2.el9.s390x is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 16:50:56 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 16:50:57 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 16:50:57 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 16:50:57 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 16:50:57 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 16:50:57 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:57 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 16:50:57 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 16:50:57 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 16:50:57 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 16:50:57 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 16:50:57 ] :: [ 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); | ^~~~ :: [ 16:50:57 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:50:57 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 16:50:57 ] :: [ 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 :: [ 16:51:02 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 16:51:02 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 16:51:02 ] :: [ 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 } } :: [ 16:51:33 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:51:33 ] :: [ BEGIN ] :: Running 'childpid=198259' :: [ 16:51:33 ] :: [ PASS ] :: Command 'childpid=198259' (Expected 0, got 0) :: [ 16:51:33 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 198259' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 16:51:33 ] :: [ PASS ] :: Command 'kill -s SIGINT 198259' (Expected 0, got 0) :: [ 16:51:34 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 16:51:34 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:51:39 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 16:51:02.933426 IP localhost.40240 > localhost.7811: Flags [S], seq 2941703185, win 65495, options [mss 65495,sackOK,TS val 2776190978 ecr 0,nop,wscale 7], length 0 16:51:02.933445 IP localhost.7811 > localhost.40240: Flags [S.], seq 2382647387, ack 2941703186, win 65483, options [mss 65495,sackOK,TS val 2776190978 ecr 2776190978,nop,wscale 7], length 0 16:51:02.933459 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776190978 ecr 2776190978], length 0 16:51:09.062986 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776197108 ecr 2776190978], length 0 16:51:09.063015 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776197108 ecr 2776190978], length 0 16:51:10.102980 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776198148 ecr 2776190978], length 0 16:51:10.103008 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776198148 ecr 2776190978], length 0 16:51:11.142989 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776199188 ecr 2776190978], length 0 16:51:11.143013 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776199188 ecr 2776190978], length 0 16:51:12.186036 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776200231 ecr 2776190978], length 0 16:51:12.186063 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776200231 ecr 2776190978], length 0 16:51:13.222948 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776201268 ecr 2776190978], length 0 16:51:13.222977 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776201268 ecr 2776190978], length 0 16:51:14.262972 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776202308 ecr 2776190978], length 0 16:51:14.262995 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776202308 ecr 2776190978], length 0 16:51:15.302953 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776203348 ecr 2776190978], length 0 16:51:15.302984 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776203348 ecr 2776190978], length 0 16:51:16.343204 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776204388 ecr 2776190978], length 0 16:51:16.343232 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776204388 ecr 2776190978], length 0 16:51:17.384022 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776205429 ecr 2776190978], length 0 16:51:17.384051 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776205429 ecr 2776190978], length 0 16:51:18.422980 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776206468 ecr 2776190978], length 0 16:51:18.423004 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776206468 ecr 2776190978], length 0 16:51:19.462959 IP localhost.7811 > localhost.40240: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2776207508 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 16:51:39 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:51:39 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:51:39 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:51:39 ] :: [ LOG ] :: 16:51:02.933426 IP localhost.40240 > localhost.7811: Flags [S], seq 2941703185, win 65495, options [mss 65495,sackOK,TS val 2776190978 ecr 0,nop,wscale 7], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:02.933445 IP localhost.7811 > localhost.40240: Flags [S.], seq 2382647387, ack 2941703186, win 65483, options [mss 65495,sackOK,TS val 2776190978 ecr 2776190978,nop,wscale 7], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:02.933459 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776190978 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:09.062986 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776197108 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:09.063015 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776197108 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:10.102980 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776198148 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:10.103008 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776198148 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:11.142989 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776199188 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:11.143013 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776199188 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:12.186036 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776200231 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:12.186063 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776200231 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:13.222948 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776201268 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:13.222977 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776201268 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:14.262972 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776202308 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:14.262995 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776202308 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:15.302953 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776203348 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:15.302984 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776203348 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:16.343204 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776204388 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:16.343232 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776204388 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:17.384022 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776205429 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:17.384051 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776205429 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:18.422980 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776206468 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:18.423004 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776206468 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:19.462959 IP localhost.7811 > localhost.40240: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2776207508 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:51:39 ] :: [ 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 :: [ 16:51:39 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 16:51:39 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:51:39 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:39 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 16:51:39 ] :: [ 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 :: [ 16:51:44 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 16:51:44 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg drop } } :: [ 16:51:44 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 16:52:15 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:52:15 ] :: [ BEGIN ] :: Running 'childpid=198890' :: [ 16:52:15 ] :: [ PASS ] :: Command 'childpid=198890' (Expected 0, got 0) :: [ 16:52:15 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 198890' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 16:52:15 ] :: [ PASS ] :: Command 'kill -s SIGINT 198890' (Expected 0, got 0) :: [ 16:52:15 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 16:52:16 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:52:21 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 16:51:44.915656 IP localhost.35936 > localhost.7811: Flags [S], seq 3097492363, win 65495, options [mss 65495,sackOK,TS val 2776232960 ecr 0,nop,wscale 7], length 0 16:51:44.915672 IP localhost.7811 > localhost.35936: Flags [S.], seq 3764260564, ack 3097492364, win 65483, options [mss 65495,sackOK,TS val 2776232960 ecr 2776232960,nop,wscale 7], length 0 16:51:44.915687 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776232960 ecr 2776232960], length 0 16:51:51.302958 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776239348 ecr 2776232960], length 0 16:51:51.302985 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776239348 ecr 2776232960], length 0 16:51:52.342959 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776240388 ecr 2776232960], length 0 16:51:52.342986 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776240388 ecr 2776232960], length 0 16:51:53.383000 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776241428 ecr 2776232960], length 0 16:51:53.383032 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776241428 ecr 2776232960], length 0 16:51:54.422950 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776242468 ecr 2776232960], length 0 16:51:54.422980 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776242468 ecr 2776232960], length 0 16:51:55.463010 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776243508 ecr 2776232960], length 0 16:51:55.463037 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776243508 ecr 2776232960], length 0 16:51:56.502996 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776244548 ecr 2776232960], length 0 16:51:56.503027 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776244548 ecr 2776232960], length 0 16:51:57.543009 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776245588 ecr 2776232960], length 0 16:51:57.543038 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776245588 ecr 2776232960], length 0 16:51:58.582995 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776246628 ecr 2776232960], length 0 16:51:58.583024 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776246628 ecr 2776232960], length 0 16:51:59.622981 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776247668 ecr 2776232960], length 0 16:51:59.623009 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776247668 ecr 2776232960], length 0 16:52:00.663015 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776248708 ecr 2776232960], length 0 16:52:00.663043 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776248708 ecr 2776232960], length 0 16:52:01.703000 IP localhost.7811 > localhost.35936: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2776249748 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 16:52:21 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:52:21 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:52:21 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:52:21 ] :: [ LOG ] :: 16:51:44.915656 IP localhost.35936 > localhost.7811: Flags [S], seq 3097492363, win 65495, options [mss 65495,sackOK,TS val 2776232960 ecr 0,nop,wscale 7], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:44.915672 IP localhost.7811 > localhost.35936: Flags [S.], seq 3764260564, ack 3097492364, win 65483, options [mss 65495,sackOK,TS val 2776232960 ecr 2776232960,nop,wscale 7], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:44.915687 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776232960 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:51.302958 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776239348 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:51.302985 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776239348 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:52.342959 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776240388 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:52.342986 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776240388 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:53.383000 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776241428 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:53.383032 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776241428 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:54.422950 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776242468 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:54.422980 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776242468 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:55.463010 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776243508 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:55.463037 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776243508 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:56.502996 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776244548 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:56.503027 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776244548 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:57.543009 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776245588 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:57.543038 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776245588 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:58.582995 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776246628 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:58.583024 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776246628 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:59.622981 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776247668 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:59.623009 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776247668 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:52:00.663015 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776248708 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:52:00.663043 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776248708 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:52:01.703000 IP localhost.7811 > localhost.35936: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2776249748 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:52:21 ] :: [ 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 :: [ 16:52:21 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 16:52:21 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:52:21 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:52:21 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 16:52:21 ] :: [ 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 : 23 Package : unknown beakerlib RPM : beakerlib-1.29.2-2.el9.noarch bl-redhat RPM : beakerlib-redhat-1-33.el9.noarch Test name : unknown Test started : 2023-01-26 16:49:45 EST Test finished : 2023-01-26 16:52:22 EST (still running) Test duration : 157 seconds Distro : CentOS Stream release 9 Hostname : s390x-kvm-041.lab.eng.rdu2.redhat.com Architecture : s390x CPUs : 0 x RAM size : 7517 MB HDD size : 111.96 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:49:45 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 16:50:45 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 16:50:45 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 16:50:45 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 16:50:55 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 16:50:55 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:55 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:55 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:56 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 16:50:57 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 16:50:57 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 16:50:57 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 72s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:50:57 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 16:51:02 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 16:51:33 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:51:33 ] :: [ PASS ] :: Command 'childpid=198259' (Expected 0, got 0) :: [ 16:51:33 ] :: [ PASS ] :: Command 'kill -s SIGINT 198259' (Expected 0, got 0) :: [ 16:51:34 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:51:39 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 16:51:39 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:51:39 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:51:39 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:51:39 ] :: [ LOG ] :: 16:51:02.933426 IP localhost.40240 > localhost.7811: Flags [S], seq 2941703185, win 65495, options [mss 65495,sackOK,TS val 2776190978 ecr 0,nop,wscale 7], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:02.933445 IP localhost.7811 > localhost.40240: Flags [S.], seq 2382647387, ack 2941703186, win 65483, options [mss 65495,sackOK,TS val 2776190978 ecr 2776190978,nop,wscale 7], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:02.933459 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776190978 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:09.062986 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776197108 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:09.063015 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776197108 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:10.102980 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776198148 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:10.103008 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776198148 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:11.142989 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776199188 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:11.143013 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776199188 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:12.186036 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776200231 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:12.186063 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776200231 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:13.222948 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776201268 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:13.222977 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776201268 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:14.262972 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776202308 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:14.262995 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776202308 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:15.302953 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776203348 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:15.302984 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776203348 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:16.343204 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776204388 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:16.343232 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776204388 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:17.384022 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776205429 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:17.384051 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776205429 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:18.422980 IP localhost.7811 > localhost.40240: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776206468 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:18.423004 IP localhost.40240 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776206468 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: 16:51:19.462959 IP localhost.7811 > localhost.40240: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2776207508 ecr 2776190978], length 0 :: [ 16:51:39 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:51:39 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 16:51:39 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:51:39 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:51:39 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 16:51:44 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 16:52:15 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 16:52:15 ] :: [ PASS ] :: Command 'childpid=198890' (Expected 0, got 0) :: [ 16:52:15 ] :: [ PASS ] :: Command 'kill -s SIGINT 198890' (Expected 0, got 0) :: [ 16:52:16 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 16:52:21 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 16:52:21 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 16:52:21 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 16:52:21 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 16:52:21 ] :: [ LOG ] :: 16:51:44.915656 IP localhost.35936 > localhost.7811: Flags [S], seq 3097492363, win 65495, options [mss 65495,sackOK,TS val 2776232960 ecr 0,nop,wscale 7], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:44.915672 IP localhost.7811 > localhost.35936: Flags [S.], seq 3764260564, ack 3097492364, win 65483, options [mss 65495,sackOK,TS val 2776232960 ecr 2776232960,nop,wscale 7], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:44.915687 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776232960 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:51.302958 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776239348 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:51.302985 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776239348 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:52.342959 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776240388 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:52.342986 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776240388 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:53.383000 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776241428 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:53.383032 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776241428 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:54.422950 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776242468 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:54.422980 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776242468 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:55.463010 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776243508 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:55.463037 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776243508 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:56.502996 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776244548 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:56.503027 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776244548 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:57.543009 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776245588 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:57.543038 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776245588 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:58.582995 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776246628 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:58.583024 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776246628 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:59.622981 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776247668 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:51:59.623009 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776247668 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:52:00.663015 IP localhost.7811 > localhost.35936: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776248708 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:52:00.663043 IP localhost.35936 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2776248708 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: 16:52:01.703000 IP localhost.7811 > localhost.35936: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2776249748 ecr 2776232960], length 0 :: [ 16:52:21 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 16:52:21 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 16:52:21 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 16:52:21 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:52:21 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:52:22 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 16:52:22 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 157s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)