Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Daniel Wagner <wagi@kernel.org>, Hannes Reinecke <hare@suse.de>,
	Chaitanya Kulkarni <kch@nvidia.com>,
	Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Cc: linux-nvme@lists.infradead.org
Subject: nvme-cli & json vs blktests
Date: Mon, 19 May 2025 07:49:05 +0200	[thread overview]
Message-ID: <20250519054905.GA6156@lst.de> (raw)

Hi all,

I recently did a long overdue update of blktests on my main test
machine, and a large part of the nvme tests started failing.  I
eventually bisected this down to:

commit 444f0df9f0c537335f59c1721240212852656e5b
Author: Hannes Reinecke <hare@suse.de>
Date:   Wed Oct 30 15:51:45 2024 +0900

    nvme: check for controller device in _nvme_connect_subsys()


which adds a requirements for json output from nvme connect, and
just silently fails if not present.

Now after figuring this out I went to rebuild my nvme-cli after installing
the json-c development package.

... and nothing changes.

It looks like the nvme-cli build system unfortunately doesn't pick up
changes in available dependencies even after a make clean.  It turns
out a make purge eventually fixed it, but that's a little unexpected.

Can we get proper feature check for json support in blktests and maybe
make the nvme-cli build a little less arcane?


             reply	other threads:[~2025-05-19  5:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-19  5:49 Christoph Hellwig [this message]
2025-05-19  9:51 ` nvme-cli & json vs blktests Daniel Wagner
2025-05-19  9:56   ` Christoph Hellwig
2025-05-19 10:04     ` Daniel Wagner
2025-05-19 23:31       ` Chaitanya Kulkarni
2025-05-20  7:18         ` Daniel Wagner
2025-05-20 13:34           ` Christoph Hellwig
2025-05-19 11:08 ` Shinichiro Kawasaki

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=20250519054905.GA6156@lst.de \
    --to=hch@lst.de \
    --cc=hare@suse.de \
    --cc=kch@nvidia.com \
    --cc=linux-nvme@lists.infradead.org \
    --cc=shinichiro.kawasaki@wdc.com \
    --cc=wagi@kernel.org \
    /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