[[PageOutline]] = GEMINI Testing executed on 8/23/2012 = [[BR]] [wiki:GEMINIAcceptanceTests/TestStatus Status of All Test Runs] [[BR]] [[BR]] [[BR]] == What was tested == Today I ran two different test cases: A. I tried different configurations of the "gemini" element in the rspec: active-only, passive-only, and both active and passive. For each of these, I set both installed and enabled to "yes" for now (rather than installing without enabling and vice versa). B. I did more in-depth testing of the passive measurement configuration options. == Test Case A == || '''Step''' || '''Status''' || '''Open Tickets''' || || 1. [wiki:GEMINIAcceptanceTests/GEMINITest8.22.2012#a1.Establishtestexperimentenvironment Establish test/experiment environment] || [[Color(green, Pass)]] || || || 2. [wiki:GEMINIAcceptanceTests/GEMINITest8.22.2012#a2.ObtainsliceofGENIresources Obtain slice of GENI resources] || [[Color(green, Pass)]] || || || 2. [wiki:GEMINIAcceptanceTests/GEMINITest8.22.2012#a3.InstallandconfigureGEMINIIMtools Install and configure GEMINI I&M tools] || [[Color(red, Fail)]] || [http://groups.geni.net/gemini/ticket/6 #6] || || 3. [wiki:GEMINIAcceptanceTests/GEMINITest8.22.2012#a4.Releaseresourcesandcleanup Release resources, and cleanup] || [[Color(green, Pass)]] || || == Test Case B == || '''Step''' || '''Status''' || '''Open Tickets''' || || || || || == Test Case A Details == === 1. Establish test/experiment environment === ==== User Workspace ==== * Using the GEC14 Tutorial VM * Inputs: * GENI certificate * Two formats: PEM and PKC12 * installed in $HOME/.ssl * location of PEM file configured in omni_config * stripped the passphrase for automation * created the password file to be used by instrumentize.py * SSH key pair * installed in $HOME/.ssh * location configured in omni_config * key added to ssh-agent * All credentials configured using credconfig.sh script * GENI pkc12 certificate installed in the Firefox browser * [http://groups.geni.net/geni/wiki/GEMINIFirefoxCertInstall] * Outputs: * omni.py ready to use * ready to log into nodes in the slice ==== UNIS server ==== * https://unis.incntre.iu.edu:8012/perfSONAR_PS/services/unis ==== LAMP CA ==== * https://unis.incntre.iu.edu/protogeni/xmlrpc/lampca === 2. Obtain slice of GENI resources === * Used omni to create the slice and the sliver on UKY Protogeni aggregate * Rspec includes a gemini element for each node describing what services should be installed and enabled. I tried three different configurations; same config for each node: * Both active and passive {{{ }}} * Active-only {{{ }}} * Passive-only {{{ }}} * Made sure I could ssh in to all of the nodes without a password * Inputs: * [https://github.com/GENI-GEMINI/UW/blob/master/gec14.xml rspec] * modified gemini element for each case * Output: * slice manifest * slice login information === 3. Install and configure GEMINI I&M tools === * Run instrumentize.py to install and configure GEMINI tools on the nodes in the slice * Instrumentize succeeded in approximately 15 minutes for the active-only and both cases. * For the passive-only case, the instrumentize completed prematurely with the following traceback {{{ Traceback (most recent call last): File "./instrumentize.py", line 327, in gemini_util.install_Active_measurements(my_manager["nodes_sliver_urn"],my_manager["GN_sliver_urn"],username,USERURN,SLICEURN,my_manager["LAMPCERT"],LOGFILE,keyfile,debug) File "/home/geniuser/src/UW/gemini_util.py", line 1404, in install_Active_measurements if (nodes_sliver_urns[node_sliver_urn]["active"]["enable"] != 'yes'): KeyError: 'enable' }}} * Inputs: * slice name * certificate file * Output: * portal username and password * all nodes are ready to run the experiment * phoebus installed * Appropriate GEMINI tools installed * able to log into the GEMINI portal [[Image(wiki:GEMINIAcceptanceTests/GEMINITest8.22.2012:GEMINIPortal.png)]] === 4. Release resources, and cleanup === * Used omni to delete the sliver {{{ geniuser@UserWorkspace:~/Tutorials/GEMINI/common$ omni.py -a pg-ky deletesliver johGEM1208221147 INFO:omni:Loading config file /home/geniuser/.gcf/omni_config INFO:omni:Using control framework pg INFO:omni:Substituting AM nickname pg-ky with URL https://www.uky.emulab.net/protogeni/xmlrpc/am, URN unspecified_AM_URN INFO:omni:Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1208221147 on unspecified_AM_URN at https://www.uky.emulab.net/protogeni/xmlrpc/am INFO:omni: ------------------------------------------------------------ INFO:omni: Completed deletesliver: Options as run: aggregate: pg-ky framework: pg native: True Args: deletesliver johGEM1208221147 Result Summary: Deleted sliver urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+johGEM1208221147 on unspecified_AM_URN at https://www.uky.emulab.net/protogeni/xmlrpc/am INFO:omni: ============================================================ }}} * Inputs: * slice name * Outputs: * sliver has been deleted == Test Case B Details ==