From Fedora Project Wiki

m (virtualbox not vmware)
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=We are converting the JEOS build to the virtualbox platform format.
|description=We are converting the JEOS build to the virtualbox platform format.
|setup=Clone the BoxGrinder test appliances into a convenient location using command <code>git clone https://github.com/msavy/boxgrinder-appliances.git</code>
|setup=No setup required besides [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|preparing your environment]].
{{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 download VirtualBox OSE through your package manager.}}
# Execute: <pre>boxgrinder-build /testing-appliances/jeos-appls/fedora-15-jeos.appl -p virtualbox --trace</pre>
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# Produced disk image can be found in <code>build/appliances/$ARCH/fedora/15/fedora-15-jeos/virtualbox-plugin/</code>. Add this disk to VirtualBox drive manager, create new virtual machine using VirtualBox wizard selecting Fedora 15 as the operating system and add produced disk image as the main disk.
# Execute <pre>boxgrinder-build fedora-15-jeos.appl -p virtualbox</pre>
# Run the produced vdi file in your favourite virtualization application.  Remember to replace '''$basearch''' in the path with your specific architecture, for instance via '''<code>uname -i</code>''': <code>build/appliances/$basearch/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 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=
The following must be true to consider this a successful test run.
The following must be true to consider this a successful test run.
# Step #2 completes without error (indicated on console)
# Step #1 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
# [[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 09:00, 23 April 2011

Description

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

Setup

No setup required besides preparing your environment.

How to test

  1. Execute:
    boxgrinder-build /testing-appliances/jeos-appls/fedora-15-jeos.appl -p virtualbox --trace
  2. Produced disk image can be found in build/appliances/$ARCH/fedora/15/fedora-15-jeos/virtualbox-plugin/. Add this disk to VirtualBox drive manager, create new virtual machine using VirtualBox wizard selecting Fedora 15 as the operating system and add produced disk image as the main disk.
  3. Log in with user: root password: boxgrinder
  4. 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 #1 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. QA:Network_basic_test_case is performed successfully on the new appliance