From Fedora Project Wiki
(initial boxgrinder platform boxgrinder xarch test case) |
m (fix tags) |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description=A full cross-architecture build and platform conversion in one command. | ||
|setup=Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code> | |setup=Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code> | ||
|actions={{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. Check with <code>uname -i</code>. If you are on a 32 bit VM or machine, skip this Test Case!}} | |||
{{admon/tip| | {{admon/tip|If you are doing this test case using a virtual machine|You should transfer any images produced by BoxGrinder Build for testing onto your ''real'' host rather than attempting to execute a VM inside of another VM.}} | ||
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code> | # Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code> | ||
# Execute <pre>setarch i386 boxgrinder-build fedora-15-jeos.appl -p virtualbox</pre>. You may want to use another format, such as vmware or EC2, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#Platform_plugins | # Execute <pre>setarch i386 boxgrinder-build fedora-15-jeos.appl -p virtualbox</pre>. You may want to use another format, such as vmware or EC2, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#Platform_plugins | ||
# Run the produced vdi file in your favourite virtualization application: <code>build/appliances/i686/fedora/15/f15-jeos/virtualbox-plugin/f15-jeos.vdi</code> | # Run the produced vdi file in your favourite virtualization application: <code>build/appliances/i686/fedora/15/f15-jeos/virtualbox-plugin/f15-jeos.vdi</code> | ||
# Log in with user: <code>root</code> password: <code>boxgrinder</code> | # Log in with user: <code>root</code> password: <code>boxgrinder</code> | ||
# Run <pre>uname -i</ | # Run <pre>uname -i</pre>, it should be be of type i386 (32 bit). | ||
# 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= |
Revision as of 19:53, 22 April 2011
Description
A full cross-architecture build and platform conversion in one command.
Setup
Clone the BoxGrinder test appliances into a convenient location using command git clone https://github.com/msavy/boxgrinder-appliances.git
How to test
- Navigate to directory
boxgrinder-appliances/testing-appliances/jeos-appls/
- Execute
setarch i386 boxgrinder-build fedora-15-jeos.appl -p virtualbox
. You may want to use another format, such as vmware or EC2, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#Platform_plugins - Run the produced vdi file in your favourite virtualization application:
build/appliances/i686/fedora/15/f15-jeos/virtualbox-plugin/f15-jeos.vdi
- Log in with user:
root
password:boxgrinder
- Run
uname -i
, it should be be of type i386 (32 bit). - 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 #2 completes without error (indicated on console)
- Program completes with exit code 0
- Successfully boot and log into the virtualbox appliance without error
- Image has the expected architecture (i386/i686)
- QA:Network_basic_test_case is performed successfully on the new appliance