From: osandov@osandov.com (Omar Sandoval)
Subject: [PATCH V2 blktests 03/12] nvme: add NVMeOF write-zeroes test for bdev-ns
Date: Wed, 12 Sep 2018 15:37:05 -0700 [thread overview]
Message-ID: <20180912223705.GB6052@vader> (raw)
In-Reply-To: <20180904193304.13350-4-chaitanya.kulkarni@wdc.com>
On Tue, Sep 04, 2018@12:32:55PM -0700, Chaitanya Kulkarni wrote:
> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
> ---
> tests/nvme/021 | 78 ++++++++++++++++++++++++++++++++++++++++++++++
> tests/nvme/021.out | 6 ++++
> 2 files changed, 84 insertions(+)
> create mode 100755 tests/nvme/021
> create mode 100644 tests/nvme/021.out
This test is still failing for me sometimes. If I apply the following
patch:
diff --git a/tests/nvme/021 b/tests/nvme/021
index efcbb3f..137e89e 100755
--- a/tests/nvme/021
+++ b/tests/nvme/021
@@ -59,6 +59,10 @@ test() {
cat "/sys/block/${nvmedev}n1/uuid"
cat "/sys/block/${nvmedev}n1/wwid"
+ nvme write-zeroes "/dev/${nvmedev}" -n 1 -d -s "${sblk}" -c "${nblk}"
+ nvme write-zeroes "/dev/${nvmedev}" -n 1 -d -s "${sblk}" -c "${nblk}"
+ nvme write-zeroes "/dev/${nvmedev}" -n 1 -d -s "${sblk}" -c "${nblk}"
+ nvme write-zeroes "/dev/${nvmedev}" -n 1 -d -s "${sblk}" -c "${nblk}"
nvme write-zeroes "/dev/${nvmedev}" -n 1 -d -s "${sblk}" -c "${nblk}"
nvme disconnect -n "${subsys_name}"
diff --git a/tests/nvme/021.out b/tests/nvme/021.out
index 29939e6..658be05 100644
--- a/tests/nvme/021.out
+++ b/tests/nvme/021.out
@@ -2,5 +2,9 @@ Running nvme/021
91fdba0d-f87b-4c25-b80f-db7be1418b9e
uuid.91fdba0d-f87b-4c25-b80f-db7be1418b9e
NVME Write Zeroes Success
+NVME Write Zeroes Success
+NVME Write Zeroes Success
+NVME Write Zeroes Success
+NVME Write Zeroes Success
NQN:blktests-subsystem-1 disconnected 1 controller(s)
Test complete
Then some of the commands pass and some fail:
--- tests/nvme/021.out 2018-09-12 14:41:29.563976539 -0700
+++ /home/vmuser/linux/blktests/results/nodev/nvme/021.out.bad 2018-09-12 15:30:43.037900569 -0700
@@ -1,10 +1,10 @@
Running nvme/021
91fdba0d-f87b-4c25-b80f-db7be1418b9e
uuid.91fdba0d-f87b-4c25-b80f-db7be1418b9e
+NVME IO command error:Unknown(400f)
NVME Write Zeroes Success
+NVME IO command error:Unknown(400f)
NVME Write Zeroes Success
-NVME Write Zeroes Success
-NVME Write Zeroes Success
-NVME Write Zeroes Success
+NVME IO command error:Unknown(400f)
NQN:blktests-subsystem-1 disconnected 1 controller(s)
Test complete
I'll look a bit more, but do you know what might be causing this? This
is on v4.19-rc3 with nvme-cli 1.6.
using nvme
next prev parent reply other threads:[~2018-09-12 22:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-04 19:32 [PATCH V2 blktests 00/12] nvme: new testcases for NVMeOF Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 01/12] nvme: add NVMeOF DSM discard test for bdev-ns Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 02/12] nvme: add NVMeOF DSM discard test for file-ns Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 03/12] nvme: add NVMeOF write-zeroes test for bdev-ns Chaitanya Kulkarni
2018-09-12 22:37 ` Omar Sandoval [this message]
2018-09-12 23:53 ` Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 04/12] nvme: add NVMeOF write-zeroes test for file-ns Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 05/12] nvme: add NVMeOF smart-log test for bdev-ns Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 06/12] nvme: add NVMeOF smart-log test for file-ns Chaitanya Kulkarni
2018-09-04 19:32 ` [PATCH V2 blktests 07/12] nvme: add NVMeOF effects-log " Chaitanya Kulkarni
2018-09-04 19:33 ` [PATCH V2 blktests 08/12] nvme: add NVMeOF ns-desc " Chaitanya Kulkarni
2018-09-04 19:33 ` [PATCH V2 blktests 09/12] nvme: add NVMeOF ns-rescan " Chaitanya Kulkarni
2018-09-04 19:33 ` [PATCH V2 blktests 10/12] nvme: add NVMeOF list-subsys " Chaitanya Kulkarni
2018-09-04 19:33 ` [PATCH V2 blktests 11/12] nvme: add NVMeOF list " Chaitanya Kulkarni
2018-09-04 19:33 ` [PATCH V2 blktests 12/12] nvme: add NVMeOF reset " Chaitanya Kulkarni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180912223705.GB6052@vader \
--to=osandov@osandov.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox