use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:09:20 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld' :: [ 20:09:20 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 20:09:20 ] :: [ BEGIN ] :: Running 'sleep 60' :: [ 20:10:20 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 20:10:20 ] :: [ 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) :: [ 20:10:20 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 20:10:20 ] :: [ BEGIN ] :: Running 'nft delete table inet filter' Error: Could not process rule: No such file or directory delete table inet filter ^^^^^^ :: [ 20:10:20 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 20:10:20 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 20:10:30 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 20:10:30 ] :: [ BEGIN ] :: Running 'sys_ka_idle=7200' :: [ 20:10:30 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 20:10:30 ] :: [ BEGIN ] :: Running 'sys_ka_interval=75' :: [ 20:10:30 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 20:10:30 ] :: [ BEGIN ] :: Running 'sys_ka_idle=9' :: [ 20:10:30 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 20:10:30 ] :: [ BEGIN ] :: iproute installed :: actually running '/usr/bin/dnf -y install iproute' Last metadata expiration check: 0:40:20 ago on Fri 30 Sep 2022 07:30:10 PM EDT. Package iproute-5.18.0-2.fc37.s390x is already installed. Dependencies resolved. Nothing to do. Complete! :: [ 20:10:32 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'ip netns add netns_ka' :: [ 20:10:32 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ip link set lo up' :: [ 20:10:32 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=7200' :: [ 20:10:32 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'netns_sys_ka_interval=75' :: [ 20:10:32 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'netns_sys_ka_idle=9' :: [ 20:10:32 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 20:10:32 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'idle=6' :: [ 20:10:32 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'interval=1' :: [ 20:10:32 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'maxpkt=10' :: [ 20:10:32 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 20:10:32 ] :: [ BEGIN ] :: Running 'port=7811' :: [ 20:10:32 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 20:10:32 ] :: [ 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); | ^~~~ :: [ 20:10:33 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:10:33 ] :: [ BEGIN ] :: Running 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' :: [ 20:10:33 ] :: [ 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 :: [ 20:10:38 ] :: [ BEGIN ] :: Running './keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 20:10:38 ] :: [ 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 } } :: [ 20:10:38 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 20:11:09 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 20:11:09 ] :: [ BEGIN ] :: Running 'childpid=449451' :: [ 20:11:09 ] :: [ PASS ] :: Command 'childpid=449451' (Expected 0, got 0) :: [ 20:11:09 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 449451' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 20:11:09 ] :: [ PASS ] :: Command 'kill -s SIGINT 449451' (Expected 0, got 0) :: [ 20:11:09 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 20:11:09 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 20:11:14 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.host.pcap' reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 20:10:38.344712 IP localhost.38886 > localhost.7811: Flags [S], seq 112465666, win 65495, options [mss 65495,sackOK,TS val 2937542216 ecr 0,nop,wscale 7], length 0 20:10:38.344724 IP localhost.7811 > localhost.38886: Flags [S.], seq 2363817692, ack 112465667, win 65483, options [mss 65495,sackOK,TS val 2937542216 ecr 2937542216,nop,wscale 7], length 0 20:10:38.344730 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937542216 ecr 2937542216], length 0 20:10:44.747363 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937548619 ecr 2937542216], length 0 20:10:44.747389 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937548619 ecr 2937542216], length 0 20:10:45.787394 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937549659 ecr 2937542216], length 0 20:10:45.787419 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937549659 ecr 2937542216], length 0 20:10:46.827458 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937550699 ecr 2937542216], length 0 20:10:46.827483 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937550699 ecr 2937542216], length 0 20:10:47.867294 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937551739 ecr 2937542216], length 0 20:10:47.867321 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937551739 ecr 2937542216], length 0 20:10:48.907330 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937552779 ecr 2937542216], length 0 20:10:48.907351 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937552779 ecr 2937542216], length 0 20:10:49.947341 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937553819 ecr 2937542216], length 0 20:10:49.947367 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937553819 ecr 2937542216], length 0 20:10:50.987252 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937554858 ecr 2937542216], length 0 20:10:50.987272 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937554859 ecr 2937542216], length 0 20:10:52.027524 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937555899 ecr 2937542216], length 0 20:10:52.027551 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937555899 ecr 2937542216], length 0 20:10:53.067373 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937556939 ecr 2937542216], length 0 20:10:53.067399 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937556939 ecr 2937542216], length 0 20:10:54.107381 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937557979 ecr 2937542216], length 0 20:10:54.107406 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937557979 ecr 2937542216], length 0 20:10:55.147370 IP localhost.7811 > localhost.38886: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2937559019 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 20:11:14 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 20:11:14 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 20:11:14 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 20:11:14 ] :: [ LOG ] :: 20:10:38.344712 IP localhost.38886 > localhost.7811: Flags [S], seq 112465666, win 65495, options [mss 65495,sackOK,TS val 2937542216 ecr 0,nop,wscale 7], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:38.344724 IP localhost.7811 > localhost.38886: Flags [S.], seq 2363817692, ack 112465667, win 65483, options [mss 65495,sackOK,TS val 2937542216 ecr 2937542216,nop,wscale 7], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:38.344730 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937542216 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:44.747363 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937548619 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:44.747389 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937548619 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:45.787394 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937549659 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:45.787419 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937549659 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:46.827458 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937550699 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:46.827483 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937550699 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:47.867294 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937551739 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:47.867321 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937551739 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:48.907330 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937552779 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:48.907351 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937552779 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:49.947341 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937553819 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:49.947367 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937553819 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:50.987252 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937554858 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:50.987272 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937554859 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:52.027524 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937555899 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:52.027551 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937555899 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:53.067373 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937556939 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:53.067399 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937556939 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:54.107381 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937557979 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:54.107406 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937557979 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:55.147370 IP localhost.7811 > localhost.38886: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2937559019 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 20:11:14 ] :: [ 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 :: [ 20:11:14 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 20:11:14 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 20:11:14 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:11:14 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' :: [ 20:11:14 ] :: [ 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 :: [ 20:11:19 ] :: [ BEGIN ] :: Running 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' /usr/sbin/nft :: [ 20:11:19 ] :: [ 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 } } :: [ 20:11:19 ] :: [ BEGIN ] :: Running 'sleep 31 ' :: [ 20:11:50 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 20:11:50 ] :: [ BEGIN ] :: Running 'childpid=450066' :: [ 20:11:50 ] :: [ PASS ] :: Command 'childpid=450066' (Expected 0, got 0) :: [ 20:11:50 ] :: [ BEGIN ] :: Running 'kill -s SIGINT 450066' connected accepted, and block ACK from client Child process terminated normally! nft delete table inet filter:: [ 20:11:50 ] :: [ PASS ] :: Command 'kill -s SIGINT 450066' (Expected 0, got 0) :: [ 20:11:50 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 24 packets captured 48 packets received by filter 0 packets dropped by kernel :: [ 20:11:50 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 20:11:56 ] :: [ BEGIN ] :: Running 'tcpdump -r tcpdump.netns.pcap' reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 20:11:19.902045 IP localhost.43782 > localhost.7811: Flags [S], seq 3519681005, win 65495, options [mss 65495,sackOK,TS val 2937583773 ecr 0,nop,wscale 7], length 0 20:11:19.902058 IP localhost.7811 > localhost.43782: Flags [S.], seq 2502192246, ack 3519681006, win 65483, options [mss 65495,sackOK,TS val 2937583773 ecr 2937583773,nop,wscale 7], length 0 20:11:19.902067 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937583773 ecr 2937583773], length 0 20:11:26.347379 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937590219 ecr 2937583773], length 0 20:11:26.347406 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937590219 ecr 2937583773], length 0 20:11:27.387380 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937591259 ecr 2937583773], length 0 20:11:27.387399 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937591259 ecr 2937583773], length 0 20:11:28.427422 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937592299 ecr 2937583773], length 0 20:11:28.427444 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937592299 ecr 2937583773], length 0 20:11:29.467382 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937593339 ecr 2937583773], length 0 20:11:29.467401 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937593339 ecr 2937583773], length 0 20:11:30.507368 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937594379 ecr 2937583773], length 0 20:11:30.507393 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937594379 ecr 2937583773], length 0 20:11:31.547413 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937595419 ecr 2937583773], length 0 20:11:31.547439 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937595419 ecr 2937583773], length 0 20:11:32.587378 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937596459 ecr 2937583773], length 0 20:11:32.587404 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937596459 ecr 2937583773], length 0 20:11:33.627451 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937597499 ecr 2937583773], length 0 20:11:33.627471 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937597499 ecr 2937583773], length 0 20:11:34.667378 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937598539 ecr 2937583773], length 0 20:11:34.667404 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937598539 ecr 2937583773], length 0 20:11:35.707367 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937599579 ecr 2937583773], length 0 20:11:35.707393 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937599579 ecr 2937583773], length 0 20:11:36.747368 IP localhost.7811 > localhost.43782: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2937600619 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 20:11:56 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 20:11:56 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 20:11:56 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 20:11:56 ] :: [ LOG ] :: 20:11:19.902045 IP localhost.43782 > localhost.7811: Flags [S], seq 3519681005, win 65495, options [mss 65495,sackOK,TS val 2937583773 ecr 0,nop,wscale 7], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:19.902058 IP localhost.7811 > localhost.43782: Flags [S.], seq 2502192246, ack 3519681006, win 65483, options [mss 65495,sackOK,TS val 2937583773 ecr 2937583773,nop,wscale 7], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:19.902067 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937583773 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:26.347379 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937590219 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:26.347406 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937590219 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:27.387380 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937591259 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:27.387399 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937591259 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:28.427422 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937592299 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:28.427444 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937592299 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:29.467382 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937593339 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:29.467401 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937593339 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:30.507368 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937594379 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:30.507393 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937594379 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:31.547413 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937595419 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:31.547439 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937595419 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:32.587378 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937596459 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:32.587404 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937596459 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:33.627451 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937597499 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:33.627471 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937597499 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:34.667378 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937598539 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:34.667404 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937598539 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:35.707367 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937599579 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:35.707393 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937599579 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:36.747368 IP localhost.7811 > localhost.43782: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2937600619 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 20:11:56 ] :: [ 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 :: [ 20:11:56 ] :: [ BEGIN ] :: Running 'kalive_pkts=10' :: [ 20:11:56 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 20:11:56 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) ** netns PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:11:56 ] :: [ BEGIN ] :: Running 'ip netns del netns_ka' :: [ 20:11:56 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 19 Package : unknown beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : unknown Test started : 2022-09-30 20:09:20 EDT Test finished : 2022-09-30 20:11:56 EDT (still running) Test duration : 156 seconds Distro : Fedora release 38 (Rawhide) Hostname : s390x-kvm-008.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 8023 MB HDD size : 119.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Keep-Alive Process: There are three configurable properties that determine how Keep-Alives work. On Linux they are1: tcp_keepalive_time default 7200 seconds tcp_keepalive_probes default 9 tcp_keepalive_intvl default 75 seconds TCP keepalive works like this: Client opens TCP connection If the connection is silent for tcp_keepalive_time seconds, send a single empty ACK packet.1 Did the server respond with a corresponding ACK of its own? No Wait tcp_keepalive_intvl seconds, then send another ACK Repeat until the number of ACK probes that have been sent equals tcp_keepalive_probes. If no response has been received at this point, send a RST and terminate the connection. Yes: Return to step 2 This process is enabled by default on most operating systems, and thus dead TCP connections are regularly pruned once the other end has been responsive for 2 hours 11 minutes (7200 seconds + 75 * 9 seconds). This test case: Use socket options to overide the system's, and test keepalive process. TCP_KEEPIDLE ----> tcp_keepalive_time TCP_KEEPCNT ----> tcp_keepalive_probes TCP_KEEPINTVL ----> tcp_keepalive_intvl For namespace: Bug 1476667 - [RFE] Namespace tcp_keepalive_time sysctl knob :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:09:20 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 20:10:20 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 20:10:20 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 20:10:20 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 20:10:30 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 20:10:30 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 20:10:30 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 20:10:30 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 20:10:32 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 20:10:32 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 20:10:32 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 20:10:33 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 73s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: host :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:10:33 ] :: [ PASS ] :: Command 'tcpdump -nn -i lo port 7811 -w tcpdump.host.pcap &' (Expected 0, got 0) :: [ 20:10:38 ] :: [ PASS ] :: Command './keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 20:11:09 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 20:11:09 ] :: [ PASS ] :: Command 'childpid=449451' (Expected 0, got 0) :: [ 20:11:09 ] :: [ PASS ] :: Command 'kill -s SIGINT 449451' (Expected 0, got 0) :: [ 20:11:09 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 20:11:14 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.host.pcap': :: [ 20:11:14 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 20:11:14 ] :: [ LOG ] :: reading from file tcpdump.host.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 20:11:14 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 20:11:14 ] :: [ LOG ] :: 20:10:38.344712 IP localhost.38886 > localhost.7811: Flags [S], seq 112465666, win 65495, options [mss 65495,sackOK,TS val 2937542216 ecr 0,nop,wscale 7], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:38.344724 IP localhost.7811 > localhost.38886: Flags [S.], seq 2363817692, ack 112465667, win 65483, options [mss 65495,sackOK,TS val 2937542216 ecr 2937542216,nop,wscale 7], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:38.344730 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937542216 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:44.747363 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937548619 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:44.747389 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937548619 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:45.787394 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937549659 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:45.787419 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937549659 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:46.827458 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937550699 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:46.827483 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937550699 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:47.867294 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937551739 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:47.867321 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937551739 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:48.907330 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937552779 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:48.907351 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937552779 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:49.947341 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937553819 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:49.947367 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937553819 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:50.987252 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937554858 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:50.987272 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937554859 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:52.027524 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937555899 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:52.027551 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937555899 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:53.067373 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937556939 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:53.067399 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937556939 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:54.107381 IP localhost.7811 > localhost.38886: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937557979 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:54.107406 IP localhost.38886 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937557979 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: 20:10:55.147370 IP localhost.7811 > localhost.38886: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2937559019 ecr 2937542216], length 0 :: [ 20:11:14 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 20:11:14 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.host.pcap' (Expected 0, got 0) :: [ 20:11:14 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 20:11:14 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 41s :: Assertions: 9 good, 0 bad :: RESULT: PASS (host) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:11:14 ] :: [ PASS ] :: Command 'ip netns exec netns_ka tcpdump -nn -i lo port 7811 -w tcpdump.netns.pcap &' (Expected 0, got 0) :: [ 20:11:19 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ./keepalive 127.0.0.1 7811 6 1 10 &' (Expected 0, got 0) :: [ 20:11:50 ] :: [ PASS ] :: Command 'sleep 31 ' (Expected 0, got 0) :: [ 20:11:50 ] :: [ PASS ] :: Command 'childpid=450066' (Expected 0, got 0) :: [ 20:11:50 ] :: [ PASS ] :: Command 'kill -s SIGINT 450066' (Expected 0, got 0) :: [ 20:11:50 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 20:11:56 ] :: [ LOG ] :: Output of 'tcpdump -r tcpdump.netns.pcap': :: [ 20:11:56 ] :: [ LOG ] :: --------------- OUTPUT START --------------- :: [ 20:11:56 ] :: [ LOG ] :: reading from file tcpdump.netns.pcap, link-type EN10MB (Ethernet), snapshot length 262144 :: [ 20:11:56 ] :: [ LOG ] :: dropped privs to tcpdump :: [ 20:11:56 ] :: [ LOG ] :: 20:11:19.902045 IP localhost.43782 > localhost.7811: Flags [S], seq 3519681005, win 65495, options [mss 65495,sackOK,TS val 2937583773 ecr 0,nop,wscale 7], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:19.902058 IP localhost.7811 > localhost.43782: Flags [S.], seq 2502192246, ack 3519681006, win 65483, options [mss 65495,sackOK,TS val 2937583773 ecr 2937583773,nop,wscale 7], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:19.902067 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937583773 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:26.347379 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937590219 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:26.347406 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937590219 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:27.387380 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937591259 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:27.387399 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937591259 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:28.427422 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937592299 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:28.427444 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937592299 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:29.467382 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937593339 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:29.467401 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937593339 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:30.507368 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937594379 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:30.507393 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937594379 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:31.547413 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937595419 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:31.547439 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937595419 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:32.587378 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937596459 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:32.587404 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937596459 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:33.627451 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937597499 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:33.627471 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937597499 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:34.667378 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937598539 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:34.667404 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937598539 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:35.707367 IP localhost.7811 > localhost.43782: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937599579 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:35.707393 IP localhost.43782 > localhost.7811: Flags [.], ack 1, win 512, options [nop,nop,TS val 2937599579 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: 20:11:36.747368 IP localhost.7811 > localhost.43782: Flags [R.], seq 1, ack 1, win 512, options [nop,nop,TS val 2937600619 ecr 2937583773], length 0 :: [ 20:11:56 ] :: [ LOG ] :: --------------- OUTPUT END --------------- :: [ 20:11:56 ] :: [ PASS ] :: Command 'tcpdump -r tcpdump.netns.pcap' (Expected 0, got 0) :: [ 20:11:56 ] :: [ PASS ] :: Command 'kalive_pkts=10' (Expected 0, got 0) :: [ 20:11:56 ] :: [ PASS ] :: pass: kalive_pkts equals 10 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 42s :: Assertions: 9 good, 0 bad :: RESULT: PASS (netns) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:11:56 ] :: [ PASS ] :: Command 'ip netns del netns_ka' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: unknown :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:11:56 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 20:11:56 ] :: [ LOG ] :: Asserts fingerprint: cDYg/isO Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 156s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (unknown)