public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
From: Andy Fiddaman <andy@omnios.org>
To: illumos-developer <developer@lists.illumos.org>
Subject: Re: [developer] Recent NVMe changes break testing on a VMware guest?
Date: Thu, 11 Jul 2024 16:40:19 +0000 (UTC)	[thread overview]
Message-ID: <73ab4969-0bce-413f-b3af-90d9b2aef930@omnios.org> (raw)
In-Reply-To: <7A4BFA41-067A-4719-94DD-83E3DBC1152D@mnx.io>


On Thu, 11 Jul 2024, Dan McDonald wrote:

> Reproducible in both 32- and 64-bit BTW:
>
> [root@coal /tmp/test]# /opt/nvme-tests/tests/unit/firmware.32 >& /tmp/32
> [root@coal /tmp/test]# /opt/nvme-tests/tests/unit/firmware.64 >& /tmp/64
> [root@coal /tmp/test]# diff /tmp/{32,64}
> 56,57c56,57
> < TEST PASSED: valid ffirmware.32: TEST FAILED: invalid fw load numd 8k gran (3): found wrong return value NVME_FIELD_ERR_OK (0), expected NVME_FIELD_ERR_BAD_VALUE (3)
> < firmware.32: TEST FAILED: invalid fw load numd 8k gran (4): found wrong return value NVME_FIELD_ERR_OK (0), expected NVME_FIELD_ERR_BAD_VALUE (3)
> ---
> > TEST PASSED: valid ffirmware.64: TEST FAILED: invalid fw load numd 8k gran (3): found wrong return value NVME_FIELD_ERR_OK (0), expected NVME_FIELD_ERR_BAD_VALUE (3)
> > firmware.64: TEST FAILED: invalid fw load numd 8k gran (4): found wrong return value NVME_FIELD_ERR_OK (0), expected NVME_FIELD_ERR_BAD_VALUE (3)
> [root@coal /tmp/test]#

This is fallout from

	16633 nvme firmware updates cannot enforce update

That change relaxed the restrictions on the allowed firmware chunk size so that
it no-longer needed to confirm to the firmware upgrade granularity, and as a
result the tests are seeing NVME_FIELD_ERR_OK where they expect a bad
value error. I will file a followup and fix it, sorry about that.

Andy


  reply	other threads:[~2024-07-11 16:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-11 16:00 Dan McDonald
2024-07-11 16:12 ` [developer] " Dan McDonald
2024-07-11 16:40   ` Andy Fiddaman [this message]
2024-07-11 17:51     ` Dan McDonald

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=73ab4969-0bce-413f-b3af-90d9b2aef930@omnios.org \
    --to=andy@omnios.org \
    --cc=developer@lists.illumos.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;
as well as URLs for NNTP newsgroup(s).