From Fedora Project Wiki

m (fix tags)
m (fix capitalisation, some layout issues)
Line 10: Line 10:
# 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</pre>, it should be be of type i386 (32 bit).
# Executing <code>uname -i</code> should indicate 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=
Line 16: Line 16:
# Step #2 completes without error (indicated on console)
# Step #2 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
# Image has the expected architecture (i386/i686)
# Image has 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
}}
}}

Revision as of 19:55, 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. Executing uname -i should indicate 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