use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh /etc/pki/ca-trust/source/anchors /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/udp/udp_socket --2023-01-10 14:54:01-- https://password.corp.redhat.com/legacy.crt Resolving password.corp.redhat.com (password.corp.redhat.com)... 10.2.111.154 Connecting to password.corp.redhat.com (password.corp.redhat.com)|10.2.111.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1338 (1.3K) Saving to: ‘legacy.crt.1’ 0K . 100% 2.34M=0.001s 2023-01-10 14:54:01 (2.34 MB/s) - ‘legacy.crt.1’ saved [1338/1338] --2023-01-10 14:54:02-- https://password.corp.redhat.com/RH-IT-Root-CA.crt Resolving password.corp.redhat.com (password.corp.redhat.com)... 10.2.111.154 Connecting to password.corp.redhat.com (password.corp.redhat.com)|10.2.111.154|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1517 (1.5K) Saving to: ‘RH-IT-Root-CA.crt.1’ 0K . 100% 3.32M=0s 2023-01-10 14:54:02 (3.32 MB/s) - ‘RH-IT-Root-CA.crt.1’ saved [1517/1517] /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/udp/udp_socket :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:54:17 ] :: [ BEGIN ] :: disable from bridge call iptables 4/6 :: actually running 'modprobe -r br_netfilter' :: [ 14:54:17 ] :: [ PASS ] :: disable from bridge call iptables 4/6 (Expected 0-255, got 0) :: [ 14:54:18 ] :: [ BEGIN ] :: Running 'gcc -g -Wall -o udp_no_check udp_no_check.c' :: [ 14:54:19 ] :: [ PASS ] :: Command 'gcc -g -Wall -o udp_no_check udp_no_check.c' (Expected 0, got 0) :: [ 14:54:19 ] :: [ BEGIN ] :: Running 'gcc -g -Wall -o udp_socket udp_socket.c' :: [ 14:54:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o udp_socket udp_socket.c' (Expected 0, got 0) :: [ 14:54:21 ] :: [ BEGIN ] :: Running 'gcc -g -Wall -o UDP_CORK UDP_CORK.c' :: [ 14:54:22 ] :: [ PASS ] :: Command 'gcc -g -Wall -o UDP_CORK UDP_CORK.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: SO_NO_CHECK and UDP_NO_CHECK6_RX/TX :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:54:36 ] :: [ BEGIN ] :: Running './udp_no_check -c 0' Expect setsockopt(UDP_NO_CHECK6_RX)-v4 return -1 Expect setsockopt(UDP_NO_CHECK6_TX)-v4 return -1 == set SO_NO_CHECK on UDPv4 socket == == set UDP_NO_CHECK6_RX on UDPv4 socket == == set UDP_NO_CHECK6_RX on UDPv6 socket == :: [ 14:54:36 ] :: [ PASS ] :: Command './udp_no_check -c 0' (Expected 0, got 0) + MASK[4]=24 + MASK[6]=64 + BR0_IP[4]=192.168.0.254 + HA_IP[4]=192.168.0.1 + HB_IP[4]=192.168.0.2 + BR0_IP[6]=2000::254 + HA_IP[6]=2000::1 + HB_IP[6]=2000::2 + nets='ha hb' + for net in $nets + ip netns del ha Cannot remove namespace file "/var/run/netns/ha": No such file or directory + for net in $nets + ip netns del hb Cannot remove namespace file "/var/run/netns/hb": No such file or directory + modprobe -r veth modprobe: FATAL: Module veth is builtin. + ip link show br0 Device "br0" does not exist. + for net in $nets + ip netns add ha + for net in $nets + ip netns add hb + ip link add br0 type bridge + ip link add ha_veth0 type veth peer name ha_veth0_br + ip link add hb_veth0 type veth peer name hb_veth0_br + ip link set ha_veth0_br master br0 + ip link set hb_veth0_br master br0 + ip link set ha_veth0 netns ha + ip link set hb_veth0 netns hb + HA='ip netns exec ha' + HB='ip netns exec hb' + out_ifaces='br0 ha_veth0_br hb_veth0_br' + for iface in $out_ifaces + ip link set br0 up + for iface in $out_ifaces + ip link set ha_veth0_br up + for iface in $out_ifaces + ip link set hb_veth0_br up + ip netns exec ha ip link set lo up + ip netns exec ha ip link set ha_veth0 up + ip netns exec hb ip link set lo up + ip netns exec hb ip link set hb_veth0 up + ip addr add 192.168.0.254/24 dev br0 + ip netns exec ha ip addr add 192.168.0.1/24 dev ha_veth0 + ip netns exec hb ip addr add 192.168.0.2/24 dev hb_veth0 + ip addr add 2000::254/64 dev br0 + ip netns exec ha ip addr add 2000::1/64 dev ha_veth0 + ip netns exec hb ip addr add 2000::2/64 dev hb_veth0 + set +x :: [ 14:54:43 ] :: [ BEGIN ] :: Running 'ip netns exec ha tcpdump -U -ni ha_veth0 -w ha_veth0.pcap &' :: [ 14:54:44 ] :: [ PASS ] :: Command 'ip netns exec ha tcpdump -U -ni ha_veth0 -w ha_veth0.pcap &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: listening on ha_veth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 14:54:45 ] :: [ BEGIN ] :: Running 'ip netns exec hb ./udp_no_check -c 1 -H 0 -P 9695 -l -R &> server.log &' :: [ 14:54:45 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H 0 -P 9695 -l -R &> server.log &' (Expected 0, got 0) :: [ 14:54:48 ] :: [ BEGIN ] :: Running 'ip netns exec ha ./udp_no_check -c 1 -H 0 -P 9696 -h 192.168.0.2 -p 9695 -s -n 1' :: [ 14:54:48 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H 0 -P 9696 -h 192.168.0.2 -p 9695 -s -n 1' (Expected 0, got 0) :: [ 14:54:51 ] :: [ BEGIN ] :: Running 'cat server.log | grep 'received'' received 2056 bytes from peer :: [ 14:54:51 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :: [ 14:54:52 ] :: [ BEGIN ] :: Running 'cat server.log | grep 'udp checksum is 0'' udp checksum is 0 :: [ 14:54:52 ] :: [ PASS ] :: Command 'cat server.log | grep 'udp checksum is 0'' (Expected 0, got 0) :: [ 14:54:54 ] :: [ BEGIN ] :: Running 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log &' :: [ 14:54:54 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log &' (Expected 0, got 0) :: [ 14:54:57 ] :: [ BEGIN ] :: Running 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s' :: [ 14:54:58 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s' (Expected 0, got 0) :: [ 14:55:01 ] :: [ BEGIN ] :: Running 'cat server.log | grep 'received'' received 2048 bytes from peer :: [ 14:55:01 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :: [ 14:55:03 ] :: [ BEGIN ] :: Running 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log &' :: [ 14:55:03 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log &' (Expected 0, got 0) :: [ 14:55:06 ] :: [ BEGIN ] :: Running 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -t 1 -s' :: [ 14:55:06 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -t 1 -s' (Expected 0, got 0) ./runtest.sh: line 121: 79005 Killed ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log :: [ 14:55:09 ] :: [ BEGIN ] :: Running 'cat server.log | grep 'received'' :: [ 14:55:09 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 1, got 1) :: [ 14:55:11 ] :: [ BEGIN ] :: Running 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l -r 1 &> server.log &' :: [ 14:55:11 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l -r 1 &> server.log &' (Expected 0, got 0) :: [ 14:55:14 ] :: [ BEGIN ] :: Running 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s' :: [ 14:55:14 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s' (Expected 0, got 0) :: [ 14:55:17 ] :: [ BEGIN ] :: Running 'cat server.log | grep 'received'' received 2048 bytes from peer :: [ 14:55:18 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :: [ 14:55:19 ] :: [ BEGIN ] :: Running 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l -r 1 &> server.log &' :: [ 14:55:20 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l -r 1 &> server.log &' (Expected 0, got 0) :: [ 14:55:22 ] :: [ BEGIN ] :: Running 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s -t 1' :: [ 14:55:23 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s -t 1' (Expected 0, got 0) :: [ 14:55:26 ] :: [ BEGIN ] :: Running 'cat server.log | grep 'received'' received 2048 bytes from peer :: [ 14:55:26 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) 39 packets captured 39 packets received by filter 0 packets dropped by kernel Uploading ha_veth0.pcap .done modprobe: FATAL: Module veth is builtin. modprobe: FATAL: Module bridge is builtin. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 56s :: Assertions: 18 good, 0 bad :: RESULT: PASS (SO_NO_CHECK and UDP_NO_CHECK6_RX/TX) ** SO-NO-CHECK-and-UDP-NO-CHECK6-RX-TX PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 0 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 21 Package : udp beakerlib RPM : beakerlib-1.29.3-1.fc38.noarch Test name : networking/udp/udp_socket Test started : 2023-01-10 14:54:09 EST Test finished : 2023-01-10 14:55:52 EST (still running) Test duration : 103 seconds Distro : Fedora release 38 (Rawhide) Hostname : kvm-04-guest12.hv2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 1 x Intel Xeon Processor (Skylake, IBRS) RAM size : 3335 MB HDD size : 98.94 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: The test is run for udp/udp_socket Add test items to cover UDP_NO_CHECK6_RX/TX Add test item to cover SO_NO_CHECK Add test item to cover UDP_CORK Add test item to cover general get/set option. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:54:17 ] :: [ PASS ] :: disable from bridge call iptables 4/6 (Expected 0-255, got 0) :: [ 14:54:19 ] :: [ PASS ] :: Command 'gcc -g -Wall -o udp_no_check udp_no_check.c' (Expected 0, got 0) :: [ 14:54:21 ] :: [ PASS ] :: Command 'gcc -g -Wall -o udp_socket udp_socket.c' (Expected 0, got 0) :: [ 14:54:22 ] :: [ PASS ] :: Command 'gcc -g -Wall -o UDP_CORK UDP_CORK.c' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: SO_NO_CHECK and UDP_NO_CHECK6_RX/TX :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:54:36 ] :: [ PASS ] :: Command './udp_no_check -c 0' (Expected 0, got 0) :: [ 14:54:44 ] :: [ PASS ] :: Command 'ip netns exec ha tcpdump -U -ni ha_veth0 -w ha_veth0.pcap &' (Expected 0, got 0) :: [ 14:54:45 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H 0 -P 9695 -l -R &> server.log &' (Expected 0, got 0) :: [ 14:54:48 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H 0 -P 9696 -h 192.168.0.2 -p 9695 -s -n 1' (Expected 0, got 0) :: [ 14:54:51 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :: [ 14:54:52 ] :: [ PASS ] :: Command 'cat server.log | grep 'udp checksum is 0'' (Expected 0, got 0) :: [ 14:54:54 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log &' (Expected 0, got 0) :: [ 14:54:58 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s' (Expected 0, got 0) :: [ 14:55:01 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :: [ 14:55:03 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l &> server.log &' (Expected 0, got 0) :: [ 14:55:06 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -t 1 -s' (Expected 0, got 0) :: [ 14:55:09 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 1, got 1) :: [ 14:55:11 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l -r 1 &> server.log &' (Expected 0, got 0) :: [ 14:55:14 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s' (Expected 0, got 0) :: [ 14:55:18 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :: [ 14:55:20 ] :: [ PASS ] :: Command 'ip netns exec hb ./udp_no_check -c 1 -H :: -P 9695 -l -r 1 &> server.log &' (Expected 0, got 0) :: [ 14:55:23 ] :: [ PASS ] :: Command 'ip netns exec ha ./udp_no_check -c 1 -H :: -P 9696 -h 2000::2 -p 9695 -s -t 1' (Expected 0, got 0) :: [ 14:55:26 ] :: [ PASS ] :: Command 'cat server.log | grep 'received'' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 56s :: Assertions: 18 good, 0 bad :: RESULT: PASS (SO_NO_CHECK and UDP_NO_CHECK6_RX/TX) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 0 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/udp/udp_socket :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 14:55:56 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf :: [ 14:55:57 ] :: [ LOG ] :: Asserts fingerprint: yyo1ZX9B Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 106s :: Phases: 3 good, 0 bad :: OVERALL RESULT: PASS (networking/udp/udp_socket)