[PATCHv3 blktests 00/10] Testsuite for nvme in-band authentication
Chaitanya Kulkarni
chaitanyak at nvidia.com
Sun Jun 5 16:58:29 PDT 2022
On 11/22/21 23:49, Hannes Reinecke wrote:
> Hi all,
>
> some people (Hi Sagi!) have complained that nvme in-band authentication
> provide far too many configuration options to test it with some easy
> commands. So here's a test suite for testing (most of) the various
> configuration options and features.
>
In-Band authentication blktests are failing on your current
version :-
blktests (master) # nvme_trtype=loop ./check nvme/039
nvme/039 (Create authenticated connections) [failed]
runtime ... 1.646s
--- tests/nvme/039.out 2022-06-01 12:30:34.556807396 -0700
+++ /mnt/data/blktests/results/nodev/nvme/039.out.bad 2022-06-05
16:39:19.335636058 -0700
@@ -1,6 +1,7 @@
Running nvme/039
+tests/nvme/rc: line 269: printf: write error: Invalid argument
Test unauthenticated connection
-no controller found
+no controller found: failed to write to nvme-fabrics device
NQN:blktests-subsystem-1 disconnected 0 controller(s)
Test authenticated connection
...
(Run 'diff -u tests/nvme/039.out
/mnt/data/blktests/results/nodev/nvme/039.out.bad' to see the entire diff)
blktests (master) # nvme_trtype=loop ./check nvme/040
nvme/040 (Test dhchap key types for authenticated connections)
nvme/040 (Test dhchap key types for authenticated connections) [failed]
runtime ... 11.194s
--- tests/nvme/040.out 2022-06-01 12:30:36.681858248 -0700
+++ /mnt/data/blktests/results/nodev/nvme/040.out.bad 2022-06-05
16:39:49.307314951 -0700
@@ -1,4 +1,5 @@
Running nvme/040
+tests/nvme/rc: line 269: printf: write error: Invalid argument
Testing hmac 0
NQN:blktests-subsystem-1 disconnected 1 controller(s)
Testing hmac 1
blktests (master) #
blktests (master) # nvme_trtype=loop ./check nvme/041
nvme/041 (Test hash and DH group variations for authenticated
connections) [failed]
runtime ... 14.782s
--- tests/nvme/041.out 2022-06-01 12:30:39.065915298 -0700
+++ /mnt/data/blktests/results/nodev/nvme/041.out.bad 2022-06-05
16:40:11.733822941 -0700
@@ -1,4 +1,5 @@
Running nvme/041
+tests/nvme/rc: line 269: printf: write error: Invalid argument
Testing hash hmac(sha256)
NQN:blktests-subsystem-1 disconnected 1 controller(s)
Testing hash hmac(sha384)
blktests (master) # nvme_trtype=loop ./check nvme/043
nvme/043 (Test re-authentication) [failed]
runtime ... 6.042s
--- tests/nvme/043.out 2022-06-01 12:30:45.089059428 -0700
+++ /mnt/data/blktests/results/nodev/nvme/043.out.bad 2022-06-05
16:40:24.409110049 -0700
@@ -1,4 +1,5 @@
Running nvme/043
+tests/nvme/rc: line 269: printf: write error: Invalid argument
Re-authenticate with original host key
Renew host key on the controller
Re-authenticate with new host key
-ck
More information about the Linux-nvme
mailing list