Skip to content

Testsuite for nvme in-band authentication

Hannes Reinecke linux-nvme 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 9 repliesIn review
  2. v410 patches 0 repliesSuperseded
  3. v310 patches 22 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v29 patches16 repliesSuperseded
v16 patches10 repliesSuperseded

Changes to v4 from the cover letter

- Rebase to current HEAD
- Use return code from 'nvme connect' instead of looking for the controller node

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10nvme/rc: do not print error message when no nvme device is foundtests/nvme/rc+1 -00 replies
2/10nvme/rc: clear allowed_hosts subdirectorytests/nvme/rc+1 -02 replies
3/10nvme/rc: clear hosts directory in _cleanup_nvmet()tests/nvme/rc+6 -00 replies
4/10nvme/rc: add functions for in-band authenticationtests/nvme/rc+73 -00 replies
5/10nvme/rc: add more arguments to _nvme_connect_subsys()tests/nvme/rc+16 -02 replies
6/10nvme/040: create authenticated connectionstests/nvme/040 tests/nvme/040.out+88 -02 replies
7/10nvme/041: test dhchap key types for authenticated connectionstests/nvme/041 tests/nvme/041.out+111 -02 replies
8/10nvme/042: test hash and dh group variations for authenticated connectionstests/nvme/042 tests/nvme/042.out+107 -00 replies
9/10nvme/043: test bi-directional authenticationtests/nvme/043 tests/nvme/043.out+114 -00 replies
10/10nvme/044: test re-authenticationtests/nvme/044 tests/nvme/044.out+137 -00 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchSagi Grimberg
1/10R-b
2/10R-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCHv5 blktests 00/10] Testsuite for nvme in-band authentication

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.

As usual, comments and reviews are welcome.

Changes to v4:
- Rebase to current HEAD
- Use return code from 'nvme connect' instead of looking for the controller node

Changes to v3:
- Rebase to current HEAD

Changes to v2:
- Merge first two tests
- Add optional arguments to _nvme_connect_subsys()
- Convert to use _nvme_connect_subsys()

Changes to v1:
- Move tests to the 'nvme' directory
- Check for authentication failure on invalid keys

Hannes Reinecke (10):
nvme/rc: do not print error message when no nvme device is found nvme/rc: clear allowed_hosts subdirectory
nvme/rc: clear hosts directory in _cleanup_nvmet() nvme/rc: add functions for in-band authentication nvme/rc: add more arguments to _nvme_connect_subsys() nvme/040: create authenticated connections
nvme/041: test dhchap key types for authenticated connections nvme/042: test hash and dh group variations for authenticated
connections
nvme/043: test bi-directional authentication nvme/044: test re-authentication

 tests/nvme/040     |  81 +++++++++++++++++++++++++++++
 tests/nvme/040.out |   7 +++
 tests/nvme/041     |  95 ++++++++++++++++++++++++++++++++++
 tests/nvme/041.out |  16 ++++++
 tests/nvme/042     |  89 ++++++++++++++++++++++++++++++++
 tests/nvme/042.out |  18 +++++++
 tests/nvme/043     | 106 ++++++++++++++++++++++++++++++++++++++
 tests/nvme/043.out |   8 +++
 tests/nvme/044     | 125 +++++++++++++++++++++++++++++++++++++++++++++
 tests/nvme/044.out |  12 +++++
 tests/nvme/rc      |  97 +++++++++++++++++++++++++++++++++++
 11 files changed, 654 insertions(+)
 create mode 100644 tests/nvme/040
 create mode 100644 tests/nvme/040.out
 create mode 100644 tests/nvme/041
 create mode 100644 tests/nvme/041.out
 create mode 100644 tests/nvme/042
 create mode 100644 tests/nvme/042.out
 create mode 100644 tests/nvme/043
 create mode 100644 tests/nvme/043.out
 create mode 100644 tests/nvme/044
 create mode 100644 tests/nvme/044.out
Signature · 1 line
2.26.2