[bug report] most of blktests nvme/ failed on the latest linux tree

Sagi Grimberg sagi at grimberg.me
Wed Jun 28 01:14:20 PDT 2023


>>
>>>> Yi,
>>>>
>>>> Do you have hostnqn and hostid files in your /etc/nvme directory?
>>>>
>>>
>>> No, only one discovery.conf there.
>>>
>>> # ls /etc/nvme/
>>> discovery.conf
>>
>> So the hostid is generated every time if it is not passed.
>> We should probably revert the patch and add it back when
>> blktests are passing.
> 
> Seems like the patch is doing exactly what it should do - fix wrong 
> behavior of users that override hostid.
> Can we fix the tests instead ?

Right, I got confused between a provided host and the default host...

I think we need to add check that /etc/nvme/[hostnqn,hostid] exist
in the test cases.



More information about the Linux-nvme mailing list