From Fedora Project Wiki

m (fix copy and paste error - type: personal)
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=We are converting the JEOS build to the vmware platform format.
|description=We are converting the JEOS build to the vmware 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=
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]]
# Put the following BoxGrinder config into a file named: <code>/root/.boxgrinder/config</code>


Put the following BoxGrinder config into a file named: <code>~/.boxgrinder/config</code> <pre>
<pre>
plugins:
plugins:
   vmware:
   vmware:
Line 10: Line 12:
</pre>
</pre>


{{admon/tip|Choose the right $HOME|Please note the location of $HOME (~/) will vary depending upon the manner in which you elevated to root privileges. Ensure you place the configuration file in the correct location for your preferred method.}}
{{admon/warning|BoxGrinder Build config file location|The default location for this file is <code>/root/.boxgrinder/config</code>. You can put this file in different location by specifying <code>BG_CONFIG_FILE</code> environment variable.}}
 
{{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=
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# [[Test_Day:2011-04-28_Cloud_SIG_BoxGrinder_Build#Prepare your environment|Prepare your environment]]
# Execute <pre>boxgrinder-build fedora-15-jeos.appl -p vmware</pre>
# Execute: <pre>boxgrinder-build testing-appliances/jeos-appls/fedora-15-jeos.appl -p vmware --trace</pre>
# Run the produced vmdk/vmx files in your favourite virtualization application. Replace '''$basearch''' in the paths with your architecture, for instance via '''<code>uname -i</code>''': <code>build/appliances/$basearch/fedora/15/f15-jeos/vmware-plugin/f15-jeos.vmdk</code> and <code>build/appliances/$basearch/fedora/15/f15-jeos/vmware-plugin/f15-jeos.vmx</code>
# Produced appliance can be found in <code>build/appliances/$ARCH/fedora/15/fedora-15-jeos/vmware-plugin/</code>. Run the appliance in VMware software your choice (Fusion, Workstation, Player, Server).
# 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]]

Revision as of 08:55, 23 April 2011

Description

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

Setup

  1. Prepare your environment
  2. Put the following BoxGrinder config into a file named: /root/.boxgrinder/config
plugins:
  vmware:
    type: personal
    thin_disk: true
Warning.png
BoxGrinder Build config file location
The default location for this file is /root/.boxgrinder/config. You can put this file in different location by specifying BG_CONFIG_FILE environment variable.

How to test

  1. Prepare your environment
  2. Execute:
    boxgrinder-build testing-appliances/jeos-appls/fedora-15-jeos.appl -p vmware --trace
  3. Produced appliance can be found in build/appliances/$ARCH/fedora/15/fedora-15-jeos/vmware-plugin/. Run the appliance in VMware software your choice (Fusion, Workstation, Player, Server).
  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