wiki:GENIRacksHome/ExogeniRacks/AcceptanceTestStatus/EG-EXP-2

Version 23 (modified by lnevers@bbn.com, 7 years ago) (diff)

--

EG-EXP-2: ExoGENI Single Site Acceptance Test

This page captures status for the test case EG-EXP-2, which verifies basic operations of VMs and data flows within one rack. For overall status see the ExoGENI Acceptance Test Status page.

Test Status

This section captures the status for each step in the acceptance test plan.

Step State Ticket Comments
Step 1 Color(yellow,Complete)?
Step 2 Color(yellow,Complete)? only one supported OS image is available, no image playpen
Step 3 Color(yellow,Complete)? listresources does not include list of user images feature
Step 4 Color(yellow,Complete)?
Step 5 Color(yellow,Complete)?
Step 6 Color(yellow,Complete)?
Step 7 Color(yellow,Complete)?
Step 8 Color(yellow,Complete)?
Step 9 Color(yellow,Complete)?
Step 10 Color(yellow,Complete)? 1 node at BBN, and 1 at RENCI no image playpen
Step 11 Color(yellow,Complete)?
Step 12 Color(yellow,Complete)?
Step 13 Color(yellow,Complete)?
Step 14 Color(yellow,Complete)?
Step 15 Color(yellow,Complete)?
Step 16 Color(yellow,Complete)?
Step 17 Color(yellow,Complete)?
Step 18 Color(yellow,Complete)?


State Legend Description
Color(green,Pass)? Test completed and met all criteria
Color(#98FB98,Pass: most criteria)? Test completed and met most criteria. Exceptions documented
Color(red,Fail)? Test completed and failed to meet criteria.
Color(yellow,Complete)? Test completed but will require re-execution due to expected changes
Color(orange,Blocked)? Blocked by ticketed issue(s).
Color(#63B8FF,In Progress)? Currently under test.


Prerequisites

Status for test prerequisites:

Prereq: Two GPO Ubuntu images have been tested in the ExoGENI image playpen environment and have been uploaded to the RENCI VM image repository using available ExoGENI documentation. One Ubuntu image is for the VM and one Ubuntu image is for the bare metal node in this test.

Status: Image Playpen should be available when x3650M4 nodes become available the week of 05/28.

Prereq: Traffic generation tools may be part of image or may be installed at experiment runtime.

Status: Done: Only using ping with mixed sizes and rates for now.

Prereq: Administrative accounts have been created for GPO staff on the BBN ExoGENI rack.

Status: Done

Prereq: GENI Experimenter1 and Experimenter2 accounts exist.

Status: Done. Two account already exist, lnevers@bbn.com and lnevers1@bbn.com, these will be used in all acceptance tests.

Prereq: Baseline Monitoring is in place for the entire BBN site, to ensure that any problems are quickly identified.

Status: Testing with current version of monitoring, to be re-tested when monitoring is finalized.

Test Plan Steps

Notes:

  1. Bare Metal nodes are available via ExoSM only.
  2. Bare Metal node only support one version at this time.
  3. Current test uses 1 Bare metal at BBN and 1 at RENCI.

Step 1. As Experimenter1, request ListResources from BBN ExoGENI

User account lnevers is used for this tests, and the listresources is requested as follows from the BBN ExoGENI rack Head Node:

$ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc listresources --available -o

Step 2. Review advertisement RSpec for a list of OS images which can be loaded, and identify available resources

Feature not available in ExoGENI listresources. Available image information is collected out-of-band as far as the AM API. Custom Images will be tested that not in the list resources, verification will be based on custom image successful installation and usage in the ExoGENI rack.

Step 3. Verify that the GPO Ubuntu image is available

Same as step 2.

Step 4. Define a request RSpec for two VMs, each with a GPO Ubuntu image

Create the RSpec for the two VMs.

Step 5. Create the first slice

$ ./src/omni.py createslice EG-EXP-2-exp1

Step 6. Create a sliver in the first slice, using the RSpec defined in step 4.

$ ./src/omni.py  -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc createsliver EG-EXP-2-exp1  EG-EXP-2-exp1.rspec

Verify that the sliver creation was completed, by looking for "'geni_status': 'ready'" in the output of the sliverstatus command:

$ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc sliverstatus EG-EXP-2-exp1        

Once sliver is ready, determine which hosts were assigned:

$ ./src/omni.py -a https://bbn-hn.exogeni.net:11443/orca/xmlrpc listresources EG-EXP-2-exp1 
$ egrep hostname EG-EXP-2-exp1-rspec-bbn-hn-exogeni-net-11443-orca.xml 

Step 7. Log in to each of the systems, and send traffic to the other system sharing a VLAN

$ ssh root@192.1.242.11
root@debian:~# ifconfig
root@debian:~# ping 172.16.1.1 -c 4

Step 8. Using root privileges on one of the VMs load a Kernel module.

Once logged in, show current modules loaded, load a module, and then remove the mofule:

Step 9. As Experimenter2, request ListResources from BBN ExoGENI.

User account lnevers1 will be used for this tests, and the listresources is requested as follows from the BBN ExoGENI rack Head Node:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources --available -o

Step 10. Define a request RSpec for two bare metal nodes, both using the uploaded GPO Ubuntu images.

Create the RSpec the 2 Bare metal nodes. This test is currently modified due to bare metal node availability. The RSpec used has 1 bare metal node at BBN ExoGENI and one at RENCI ExoGENI.

Step 11. Create the second slice.

$ ./src/omni.py createslice  EG-EXP-2-exp2

Step 12. Create a sliver in the second slice, using the RSpec defined in step 10.

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc createsliver EG-EXP-2-exp2 exo-2vm-1lan.rspec 

Step 13. Log in to each of the systems, and send traffic to the other system.

Verify that the sliver creation was completed, by looking for "'geni_status': 'ready'" in the output of the sliverstatus command:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc sliverstatus EG-EXP-2-exp2        

Once sliver is ready, determine which hosts were assigned:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc listresources EG-EXP-2-exp2.rspec
$ egrep hostname EG-EXP-2-exp2-rspec-geni-renci-org-11443-orca.xml

Step 14. Verify that experimenters 1 and 2 cannot use the control plane to access each other's resources

(e.g. via unauthenticated SSH, shared writable filesystem mount)

Attempt to login into other experiment fails and not able to mount other experiment file system.

Step 15. Review system statistics and VM isolation and network isolation on data plane.

Verify that the two experiments cannot interact. Review usage statistics.

Step 16. Verify that each VM has a distinct MAC address for that interface.

Issue ifconfig and verified that each host has unique MAC address.

Step 17. Verify that VMs' MAC addresses are learned on the data plane switch.

Ability to exchange traffic shows that the mac addresses are learned.

Step 18. Stop traffic and delete slivers.

Stopped traffic and deleted sliver at the ExoSM:

$ ./src/omni.py -a https://geni.renci.org:11443/orca/xmlrpc deletesliver EG-EXP-2-exp2