Changes between Initial Version and Version 1 of GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-EXP-1


Ignore:
Timestamp:
12/08/14 10:07:18 (9 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/CiscoGENIRacks/AcceptanceTestStatus/CG-EXP-1

    v1 v1  
     1[[PageOutline]]
     2
     3= CG-EXP-1 GENI AM API Compliance =
     4
     5[http://groups.geni.net/geni/wiki/GAPI_AM_API_V2 GENI AM API v2] tests for NCSU2 and NCSU Cisco racks.
     6
     7
     8== Version Details ==
     9
     10Collect getversion information to verify that NCSU is running the same Orca version as NCSU2.
     11{{{
     12$ omni getversion -a ncsu-eg -o ; omni getversion -a ncsu2-eg -o
     13$ egrep orca_version getversion-exogeni-net-ncsu*
     14getversion-exogeni-net-ncsu2vmsite.json:    'orca_version': 'ORCA Dungeness: v.4.0-SNAPSHOT.build-6427'}
     15getversion-exogeni-net-ncsuvmsite.json:    'orca_version': 'ORCA Dungeness: v.4.0-SNAPSHOT.build-6427'}
     16}}}
     17Both racks are running the same version.
     18
     19Verify compute resources available in NCSU2 rack:
     20{{{
     21$ omni listresources -a ncsu2-eg -o; egrep "node c" rspec-exogeni-net-ncsu2vmsite.xml
     22<node component_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+node+orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:ncsu2vmsite+authority+am" component_name="orca-vm-cloud" exclusive="false">
     23<node component_id="urn:publicid:IDN+exogeni.net:ncsu2Net+node+orca-transit-net-vlan" component_manager_id="urn:publicid:IDN+exogeni.net:ncsu2Net+authority+am" component_name="orca-transit-net-vlan" exclusive="false">
     24}}}
     25
     26Verify compute resources available in NCSU rack:
     27{{{
     28$ omni listresources -a ncsu-eg -o; egrep "node c" rspec-exogeni-net-ncsuvmsite.xml
     29<node component_id="urn:publicid:IDN+exogeni.net:ncsuvmsite+node+unknown" component_manager_id="urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am" component_name="unknown" exclusive="false">
     30<node component_id="urn:publicid:IDN+exogeni.net:ncsuvmsite+node+orca-vm-cloud" component_manager_id="urn:publicid:IDN+exogeni.net:ncsuvmsite+authority+am" component_name="orca-vm-cloud" exclusive="false">
     31}}}
     32
     33'''Note: What is "unknown" component_id for both NCSU and NCSU2?'''
     34
     35
     36= CG-EXP-1a GENI AM API Compliance - NCSU2 =
     37
     38This test verifies compliance for the '''NCSU2 Cisco rack'''.
     39
     40
     41== Unbound Compute Resources ==
     42
     43The AM API Acceptance test results for NCSU2:
     44{{{
     45lnevers@sendaria:~/gcf-2.7/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest --un-bound
     46E.E..........
     47======================================================================
     48ERROR: test_CreateSliver: Passes if the sliver creation workflow succeeds.
     49----------------------------------------------------------------------
     50Traceback (most recent call last):
     51  File "./am_api_accept.py", line 773, in test_CreateSliver
     52    self.subtest_CreateSliverWorkflow()
     53  File "./am_api_accept.py", line 803, in subtest_CreateSliverWorkflow
     54    numslivers, manifest, slivers = self.subtest_generic_CreateSliver( slicename, doProvision, doPOA, expectedExpiration=sliceExpiration )
     55  File "./am_api_accept.py", line 1881, in subtest_generic_CreateSliver
     56    numslivers, manifest = self.subtest_CreateSliver( slicename )
     57  File "./am_api_accept.py", line 1610, in subtest_CreateSliver
     58    text, manifest = self.call(omniargs, self.options_copy)
     59  File "/home/lnevers/gcf-2.7/src/omni_unittest.py", line 172, in call
     60    ret_val = omni.call( cmd, options=options, verbose=True )
     61  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 719, in call
     62    return API_call( framework, config, args, opts, verbose=verbose )
     63  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 793, in API_call
     64    result = handler._handle(args)
     65  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/handler.py", line 90, in _handle
     66    (message, val) = getattr(self.amhandler,call)(args[1:])
     67  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 1840, in createsliver
     68    (result, message) = self._retrieve_value(result, message, self.framework)
     69  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5382, in _retrieve_value
     70    self._raise_omni_error(message, AMAPIError, result)
     71  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5486, in _raise_omni_error
     72    raise err, (msg, triple)
     73AMAPIError: AMAPIError: Error from Aggregate: code 2: Embedding workflow ERROR: 1:No available resources in domain: http://geni-orca.renci.org/owl/ncsuvmsite.rdf#ncsuvmsite/Domain/vlan:vlan; Requested: vlan:1.
     74 Please see https://geni-orca.renci.org/trac/wiki/orca-errors for possible solutions..
     75
     76======================================================================
     77ERROR: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices
     78----------------------------------------------------------------------
     79Traceback (most recent call last):
     80  File "./am_api_accept.py", line 1141, in test_CreateSliverWorkflow_multiSlice
     81    createReturn = self.subtest_generic_CreateSliver( slicenames[i], expectedExpiration=sliceExpiration )
     82  File "./am_api_accept.py", line 1881, in subtest_generic_CreateSliver
     83    numslivers, manifest = self.subtest_CreateSliver( slicename )
     84  File "./am_api_accept.py", line 1610, in subtest_CreateSliver
     85    text, manifest = self.call(omniargs, self.options_copy)
     86  File "/home/lnevers/gcf-2.7/src/omni_unittest.py", line 172, in call
     87    ret_val = omni.call( cmd, options=options, verbose=True )
     88  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 719, in call
     89    return API_call( framework, config, args, opts, verbose=verbose )
     90  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 793, in API_call
     91    result = handler._handle(args)
     92  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/handler.py", line 90, in _handle
     93    (message, val) = getattr(self.amhandler,call)(args[1:])
     94  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 1840, in createsliver
     95    (result, message) = self._retrieve_value(result, message, self.framework)
     96  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5382, in _retrieve_value
     97    self._raise_omni_error(message, AMAPIError, result)
     98  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5486, in _raise_omni_error
     99    raise err, (msg, triple)
     100AMAPIError: AMAPIError: Error from Aggregate: code 2: Embedding workflow ERROR: 1:No available resources in domain: http://geni-orca.renci.org/owl/ncsuvmsite.rdf#ncsuvmsite/Domain/vlan:vlan; Requested: vlan:1.
     101 Please see https://geni-orca.renci.org/trac/wiki/orca-errors for possible solutions..
     102
     103----------------------------------------------------------------------
     104Ran 13 tests in 210.520s
     105
     106FAILED (errors=2)
     107}}}
     108
     109''' Note: no compliance problem, only a lack or VLAN resources is reported... investigating'''
     110
     111The AM API Acceptance test results for NCSU:
     112{{{
     113$ ./am_api_accept.py -a am-undertest --un-bound
     114E.E..........
     115======================================================================
     116ERROR: test_CreateSliver: Passes if the sliver creation workflow succeeds.
     117----------------------------------------------------------------------
     118Traceback (most recent call last):
     119  File "./am_api_accept.py", line 773, in test_CreateSliver
     120    self.subtest_CreateSliverWorkflow()
     121  File "./am_api_accept.py", line 929, in subtest_CreateSliverWorkflow
     122    self.subtest_generic_RenewSliver_many( slicename )
     123  File "./am_api_accept.py", line 1933, in subtest_generic_RenewSliver_many
     124    self.subtest_RenewSliver_many( slicename )
     125  File "./am_api_accept.py", line 1410, in subtest_RenewSliver_many
     126    self.subtest_RenewSliver( slicename, twodays )
     127  File "./am_api_accept.py", line 1375, in subtest_RenewSliver
     128    text, (succList, failList) = self.call(omniargs, self.options_copy)
     129  File "/home/lnevers/gcf-2.7/src/omni_unittest.py", line 172, in call
     130    ret_val = omni.call( cmd, options=options, verbose=True )
     131  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 719, in call
     132    return API_call( framework, config, args, opts, verbose=verbose )
     133  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 793, in API_call
     134    result = handler._handle(args)
     135  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/handler.py", line 90, in _handle
     136    (message, val) = getattr(self.amhandler,call)(args[1:])
     137  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 2749, in renewsliver
     138    (res, message) = self._retrieve_value(res, message, self.framework)
     139  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5382, in _retrieve_value
     140    self._raise_omni_error(message, AMAPIError, result)
     141  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5486, in _raise_omni_error
     142    raise err, (msg, triple)
     143AMAPIError: AMAPIError: Error from Aggregate: code 1: renewSlice(): renewal term shorter than original slice end is not valid..
     144
     145======================================================================
     146ERROR: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices
     147----------------------------------------------------------------------
     148Traceback (most recent call last):
     149  File "./am_api_accept.py", line 1267, in test_CreateSliverWorkflow_multiSlice
     150    self.subtest_generic_RenewSliver_many( slicenames[i] )
     151  File "./am_api_accept.py", line 1933, in subtest_generic_RenewSliver_many
     152    self.subtest_RenewSliver_many( slicename )
     153  File "./am_api_accept.py", line 1410, in subtest_RenewSliver_many
     154    self.subtest_RenewSliver( slicename, twodays )
     155  File "./am_api_accept.py", line 1375, in subtest_RenewSliver
     156    text, (succList, failList) = self.call(omniargs, self.options_copy)
     157  File "/home/lnevers/gcf-2.7/src/omni_unittest.py", line 172, in call
     158    ret_val = omni.call( cmd, options=options, verbose=True )
     159  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 719, in call
     160    return API_call( framework, config, args, opts, verbose=verbose )
     161  File "/home/lnevers/gcf-2.7/src/gcf/oscript.py", line 793, in API_call
     162    result = handler._handle(args)
     163  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/handler.py", line 90, in _handle
     164    (message, val) = getattr(self.amhandler,call)(args[1:])
     165  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 2749, in renewsliver
     166    (res, message) = self._retrieve_value(res, message, self.framework)
     167  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5382, in _retrieve_value
     168    self._raise_omni_error(message, AMAPIError, result)
     169  File "/home/lnevers/gcf-2.7/src/gcf/omnilib/amhandler.py", line 5486, in _raise_omni_error
     170    raise err, (msg, triple)
     171AMAPIError: AMAPIError: Error from Aggregate: code 1: renewSlice(): renewal term shorter than original slice end is not valid..
     172
     173----------------------------------------------------------------------
     174Ran 13 tests in 674.790s
     175
     176FAILED (errors=2)
     177}}}
     178'''NOTE: New issue... Investigating'''
     179
     180
     181== Bound Compute Resource ==
     182
     183
     184= CG-EXP-1b GENI AM API Compliance - NCSU =
     185
     186This test verifies compliance for the '''NCSU Cisco rack'''.
     187
     188
     189
     190== Unbound Compute Resources ==
     191
     192The AM API Acceptance test results:
     193{{{
     194
     195}}}
     196== Bound Compute Resource ==
     197
     198