From Fedora Project Wiki
m (fix capitalisation, some layout issues) |
m (added note about KVM) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description= | ||
{{admon/note|This is Test Case is only applicable for users on x86_64 architectures|A 32 bit VM is not capable of building 64 bit images in BoxGrinder.}} | |||
A full cross-architecture build and platform conversion in one command. | |||
|setup= | |||
{{admon/ | # [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]] | ||
# Ensure you have a 64 bit operating system installed: | |||
# | <pre>uname -i</pre> | ||
|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> | |||
# 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. | |||
# Log in with user: <code>root</code> password: <code>boxgrinder</code> | # Log in with user: <code>root</code> password: <code>boxgrinder</code> | ||
# | # Execute <pre>uname -i</pre> | ||
# Run the following Test Case in the VM: [[QA:Network_basic_test_case]] | # Run the following Test Case in the VM: [[QA:Network_basic_test_case]] | ||
|results= | |results= | ||
The following must be true to consider this a successful test run. | The following must be true to consider this a successful test run. | ||
# Step # | # Step #1 completes without error (indicated on console) | ||
# Program completes with exit code 0 | # Program completes with exit code 0 | ||
# Successfully boot and log into the VirtualBox appliance without error | # 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 | # [[QA:Network_basic_test_case]] is performed successfully on the new appliance | ||
}} | }} |
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