From Fedora Project Wiki

Revision as of 19:47, 22 April 2011 by Msavy (talk | contribs) (initial boxgrinder platform boxgrinder xarch test case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

We are doing 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

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.

How to test

  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).

# 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