Create advisory installation validation test cases for VirtualBox #284
Labels
No labels
agile
anacondawebui
arm
blockerfe
Closed As
Duplicate
Closed As
Fixed
Closed As
Invalid
Closed As
Wontfix
Closed As
Worksforme
coreos
criteria
defect
easyfix
enhancement
iot
meeting
meta
onboarding call
proventesters
retrospective
silverblue
sponsor
test cases
test days
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quality/tickets#284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Although kernel team (and the rest of the development team) specifically don't want to commit to supporting VirtualBox, the practical fact is that a lot of people like to run Fedora in VirtualBox, and we don't at present have formal testing in place to find out if it's actually working during release validation.
In practice, we usually find out about any bugs via people trying it and then posting their results to test@ or the forums, but this is pretty rough and ready and it's easy to lose the information. If we add formal VBox testing to the release validation process we'll probably find out about VBox fails sooner and do a better job of tracking them for possible fixes or at least documentation at release time.
So, ideally, we should write test cases for deploying Fedora as a VBox guest (and possibly using it as a VBox host), and add these to the installation validation matrix as 'advisory' tests (tests not associated with Alpha, Beta or Final release phases, and without a corresponding release criterion).
Dan Mashal, who I hope I've added to CC, is interested in this topic and may choose to be an awesome rock star and contribute the test cases :)
Replying to [comment:1 robatino]:
I see one major problem with your wish: no one to fullfill it.
VirtualBox team will say they don't support unreleased OS.
Fedora team will say, that vbox is not part of upstream kernel and not part of Fedora. End of story.
The only person, that can attempt to fullfill it is you.
-Technologov
VirtualBox community member.
So first simple test case is to try to get VirtualBox guest additions to install on a Fedora guest (host OS should not matter):BR
BR
BR
Steps to test:BR
BR
BR
http://fpaste.org/J7Tn/ BR
BR
vbox additions installation log
vboxadd-install.log
Example of VirtualBox guest additions failing on Fedora 17 alpha:BR
BR
BR
[root@Fedora17 media]# ./VBoxLinuxAdditions.run BR
Verifying archive integrity... All good.BR
Uncompressing VirtualBox 4.1.8 Guest Additions for Linux.........BR
VirtualBox Guest Additions installerBR
Removing installed version 4.1.8 of VirtualBox Guest Additions...BR
Removing existing VirtualBox DKMS kernel modules [ OK ]BR
Removing existing VirtualBox non-DKMS kernel modules [ OK ]BR
Building the VirtualBox Guest Additions kernel modulesBR
Building the main Guest Additions module [ OK ]BR
Building the shared folder support module [ OK ]BR
Building the OpenGL support module [FAILED]BR
(Look at /var/log/vboxadd-install.log to find out what went wrong)BR
Doing non-kernel setup of the Guest Additions [ OK ]BR
Installing the Window System driversBR
Warning: unsupported pre-release version of X.Org Server installed. Not
installing the X.Org drivers.BR
Installing modules [ OK ]BR
Installing graphics libraries and desktop services componen[ OK ]BR
[root@Fedora17 media]# BR
Current Red Hat policy disallows to support out-of-tree kernel modules.
One possible (long-term) solution is: port VirtualBox to KVM, resulting to VirtualBox/KVM (just like Qemu/KVM).
Needless to say, that I expect both Oracle and Red Hat to refuse this idea (for political reasons), but here it is:
https://forums.virtualbox.org/viewtopic.php?f=9&t=47825
-Technologov
technologv: we're well aware of the limitations to how much 'support' Fedora and VBox can possibly have for each other given the policies you mention, but that's really okay. What we want from a QA perspective is to know with certainty whether VBox is working when we do a Fedora (pre-)release, to know what issues are preventing it working if it's not working, to document those issues together with any potential workarounds, and to file them with the appropriate project if they are issues that are actually amenable to being fixed.
The existence of test cases does not imply that we require or even expect VBox to be working. That's not the case. Rather, we just want to be systematic and consistent about knowing whether or not it's working, and if not, why not.
vicodan: comment #3 looks like a good start for a test case. However, can you draft up your test cases as wiki pages, using the test case wiki template, as recommended in https://fedoraproject.org/wiki/QA:SOP_test_case_creation ? You can look at, say, https://fedoraproject.org/w/index.php?title=QA:Testcase_Install_to_Current_KVM&action=edit as a general example of the format used for a test case in the Wiki.
Not sure how important this is, but there's manual installation of the guest additions, and also automatic installation as documented at http://www.virtualbox.org/manual/ch04.html#idp11277648 . The latter appears to only work under F15 and F16, but not F17 or Rawhide. Manual installation seems to work for all of them (except that for F17 and Rawhide, getting the OpenGL support module to build requires the workaround at http://freeoracletrainings.com/index.php/blogs/item/15-install-guest-additions-building-the-opengl-support-module-failed . (There is a ticket for this issue at https://www.virtualbox.org/ticket/10293 .)
robatino: Thank you for your reply but this actually does not fix the problem and breaks X windows.
If you have any other possible solutions they would be appreciated. The main problem I'm seeing is when compiling from source there are sections in their makefiles that check for the kernel version and build appropriately. Some modules were updated for kernel 3.2 but not all and on Fedora 17 we are using 3.3 and a prerelease version of X.org.
Replying to [comment:10 vicodan]:
Assuming you're talking about the OpenGL error, can you add this information to https://www.virtualbox.org/ticket/10293 ? (Superficially at least it seems to work for me - after setting $MAKE, the guest additions appear to build without error and X seems to work normally - or at least as normally as it did before, given the "Oh no" screens that frequently appear either way.)
Metadata Update from @adamwill:
this...would still be useful, honestly.
Metadata Update from @adamwill:
Metadata Update from @adamwill:
OK, there's my good deed for the day. Added to the matrix, too.
Metadata Update from @adamwill: