:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 12:11:04 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0, got 0) :: [ 12:12:04 ] :: [ PASS ] :: Command 'sleep 60' (Expected 0, got 0) :: [ 12:12:04 ] :: [ PASS ] :: Command 'systemctl status firewalld' (Expected 1-255, got 3) :: [ 12:12:04 ] :: [ PASS ] :: Command 'nft delete table inet filter' (Expected 0-255, got 1) :: [ 12:12:14 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 12:12:14 ] :: [ PASS ] :: Command 'sys_ka_idle=7200' (Expected 0, got 0) :: [ 12:12:14 ] :: [ PASS ] :: Command 'sys_ka_interval=75' (Expected 0, got 0) :: [ 12:12:15 ] :: [ PASS ] :: Command 'sys_ka_idle=9' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: iproute installed (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'ip netns add netns_ka' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'ip netns exec netns_ka ip link set lo up' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=7200' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'netns_sys_ka_interval=75' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'netns_sys_ka_idle=9' (Expected 0, got 0) :: [ 12:12:20 ] :: [ LOG ] :: socket settings of keepalive will overide the system's :: [ 12:12:20 ] :: [ PASS ] :: Command 'idle=6' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'interval=1' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'maxpkt=10' (Expected 0, got 0) :: [ 12:12:20 ] :: [ PASS ] :: Command 'port=7811' (Expected 0, got 0) :: [ 12:12:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o keepalive keepalive.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 77s :: Assertions: 19 good, 0 bad :: RESULT: PASS (Setup)