use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:13:04 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 07:13:04 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 07:13:04 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 07:14:04 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 07:14:04 ] :: [ 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:14:04 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 07:14:04 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 07:14:04 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 07:14:04 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 07:14:15 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 07:14:15 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 07:14:15 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:14:15 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 07:14:15 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 07:14:15 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 07:14:15 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 07:14:15 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:54:28 ago on Wed 28 Sep 2022 06:19:49 AM EDT. Package iproute-5.18.0-2.fc37.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 07:14:20 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 07:14:20 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 07:14:20 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 07:14:20 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 07:14:20 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 07:14:20 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 07:14:20 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 07:14:20 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 07:14:20 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 07:14:20 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 07:14:20 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 07:14:20 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 07:14:20 ] :: [ 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:14:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 77s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:14:22 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 07:14:22 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: listening on lo, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 07:14:27 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 07:14:27 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) table inet filter { chain input { type filter hook input priority filter; policy accept; iifname "lo" ip protocol tcp tcp dport 7811 tcp flags ack / fin,syn,rst,psh,ack,urg counter packets 0 bytes 0 drop } } :: [ 07:14:27 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 07:14:58 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:14:58 ] :: [ BEGIN ] :: Running 'childpid=211797' :: [ 07:14:58 ] :: [ PASS ] :: Command 'childpid=211797' (Expected 0, got 0) :: [ 07:14:58 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 211797' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 07:14:58 ] :: [ PASS ] :: Command 'kill -s SIGINT 211797' (Expected 0, got 0) :: [ 07:14:58 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 07:14:58 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:15:03 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 07:14:27.444189 IP localhost.36716 > localhost.7811: Flags [S], seq 2526466419, win 65495, options [mss 65495,sackOK,TS val 1965846803 ecr 0,nop,wscale 7], length 0 07:14:27.444252 IP localhost.7811 > localhost.36716: Flags [S.], seq 67550031, ack 2526466420, win 65483, options [mss 65495,sackOK,TS val 1965846803 ecr 1965846803,nop,wscale 7], length 0 07:14:27.444285 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965846803 ecr 1965846803], length 0 07:14:33.670568 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965853030 ecr 1965846803], length 0 07:14:33.670597 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965853030 ecr 1965846803], length 0 07:14:34.710540 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965854070 ecr 1965846803], length 0 07:14:34.710562 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965854070 ecr 1965846803], length 0 07:14:35.750527 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965855110 ecr 1965846803], length 0 07:14:35.750545 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965855110 ecr 1965846803], length 0 07:14:36.790540 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965856150 ecr 1965846803], length 0 07:14:36.790559 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965856150 ecr 1965846803], length 0 07:14:37.830537 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965857190 ecr 1965846803], length 0 07:14:37.830561 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965857190 ecr 1965846803], length 0 07:14:38.870557 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965858230 ecr 1965846803], length 0 07:14:38.870582 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965858230 ecr 1965846803], length 0 07:14:39.910553 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965859270 ecr 1965846803], length 0 07:14:39.910579 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965859270 ecr 1965846803], length 0 07:14:40.950517 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965860310 ecr 1965846803], length 0 07:14:40.950533 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965860310 ecr 1965846803], length 0 07:14:41.990527 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965861350 ecr 1965846803], length 0 07:14:41.990550 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965861350 ecr 1965846803], length 0 07:14:43.030542 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965862390 ecr 1965846803], length 0 07:14:43.030559 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965862390 ecr 1965846803], length 0 07:14:44.070539 IP localhost.7811 > localhost.36716: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1965863430 ecr 1965846803], length 0 :: [ 07:15:03 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 07:15:04 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:15:04 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:15:04 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:15:04 ] :: [ LOG ] :: 07:14:27.444189 IP localhost.36716 > localhost.7811: Flags [S], seq 2526466419, win 65495, options [mss 65495,sackOK,TS val 1965846803 ecr 0,nop,wscale 7], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:27.444252 IP localhost.7811 > localhost.36716: Flags [S.], seq 67550031, ack 2526466420, win 65483, options [mss 65495,sackOK,TS val 1965846803 ecr 1965846803,nop,wscale 7], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:27.444285 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965846803 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:33.670568 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965853030 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:33.670597 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965853030 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:34.710540 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965854070 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:34.710562 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965854070 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:35.750527 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965855110 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:35.750545 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965855110 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:36.790540 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965856150 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:36.790559 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965856150 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:37.830537 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965857190 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:37.830561 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965857190 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:38.870557 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965858230 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:38.870582 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965858230 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:39.910553 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965859270 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:39.910579 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965859270 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:40.950517 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965860310 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:40.950533 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965860310 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:41.990527 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965861350 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:41.990550 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965861350 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:43.030542 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965862390 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:43.030559 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965862390 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:44.070539 IP localhost.7811 > localhost.36716: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1965863430 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:15:04 ] :: [ 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:15:04 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 07:15:04 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:15:04 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:15:05 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 07:15:05 ] :: [ 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:15:11 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 07:15:11 ] :: [ 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 } } :: [ 07:15:11 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 07:15:42 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:15:42 ] :: [ BEGIN ] :: Running 'childpid=212416' :: [ 07:15:42 ] :: [ PASS ] :: Command 'childpid=212416' (Expected 0, got 0) :: [ 07:15:42 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 212416' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 07:15:42 ] :: [ PASS ] :: Command 'kill -s SIGINT 212416' (Expected 0, got 0) :: [ 07:15:42 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 07:15:42 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:15:47 ] :: [ 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:15:11.038474 IP localhost.37838 > localhost.7811: Flags [S], seq 2600980315, win 65495, options [mss 65495,sackOK,TS val 1965890397 ecr 0,nop,wscale 7], length 0 07:15:11.038533 IP localhost.7811 > localhost.37838: Flags [S.], seq 2491628665, ack 2600980316, win 65483, options [mss 65495,sackOK,TS val 1965890398 ecr 1965890397,nop,wscale 7], length 0 07:15:11.038566 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965890398 ecr 1965890398], length 0 07:15:17.190529 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965896550 ecr 1965890398], length 0 07:15:17.190565 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965896550 ecr 1965890398], length 0 07:15:18.230534 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965897590 ecr 1965890398], length 0 07:15:18.230561 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965897590 ecr 1965890398], length 0 07:15:19.270514 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965898630 ecr 1965890398], length 0 07:15:19.270533 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965898630 ecr 1965890398], length 0 07:15:20.310535 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965899670 ecr 1965890398], length 0 07:15:20.310561 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965899670 ecr 1965890398], length 0 07:15:21.350519 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965900710 ecr 1965890398], length 0 07:15:21.350532 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965900710 ecr 1965890398], length 0 07:15:22.390509 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965901750 ecr 1965890398], length 0 07:15:22.390526 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965901750 ecr 1965890398], length 0 07:15:23.430518 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965902790 ecr 1965890398], length 0 07:15:23.430545 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965902790 ecr 1965890398], length 0 07:15:24.470527 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965903830 ecr 1965890398], length 0 07:15:24.470554 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965903830 ecr 1965890398], length 0 07:15:25.510558 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965904870 ecr 1965890398], length 0 07:15:25.510604 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965904870 ecr 1965890398], length 0 07:15:26.550522 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965905910 ecr 1965890398], length 0 07:15:26.550546 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965905910 ecr 1965890398], length 0 07:15:27.590530 IP localhost.7811 > localhost.37838: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1965906950 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 07:15:47 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:15:47 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:15:47 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:15:47 ] :: [ LOG ] :: 07:15:11.038474 IP localhost.37838 > localhost.7811: Flags [S], seq 2600980315, win 65495, options [mss 65495,sackOK,TS val 1965890397 ecr 0,nop,wscale 7], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:11.038533 IP localhost.7811 > localhost.37838: Flags [S.], seq 2491628665, ack 2600980316, win 65483, options [mss 65495,sackOK,TS val 1965890398 ecr 1965890397,nop,wscale 7], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:11.038566 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965890398 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:17.190529 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965896550 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:17.190565 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965896550 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:18.230534 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965897590 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:18.230561 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965897590 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:19.270514 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965898630 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:19.270533 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965898630 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:20.310535 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965899670 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:20.310561 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965899670 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:21.350519 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965900710 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:21.350532 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965900710 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:22.390509 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965901750 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:22.390526 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965901750 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:23.430518 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965902790 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:23.430545 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965902790 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:24.470527 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965903830 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:24.470554 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965903830 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:25.510558 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965904870 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:25.510604 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965904870 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:26.550522 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965905910 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:26.550546 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965905910 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:27.590530 IP localhost.7811 > localhost.37838: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1965906950 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:15:48 ] :: [ 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:15:48 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 07:15:48 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:15:48 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 43s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:15:49 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 07:15:49 ] :: [ 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 : 14 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-09-28 07:13:03 EDT Test finished : 2022-09-28 07:15:50 EDT (still running) Test duration : 167 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-apollo-cn99xx-15-vm-30.khw4.lab.eng.bos.redhat.com Architecture : unknown CPUs : 0 x RAM size : 5903 MB HDD size : 99.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:13:04 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 07:14:04 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 07:14:04 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 07:14:04 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 07:14:15 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 07:14:15 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:14:15 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 07:14:15 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 07:14:20 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 07:14:20 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 07:14:20 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 07:14:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 77s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:14:22 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 07:14:27 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 07:14:58 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:14:58 ] :: [ PASS ] :: Command 'childpid=211797' (Expected 0, got 0) :: [ 07:14:58 ] :: [ PASS ] :: Command 'kill -s SIGINT 211797' (Expected 0, got 0) :: [ 07:14:58 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:15:03 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 07:15:04 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:15:04 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:15:04 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:15:04 ] :: [ LOG ] :: 07:14:27.444189 IP localhost.36716 > localhost.7811: Flags [S], seq 2526466419, win 65495, options [mss 65495,sackOK,TS val 1965846803 ecr 0,nop,wscale 7], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:27.444252 IP localhost.7811 > localhost.36716: Flags [S.], seq 67550031, ack 2526466420, win 65483, options [mss 65495,sackOK,TS val 1965846803 ecr 1965846803,nop,wscale 7], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:27.444285 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965846803 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:33.670568 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965853030 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:33.670597 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965853030 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:34.710540 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965854070 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:34.710562 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965854070 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:35.750527 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965855110 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:35.750545 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965855110 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:36.790540 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965856150 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:36.790559 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965856150 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:37.830537 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965857190 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:37.830561 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965857190 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:38.870557 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965858230 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:38.870582 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965858230 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:39.910553 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965859270 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:39.910579 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965859270 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:40.950517 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965860310 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:40.950533 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965860310 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:41.990527 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965861350 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:41.990550 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965861350 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:43.030542 IP localhost.7811 > localhost.36716: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965862390 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:43.030559 IP localhost.36716 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965862390 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: 07:14:44.070539 IP localhost.7811 > localhost.36716: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1965863430 ecr 1965846803], length 0 :: [ 07:15:04 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:15:04 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 07:15:04 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:15:04 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:15:05 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 07:15:11 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 07:15:42 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 07:15:42 ] :: [ PASS ] :: Command 'childpid=212416' (Expected 0, got 0) :: [ 07:15:42 ] :: [ PASS ] :: Command 'kill -s SIGINT 212416' (Expected 0, got 0) :: [ 07:15:42 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:15:47 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 07:15:47 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 07:15:47 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 07:15:47 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 07:15:47 ] :: [ LOG ] :: 07:15:11.038474 IP localhost.37838 > localhost.7811: Flags [S], seq 2600980315, win 65495, options [mss 65495,sackOK,TS val 1965890397 ecr 0,nop,wscale 7], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:11.038533 IP localhost.7811 > localhost.37838: Flags [S.], seq 2491628665, ack 2600980316, win 65483, options [mss 65495,sackOK,TS val 1965890398 ecr 1965890397,nop,wscale 7], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:11.038566 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965890398 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:17.190529 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965896550 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:17.190565 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965896550 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:18.230534 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965897590 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:18.230561 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965897590 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:19.270514 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965898630 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:19.270533 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965898630 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:20.310535 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965899670 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:20.310561 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965899670 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:21.350519 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965900710 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:21.350532 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965900710 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:22.390509 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965901750 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:22.390526 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965901750 ecr 1965890398], length 0 :: [ 07:15:47 ] :: [ LOG ] :: 07:15:23.430518 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965902790 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:23.430545 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965902790 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:24.470527 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965903830 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:24.470554 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965903830 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:25.510558 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965904870 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:25.510604 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965904870 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:26.550522 IP localhost.7811 > localhost.37838: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965905910 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:26.550546 IP localhost.37838 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 1965905910 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: 07:15:27.590530 IP localhost.7811 > localhost.37838: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 1965906950 ecr 1965890398], length 0 :: [ 07:15:48 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 07:15:48 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 07:15:48 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 07:15:48 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 43s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:15:49 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:15:50 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 07:15:50 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 167s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)