From Fedora Project Wiki

(fix paths for rawhide)
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
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:
     type: enterprise
     type: personal
     thin_disk: true
     thin_disk: true
</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.}}


|actions=
|actions=
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# Execute: <pre>boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -p vmware --trace</pre>
# Execute <code>boxgrinder-build fedora-rawhide-jeos.appl -p vmware</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).
# Run the vmdk/vmx files <code>build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmdk</code> and <code>build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmx</code> in your favourite virtualization application. Replace '''$basearch'''' in the paths with your architecture (uname -i).  
# 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 vmware appliance without error
# Successfully boot and log into the vmware 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
}}
}}

Latest revision as of 06:17, 28 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. Execute:
    boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -p vmware --trace
  2. 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).
  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 vmware appliance without error
  4. QA:Network_basic_test_case is performed successfully on the new appliance