Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1352556

Summary: [virtio-win] RHEL7.3 virtio-win test plan review tracker
Product: Red Hat Enterprise Linux 7 Reporter: Yu Wang <wyu>
Component: virtio-winAssignee: Amnon Ilan <ailan>
virtio-win sub component: virtio-win-prewhql QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: crobinso, ghammer, lijin, lprosek, vrozenfe, wyu, ymankad, yvugenfi
Version: 7.3Keywords: TestOnly
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-06 06:59:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
test_plan_for_virtiowin none

Description Yu Wang 2016-07-04 10:19:26 UTC
Created attachment 1175952 [details]
test_plan_for_virtiowin

Description of problem:

 RHEL7.3 virtio-win test plan review tracker


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Vadim Rozenfeld 2016-07-07 01:48:09 UTC
viostor test plan - all good. 

Sign-off.
Vadim.

However I have a couple of small notes:
1. "2 Driver Mapping Table" - in 7.3 we should have Win10 directory for
    Win10 & WS2016 drivers.
2. "5 Function Test Scenarios - "scsi=off|on" flag is almost irrelevant for Windows, since Windows virtio-blk driver doesn't honour this flag.
3. "5 Function Test Scenarios - some Hot plug\unplug tests will fail if we go through hibernate\resume cycles. It's a known problem.

