[bug report] nvme authentication setup failed observed during blktests nvme/041 nvme/042 nvme/043

Yi Zhang yi.zhang at redhat.com
Tue Oct 17 23:57:52 PDT 2023


Hello
Just found the blktests nvme/041 nvme/042 nvme/043[2] failed on the
latest linux-block/for-next[1],
from the log I can see it was due to authentication setup failed,
please help check it, thanks.

[1]
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/log/?h=for-next
e3db512c4ab6 (HEAD -> for-next, origin/for-next) Merge branch
'for-6.7/block' into for-next

[2]
# ./check nvme/041
nvme/041 (Create authenticated connections)                  [failed]
    runtime  3.274s  ...  3.980s
    --- tests/nvme/041.out      2023-10-17 08:02:17.046653814 -0400
    +++ /root/blktests/results/nodev/nvme/041.out.bad   2023-10-18
02:50:03.496539083 -0400
    @@ -2,5 +2,5 @@
     Test unauthenticated connection (should fail)
     NQN:blktests-subsystem-1 disconnected 0 controller(s)
     Test authenticated connection
    -NQN:blktests-subsystem-1 disconnected 1 controller(s)
    +NQN:blktests-subsystem-1 disconnected 0 controller(s)
     Test complete

# dmesg
[ 2701.636964] loop: module loaded
[ 2702.074262] run blktests nvme/041 at 2023-10-18 02:49:59
[ 2702.302067] nvmet: adding nsid 1 to subsystem blktests-subsystem-1
[ 2702.447496] nvmet: creating nvm controller 1 for subsystem
blktests-subsystem-1 for NQN
nqn.2014-08.org.nvmexpress:uuid:0f01fb42-9f7f-4856-b0b3-51e60b8de349
with DH-HMAC-CHAP.
[ 2702.447707] nvme nvme0: qid 0: authentication setup failed
[ 2704.099618] nvmet: creating nvm controller 1 for subsystem
blktests-subsystem-1 for NQN
nqn.2014-08.org.nvmexpress:uuid:0f01fb42-9f7f-4856-b0b3-51e60b8de349
with DH-HMAC-CHAP.
[ 2704.099688] nvme nvme0: qid 0: authentication setup failed


-- 
Best Regards,
  Yi Zhang




More information about the Linux-nvme mailing list