From Fedora Project Wiki

Revision as of 19:57, 22 April 2011 by Msavy (talk | contribs) (fix another layout problem)

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 BoxGrinder with setarch. You may want to use a specific platform format, such as vmware or EC2, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#Platform_plugins
    setarch i386 boxgrinder-build fedora-15-jeos.appl -p virtualbox
  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