RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1983901 - [virtio-win][whql test][viostor+vioscsi] job 'Storage HBA Firmware Update' fail
Summary: [virtio-win][whql test][viostor+vioscsi] job 'Storage HBA Firmware Update' fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virtio-win
Version: 8.5
Hardware: x86_64
OS: Windows
high
medium
Target Milestone: beta
: ---
Assignee: Vadim Rozenfeld
QA Contact: menli@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1979205
TreeView+ depends on / blocked
 
Reported: 2021-07-20 06:40 UTC by menli@redhat.com
Modified: 2021-11-23 08:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-23 08:38:15 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description menli@redhat.com 2021-07-20 06:40:16 UTC
Description of problem:
job 'Storage HBA Firmware Update' fail on win2019

Version-Release number of selected component (if applicable):
qemu-kvm-6.0.0-22.module+el8.5.0+11695+95588379.x86_64
kernel-4.18.0-314.el8
virtio-win-prewhql-204


How reproducible:
100%

Steps to Reproduce:
1.boot up Win2019 with virtio-blk device(q35)
2.submit 'Storage HBA Firmware Update' to hlk-1809

Actual results:
job failed

error log:
Error 7/14/2021 11:55:21.245 PM IOCTL_STORAGE_FIRMWARE_GET_INFO - The device does not support firmware upgrade. 
File:   drivers\storage\tests\storfirmware\firmware.cpp Line: 546 
Error Type:   BOOL 
Error Code:   0x0 
Error Text:   Error 0x00000000 
End Test 7/14/2021 11:55:21.247 PM Validate firmware upgrade support information. 
Result:   Fail 
Repro:   StorFirmware -hbatest \\.\PhysicalDrive1 "Enter_Path_and_Name_of_New_Firmware_File" 


Expected results:
job can pass

Additional info:
"Storage Firmware HBA Update" in the lastest job list after load the playlist.(not run this case before)

Comment 2 Peixiu Hou 2021-07-20 10:04:27 UTC
I also hit the same issue with vioscsi driver.

The job 'Storage HBA Firmware Update' failed on win2019 server.
I tried both playlist(10/26/2020) and playlist(7/19/2020), this job both cannot be filterd.

Failed error: 
Start Test 7/19/2021 2:55:28.151 PM Get firmware information by issuing IOCTL_STORAGE_FIRMWARE_GET_INFO. 
Error 7/19/2021 2:55:28.152 PM Get Firmware Information - IOCTL_STORAGE_FIRMWARE_GET_INFO Failed. Error code: 1 
File:   drivers\storage\tests\storfirmware\firmware.cpp Line: 434 
Error Type:   BOOL 
Error Code:   0x0 
Error Text:   Error 0x00000000 
End Test 7/19/2021 2:55:28.152 PM Get firmware information by issuing IOCTL_STORAGE_FIRMWARE_GET_INFO. 
Result:   Fail 
Repro:   StorFirmware -hbatest \\.\PhysicalDrive1 "Enter_Path_and_Name_of_New_Firmware_File" 
 

Used version:
kernel-5.13.0-0.rc7.51.el9.x86_64
qemu-kvm-6.0.0-8.el9.x86_64
seabios-bin-1.14.0-5.el9.noarch
virtio-win-prewhql-204

Thanks~
Peixiu

Comment 14 Vadim Rozenfeld 2021-08-03 08:11:43 UTC
should be fixed in two PRs
https://github.com/virtio-win/kvm-guest-drivers-windows/pull/615 for vioscsi
and
https://github.com/virtio-win/kvm-guest-drivers-windows/pull/616 for viostor

Comment 16 Vadim Rozenfeld 2021-08-05 07:40:54 UTC
please give a try to build 207
https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1685166

Comment 17 menli@redhat.com 2021-08-05 07:53:30 UTC
Thanks Vadim

Try blk first with 207 still fail with new error :

error log:
Error 8/4/2021 12:37:13.369 PM Unable to open handle for firmware image file Enter_Path_and_Name_of_New_Firmware_File. 
File:   drivers\storage\tests\storfirmware\firmware.cpp Line: 1484 
Error Type:   BOOL 
Error Code:   0x0 
Error Text:   Error 0x00000000 
End Test 8/4/2021 12:37:13.370 PM Download firmware to device using IOCTL_STORAGE_FIRMWARE_DOWNLOAD. 
Result:   Fail 
Repro:   StorFirmware -hbatest \\.\PhysicalDrive1 "Enter_Path_and_Name_of_New_Firmware_File" 

entire hlkx file
http://fileshare.englab.nay.redhat.com/pub/section2/coredump/bug_1983901/

Comment 18 Vadim Rozenfeld 2021-08-05 08:11:20 UTC
Yeah, this is a funny part - "Unable to open handle for firmware image file Enter_Path_and_Name_of_New_Firmware_File. "

The test itself needs to download a new firmware from a file into the device. I was running this test manually (no from HLK studio)
and specifying some andom text file instead. I believe that we need to specifya real file name and path instead of "Enter_Path_and_Name_of_New_Firmware_File"
to pass this test.

Best,
Vadim.

Comment 24 menli@redhat.com 2021-08-09 02:44:53 UTC
Thanks all

Pass this job base comment 23 with virtio-win-prewhql-0.1-207.iso, change status to verified.

Comment 27 Peixiu Hou 2021-08-09 06:26:27 UTC
Hi Vadim,

Tested this job with vioscsi + virtio-win-prewhql-0.1-207, settings are same with comment#23 mentioned, the job can be passed.

Thanks~
Peixiu

Comment 28 Vadim Rozenfeld 2021-08-09 06:54:53 UTC
Menghuan & Peixiu
Thanks a lot for your feedback.
All the best,
Vadim.


Note You need to log in before you can comment on or make changes to this bug.