From Fedora Project Wiki
mNo edit summary |
m (added note about KVM) |
||
Line 8: | Line 8: | ||
<pre>uname -i</pre> | <pre>uname -i</pre> | ||
|actions= | |actions= | ||
{{admon/note|Running with KVM | You can also run this test case using KVM by changing '-p virtualbox' to '-d local' and manually registering the resulting VM with libvirt}} | |||
# Execute: <pre>setarch i386 boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -p virtualbox --trace</pre> | # Execute: <pre>setarch i386 boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -p virtualbox --trace</pre> | ||
# Produced disk image can be found in <code>build/appliances/$ARCH/fedora/15/fedora-15-jeos/virtualbox-plugin/</code>. Add this disk to VirtualBox drive manager, create new virtual machine using VirtualBox wizard selecting Fedora 15 as the operating system and add produced disk image as the main disk. Remember to select 32 bit OS. | # Produced disk image can be found in <code>build/appliances/$ARCH/fedora/15/fedora-15-jeos/virtualbox-plugin/</code>. Add this disk to VirtualBox drive manager, create new virtual machine using VirtualBox wizard selecting Fedora 15 as the operating system and add produced disk image as the main disk. Remember to select 32 bit OS. |
Latest revision as of 21:13, 28 April 2011
Description
A full cross-architecture build and platform conversion in one command.
Setup
- Prepare your environment
- Ensure you have a 64 bit operating system installed:
uname -i
How to test
- Execute:
setarch i386 boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -p virtualbox --trace
- Produced disk image can be found in
build/appliances/$ARCH/fedora/15/fedora-15-jeos/virtualbox-plugin/
. Add this disk to VirtualBox drive manager, create new virtual machine using VirtualBox wizard selecting Fedora 15 as the operating system and add produced disk image as the main disk. Remember to select 32 bit OS. - Log in with user:
root
password:boxgrinder
- Execute
uname -i
- Run the following Test Case in the VM: QA:Network_basic_test_case
Expected Results
The following must be true to consider this a successful test run.
- Step #1 completes without error (indicated on console)
- Program completes with exit code 0
- Successfully boot and log into the VirtualBox appliance without error
- Step #4 indicates the expected architecture (i386/i686)
- QA:Network_basic_test_case is performed successfully on the new appliance