use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:10:32 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 07:10:32 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 07:10:32 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 07:11:32 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 07:11:32 ] :: [ 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) :: [ 07:11:32 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 07:11:33 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 07:11:33 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 07:11:33 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 07:11:43 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 07:11:43 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 07:11:43 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:11:43 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 07:11:43 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 07:11:43 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 07:11:43 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 07:11:43 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:04:17 ago on Sat 04 Feb 2023 07:07:27 AM EST. Package iproute-6.1.0-1.fc38.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 07:11:45 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 07:11:45 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 07:11:45 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 07:11:45 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 07:11:45 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 07:11:45 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 07:11:45 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 07:11:45 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 07:11:45 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 07:11:45 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 07:11:45 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 07:11:45 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 07:11:45 ] :: [ 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); | ^~~~ :: [ 07:11:45 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:11:46 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 07:11:46 ] :: [ 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 :: [ 07:11:51 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 07:11:51 ] :: [ 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 drop } } :: [ 07:11:51 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 07:12:22 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:12:22 ] :: [ BEGIN ] :: Running 'childpid=335321' :: [ 07:12:22 ] :: [ PASS ] :: Command 'childpid=335321' (Expected 0, got 0) :: [ 07:12:22 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 335321' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 07:12:22 ] :: [ PASS ] :: Command 'kill -s SIGINT 335321' (Expected 0, got 0) :: [ 07:12:22 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 07:12:22 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:12:27 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 07:11:51.233246 IP localhost.56594 > localhost.7811: Flags [S], seq 2140378651, win 65495, options [mss 65495,sackOK,TS val 4149207160 ecr 0,nop,wscale 7], length 0 07:11:51.233256 IP localhost.7811 > localhost.56594: Flags [S.], seq 1367056530, ack 2140378652, win 65483, options [mss 65495,sackOK,TS val 4149207160 ecr 4149207160,nop,wscale 7], length 0 07:11:51.233266 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149207160 ecr 4149207160], length 0 07:11:57.592738 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149213520 ecr 4149207160], length 0 07:11:57.592758 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149213520 ecr 4149207160], length 0 07:11:58.632715 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149214560 ecr 4149207160], length 0 07:11:58.632726 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149214560 ecr 4149207160], length 0 07:11:59.672733 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149215600 ecr 4149207160], length 0 07:11:59.672747 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149215600 ecr 4149207160], length 0 07:12:00.712727 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149216640 ecr 4149207160], length 0 07:12:00.712745 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149216640 ecr 4149207160], length 0 07:12:01.752742 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149217680 ecr 4149207160], length 0 07:12:01.752775 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149217680 ecr 4149207160], length 0 07:12:02.792736 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149218720 ecr 4149207160], length 0 07:12:02.792767 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149218720 ecr 4149207160], length 0 07:12:03.832736 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149219760 ecr 4149207160], length 0 07:12:03.832755 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149219760 ecr 4149207160], length 0 07:12:04.872741 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149220800 ecr 4149207160], length 0 07:12:04.872771 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149220800 ecr 4149207160], length 0 07:12:05.912730 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149221840 ecr 4149207160], length 0 07:12:05.912761 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149221840 ecr 4149207160], length 0 07:12:06.952721 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149222880 ecr 4149207160], length 0 07:12:06.952738 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149222880 ecr 4149207160], length 0 07:12:07.992726 IP localhost.7811 > localhost.56594: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 4149223920 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 07:12:27 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:12:27 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:51.233246 IP localhost.56594 > localhost.7811: Flags [S], seq 2140378651, win 65495, options [mss 65495,sackOK,TS val 4149207160 ecr 0,nop,wscale 7], length 0 :: [ 07:12:27 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:12:27 ] :: [ LOG ] :: 07:11:51.233256 IP localhost.7811 > localhost.56594: Flags [S.], seq 1367056530, ack 2140378652, win 65483, options [mss 65495,sackOK,TS val 4149207160 ecr 4149207160,nop,wscale 7], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:51.233266 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149207160 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:57.592738 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149213520 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:57.592758 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149213520 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:58.632715 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149214560 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:58.632726 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149214560 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:59.672733 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149215600 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:59.672747 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149215600 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:00.712727 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149216640 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:00.712745 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149216640 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:01.752742 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149217680 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:01.752775 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149217680 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:02.792736 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149218720 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:02.792767 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149218720 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:03.832736 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149219760 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:03.832755 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149219760 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:04.872741 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149220800 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:04.872771 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149220800 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:05.912730 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149221840 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:05.912761 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149221840 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:06.952721 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149222880 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:06.952738 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149222880 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:07.992726 IP localhost.7811 > localhost.56594: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 4149223920 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:12:27 ] :: [ 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 :: [ 07:12:27 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 07:12:27 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:12:27 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) ** host PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:12:28 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 07:12:28 ] :: [ 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 :: [ 07:12:33 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 07:12:33 ] :: [ 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 } } :: [ 07:12:33 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 07:13:04 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:13:04 ] :: [ BEGIN ] :: Running 'childpid=335933' :: [ 07:13:04 ] :: [ PASS ] :: Command 'childpid=335933' (Expected 0, got 0) :: [ 07:13:04 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 335933' connected :: [ 07:13:04 ] :: [ PASS ] :: Command 'kill -s SIGINT 335933' (Expected 0, got 0) accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 07:13:04 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 07:13:04 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:13:09 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 07:12:33.250551 IP localhost.41206 > localhost.7811: Flags [S], seq 2634473476, win 65495, options [mss 65495,sackOK,TS val 4149249177 ecr 0,nop,wscale 7], length 0 07:12:33.250564 IP localhost.7811 > localhost.41206: Flags [S.], seq 6805594, ack 2634473477, win 65483, options [mss 65495,sackOK,TS val 4149249177 ecr 4149249177,nop,wscale 7], length 0 07:12:33.250577 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149249177 ecr 4149249177], length 0 07:12:39.832728 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149255760 ecr 4149249177], length 0 07:12:39.832748 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149255760 ecr 4149249177], length 0 07:12:40.872773 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149256800 ecr 4149249177], length 0 07:12:40.872791 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149256800 ecr 4149249177], length 0 07:12:41.912736 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149257840 ecr 4149249177], length 0 07:12:41.912748 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149257840 ecr 4149249177], length 0 07:12:42.952727 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149258880 ecr 4149249177], length 0 07:12:42.952739 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149258880 ecr 4149249177], length 0 07:12:43.992739 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149259920 ecr 4149249177], length 0 07:12:43.992766 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149259920 ecr 4149249177], length 0 07:12:45.032723 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149260960 ecr 4149249177], length 0 07:12:45.032735 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149260960 ecr 4149249177], length 0 07:12:46.072751 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149262000 ecr 4149249177], length 0 07:12:46.072787 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149262000 ecr 4149249177], length 0 07:12:47.112727 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149263040 ecr 4149249177], length 0 07:12:47.112740 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149263040 ecr 4149249177], length 0 07:12:48.152724 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149264080 ecr 4149249177], length 0 07:12:48.152742 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149264080 ecr 4149249177], length 0 07:12:49.192728 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149265120 ecr 4149249177], length 0 07:12:49.192739 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149265120 ecr 4149249177], length 0 07:12:50.232725 IP localhost.7811 > localhost.41206: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 4149266160 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 07:13:09 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:13:09 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:13:09 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:13:09 ] :: [ LOG ] :: 07:12:33.250551 IP localhost.41206 > localhost.7811: Flags [S], seq 2634473476, win 65495, options [mss 65495,sackOK,TS val 4149249177 ecr 0,nop,wscale 7], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:33.250564 IP localhost.7811 > localhost.41206: Flags [S.], seq 6805594, ack 2634473477, win 65483, options [mss 65495,sackOK,TS val 4149249177 ecr 4149249177,nop,wscale 7], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:33.250577 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149249177 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:39.832728 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149255760 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:39.832748 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149255760 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:40.872773 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149256800 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:40.872791 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149256800 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:41.912736 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149257840 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:41.912748 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149257840 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:42.952727 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149258880 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:42.952739 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149258880 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:43.992739 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149259920 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:43.992766 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149259920 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:45.032723 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149260960 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:45.032735 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149260960 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:46.072751 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149262000 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:46.072787 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149262000 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:47.112727 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149263040 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:47.112740 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149263040 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:48.152724 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149264080 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:48.152742 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149264080 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:49.192728 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149265120 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:49.192739 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149265120 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:50.232725 IP localhost.7811 > localhost.41206: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 4149266160 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:13:09 ] :: [ 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 :: [ 07:13:09 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 07:13:09 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:13:09 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:13:10 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 07:13:10 ] :: [ 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 : 15 Package : unknown beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : unknown Test started : 2023-02-04 07:10:32 EST Test finished : 2023-02-04 07:13:10 EST (still running) Test duration : 158 seconds Distro : Fedora release 38 (Rawhide) Hostname : ampere-mtsnow-altramax-01-vm-12.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 34993 MB HDD size : 61.86 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:10:32 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 07:11:32 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 07:11:32 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 07:11:33 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 07:11:43 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 07:11:43 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:11:43 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 07:11:43 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 07:11:45 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 07:11:45 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 07:11:45 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:11:46 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 07:11:51 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 07:12:22 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:12:22 ] :: [ PASS ] :: Command 'childpid=335321' (Expected 0, got 0) :: [ 07:12:22 ] :: [ PASS ] :: Command 'kill -s SIGINT 335321' (Expected 0, got 0) :: [ 07:12:22 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:12:27 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 07:12:27 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:12:27 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:51.233246 IP localhost.56594 > localhost.7811: Flags [S], seq 2140378651, win 65495, options [mss 65495,sackOK,TS val 4149207160 ecr 0,nop,wscale 7], length 0 :: [ 07:12:27 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:12:27 ] :: [ LOG ] :: 07:11:51.233256 IP localhost.7811 > localhost.56594: Flags [S.], seq 1367056530, ack 2140378652, win 65483, options [mss 65495,sackOK,TS val 4149207160 ecr 4149207160,nop,wscale 7], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:51.233266 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149207160 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:57.592738 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149213520 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:57.592758 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149213520 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:58.632715 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149214560 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:58.632726 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149214560 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:59.672733 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149215600 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:11:59.672747 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149215600 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:00.712727 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149216640 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:00.712745 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149216640 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:01.752742 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149217680 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:01.752775 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149217680 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:02.792736 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149218720 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:02.792767 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149218720 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:03.832736 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149219760 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:03.832755 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149219760 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:04.872741 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149220800 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:04.872771 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149220800 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:05.912730 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149221840 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:05.912761 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149221840 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:06.952721 IP localhost.7811 > localhost.56594: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149222880 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:06.952738 IP localhost.56594 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149222880 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: 07:12:07.992726 IP localhost.7811 > localhost.56594: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 4149223920 ecr 4149207160], length 0 :: [ 07:12:27 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:12:27 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 07:12:27 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:12:27 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:12:28 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 07:12:33 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 07:13:04 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:13:04 ] :: [ PASS ] :: Command 'childpid=335933' (Expected 0, got 0) :: [ 07:13:04 ] :: [ PASS ] :: Command 'kill -s SIGINT 335933' (Expected 0, got 0) :: [ 07:13:04 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:13:09 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 07:13:09 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:13:09 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:13:09 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:13:09 ] :: [ LOG ] :: 07:12:33.250551 IP localhost.41206 > localhost.7811: Flags [S], seq 2634473476, win 65495, options [mss 65495,sackOK,TS val 4149249177 ecr 0,nop,wscale 7], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:33.250564 IP localhost.7811 > localhost.41206: Flags [S.], seq 6805594, ack 2634473477, win 65483, options [mss 65495,sackOK,TS val 4149249177 ecr 4149249177,nop,wscale 7], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:33.250577 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149249177 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:39.832728 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149255760 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:39.832748 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149255760 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:40.872773 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149256800 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:40.872791 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149256800 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:41.912736 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149257840 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:41.912748 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149257840 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:42.952727 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149258880 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:42.952739 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149258880 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:43.992739 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149259920 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:43.992766 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149259920 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:45.032723 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149260960 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:45.032735 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149260960 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:46.072751 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149262000 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:46.072787 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149262000 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:47.112727 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149263040 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:47.112740 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149263040 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:48.152724 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149264080 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:48.152742 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149264080 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:49.192728 IP localhost.7811 > localhost.41206: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149265120 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:49.192739 IP localhost.41206 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 4149265120 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: 07:12:50.232725 IP localhost.7811 > localhost.41206: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 4149266160 ecr 4149249177], length 0 :: [ 07:13:09 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:13:09 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 07:13:09 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:13:09 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:13:10 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:13:10 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 07:13:10 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 158s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)