Comment 3 Yu Wang 2016-07-07 02:16:01 UTC
(In reply to Vadim Rozenfeld from comment #2)
> viostor test plan - all good. 
> 
> Sign-off.
> Vadim.
> 
> However I have a couple of small notes:
> 1. "2 Driver Mapping Table" - in 7.3 we should have Win10 directory for
>     Win10 & WS2016 drivers.
> 2. "5 Function Test Scenarios - "scsi=off|on" flag is almost irrelevant for
> Windows, since Windows virtio-blk driver doesn't honour this flag.
> 3. "5 Function Test Scenarios - some Hot plug\unplug tests will fail if we
> go through hibernate\resume cycles. It's a known problem.

Hi Vadim,

Thanks for your reply, I will modify the test plan according to your notes.

BR
Yu Wang

Comment 4 Vadim Rozenfeld 2016-07-07 05:44:49 UTC
vioscsi test plan - looks good.

Sign-off.
Vadim.

Just like in the viostor case, Win10 directory should be used for installing drivers on WS2016.

Best regards,
Vadim.

Comment 5 Yu Wang 2016-07-08 03:15:57 UTC
Hi Yan,

Could you please review the test plan for netkvm?

test plan refer to the attachment.


Thanks
Yu Wang

Comment 6 Vadim Rozenfeld 2016-07-08 04:10:20 UTC
Both balloon and virtio-serial tests are fine.

Sign-off.
Vadim.

Some thoughts regarding to balloon and vioserial functional testing. It is worth
running some of the functional tests (like balloon inflating/deflating and disable/enable cycles under heavy load or memory overcommitment condition.
The same also true for vioserial as well, except for that in this case we should 
check read/write instead of inflating/deflating).

Comment 7 Vadim Rozenfeld 2016-07-08 04:11:38 UTC
Both balloon and virtio-serial tests are fine.

Sign-off.
Vadim.

Some thoughts regarding to balloon and vioserial functional testing. It is worth
running some of the functional tests (like balloon inflating/deflating and disable/enable cycles under heavy load or memory overcommitment condition.
The same also true for vioserial as well, except for that in this case we should 
check read/write instead of inflating/deflating).

Comment 8 Yvugenfi@redhat.com 2016-07-12 10:52:58 UTC
In general looks OK. I have several comments\questions:

1. Vadim - will we have binary for Windows 10 only (due to signature)? In this case driver map should change. And we will have Win10 directory for Windows 10 and Server 2016.

2. We need to test the device\driver with different configurations:

* Muti-queue \ Single queue

* Legacy virtio \ virtio 1.0 - this variation relates to all drivers, not only networking.

Comment 9 Vadim Rozenfeld 2016-07-12 12:35:02 UTC
(In reply to Yan Vugenfirer from comment #8)
> In general looks OK. I have several comments\questions:
> 
> 1. Vadim - will we have binary for Windows 10 only (due to signature)? In
> this case driver map should change. And we will have Win10 directory for
> Windows 10 and Server 2016.

Good point. Current only virtio-input, balloon, virtio-serial, virtio-blk and virtio-scsi have Server10_x64 OS mask specified. I will check and fix the rest.
  
> 
> 2. We need to test the device\driver with different configurations:
> 
> * Muti-queue \ Single queue
> 
> * Legacy virtio \ virtio 1.0 - this variation relates to all drivers, not
> only networking.

Comment 10 Yu Wang 2016-07-13 09:38:32 UTC
(In reply to Yan Vugenfirer from comment #8)
> In general looks OK. I have several comments\questions:
> 
> 1. Vadim - will we have binary for Windows 10 only (due to signature)? In
> this case driver map should change. And we will have Win10 directory for
> Windows 10 and Server 2016.
> 
> 2. We need to test the device\driver with different configurations:
> 
> * Muti-queue \ Single queue
> 
> * Legacy virtio \ virtio 1.0 - this variation relates to all drivers, not
> only networking.

Yes, we tested with muti-queue and single queue for different guest OS (generally random test), the same test matrix as virtio/virtio1.0. And we will add virtio/virtio 1.0 to all the virtio drivers.


Thanks 
Yu Wang

Comment 11 Yvugenfi@redhat.com 2016-07-13 15:01:29 UTC
(In reply to Yu Wang from comment #10)
> (In reply to Yan Vugenfirer from comment #8)
> > In general looks OK. I have several comments\questions:
> > 
> > 1. Vadim - will we have binary for Windows 10 only (due to signature)? In
> > this case driver map should change. And we will have Win10 directory for
> > Windows 10 and Server 2016.
> > 
> > 2. We need to test the device\driver with different configurations:
> > 
> > * Muti-queue \ Single queue
> > 
> > * Legacy virtio \ virtio 1.0 - this variation relates to all drivers, not
> > only networking.
> 
> Yes, we tested with muti-queue and single queue for different guest OS
> (generally random test), the same test matrix as virtio/virtio1.0. And we
> will add virtio/virtio 1.0 to all the virtio drivers.
> 
> 
> Thanks 
> Yu Wang

Then the test plan is good from my point of view.

Sign-off.

Comment 12 Yu Wang 2016-07-14 05:06:43 UTC
Hi Gal,

Could you please review the test plan for viorng and pvpanic?

Thanks
Yu Wang

Comment 13 Gal Hammer 2016-07-14 08:51:50 UTC
PVPanic:

- Does the driver mapping for Win8 is current? I thought Win2016 should be Win10.

RNG:

- Driver mapping table is missing Win10.
- "[virtio-win][viorng] assign illegal values to viorng parameter" does it belong to the driver tests? It is handled by QEMU.

Other than these looks okay. Thanks.

Comment 14 Yu Wang 2016-07-14 09:47:18 UTC
(In reply to Gal Hammer from comment #13)
> PVPanic:
> 
> - Does the driver mapping for Win8 is current? I thought Win2016 should be
> Win10.

QE have updated this to win10 on our side, thanks for reminder.

> 
> RNG:
> 
> - Driver mapping table is missing Win10.
> - "[virtio-win][viorng] assign illegal values to viorng parameter" does it
> belong to the driver tests? It is handled by QEMU.

Okey, QE will remove this case, and change driver mapping table.

> 
> Other than these looks okay. Thanks.

Comment 15 Yu Wang 2016-07-15 01:48:15 UTC
(In reply to Vadim Rozenfeld from comment #6)
> Both balloon and virtio-serial tests are fine.
> 
> Sign-off.
> Vadim.
> 
> Some thoughts regarding to balloon and vioserial functional testing. It is
> worth
> running some of the functional tests (like balloon inflating/deflating and
> disable/enable cycles under heavy load or memory overcommitment condition.

for balloon inflating/deflating, we have case called "Enlarge/Evict guest's memory", is that satisfy your requirement?

for disable/enable cycles under heavy load or memory overcommitment condition , we will add a case like"disable/enable balloon in a loop during guest play videos." Is that ok?

> The same also true for vioserial as well, except for that in this case we
> should 
> check read/write instead of inflating/deflating).

for serial, we have a case like  "transfer 4M file via serial port", and will add "disable/enable during transfer 4M file via serial port" , is that ok? or any other suggestion?

Comment 16 Vadim Rozenfeld 2016-07-15 03:10:21 UTC
(In reply to Yu Wang from comment #15)
> (In reply to Vadim Rozenfeld from comment #6)
> > Both balloon and virtio-serial tests are fine.
> > 
> > Sign-off.
> > Vadim.
> > 
> > Some thoughts regarding to balloon and vioserial functional testing. It is
> > worth
> > running some of the functional tests (like balloon inflating/deflating and
> > disable/enable cycles under heavy load or memory overcommitment condition.
> 
> for balloon inflating/deflating, we have case called "Enlarge/Evict guest's
> memory", is that satisfy your requirement?
> 
> for disable/enable cycles under heavy load or memory overcommitment
> condition , we will add a case like"disable/enable balloon in a loop during
> guest play videos." Is that ok?
> 
> > The same also true for vioserial as well, except for that in this case we
> > should 
> > check read/write instead of inflating/deflating).
> 
> for serial, we have a case like  "transfer 4M file via serial port", and
> will add "disable/enable during transfer 4M file via serial port" , is that
> ok? or any other suggestion?

All good.
Thanks,
Vadim.

Comment 17 Jeff Nelson 2016-08-04 21:21:53 UTC
Sorry, this fell off my radar.

In comment 2 (viostor plan), Vadim writes:
>"2 Driver Mapping Table" - in 7.3 we should have Win10 directory for
>   Win10 & WS2016 drivers.

In comment 4 (vioscsi plan), Vadim writes:
>Just like in the viostor case, Win10 directory should be used for installing >drivers on WS2016.

To make it easy for RHEV and RHOS, the virtio-win rpm packing scripts will put the windows 10 drivers in two directories, one for Win10 and one for WS2016. The files in each directory will be identical (hard links). RHEV actually takes the virtio-win rpm and uses it as input to their own packaging algorithms. The algorithms for determining which drivers to install are keyed off the OS.

The additional WS2016 directory does not invalidate anything in the test plan or the earlier feedback from Vadim. However, QE may want to confirm that the files in the two directories are identical.

P.S. This assumes that the signed drivers returned by the Microsoft signing process actually makes a distinction between Win10 and WS2016. Since I haven't yet seen a signed driver, I don't know what it will look like. If it does not report WS2016 as a separate OS, then my comments above don't apply. In any case, there is still no impact to the test plan.

Comment 18 Vadim Rozenfeld 2016-08-04 23:47:59 UTC
(In reply to Jeff Nelson from comment #17)
> Sorry, this fell off my radar.
> 
> In comment 2 (viostor plan), Vadim writes:
> >"2 Driver Mapping Table" - in 7.3 we should have Win10 directory for
> >   Win10 & WS2016 drivers.
> 
> In comment 4 (vioscsi plan), Vadim writes:
> >Just like in the viostor case, Win10 directory should be used for installing >drivers on WS2016.
> 
> To make it easy for RHEV and RHOS, the virtio-win rpm packing scripts will
> put the windows 10 drivers in two directories, one for Win10 and one for
> WS2016. The files in each directory will be identical (hard links). RHEV
> actually takes the virtio-win rpm and uses it as input to their own
> packaging algorithms. The algorithms for determining which drivers to
> install are keyed off the OS.
> 
> The additional WS2016 directory does not invalidate anything in the test
> plan or the earlier feedback from Vadim. However, QE may want to confirm
> that the files in the two directories are identical.
> 
> P.S. This assumes that the signed drivers returned by the Microsoft signing
> process actually makes a distinction between Win10 and WS2016. Since I
> haven't yet seen a signed driver, I don't know what it will look like. If it
> does not report WS2016 as a separate OS, then my comments above don't apply.
> In any case, there is still no impact to the test plan.

That's all good. When speaking about using drivers from Win10 directory for both Win10 and WS2016 platforms I was just referencing to pre-whql build where we usually give names to subdirectories after workstation platforms (Wnet and Wlh is the only exception from this rule). But we definitely need to maintain two different directories in RPM - one for Win10, and another one for WS2016.

Vadim.

Comment 19 Ladi Prosek 2016-08-05 06:56:13 UTC
Speaking of driver mapping tables, why is vioscsi\Install\Win7 still unused? The table lists vioscsi\Install\Wlh as the version that should be installed on Win7 and 2008R2. Same question raised in BZ #1325078, comments 12 and 13.

Comment 20 Vadim Rozenfeld 2016-08-05 07:42:08 UTC
(In reply to Ladi Prosek from comment #19)
> Speaking of driver mapping tables, why is vioscsi\Install\Win7 still unused?
> The table lists vioscsi\Install\Wlh as the version that should be installed
> on Win7 and 2008R2. Same question raised in BZ #1325078, comments 12 and 13.

Good catch. You are absolutely right. Before 7,3 there were no difference between Wlh and Win7 (as well as Win8) versions of virtio-scsi driver. Nowadays, with introducing multiqueue support, the situation has been changed toward spiting one single version suitable for Win7 and Wlh into two different drivers.

Comment 21 Ladi Prosek 2016-08-05 13:19:35 UTC
(In reply to Vadim Rozenfeld from comment #20)
> (In reply to Ladi Prosek from comment #19)
> > Speaking of driver mapping tables, why is vioscsi\Install\Win7 still unused?
> > The table lists vioscsi\Install\Wlh as the version that should be installed
> > on Win7 and 2008R2. Same question raised in BZ #1325078, comments 12 and 13.
> 
> Good catch. You are absolutely right. Before 7,3 there were no difference
> between Wlh and Win7 (as well as Win8) versions of virtio-scsi driver.
> Nowadays, with introducing multiqueue support, the situation has been
> changed toward spiting one single version suitable for Win7 and Wlh into two
> different drivers.

Thanks, this change does not affect only the test plan though. We need to make sure that the rpm's are packaged correctly. Right now Win2008/vioscsi.sys, Win2008R2/vioscsi.sys, and Win7/vioscsi.sys are all hardlinks to the same file. Should I open a BZ to track it? Jeff?

Also, vioscsi is not the only such driver. Any reason why we shouldn't fix viostor, vioserial, and balloon as well?

Comment 22 lijin 2016-09-02 07:26:45 UTC
change status to verified as all test plan are signed-off