BUG: selftests/net/tls: FAIL in sm4_ccm tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I don't know if this is expected result, so I am filing the bug report.

Reports like this from tools/testing/selftests/net/tls:

#  RUN           tls.13_sm4_ccm.sendfile ...
# tls.c:323:sendfile:Expected ret (-1) == 0 (0)
# sendfile: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendfile
not ok 251 tls.13_sm4_ccm.sendfile
#  RUN           tls.13_sm4_ccm.send_then_sendfile ...
# tls.c:323:send_then_sendfile:Expected ret (-1) == 0 (0)
# send_then_sendfile: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.send_then_sendfile
not ok 252 tls.13_sm4_ccm.send_then_sendfile
#  RUN           tls.13_sm4_ccm.multi_chunk_sendfile ...
# tls.c:323:multi_chunk_sendfile:Expected ret (-1) == 0 (0)
# multi_chunk_sendfile: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.multi_chunk_sendfile
not ok 253 tls.13_sm4_ccm.multi_chunk_sendfile

Apparently, all are connected with sm4 hash ccm.

(Please find the complete report attached in tls-6.3-rc3-1.log)

The rest of the failed tests is as follows from this command:

[marvin@pc-mtodorov linux_torvalds]$ grep -v '^#' ../kselftest-6.3-rc3-1.log | grep "not ok"
not ok 2 selftests: alsa: pcm-test # TIMEOUT 45 seconds
not ok 1 selftests: drivers/net/bonding: bond-arp-interval-causes-panic.sh # exit=1
not ok 2 selftests: drivers/net/bonding: bond-break-lacpdu-tx.sh # exit=1
not ok 1 selftests: filesystems/binderfs: binderfs_test # exit=1
not ok 1 selftests: ftrace: ftracetest # exit=1
not ok 1 selftests: gpio: gpio-mockup.sh # exit=1
not ok 1 selftests: intel_pstate: run.sh # TIMEOUT 45 seconds
not ok 1 selftests: iommu: iommufd # exit=1
not ok 26 selftests: kvm: vmx_preemption_timer_test # exit=254
not ok 1 selftests: landlock: fs_test # exit=1
not ok 1 selftests: mincore: mincore_selftest # exit=1
not ok 2 selftests: mqueue: mq_perf_tests # TIMEOUT 45 seconds
not ok 1 selftests: nci: nci_dev # exit=1
not ok 6 selftests: net: tls # exit=1
not ok 12 selftests: net: run_netsocktests # exit=1
not ok 28 selftests: net: udpgro_bench.sh # exit=255
not ok 29 selftests: net: udpgro.sh # exit=255
not ok 36 selftests: net: fcnal-test.sh # TIMEOUT 1500 seconds
not ok 37 selftests: net: l2tp.sh # exit=2
not ok 45 selftests: net: icmp_redirect.sh # exit=1
not ok 49 selftests: net: txtimestamp.sh # exit=1
not ok 54 selftests: net: vrf_route_leaking.sh # exit=1
not ok 58 selftests: net: udpgro_fwd.sh # exit=1
not ok 59 selftests: net: udpgro_frglist.sh # exit=255
not ok 60 selftests: net: veth.sh # exit=1
not ok 67 selftests: net: srv6_end_dt46_l3vpn_test.sh # exit=1
not ok 68 selftests: net: srv6_end_dt4_l3vpn_test.sh # exit=1
not ok 82 selftests: net: rps_default_mask.sh # exit=1
not ok 85 selftests: net: test_ingress_egress_chaining.sh # exit=1
not ok 1 selftests: net/hsr: hsr_ping.sh # TIMEOUT 45 seconds
not ok 3 selftests: net/mptcp: mptcp_join.sh # exit=1
not ok 3 selftests: netfilter: nft_nat.sh # exit=1
not ok 5 selftests: netfilter: conntrack_icmp_related.sh # exit=1
not ok 8 selftests: netfilter: nft_concat_range.sh # exit=1
not ok 14 selftests: netfilter: conntrack_tcp_unreplied.sh # exit=1
not ok 15 selftests: netfilter: conntrack_vrf.sh # exit=1
not ok 15 selftests: proc: read # exit=134
not ok 1 selftests: pstore: pstore_tests # exit=1
not ok 3 selftests: ptrace: vmaccess # exit=1
not ok 1 selftests: rlimits: rlimits-per-userns # exit=1
not ok 1 selftests: sgx: test_sgx # exit=1
not ok 2 selftests: splice: short_splice_read.sh # exit=3
not ok 1 selftests: tdx: tdx_guest_test # exit=1
not ok 3 selftests: mm: split_huge_page_test # exit=1
not ok 5 selftests: mm: mdwe_test # exit=1
[marvin@pc-mtodorov linux_torvalds]$

