use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:08:50 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 17:08:50 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 17:08:50 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 17:09:50 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 17:09:50 ] :: [ 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:09:50 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 17:09:50 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 17:09:50 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 17:09:50 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 17:10:00 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 17:10:00 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 17:10:00 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:10:00 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 17:10:00 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 17:10:00 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 17:10:00 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 17:10:00 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:57:12 ago on Sun 02 Oct 2022 04:12:49 PM EDT. Package iproute-5.18.0-2.fc37.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 17:10:02 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 17:10:02 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 17:10:02 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 17:10:02 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 17:10:02 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 17:10:02 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 17:10:02 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 17:10:02 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 17:10:02 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 17:10:02 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 17:10:03 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 17:10:03 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 17:10:03 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 17:10:03 ] :: [ 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:10:03 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:10:03 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 17:10:03 ] :: [ 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 :: [ 17:10:08 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 17:10:08 ] :: [ 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:10:08 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 17:10:39 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:10:39 ] :: [ BEGIN ] :: Running 'childpid=540540' :: [ 17:10:39 ] :: [ PASS ] :: Command 'childpid=540540' (Expected 0, got 0) :: [ 17:10:39 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 540540' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 17:10:39 ] :: [ PASS ] :: Command 'kill -s SIGINT 540540' (Expected 0, got 0) :: [ 17:10:39 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 17:10:40 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:10:45 ] :: [ 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:10:08.787909 IP localhost.48618 > localhost.7811: Flags [S], seq 2228979719, win 65495, options [mss 65495,sackOK,TS val 2545678285 ecr 0,nop,wscale 7], length 0 17:10:08.787927 IP localhost.7811 > localhost.48618: Flags [S.], seq 3638930665, ack 2228979720, win 65483, options [mss 65495,sackOK,TS val 2545678285 ecr 2545678285,nop,wscale 7], length 0 17:10:08.787941 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545678285 ecr 2545678285], length 0 17:10:14.958288 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545684456 ecr 2545678285], length 0 17:10:14.958309 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545684456 ecr 2545678285], length 0 17:10:15.998251 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545685496 ecr 2545678285], length 0 17:10:15.998286 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545685496 ecr 2545678285], length 0 17:10:17.038208 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545686536 ecr 2545678285], length 0 17:10:17.038223 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545686536 ecr 2545678285], length 0 17:10:18.078239 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545687576 ecr 2545678285], length 0 17:10:18.078275 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545687576 ecr 2545678285], length 0 17:10:19.118219 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545688616 ecr 2545678285], length 0 17:10:19.118233 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545688616 ecr 2545678285], length 0 17:10:20.158204 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545689656 ecr 2545678285], length 0 17:10:20.158246 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545689656 ecr 2545678285], length 0 17:10:21.198209 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545690696 ecr 2545678285], length 0 17:10:21.198222 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545690696 ecr 2545678285], length 0 17:10:22.238194 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545691736 ecr 2545678285], length 0 17:10:22.238207 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545691736 ecr 2545678285], length 0 17:10:23.278224 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545692776 ecr 2545678285], length 0 17:10:23.278261 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545692776 ecr 2545678285], length 0 17:10:24.318198 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545693816 ecr 2545678285], length 0 17:10:24.318211 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545693816 ecr 2545678285], length 0 17:10:25.358321 IP localhost.7811 > localhost.48618: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2545694856 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 17:10:45 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:10:45 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:10:45 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:10:45 ] :: [ LOG ] :: 17:10:08.787909 IP localhost.48618 > localhost.7811: Flags [S], seq 2228979719, win 65495, options [mss 65495,sackOK,TS val 2545678285 ecr 0,nop,wscale 7], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:08.787927 IP localhost.7811 > localhost.48618: Flags [S.], seq 3638930665, ack 2228979720, win 65483, options [mss 65495,sackOK,TS val 2545678285 ecr 2545678285,nop,wscale 7], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:08.787941 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545678285 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:14.958288 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545684456 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:14.958309 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545684456 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:15.998251 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545685496 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:15.998286 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545685496 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:17.038208 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545686536 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:17.038223 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545686536 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:18.078239 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545687576 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:18.078275 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545687576 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:19.118219 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545688616 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:19.118233 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545688616 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:20.158204 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545689656 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:20.158246 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545689656 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:21.198209 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545690696 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:21.198222 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545690696 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:22.238194 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545691736 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:22.238207 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545691736 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:23.278224 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545692776 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:23.278261 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545692776 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:24.318198 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545693816 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:24.318211 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545693816 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:25.358321 IP localhost.7811 > localhost.48618: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2545694856 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:10:45 ] :: [ 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:10:45 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 17:10:45 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:10:45 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:10:46 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 17:10:46 ] :: [ 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:10:51 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 17:10:51 ] :: [ 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:10:51 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 17:11:22 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:11:22 ] :: [ BEGIN ] :: Running 'childpid=541164' :: [ 17:11:22 ] :: [ PASS ] :: Command 'childpid=541164' (Expected 0, got 0) :: [ 17:11:22 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 541164' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 17:11:22 ] :: [ PASS ] :: Command 'kill -s SIGINT 541164' (Expected 0, got 0) :: [ 17:11:22 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 17:11:22 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:11:27 ] :: [ 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:10:51.134261 IP localhost.60118 > localhost.7811: Flags [S], seq 4212146196, win 65495, options [mss 65495,sackOK,TS val 2545720632 ecr 0,nop,wscale 7], length 0 17:10:51.134279 IP localhost.7811 > localhost.60118: Flags [S.], seq 3545065462, ack 4212146197, win 65483, options [mss 65495,sackOK,TS val 2545720632 ecr 2545720632,nop,wscale 7], length 0 17:10:51.134293 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545720632 ecr 2545720632], length 0 17:10:57.198198 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545726696 ecr 2545720632], length 0 17:10:57.198229 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545726696 ecr 2545720632], length 0 17:10:58.238304 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545727736 ecr 2545720632], length 0 17:10:58.238321 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545727736 ecr 2545720632], length 0 17:10:59.278329 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545728776 ecr 2545720632], length 0 17:10:59.278363 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545728776 ecr 2545720632], length 0 17:11:00.318302 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545729816 ecr 2545720632], length 0 17:11:00.318316 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545729816 ecr 2545720632], length 0 17:11:01.358290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545730856 ecr 2545720632], length 0 17:11:01.358339 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545730856 ecr 2545720632], length 0 17:11:02.398297 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545731896 ecr 2545720632], length 0 17:11:02.398310 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545731896 ecr 2545720632], length 0 17:11:03.438290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545732936 ecr 2545720632], length 0 17:11:03.438304 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545732936 ecr 2545720632], length 0 17:11:04.478302 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545733976 ecr 2545720632], length 0 17:11:04.478340 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545733976 ecr 2545720632], length 0 17:11:05.518012 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545735016 ecr 2545720632], length 0 17:11:05.518018 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545735016 ecr 2545720632], length 0 17:11:06.558290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545736056 ecr 2545720632], length 0 17:11:06.558330 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545736056 ecr 2545720632], length 0 17:11:07.598280 IP localhost.7811 > localhost.60118: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2545737096 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 17:11:27 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:11:27 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:11:27 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:11:27 ] :: [ LOG ] :: 17:10:51.134261 IP localhost.60118 > localhost.7811: Flags [S], seq 4212146196, win 65495, options [mss 65495,sackOK,TS val 2545720632 ecr 0,nop,wscale 7], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:51.134279 IP localhost.7811 > localhost.60118: Flags [S.], seq 3545065462, ack 4212146197, win 65483, options [mss 65495,sackOK,TS val 2545720632 ecr 2545720632,nop,wscale 7], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:51.134293 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545720632 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:57.198198 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545726696 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:57.198229 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545726696 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:58.238304 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545727736 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:58.238321 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545727736 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:59.278329 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545728776 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:59.278363 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545728776 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:00.318302 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545729816 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:00.318316 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545729816 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:01.358290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545730856 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:01.358339 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545730856 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:02.398297 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545731896 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:02.398310 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545731896 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:03.438290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545732936 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:03.438304 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545732936 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:04.478302 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545733976 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:04.478340 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545733976 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:05.518012 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545735016 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:05.518018 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545735016 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:06.558290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545736056 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:06.558330 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545736056 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:07.598280 IP localhost.7811 > localhost.60118: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2545737096 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:11:27 ] :: [ 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:11:27 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 17:11:27 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:11:27 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:11:28 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 17:11:28 ] :: [ 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 : 24 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-10-02 17:08:49 EDT Test finished : 2022-10-02 17:11:28 EDT (still running) Test duration : 159 seconds Distro : Fedora release 38 (Rawhide) Hostname : ampere-mtsnow-altramax-04.khw4.lab.eng.bos.redhat.com Architecture : unknown CPUs : 0 x RAM size : 63710 MB HDD size : 894.12 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:08:50 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 17:09:50 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 17:09:50 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 17:09:50 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 17:10:00 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 17:10:00 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:10:00 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 17:10:00 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 17:10:02 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 17:10:02 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 17:10:02 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 17:10:03 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 17:10:03 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 17:10:03 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:10:03 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 17:10:08 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 17:10:39 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:10:39 ] :: [ PASS ] :: Command 'childpid=540540' (Expected 0, got 0) :: [ 17:10:39 ] :: [ PASS ] :: Command 'kill -s SIGINT 540540' (Expected 0, got 0) :: [ 17:10:40 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:10:45 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 17:10:45 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:10:45 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:10:45 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:10:45 ] :: [ LOG ] :: 17:10:08.787909 IP localhost.48618 > localhost.7811: Flags [S], seq 2228979719, win 65495, options [mss 65495,sackOK,TS val 2545678285 ecr 0,nop,wscale 7], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:08.787927 IP localhost.7811 > localhost.48618: Flags [S.], seq 3638930665, ack 2228979720, win 65483, options [mss 65495,sackOK,TS val 2545678285 ecr 2545678285,nop,wscale 7], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:08.787941 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545678285 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:14.958288 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545684456 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:14.958309 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545684456 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:15.998251 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545685496 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:15.998286 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545685496 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:17.038208 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545686536 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:17.038223 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545686536 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:18.078239 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545687576 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:18.078275 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545687576 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:19.118219 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545688616 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:19.118233 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545688616 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:20.158204 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545689656 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:20.158246 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545689656 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:21.198209 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545690696 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:21.198222 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545690696 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:22.238194 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545691736 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:22.238207 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545691736 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:23.278224 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545692776 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:23.278261 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545692776 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:24.318198 IP localhost.7811 > localhost.48618: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545693816 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:24.318211 IP localhost.48618 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545693816 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: 17:10:25.358321 IP localhost.7811 > localhost.48618: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2545694856 ecr 2545678285], length 0 :: [ 17:10:45 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:10:45 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 17:10:45 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:10:45 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:10:46 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 17:10:51 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 17:11:22 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 17:11:22 ] :: [ PASS ] :: Command 'childpid=541164' (Expected 0, got 0) :: [ 17:11:22 ] :: [ PASS ] :: Command 'kill -s SIGINT 541164' (Expected 0, got 0) :: [ 17:11:22 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 17:11:27 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 17:11:27 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 17:11:27 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 17:11:27 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 17:11:27 ] :: [ LOG ] :: 17:10:51.134261 IP localhost.60118 > localhost.7811: Flags [S], seq 4212146196, win 65495, options [mss 65495,sackOK,TS val 2545720632 ecr 0,nop,wscale 7], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:51.134279 IP localhost.7811 > localhost.60118: Flags [S.], seq 3545065462, ack 4212146197, win 65483, options [mss 65495,sackOK,TS val 2545720632 ecr 2545720632,nop,wscale 7], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:51.134293 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545720632 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:57.198198 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545726696 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:57.198229 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545726696 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:58.238304 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545727736 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:58.238321 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545727736 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:59.278329 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545728776 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:10:59.278363 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545728776 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:00.318302 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545729816 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:00.318316 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545729816 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:01.358290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545730856 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:01.358339 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545730856 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:02.398297 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545731896 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:02.398310 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545731896 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:03.438290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545732936 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:03.438304 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545732936 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:04.478302 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545733976 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:04.478340 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545733976 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:05.518012 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545735016 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:05.518018 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545735016 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:06.558290 IP localhost.7811 > localhost.60118: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545736056 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:06.558330 IP localhost.60118 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2545736056 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: 17:11:07.598280 IP localhost.7811 > localhost.60118: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2545737096 ecr 2545720632], length 0 :: [ 17:11:27 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 17:11:27 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 17:11:27 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 17:11:27 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:11:28 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:11:28 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 17:11:28 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 159s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)