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=We are doing a full cross-architecture build and platform conversion in one command.  
|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|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|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.}}


{{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. }}
|actions=
# 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</code>, it should be be of type i386 (32 bit).
# 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

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 uname -i. If you are on a 32 bit VM or machine, skip this Test Case!
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.
  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. 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
  3. Run the produced vdi file in your favourite virtualization application: build/appliances/i686/fedora/15/f15-jeos/virtualbox-plugin/f15-jeos.vdi
  4. Log in with user: root password: boxgrinder
  5. Run
    uname -i
    , it should be be of type i386 (32 bit).
  6. 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.

  1. Step #2 completes without error (indicated on console)
  2. Program completes with exit code 0
  3. Successfully boot and log into the virtualbox appliance without error
  4. Image has the expected architecture (i386/i686)
  5. QA:Network_basic_test_case is performed successfully on the new appliance