The environment is AlmaLinux 8.7 running 6.3-rc3 vanilla kernel with
MGLRU, KMEMLEAK and CONFIG_DEBUG_KOBJECT=y enabled.

Hw := LENOVO_MT_10TX_BU_Lenovo_FM_V530S-07ICB

In case you are interested to debug this, I am available for additional
diagnostics.

As 45 bug reports might overwhelm me due to the overhead of bug submission,
I will probably submit a bug or two at a time.

Best regards,
Mirsad


--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu

System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
#  RUN           tls.13_sm4_ccm.sendfile ...
# tls.c:323:sendfile:Expected ret (-1) == 0 (0)
# sendfile: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendfile
not ok 251 tls.13_sm4_ccm.sendfile
#  RUN           tls.13_sm4_ccm.send_then_sendfile ...
# tls.c:323:send_then_sendfile:Expected ret (-1) == 0 (0)
# send_then_sendfile: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.send_then_sendfile
not ok 252 tls.13_sm4_ccm.send_then_sendfile
#  RUN           tls.13_sm4_ccm.multi_chunk_sendfile ...
# tls.c:323:multi_chunk_sendfile:Expected ret (-1) == 0 (0)
# multi_chunk_sendfile: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.multi_chunk_sendfile
not ok 253 tls.13_sm4_ccm.multi_chunk_sendfile
#  RUN           tls.13_sm4_ccm.recv_max ...
# tls.c:323:recv_max:Expected ret (-1) == 0 (0)
# recv_max: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_max
not ok 254 tls.13_sm4_ccm.recv_max
#  RUN           tls.13_sm4_ccm.recv_small ...
# tls.c:323:recv_small:Expected ret (-1) == 0 (0)
# recv_small: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_small
not ok 255 tls.13_sm4_ccm.recv_small
#  RUN           tls.13_sm4_ccm.msg_more ...
# tls.c:323:msg_more:Expected ret (-1) == 0 (0)
# msg_more: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.msg_more
not ok 256 tls.13_sm4_ccm.msg_more
#  RUN           tls.13_sm4_ccm.msg_more_unsent ...
# tls.c:323:msg_more_unsent:Expected ret (-1) == 0 (0)
# msg_more_unsent: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.msg_more_unsent
not ok 257 tls.13_sm4_ccm.msg_more_unsent
#  RUN           tls.13_sm4_ccm.sendmsg_single ...
# tls.c:323:sendmsg_single:Expected ret (-1) == 0 (0)
# sendmsg_single: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendmsg_single
not ok 258 tls.13_sm4_ccm.sendmsg_single
#  RUN           tls.13_sm4_ccm.sendmsg_fragmented ...
# tls.c:323:sendmsg_fragmented:Expected ret (-1) == 0 (0)
# sendmsg_fragmented: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendmsg_fragmented
not ok 259 tls.13_sm4_ccm.sendmsg_fragmented
#  RUN           tls.13_sm4_ccm.sendmsg_large ...
# tls.c:323:sendmsg_large:Expected ret (-1) == 0 (0)
# sendmsg_large: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendmsg_large
not ok 260 tls.13_sm4_ccm.sendmsg_large
#  RUN           tls.13_sm4_ccm.sendmsg_multiple ...
# tls.c:323:sendmsg_multiple:Expected ret (-1) == 0 (0)
# sendmsg_multiple: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendmsg_multiple
not ok 261 tls.13_sm4_ccm.sendmsg_multiple
#  RUN           tls.13_sm4_ccm.sendmsg_multiple_stress ...
# tls.c:323:sendmsg_multiple_stress:Expected ret (-1) == 0 (0)
# sendmsg_multiple_stress: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.sendmsg_multiple_stress
not ok 262 tls.13_sm4_ccm.sendmsg_multiple_stress
#  RUN           tls.13_sm4_ccm.splice_from_pipe ...
# tls.c:323:splice_from_pipe:Expected ret (-1) == 0 (0)
# splice_from_pipe: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.splice_from_pipe
not ok 263 tls.13_sm4_ccm.splice_from_pipe
#  RUN           tls.13_sm4_ccm.splice_from_pipe2 ...
# tls.c:323:splice_from_pipe2:Expected ret (-1) == 0 (0)
# splice_from_pipe2: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.splice_from_pipe2
not ok 264 tls.13_sm4_ccm.splice_from_pipe2
#  RUN           tls.13_sm4_ccm.send_and_splice ...
# tls.c:323:send_and_splice:Expected ret (-1) == 0 (0)
# send_and_splice: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.send_and_splice
not ok 265 tls.13_sm4_ccm.send_and_splice
#  RUN           tls.13_sm4_ccm.splice_to_pipe ...
# tls.c:323:splice_to_pipe:Expected ret (-1) == 0 (0)
# splice_to_pipe: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.splice_to_pipe
not ok 266 tls.13_sm4_ccm.splice_to_pipe
#  RUN           tls.13_sm4_ccm.splice_cmsg_to_pipe ...
# tls.c:323:splice_cmsg_to_pipe:Expected ret (-1) == 0 (0)
# splice_cmsg_to_pipe: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.splice_cmsg_to_pipe
not ok 267 tls.13_sm4_ccm.splice_cmsg_to_pipe
#  RUN           tls.13_sm4_ccm.splice_dec_cmsg_to_pipe ...
# tls.c:323:splice_dec_cmsg_to_pipe:Expected ret (-1) == 0 (0)
# splice_dec_cmsg_to_pipe: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.splice_dec_cmsg_to_pipe
not ok 268 tls.13_sm4_ccm.splice_dec_cmsg_to_pipe
#  RUN           tls.13_sm4_ccm.recv_and_splice ...
# tls.c:323:recv_and_splice:Expected ret (-1) == 0 (0)
# recv_and_splice: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_and_splice
not ok 269 tls.13_sm4_ccm.recv_and_splice
#  RUN           tls.13_sm4_ccm.peek_and_splice ...
# tls.c:323:peek_and_splice:Expected ret (-1) == 0 (0)
# peek_and_splice: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.peek_and_splice
not ok 270 tls.13_sm4_ccm.peek_and_splice
#  RUN           tls.13_sm4_ccm.recvmsg_single ...
# tls.c:323:recvmsg_single:Expected ret (-1) == 0 (0)
# recvmsg_single: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recvmsg_single
not ok 271 tls.13_sm4_ccm.recvmsg_single
#  RUN           tls.13_sm4_ccm.recvmsg_single_max ...
# tls.c:323:recvmsg_single_max:Expected ret (-1) == 0 (0)
# recvmsg_single_max: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recvmsg_single_max
not ok 272 tls.13_sm4_ccm.recvmsg_single_max
#  RUN           tls.13_sm4_ccm.recvmsg_multiple ...
# tls.c:323:recvmsg_multiple:Expected ret (-1) == 0 (0)
# recvmsg_multiple: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recvmsg_multiple
not ok 273 tls.13_sm4_ccm.recvmsg_multiple
#  RUN           tls.13_sm4_ccm.single_send_multiple_recv ...
# tls.c:323:single_send_multiple_recv:Expected ret (-1) == 0 (0)
# single_send_multiple_recv: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.single_send_multiple_recv
not ok 274 tls.13_sm4_ccm.single_send_multiple_recv
#  RUN           tls.13_sm4_ccm.multiple_send_single_recv ...
# tls.c:323:multiple_send_single_recv:Expected ret (-1) == 0 (0)
# multiple_send_single_recv: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.multiple_send_single_recv
not ok 275 tls.13_sm4_ccm.multiple_send_single_recv
#  RUN           tls.13_sm4_ccm.single_send_multiple_recv_non_align ...
# tls.c:323:single_send_multiple_recv_non_align:Expected ret (-1) == 0 (0)
# single_send_multiple_recv_non_align: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.single_send_multiple_recv_non_align
not ok 276 tls.13_sm4_ccm.single_send_multiple_recv_non_align
#  RUN           tls.13_sm4_ccm.recv_partial ...
# tls.c:323:recv_partial:Expected ret (-1) == 0 (0)
# recv_partial: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_partial
not ok 277 tls.13_sm4_ccm.recv_partial
#  RUN           tls.13_sm4_ccm.recv_nonblock ...
# tls.c:323:recv_nonblock:Expected ret (-1) == 0 (0)
# recv_nonblock: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_nonblock
not ok 278 tls.13_sm4_ccm.recv_nonblock
#  RUN           tls.13_sm4_ccm.recv_peek ...
# tls.c:323:recv_peek:Expected ret (-1) == 0 (0)
# recv_peek: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_peek
not ok 279 tls.13_sm4_ccm.recv_peek
#  RUN           tls.13_sm4_ccm.recv_peek_multiple ...
# tls.c:323:recv_peek_multiple:Expected ret (-1) == 0 (0)
# recv_peek_multiple: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_peek_multiple
not ok 280 tls.13_sm4_ccm.recv_peek_multiple
#  RUN           tls.13_sm4_ccm.recv_peek_multiple_records ...
# tls.c:323:recv_peek_multiple_records:Expected ret (-1) == 0 (0)
# recv_peek_multiple_records: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_peek_multiple_records
not ok 281 tls.13_sm4_ccm.recv_peek_multiple_records
#  RUN           tls.13_sm4_ccm.recv_peek_large_buf_mult_recs ...
# tls.c:323:recv_peek_large_buf_mult_recs:Expected ret (-1) == 0 (0)
# recv_peek_large_buf_mult_recs: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_peek_large_buf_mult_recs
not ok 282 tls.13_sm4_ccm.recv_peek_large_buf_mult_recs
#  RUN           tls.13_sm4_ccm.recv_lowat ...
# tls.c:323:recv_lowat:Expected ret (-1) == 0 (0)
# recv_lowat: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.recv_lowat
not ok 283 tls.13_sm4_ccm.recv_lowat
#  RUN           tls.13_sm4_ccm.bidir ...
# tls.c:323:bidir:Expected ret (-1) == 0 (0)
# bidir: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.bidir
not ok 284 tls.13_sm4_ccm.bidir
#  RUN           tls.13_sm4_ccm.pollin ...
# tls.c:323:pollin:Expected ret (-1) == 0 (0)
# pollin: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.pollin
not ok 285 tls.13_sm4_ccm.pollin
#  RUN           tls.13_sm4_ccm.poll_wait ...
# tls.c:323:poll_wait:Expected ret (-1) == 0 (0)
# poll_wait: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.poll_wait
not ok 286 tls.13_sm4_ccm.poll_wait
#  RUN           tls.13_sm4_ccm.poll_wait_split ...
# tls.c:323:poll_wait_split:Expected ret (-1) == 0 (0)
# poll_wait_split: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.poll_wait_split
not ok 287 tls.13_sm4_ccm.poll_wait_split
#  RUN           tls.13_sm4_ccm.blocking ...
# tls.c:323:blocking:Expected ret (-1) == 0 (0)
# blocking: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.blocking
not ok 288 tls.13_sm4_ccm.blocking
#  RUN           tls.13_sm4_ccm.nonblocking ...
# tls.c:323:nonblocking:Expected ret (-1) == 0 (0)
# nonblocking: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.nonblocking
not ok 289 tls.13_sm4_ccm.nonblocking
#  RUN           tls.13_sm4_ccm.mutliproc_even ...
# tls.c:323:mutliproc_even:Expected ret (-1) == 0 (0)
# mutliproc_even: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.mutliproc_even
not ok 290 tls.13_sm4_ccm.mutliproc_even
#  RUN           tls.13_sm4_ccm.mutliproc_readers ...
# tls.c:323:mutliproc_readers:Expected ret (-1) == 0 (0)
# mutliproc_readers: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.mutliproc_readers
not ok 291 tls.13_sm4_ccm.mutliproc_readers
#  RUN           tls.13_sm4_ccm.mutliproc_writers ...
# tls.c:323:mutliproc_writers:Expected ret (-1) == 0 (0)
# mutliproc_writers: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.mutliproc_writers
not ok 292 tls.13_sm4_ccm.mutliproc_writers
#  RUN           tls.13_sm4_ccm.mutliproc_sendpage_even ...
# tls.c:323:mutliproc_sendpage_even:Expected ret (-1) == 0 (0)
# mutliproc_sendpage_even: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.mutliproc_sendpage_even
not ok 293 tls.13_sm4_ccm.mutliproc_sendpage_even
#  RUN           tls.13_sm4_ccm.mutliproc_sendpage_readers ...
# tls.c:323:mutliproc_sendpage_readers:Expected ret (-1) == 0 (0)
# mutliproc_sendpage_readers: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.mutliproc_sendpage_readers
not ok 294 tls.13_sm4_ccm.mutliproc_sendpage_readers
#  RUN           tls.13_sm4_ccm.mutliproc_sendpage_writers ...
# tls.c:323:mutliproc_sendpage_writers:Expected ret (-1) == 0 (0)
# mutliproc_sendpage_writers: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.mutliproc_sendpage_writers
not ok 295 tls.13_sm4_ccm.mutliproc_sendpage_writers
#  RUN           tls.13_sm4_ccm.control_msg ...
# tls.c:323:control_msg:Expected ret (-1) == 0 (0)
# control_msg: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.control_msg
not ok 296 tls.13_sm4_ccm.control_msg
#  RUN           tls.13_sm4_ccm.shutdown ...
# tls.c:323:shutdown:Expected ret (-1) == 0 (0)
# shutdown: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.shutdown
not ok 297 tls.13_sm4_ccm.shutdown
#  RUN           tls.13_sm4_ccm.shutdown_unsent ...
# tls.c:323:shutdown_unsent:Expected ret (-1) == 0 (0)
# shutdown_unsent: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.shutdown_unsent
not ok 298 tls.13_sm4_ccm.shutdown_unsent
#  RUN           tls.13_sm4_ccm.shutdown_reuse ...
# tls.c:323:shutdown_reuse:Expected ret (-1) == 0 (0)
# shutdown_reuse: Test terminated by assertion
#          FAIL  tls.13_sm4_ccm.shutdown_reuse
not ok 299 tls.13_sm4_ccm.shutdown_reuse
--
#  RUN           tls_err.13_aes_gcm.timeo ...
#            OK  tls_err.13_aes_gcm.timeo
ok 554 tls_err.13_aes_gcm.timeo
# FAILED: 505 / 554 tests passed.
# Totals: pass:505 fail:49 xfail:0 xpass:0 skip:0 error:0

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux