use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:15:51 ] :: [ BEGIN ] :: Running 'netperf_install' Netperf version 2.7.0 :: [ 11:15:51 ] :: [ PASS ] :: Command 'netperf_install' (Expected 0, got 0) :: [ 11:15:51 ] :: [ BEGIN ] :: Running 'source /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/ipsec/ipsec_basic/ipsec_basic_netns/ipsec-parameter-setting.sh -p esp -e des3_ede -a sha256 -m tunnel -s '65450'' TEST_VER=4, SPI=1000, IPSEC_MODE=tunnel, PROTO=proto esp, ALG=enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f ls: cannot access '/lib/modules/6.0.0-0.rc7.c3e0e1e23c70.50.test.fc38.s390x/kernel/arch/x86/crypto/': No such file or directory :: [ 11:15:51 ] :: [ PASS ] :: Command 'source /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/ipsec/ipsec_basic/ipsec_basic_netns/ipsec-parameter-setting.sh -p esp -e des3_ede -a sha256 -m tunnel -s '65450'' (Expected 0, got 0) :: [ 11:15:51 ] :: [ LOG ] :: TEST_VER=4, SPI=1000, IPSEC_MODE=tunnel, PROTO=proto esp, ALG=enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f :: [ 11:15:51 ] :: [ BEGIN ] :: Running 'spi1='0x1000'' :: [ 11:15:51 ] :: [ PASS ] :: Command 'spi1='0x1000'' (Expected 0, got 0) :: [ 11:15:51 ] :: [ BEGIN ] :: Running 'spi2='0x1001'' :: [ 11:15:51 ] :: [ PASS ] :: Command 'spi2='0x1001'' (Expected 0, got 0) :: [ 11:15:51 ] :: [ BEGIN ] :: Running 'source /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common/tools/netns_1_net.sh' +++ 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 +++ 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 :: [ 11:15:52 ] :: [ PASS ] :: Command 'source /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common/tools/netns_1_net.sh' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec ha ip xfrm state add src 192.168.0.1 dst 192.168.0.2 spi 0x1000 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.1 dst 192.168.0.2' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm state add src 192.168.0.1 dst 192.168.0.2 spi 0x1000 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.1 dst 192.168.0.2' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec ha ip xfrm state add src 192.168.0.2 dst 192.168.0.1 spi 0x1001 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.2 dst 192.168.0.1' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm state add src 192.168.0.2 dst 192.168.0.1 spi 0x1001 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.2 dst 192.168.0.1' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec ha ip xfrm policy add dir out src 192.168.0.1 dst 192.168.0.2 tmpl src 192.168.0.1 dst 192.168.0.2 proto esp mode tunnel' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm policy add dir out src 192.168.0.1 dst 192.168.0.2 tmpl src 192.168.0.1 dst 192.168.0.2 proto esp mode tunnel' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec ha ip xfrm policy add dir in src 192.168.0.2 dst 192.168.0.1 tmpl src 192.168.0.2 dst 192.168.0.1 proto esp mode tunnel level use' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm policy add dir in src 192.168.0.2 dst 192.168.0.1 tmpl src 192.168.0.2 dst 192.168.0.1 proto esp mode tunnel level use' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec hb ip xfrm state add src 192.168.0.2 dst 192.168.0.1 spi 0x1001 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.2 dst 192.168.0.1' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm state add src 192.168.0.2 dst 192.168.0.1 spi 0x1001 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.2 dst 192.168.0.1' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec hb ip xfrm state add src 192.168.0.1 dst 192.168.0.2 spi 0x1000 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.1 dst 192.168.0.2' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm state add src 192.168.0.1 dst 192.168.0.2 spi 0x1000 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.1 dst 192.168.0.2' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec hb ip xfrm policy add dir out src 192.168.0.2 dst 192.168.0.1 tmpl src 192.168.0.2 dst 192.168.0.1 proto esp mode tunnel' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm policy add dir out src 192.168.0.2 dst 192.168.0.1 tmpl src 192.168.0.2 dst 192.168.0.1 proto esp mode tunnel' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'ip netns exec hb ip xfrm policy add dir in src 192.168.0.1 dst 192.168.0.2 tmpl src 192.168.0.1 dst 192.168.0.2 proto esp mode tunnel level use' :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm policy add dir in src 192.168.0.1 dst 192.168.0.2 tmpl src 192.168.0.1 dst 192.168.0.2 proto esp mode tunnel level use' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 13 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: -p esp -e des3_ede -a sha256 -m tunnel -s '65450' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'tcpport=4053' :: [ 11:15:52 ] :: [ PASS ] :: Command 'tcpport=4053' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'udpport=4053' :: [ 11:15:52 ] :: [ PASS ] :: Command 'udpport=4053' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'sctpport=4053' :: [ 11:15:52 ] :: [ PASS ] :: Command 'sctpport=4053' (Expected 0, got 0) :: [ 11:15:52 ] :: [ LOG ] :: ***** icmp ****** :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'tcpdump -i br0 > icmp.packet &' :: [ 11:15:52 ] :: [ PASS ] :: Command 'tcpdump -i br0 > icmp.packet &' (Expected 0, got 0) :: [ 11:15:52 ] :: [ BEGIN ] :: Running 'sleep 2' dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on br0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 11:15:54 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:15:54 ] :: [ BEGIN ] :: Running 'ip netns exec ha ping -i 0.4 -c 5 -s 10 192.168.0.2' PING 192.168.0.2 (192.168.0.2) 10(38) bytes of data. 18 bytes from 192.168.0.2: icmp_seq=1 ttl=64 18 bytes from 192.168.0.2: icmp_seq=2 ttl=64 18 bytes from 192.168.0.2: icmp_seq=3 ttl=64 18 bytes from 192.168.0.2: icmp_seq=4 ttl=64 18 bytes from 192.168.0.2: icmp_seq=5 ttl=64 --- 192.168.0.2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 1644ms :: [ 11:15:56 ] :: [ PASS ] :: Command 'ip netns exec ha ping -i 0.4 -c 5 -s 10 192.168.0.2' (Expected 0, got 0) :: [ 11:15:56 ] :: [ BEGIN ] :: Running 'ip netns exec ha ping -i 0.4 -c 5 -s 1440 192.168.0.2' PING 192.168.0.2 (192.168.0.2) 1440(1468) bytes of data. 1448 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.066 ms 1448 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.194 ms 1448 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.185 ms 1448 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.183 ms 1448 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=0.172 ms --- 192.168.0.2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 1636ms rtt min/avg/max/mdev = 0.066/0.160/0.194/0.047 ms :: [ 11:15:58 ] :: [ PASS ] :: Command 'ip netns exec ha ping -i 0.4 -c 5 -s 1440 192.168.0.2' (Expected 0, got 0) :: [ 11:15:58 ] :: [ BEGIN ] :: Running 'ip netns exec ha ping -i 0.4 -c 5 -s 65450 192.168.0.2' PING 192.168.0.2 (192.168.0.2) 65450(65478) bytes of data. 65458 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.671 ms 65458 bytes from 192.168.0.2: icmp_seq=2 ttl=64 time=0.750 ms 65458 bytes from 192.168.0.2: icmp_seq=3 ttl=64 time=0.746 ms 65458 bytes from 192.168.0.2: icmp_seq=4 ttl=64 time=0.681 ms 65458 bytes from 192.168.0.2: icmp_seq=5 ttl=64 time=0.658 ms --- 192.168.0.2 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 1603ms rtt min/avg/max/mdev = 0.658/0.701/0.750/0.038 ms :: [ 11:15:59 ] :: [ PASS ] :: Command 'ip netns exec ha ping -i 0.4 -c 5 -s 65450 192.168.0.2' (Expected 0, got 0) :: [ 11:15:59 ] :: [ BEGIN ] :: Running 'pkill tcpdump; sleep 2' 10 packets captured 544 packets received by filter 4 packets dropped by kernel :: [ 11:16:01 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:01 ] :: [ BEGIN ] :: Running 'cat icmp.packet | egrep 'AH|ESP|IPComp' | head -n5' egrep: warning: egrep is obsolescent; using grep -E :: [ 11:16:01 ] :: [ PASS ] :: Command 'cat icmp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:01 ] :: [ LOG ] :: ***** tcp ****** :: [ 11:16:01 ] :: [ BEGIN ] :: Running 'tcpdump -i br0 > tcp.packet &' :: [ 11:16:01 ] :: [ PASS ] :: Command 'tcpdump -i br0 > tcp.packet &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on br0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 11:16:01 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 11:16:03 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:03 ] :: [ BEGIN ] :: Running 'ip netns exec hb socat -u -4 tcp-l:4053 open:tcprecv,creat &' :: [ 11:16:03 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 tcp-l:4053 open:tcprecv,creat &' (Expected 0, got 0) :: [ 11:16:03 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 11:16:05 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:05 ] :: [ BEGIN ] :: Running 'ip netns exec ha socat -u -4 /dev/zero,readbytes=1048576 tcp-connect:192.168.0.2:4053' :: [ 11:16:05 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=1048576 tcp-connect:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:05 ] :: [ BEGIN ] :: Running 'sleep 4' :: [ 11:16:09 ] :: [ PASS ] :: Command 'sleep 4' (Expected 0, got 0) :: [ 11:16:09 ] :: [ BEGIN ] :: tcp should receive 1048576 bytes, received 1048576 bytes :: actually running 'ls -l tcprecv | grep 1048576' -rw-r--r--. 1 root root 1048576 Sep 29 11:16 tcprecv :: [ 11:16:09 ] :: [ PASS ] :: tcp should receive 1048576 bytes, received 1048576 bytes (Expected 0, got 0) :: [ 11:16:09 ] :: [ BEGIN ] :: Running 'pkill tcpdump; sleep 2' 1406 packets captured 1414 packets received by filter 0 packets dropped by kernel :: [ 11:16:11 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:12 ] :: [ BEGIN ] :: Running 'cat tcp.packet | egrep 'AH|ESP|IPComp' | head -n5' egrep: warning: egrep is obsolescent; using grep -E 11:16:05.886587 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x10), length 92 11:16:05.886628 IP 192.168.0.2 > 192.168.0.1: ESP(spi=0x00001001,seq=0x10), length 92 11:16:05.886642 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x11), length 84 11:16:05.886681 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x12), length 1476 11:16:05.886690 IP 192.168.0.2 > 192.168.0.1: ESP(spi=0x00001001,seq=0x11), length 84 :: [ 11:16:12 ] :: [ PASS ] :: Command 'cat tcp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:12 ] :: [ LOG ] :: ***** udp ****** :: [ 11:16:12 ] :: [ BEGIN ] :: Running 'tcpdump -i br0 > udp.packet &' :: [ 11:16:12 ] :: [ PASS ] :: Command 'tcpdump -i br0 > udp.packet &' (Expected 0, got 0) dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on br0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 11:16:12 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 11:16:14 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:14 ] :: [ BEGIN ] :: Running 'ip netns exec hb socat -u -4 udp-l:4053 open:udprecv,creat &' :: [ 11:16:14 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 udp-l:4053 open:udprecv,creat &' (Expected 0, got 0) :: [ 11:16:14 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 11:16:16 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:16 ] :: [ BEGIN ] :: Running 'ip netns exec ha socat -u -4 /dev/zero,readbytes=1440 udp-sendto:192.168.0.2:4053' :: [ 11:16:16 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=1440 udp-sendto:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:16 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 11:16:26 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 11:16:26 ] :: [ BEGIN ] :: udp should receive 1440 bytes, received 1440 bytes :: actually running 'ls -l udprecv | grep 1440' -rw-r--r--. 1 root root 1440 Sep 29 11:16 udprecv :: [ 11:16:26 ] :: [ PASS ] :: udp should receive 1440 bytes, received 1440 bytes (Expected 0, got 0) :: [ 11:16:26 ] :: [ BEGIN ] :: Running 'pkill socat' :: [ 11:16:26 ] :: [ PASS ] :: Command 'pkill socat' (Expected 0, got 0) :: [ 11:16:26 ] :: [ BEGIN ] :: Running 'pkill tcpdump; sleep 2' 32 packets captured 33 packets received by filter 0 packets dropped by kernel :: [ 11:16:28 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:28 ] :: [ BEGIN ] :: Running 'cat udp.packet | egrep 'AH|ESP|IPComp' | head -n5' egrep: warning: egrep is obsolescent; using grep -E 11:16:16.149393 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x314), length 1424 :: [ 11:16:28 ] :: [ PASS ] :: Command 'cat udp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:28 ] :: [ BEGIN ] :: Running 'tcpdump -i br0 > udp.packet &' :: [ 11:16:28 ] :: [ PASS ] :: Command 'tcpdump -i br0 > udp.packet &' (Expected 0, got 0) :: [ 11:16:28 ] :: [ BEGIN ] :: Running 'sleep 2' dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on br0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 11:16:30 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:30 ] :: [ BEGIN ] :: Running 'ip netns exec hb socat -u -4 udp-l:4053 open:udprecv,creat &' :: [ 11:16:30 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 udp-l:4053 open:udprecv,creat &' (Expected 0, got 0) :: [ 11:16:30 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 11:16:32 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:32 ] :: [ BEGIN ] :: Running 'ip netns exec ha socat -u -4 /dev/zero,readbytes=3000 udp-sendto:192.168.0.2:4053' :: [ 11:16:32 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=3000 udp-sendto:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:32 ] :: [ BEGIN ] :: Running 'sleep 10' :: [ 11:16:42 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 11:16:42 ] :: [ BEGIN ] :: udp should receive 3000 bytes, received 3000 bytes :: actually running 'ls -l udprecv | grep 3000' -rw-r--r--. 1 root root 3000 Sep 29 11:16 udprecv :: [ 11:16:42 ] :: [ PASS ] :: udp should receive 3000 bytes, received 3000 bytes (Expected 0, got 0) :: [ 11:16:42 ] :: [ BEGIN ] :: Running 'pkill socat' :: [ 11:16:42 ] :: [ PASS ] :: Command 'pkill socat' (Expected 0, got 0) :: [ 11:16:42 ] :: [ BEGIN ] :: Running 'pkill tcpdump; sleep 2' 24 packets captured 24 packets received by filter 0 packets dropped by kernel :: [ 11:16:44 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:44 ] :: [ BEGIN ] :: Running 'cat udp.packet | egrep 'AH|ESP|IPComp' | head -n5' egrep: warning: egrep is obsolescent; using grep -E 11:16:32.432260 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x315), length 1424 :: [ 11:16:44 ] :: [ PASS ] :: Command 'cat udp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:44 ] :: [ LOG ] :: ***** sctp ****** :: [ 11:16:44 ] :: [ BEGIN ] :: Running 'tcpdump -i br0 > sctp.packet &' :: [ 11:16:44 ] :: [ PASS ] :: Command 'tcpdump -i br0 > sctp.packet &' (Expected 0, got 0) :: [ 11:16:44 ] :: [ BEGIN ] :: Running 'sleep 2' dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on br0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 11:16:46 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:46 ] :: [ BEGIN ] :: Running 'ip netns exec hb socat -u -4 sctp-listen:4053 open:sctprecv,creat &' :: [ 11:16:46 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 sctp-listen:4053 open:sctprecv,creat &' (Expected 0, got 0) :: [ 11:16:46 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 11:16:48 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:48 ] :: [ BEGIN ] :: Running 'ip netns exec ha socat -u -4 /dev/zero,readbytes=2000 sctp:192.168.0.2:4053' :: [ 11:16:48 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=2000 sctp:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:48 ] :: [ BEGIN ] :: Running 'sleep 4' :: [ 11:16:52 ] :: [ PASS ] :: Command 'sleep 4' (Expected 0, got 0) :: [ 11:16:52 ] :: [ BEGIN ] :: sctp should receive 2000 bytes, received 2000 bytes :: actually running 'ls -l sctprecv | grep 2000' -rw-r--r--. 1 root root 2000 Sep 29 11:16 sctprecv :: [ 11:16:52 ] :: [ PASS ] :: sctp should receive 2000 bytes, received 2000 bytes (Expected 0, got 0) :: [ 11:16:52 ] :: [ BEGIN ] :: Running 'pkill tcpdump; sleep 2' 15 packets captured 16 packets received by filter 0 packets dropped by kernel :: [ 11:16:54 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:54 ] :: [ BEGIN ] :: Running 'cat sctp.packet | egrep 'AH|ESP|IPComp' | head -n5' egrep: warning: egrep is obsolescent; using grep -E 11:16:48.691908 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x316), length 100 11:16:48.691974 IP 192.168.0.2 > 192.168.0.1: ESP(spi=0x00001001,seq=0x273), length 324 11:16:48.691989 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x317), length 300 11:16:48.692018 IP 192.168.0.2 > 192.168.0.1: ESP(spi=0x00001001,seq=0x274), length 68 11:16:48.692064 IP 192.168.0.1 > 192.168.0.2: ESP(spi=0x00001000,seq=0x318), length 1476 :: [ 11:16:54 ] :: [ PASS ] :: Command 'cat sctp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) egrep: warning: egrep is obsolescent; using grep -E :: [ 11:16:54 ] :: [ INFO ] :: Sending proc_crypto as proc_crypto Uploading proc_crypto .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 62s :: Assertions: 48 good, 0 bad :: RESULT: PASS (-p esp -e des3_ede -a sha256 -m tunnel -s '65450') ** -p-esp-e-des3-ede-a-sha256-m-tunnel-s-65450- PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:16:55 ] :: [ BEGIN ] :: Running 'bash /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common/tools/netns_clean.sh' :: [ 11:16:56 ] :: [ PASS ] :: Command 'bash /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common/tools/netns_clean.sh' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 28 Package : ipsec beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : networking/ipsec/ipsec_basic/ipsec_basic_netns Test started : 2022-09-29 11:15:51 EDT Test finished : 2022-09-29 11:16:56 EDT (still running) Test duration : 65 seconds Distro : Fedora release 38 (Rawhide) Hostname : s390x-kvm-062.lab.eng.rdu2.redhat.com Architecture : unknown CPUs : 0 x RAM size : 8021 MB HDD size : 119.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: IPsec compression: same message size but different content will result in different data size after compression. So we just use a large enough message size(65000) for testing [cipher]: des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 aes: blocksize = 16; min keysize = 16; max keysize = 32 blowfish: blocksize = 8; min keysize = 16; max keysize = 56 twofish: blocksize = 16; min keysize = 16; max keysize = 32 cast6: blocksize = 16; min keysize = 16; max keysize = 32 cast5: blocksize = 8; min keysize = 5; max keysize = 16 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:15:51 ] :: [ PASS ] :: Command 'netperf_install' (Expected 0, got 0) :: [ 11:15:51 ] :: [ PASS ] :: Command 'source /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/ipsec/ipsec_basic/ipsec_basic_netns/ipsec-parameter-setting.sh -p esp -e des3_ede -a sha256 -m tunnel -s '65450'' (Expected 0, got 0) :: [ 11:15:51 ] :: [ LOG ] :: TEST_VER=4, SPI=1000, IPSEC_MODE=tunnel, PROTO=proto esp, ALG=enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f :: [ 11:15:51 ] :: [ PASS ] :: Command 'spi1='0x1000'' (Expected 0, got 0) :: [ 11:15:51 ] :: [ PASS ] :: Command 'spi2='0x1001'' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'source /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common/tools/netns_1_net.sh' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm state add src 192.168.0.1 dst 192.168.0.2 spi 0x1000 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.1 dst 192.168.0.2' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm state add src 192.168.0.2 dst 192.168.0.1 spi 0x1001 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.2 dst 192.168.0.1' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm policy add dir out src 192.168.0.1 dst 192.168.0.2 tmpl src 192.168.0.1 dst 192.168.0.2 proto esp mode tunnel' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec ha ip xfrm policy add dir in src 192.168.0.2 dst 192.168.0.1 tmpl src 192.168.0.2 dst 192.168.0.1 proto esp mode tunnel level use' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm state add src 192.168.0.2 dst 192.168.0.1 spi 0x1001 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.2 dst 192.168.0.1' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm state add src 192.168.0.1 dst 192.168.0.2 spi 0x1000 proto esp enc des3_ede 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f auth hmac\(sha256\) 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f mode tunnel sel src 192.168.0.1 dst 192.168.0.2' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm policy add dir out src 192.168.0.2 dst 192.168.0.1 tmpl src 192.168.0.2 dst 192.168.0.1 proto esp mode tunnel' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'ip netns exec hb ip xfrm policy add dir in src 192.168.0.1 dst 192.168.0.2 tmpl src 192.168.0.1 dst 192.168.0.2 proto esp mode tunnel level use' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 13 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: -p esp -e des3_ede -a sha256 -m tunnel -s '65450' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:15:52 ] :: [ PASS ] :: Command 'tcpport=4053' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'udpport=4053' (Expected 0, got 0) :: [ 11:15:52 ] :: [ PASS ] :: Command 'sctpport=4053' (Expected 0, got 0) :: [ 11:15:52 ] :: [ LOG ] :: ***** icmp ****** :: [ 11:15:52 ] :: [ PASS ] :: Command 'tcpdump -i br0 > icmp.packet &' (Expected 0, got 0) :: [ 11:15:54 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:15:56 ] :: [ PASS ] :: Command 'ip netns exec ha ping -i 0.4 -c 5 -s 10 192.168.0.2' (Expected 0, got 0) :: [ 11:15:58 ] :: [ PASS ] :: Command 'ip netns exec ha ping -i 0.4 -c 5 -s 1440 192.168.0.2' (Expected 0, got 0) :: [ 11:15:59 ] :: [ PASS ] :: Command 'ip netns exec ha ping -i 0.4 -c 5 -s 65450 192.168.0.2' (Expected 0, got 0) :: [ 11:16:01 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:01 ] :: [ PASS ] :: Command 'cat icmp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:01 ] :: [ LOG ] :: ***** tcp ****** :: [ 11:16:01 ] :: [ PASS ] :: Command 'tcpdump -i br0 > tcp.packet &' (Expected 0, got 0) :: [ 11:16:03 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:03 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 tcp-l:4053 open:tcprecv,creat &' (Expected 0, got 0) :: [ 11:16:05 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:05 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=1048576 tcp-connect:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:09 ] :: [ PASS ] :: Command 'sleep 4' (Expected 0, got 0) :: [ 11:16:09 ] :: [ PASS ] :: tcp should receive 1048576 bytes, received 1048576 bytes (Expected 0, got 0) :: [ 11:16:11 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:12 ] :: [ PASS ] :: Command 'cat tcp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:12 ] :: [ LOG ] :: ***** udp ****** :: [ 11:16:12 ] :: [ PASS ] :: Command 'tcpdump -i br0 > udp.packet &' (Expected 0, got 0) :: [ 11:16:14 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:14 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 udp-l:4053 open:udprecv,creat &' (Expected 0, got 0) :: [ 11:16:16 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:16 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=1440 udp-sendto:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:26 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 11:16:26 ] :: [ PASS ] :: udp should receive 1440 bytes, received 1440 bytes (Expected 0, got 0) :: [ 11:16:26 ] :: [ PASS ] :: Command 'pkill socat' (Expected 0, got 0) :: [ 11:16:28 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:28 ] :: [ PASS ] :: Command 'cat udp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:28 ] :: [ PASS ] :: Command 'tcpdump -i br0 > udp.packet &' (Expected 0, got 0) :: [ 11:16:30 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:30 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 udp-l:4053 open:udprecv,creat &' (Expected 0, got 0) :: [ 11:16:32 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:32 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=3000 udp-sendto:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:42 ] :: [ PASS ] :: Command 'sleep 10' (Expected 0, got 0) :: [ 11:16:42 ] :: [ PASS ] :: udp should receive 3000 bytes, received 3000 bytes (Expected 0, got 0) :: [ 11:16:42 ] :: [ PASS ] :: Command 'pkill socat' (Expected 0, got 0) :: [ 11:16:44 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:44 ] :: [ PASS ] :: Command 'cat udp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:44 ] :: [ LOG ] :: ***** sctp ****** :: [ 11:16:44 ] :: [ PASS ] :: Command 'tcpdump -i br0 > sctp.packet &' (Expected 0, got 0) :: [ 11:16:46 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:46 ] :: [ PASS ] :: Command 'ip netns exec hb socat -u -4 sctp-listen:4053 open:sctprecv,creat &' (Expected 0, got 0) :: [ 11:16:48 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 11:16:48 ] :: [ PASS ] :: Command 'ip netns exec ha socat -u -4 /dev/zero,readbytes=2000 sctp:192.168.0.2:4053' (Expected 0, got 0) :: [ 11:16:52 ] :: [ PASS ] :: Command 'sleep 4' (Expected 0, got 0) :: [ 11:16:52 ] :: [ PASS ] :: sctp should receive 2000 bytes, received 2000 bytes (Expected 0, got 0) :: [ 11:16:54 ] :: [ PASS ] :: Command 'pkill tcpdump; sleep 2' (Expected 0, got 0) :: [ 11:16:54 ] :: [ PASS ] :: Command 'cat sctp.packet | egrep 'AH|ESP|IPComp' | head -n5' (Expected 0, got 0) :: [ 11:16:54 ] :: [ INFO ] :: Sending proc_crypto as proc_crypto :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 62s :: Assertions: 48 good, 0 bad :: RESULT: PASS (-p esp -e des3_ede -a sha256 -m tunnel -s '65450') :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:16:56 ] :: [ PASS ] :: Command 'bash /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/common/tools/netns_clean.sh' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/ipsec/ipsec_basic/ipsec_basic_netns :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:16:56 ] :: [ LOG ] :: Phases fingerprint: GpTeNtEf :: [ 11:16:56 ] :: [ LOG ] :: Asserts fingerprint: T1cCTj04 Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 65s :: Phases: 3 good, 0 bad :: OVERALL RESULT: PASS (networking/ipsec/ipsec_basic/ipsec_basic_netns)