From Fedora Project Wiki

m (change <code> to <pre> for a sample that the user should execute)
m (missing word)
Line 4: Line 4:
{{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=
|actions=
{{admon/note|Ensure your virtualization program supports VDI files|Please ensure your virtualization supports VirtualBox's VDI format, a wide variety do.  If not, you can VirtualBox OSE through your package manager.}}
{{admon/note|Ensure your virtualization program supports VDI files|Please ensure your virtualization supports VirtualBox's VDI format, a wide variety do.  If not, you can download VirtualBox OSE through your package manager.}}
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# Execute <pre>boxgrinder-build fedora-15-jeos.appl -p virtualbox</pre>
# Execute <pre>boxgrinder-build fedora-15-jeos.appl -p virtualbox</pre>

Revision as of 14:45, 22 April 2011

Description

We are converting the JEOS build to the virtualbox platform format.

Setup

Clone the BoxGrinder test appliances into a convenient location using command git clone https://github.com/msavy/boxgrinder-appliances.git

Idea.png
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

Note.png
Ensure your virtualization program supports VDI files
Please ensure your virtualization supports VirtualBox's VDI format, a wide variety do. If not, you can download VirtualBox OSE through your package manager.
  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. Execute
    boxgrinder-build fedora-15-jeos.appl -p virtualbox
  3. Run the produced vdi file in your favourite virtualization application. Remember to replace $basearch in the path with your specific architecture, for instance via uname -i: build/appliances/$basearch/fedora/15/f15-jeos/virtualbox-plugin/f15-jeos.vdi
  4. Log in with user: root password: boxgrinder
  5. 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 vmware appliance without error
  4. QA:Network_basic_test_case is performed successfully on the new appliance