From: Nilay Shroff <nilay@linux.ibm.com>
To: Yi Zhang <yi.zhang@redhat.com>
Cc: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"nbd@other.debian.org" <nbd@other.debian.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: blktests failures with v6.11-rc1 kernel
Date: Wed, 14 Aug 2024 18:05:57 +0530 [thread overview]
Message-ID: <1f917bc1-8a6a-4c88-a619-cf8ddc4534a4@linux.ibm.com> (raw)
In-Reply-To: <CAHj4cs-5DPDFuBzm3aymeAi6UWHhgXSYsgaCACKbjXp=i0SyTA@mail.gmail.com>
On 8/13/24 12:36, Yi Zhang wrote:
> On Sat, Aug 3, 2024 at 12:49 AM Nilay Shroff <nilay@linux.ibm.com> wrote:
>
> There are no simultaneous tests during the CKI tests running.
> I reproduced the failure on that server and always can be reproduced
> within 5 times:
> # sh a.sh
> ==============================0
> nvme/052 (tr=loop) (Test file-ns creation/deletion under one subsystem) [passed]
> runtime 21.496s ... 21.398s
> ==============================1
> nvme/052 (tr=loop) (Test file-ns creation/deletion under one subsystem) [failed]
> runtime 21.398s ... 21.974s
> --- tests/nvme/052.out 2024-08-10 00:30:06.989814226 -0400
> +++ /root/blktests/results/nodev_tr_loop/nvme/052.out.bad
> 2024-08-13 02:53:51.635047928 -0400
> @@ -1,2 +1,5 @@
> Running nvme/052
> +cat: /sys/block/nvme1n2/uuid: No such file or directory
> +cat: /sys/block/nvme1n2/uuid: No such file or directory
> +cat: /sys/block/nvme1n2/uuid: No such file or directory
> Test complete
> # uname -r
> 6.11.0-rc3
We may need to debug this further. Is it possible to patch blktest and
collect some details when this issue manifests? If yes then can you please
apply the below diff and re-run your test? This patch would capture output
of "nvme list" and "sysfs attribute tree created under namespace head node"
and store those details in 052.full file.
diff --git a/common/nvme b/common/nvme
index 9e78f3e..780b5e3 100644
--- a/common/nvme
+++ b/common/nvme
@@ -589,8 +589,23 @@ _find_nvme_ns() {
if ! [[ "${ns}" =~ nvme[0-9]+n[0-9]+ ]]; then
continue
fi
+ echo -e "\nBefore ${ns}/uuid check:\n" >> ${FULL}
+ echo -e "\n`nvme list -v`\n" >> ${FULL}
+ echo -e "\n`tree ${ns}`\n" >> ${FULL}
+
[ -e "${ns}/uuid" ] || continue
uuid=$(cat "${ns}/uuid")
+
+ if [ "$?" = "1" ]; then
+ echo -e "\nFailed to read $ns/uuid\n" >> ${FULL}
+ echo "`nvme list -v`" >> ${FULL}
+ if [ -d "${ns}" ]; then
+ echo -e "\n`tree ${ns}`\n" >> ${FULL}
+ else
+ echo -e "\n${ns} doesn't exist!\n" >> ${FULL}
+ fi
+ fi
+
if [[ "${subsys_uuid}" == "${uuid}" ]]; then
basename "${ns}"
fi
After applying the above diff, when this issue occurs on your system copy this
file "</path/to/blktests>/results/nodev_tr_loop/nvme/052.full" and send it across.
This may give us some clue about what might be going wrong.
Thanks,
--Nilay
next prev parent reply other threads:[~2024-08-14 12:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-02 9:09 blktests failures with v6.11-rc1 kernel Shinichiro Kawasaki
2024-08-02 12:16 ` Nilay Shroff
2024-08-02 12:34 ` Shinichiro Kawasaki
2024-08-02 16:49 ` Nilay Shroff
2024-08-13 7:06 ` Yi Zhang
2024-08-14 12:35 ` Nilay Shroff [this message]
2024-08-19 12:34 ` Shinichiro Kawasaki
2024-08-19 13:35 ` Nilay Shroff
2024-08-20 1:50 ` Yi Zhang
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=1f917bc1-8a6a-4c88-a619-cf8ddc4534a4@linux.ibm.com \
--to=nilay@linux.ibm.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=nbd@other.debian.org \
--cc=shinichiro.kawasaki@wdc.com \
--cc=yi.zhang@redhat.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