Changes between Version 13 and Version 14 of GENIRacksHome/ExogeniRacks/AggregateSurvey


Ignore:
Timestamp:
04/11/12 14:02:08 (12 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/ExogeniRacks/AggregateSurvey

    v13 v14  
    33= ExoGENI Aggregates Survey =
    44
    5 This page captures the current state of the ExoGENI Aggregate Manager functions using pgeni.gpolab.bbn.com credentials. At this time, there is a status snapshot for each of the following:
    6 
    7  * ExoGENI aggregate (via ExoSM) with GCF 1.6.1 captured on 03/20/2012
    8  * ORCA RENCI aggregate with GCF 1.5.2 as captured on 01/19/2012.
    9 
    10 Each survey has the following layout: [[BR]]
     5This page captures the current state of the ExoGENI Aggregate Manager functions using pgeni.gpolab.bbn.com credentials and GCF 1.6.1 captured.  Each survey includes: [[BR]]
    116 1. GPO Development team analysis of survey results.
    127 2. Results from the GENI AM API Acceptance Tests
    138 3. Omni commands survey.
    149
    15 Note that the output for the Omni commands is shown on the page unless too large to show, in this case output is attached to this page.
     10
     11= Status 04/11/2012 =
     12
     13== GPO Dev Team Analysis ==
     14To be added soon.
     15
     16== AM API Acceptance Tests ==
     17
     18{{{
     19lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest -V 2 --debug
     20Traceback (most recent call last):
     21  File "./am_api_accept.py", line 28, in <module>
     22    from geni.util import rspec_util
     23ImportError: cannot import name rspec_util
     24lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ source ~/env.sh
     25PYTHONPATH=/home/lnevers/gcf-1.6.1/src/
     26lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest -V 2 --debug
     27F.F...FE..ENot wellformed XML:  not well-formed (invalid token): line 1, column 16
     28F.
     29======================================================================
     30ERROR: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
     31----------------------------------------------------------------------
     32Traceback (most recent call last):
     33  File "./am_api_accept.py", line 328, in test_ListResources
     34    self.subtest_ListResources()
     35  File "./am_api_accept.py", line 607, in subtest_ListResources
     36    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
     37  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
     38    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
     39  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
     40    if actual_type.lower() != type.lower():
     41AttributeError: 'NoneType' object has no attribute 'lower'
     42
     43======================================================================
     44ERROR: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
     45----------------------------------------------------------------------
     46Traceback (most recent call last):
     47  File "./am_api_accept.py", line 342, in test_ListResources_geni_available
     48    self.subtest_ListResources()
     49  File "./am_api_accept.py", line 607, in subtest_ListResources
     50    self.assertRspecType( rspec, 'advertisement', typeOnly=typeOnly)
     51  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 161, in assertRspecType
     52    if not rspec_util.is_rspec_of_type( rspec, type=type, version=version, typeOnly=typeOnly ):
     53  File "/home/lnevers/gcf-1.6.1/src/geni/util/rspec_util.py", line 110, in is_rspec_of_type
     54    if actual_type.lower() != type.lower():
     55AttributeError: 'NoneType' object has no attribute 'lower'
     56
     57======================================================================
     58FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
     59----------------------------------------------------------------------
     60Traceback (most recent call last):
     61  File "./am_api_accept.py", line 625, in test_CreateSliver
     62    self.subtest_CreateSliverWorkflow()
     63  File "./am_api_accept.py", line 659, in subtest_CreateSliverWorkflow
     64    self.assertRspecType( request, 'request')
     65  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
     66    raise WrongRspecType, msg
     67WrongRspecType: RSpec expected to have type 'request' but schema was not correct.
     68
     69======================================================================
     70FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
     71----------------------------------------------------------------------
     72Traceback (most recent call last):
     73  File "./am_api_accept.py", line 935, in test_CreateSliverWorkflow_multiSlice
     74    self.assertRspecType( "".join(request[i]), 'request')
     75  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 165, in assertRspecType
     76    raise WrongRspecType, msg
     77WrongRspecType: RSpec expected to have type 'request' but schema was not correct.
     78
     79======================================================================
     80FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api' and other parameters defined in Change Set A.
     81----------------------------------------------------------------------
     82Traceback (most recent call last):
     83  File "./am_api_accept.py", line 271, in test_GetVersion
     84    self.assertKeyValueType( 'GetVersion', agg, vers, 'extensions', type([]) )
     85  File "/home/lnevers/gcf-1.6.1/src/omni_unittest.py", line 208, in assertKeyValueType
     86    % (method, aggName, key, str(dictionary)))
     87AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'extensions' but instead returned:
     88{'namespace': 'http://www.protogeni.net/resources/rspec/2', 'version': '3', 'type': 'GENI', 'schema': 'http://www.protogeni.net/resources/rspec/2/request.xsd'}
     89... edited for length ...
     90
     91======================================================================
     92FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
     93----------------------------------------------------------------------
     94Traceback (most recent call last):
     95  File "./am_api_accept.py", line 335, in test_ListResources_geni_compressed
     96    self.subtest_ListResources()
     97  File "./am_api_accept.py", line 602, in subtest_ListResources
     98    % (agg_name, rspec[:100]))
     99AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned:
     100eAHsvWtv2zoWLvz9/Aoj820yjm9J2hhND9o0b2cPuoONXmZeYDAoFFtxhDpyIDu9/PvDi7hESqREUZTsVCsFasu2SGot8llXLr76
     101... edited for length ...
     102
     103----------------------------------------------------------------------
     104Ran 13 tests in 341.524s
     105
     106FAILED (failures=4, errors=2)
     107}}}
     108== Omni Commands ==
    16109
    17110= Status 03/20/2012 =
    18111
    19112Attempt to access the ExoGENI AM at https://bbn-hn.exogeni.gpolab.bbn.com:11443/orca/xmlrpc resulted in connection refused.  Using ExoSM as suggested by Ilia. 
    20 
    21 
    22113
    23114== GPO Dev Team Analysis ==
     
    67158
    68159
    69 
    70 
    71160== AM API Acceptance Tests ==
    72161
     
    199288
    200289
    201 
    202 
    203 == Configuration ==
     290== Omni commands ==
     291
     292
     293=== Configuration ===
    204294
    205295The following Omni config was used with GPO ProtoGENI credentials:
     
    230320key = ~/.ssl/protogeni/encrypted-cleartext.pem
    231321}}}
    232 == RSpec ==
     322=== RSpec ===
    233323
    234324Based on Ilia's input to use the component_manager_id via the ExoSM (https://geni.renci.org:11443/xmlrpc/orca)
     
    268358
    269359
    270 == List Resources ==
     360=== List Resources ===
    271361The listreources output at the ExoSM showed the following and output file is attached:
    272362{{{
     
    420510}}}
    421511
    422 == Get Version ==
     512=== Get Version ===
    423513Command output:
    424514{{{
     
    472562}}}
    473563
    474 == Create Sliver ==
     564=== Create Sliver ===
    475565
    476566Created sliver with two compute resources from the GPO ExoGENI rack, command output:
     
    523613}}}
    524614
    525 == Sliver Status ==
     615=== Sliver Status ===
    526616Command output:
    527617{{{
     
    606696}}}
    607697
    608 == Login to Sliver Hosts ==
     698=== Login to Sliver Hosts ===
    609699Connected to the first host and determined dataplane IP address:
    610700{{{
     
    709799
    710800
    711 == Get Slice Credentials ==
     801=== Get Slice Credentials ===
    712802Command output:
    713803{{{
     
    731821}}}
    732822
    733 == Print Slice Expiration ==
     823=== Print Slice Expiration ===
    734824Command output:
    735825{{{
     
    749839}}}
    750840
    751 == Renew Slice ==
     841=== Renew Slice ===
    752842Command output:
    753843{{{
     
    773863}}}
    774864
    775 == Renew Sliver ==
     865=== Renew Sliver ===
    776866Command output:
    777867{{{
     
    798888}}}
    799889
    800 == Delete Sliver ==
     890=== Delete Sliver ===
    801891Command output:
    802892{{{
     
    845935= Status 01/19/2012 =
    846936
    847 
    848 == Configuration ==
     937This survey was completed using the ORCA RENCI aggregate with GCF 1.5.2 on 01/19/2012.
     938
     939== AM API acceptance tests with ORCA Aggregate ==
     940
     941{{{
     942$ ./am_api_v1_accept.py -a am-undertest
     943FFFFFFFFFFFFF
     944======================================================================
     945FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
     946----------------------------------------------------------------------
     947Traceback (most recent call last):
     948  File "./am_api_v1_accept.py", line 483, in test_CreateSliver
     949    self.subtest_CreateSliverWorkflow()
     950  File "./am_api_v1_accept.py", line 500, in subtest_CreateSliverWorkflow
     951    manifest = self.subtest_CreateSliver( slicename )
     952  File "./am_api_v1_accept.py", line 838, in subtest_CreateSliver
     953    self.assertTrue( self.checkRequestRSpecVersion() )
     954  File "./am_api_v1_accept.py", line 107, in checkRequestRSpecVersion
     955    return self.checkRSpecVersion(type='request')
     956  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
     957    list )
     958  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
     959    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
     960  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
     961    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
     962AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
     963{'implementation': 'ORCA', 'geni_api': 1}
     964... edited for length ...
     965
     966======================================================================
     967FAIL: test_CreateSliverWorkflow_fail_notexist:  Passes if the sliver creation workflow fails when the slice has never existed.
     968----------------------------------------------------------------------
     969Traceback (most recent call last):
     970  File "./am_api_v1_accept.py", line 619, in test_CreateSliverWorkflow_fail_notexist
     971    self.subtest_CreateSliverWorkflow_failure( slicename )
     972  File "./am_api_v1_accept.py", line 627, in subtest_CreateSliverWorkflow_failure
     973    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, slicename )
     974AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     975{'implementation': 'ORCA', 'geni_api': 1}
     976... edited for length ...
     977
     978======================================================================
     979FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
     980----------------------------------------------------------------------
     981Traceback (most recent call last):
     982  File "./am_api_v1_accept.py", line 703, in test_CreateSliverWorkflow_multiSlice
     983    manifest[i] = "".join(self.subtest_CreateSliver( slicenames[i] ))
     984  File "./am_api_v1_accept.py", line 838, in subtest_CreateSliver
     985    self.assertTrue( self.checkRequestRSpecVersion() )
     986  File "./am_api_v1_accept.py", line 107, in checkRequestRSpecVersion
     987    return self.checkRSpecVersion(type='request')
     988  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
     989    list )
     990  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
     991    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
     992  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
     993    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
     994AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
     995{'implementation': 'ORCA', 'geni_api': 1}
     996... edited for length ...
     997
     998======================================================================
     999FAIL: test_CreateSliver_badrspec_emptyfile: Passes if the sliver creation workflow fails when the request RSpec is an empty file.
     1000----------------------------------------------------------------------
     1001Traceback (most recent call last):
     1002  File "./am_api_v1_accept.py", line 962, in test_CreateSliver_badrspec_emptyfile
     1003    self.subtest_MinCreateSliverWorkflow, slice_name )
     1004AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
     1005{'implementation': 'ORCA', 'geni_api': 1}
     1006... edited for length ...
     1007
     1008======================================================================
     1009FAIL: test_CreateSliver_badrspec_malformed: Passes if the sliver creation workflow fails when the request RSpec is not well-formed XML.
     1010----------------------------------------------------------------------
     1011Traceback (most recent call last):
     1012  File "./am_api_v1_accept.py", line 990, in test_CreateSliver_badrspec_malformed
     1013    self.subtest_MinCreateSliverWorkflow, slice_name )
     1014AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
     1015{'implementation': 'ORCA', 'geni_api': 1}
     1016... edited for length ...
     1017
     1018======================================================================
     1019FAIL: test_CreateSliver_badrspec_manifest: Passes if the sliver creation workflow fails when the request RSpec is a manifest RSpec.  --bad-rspec-file allows you to replace the RSpec with an alternative.
     1020----------------------------------------------------------------------
     1021Traceback (most recent call last):
     1022  File "./am_api_v1_accept.py", line 1003, in test_CreateSliver_badrspec_manifest
     1023    % self.options_copy.rspec_file )
     1024AssertionError: Request RSpec file, 'bad.xml' for 'CreateSliver' call expected to exist but does not.
     1025
     1026======================================================================
     1027FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api = 1' and other parameters defined in Change Set A.
     1028----------------------------------------------------------------------
     1029Traceback (most recent call last):
     1030  File "./am_api_v1_accept.py", line 217, in test_GetVersion
     1031    list )
     1032  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
     1033    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
     1034  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
     1035    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
     1036AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
     1037{'implementation': 'ORCA', 'geni_api': 1}
     1038... edited for length ...
     1039
     1040======================================================================
     1041FAIL: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
     1042----------------------------------------------------------------------
     1043Traceback (most recent call last):
     1044  File "./am_api_v1_accept.py", line 235, in test_ListResources
     1045    self.subtest_ListResources()
     1046  File "./am_api_v1_accept.py", line 358, in subtest_ListResources
     1047    self.assertTrue( self.checkAdRSpecVersion() )
     1048  File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
     1049    return self.checkRSpecVersion(type='ad')
     1050  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
     1051    list )
     1052  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
     1053    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
     1054  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
     1055    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
     1056AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     1057{'implementation': 'ORCA', 'geni_api': 1}
     1058... edited for length ...
     1059
     1060======================================================================
     1061FAIL: test_ListResources_badCredential_alteredObject: Run ListResources with a User Credential that has been altered (so the signature doesn't match).
     1062----------------------------------------------------------------------
     1063Traceback (most recent call last):
     1064  File "./am_api_v1_accept.py", line 257, in test_ListResources_badCredential_alteredObject
     1065    self.subtest_ListResources_badCredential(self.alterSignedObject)
     1066  File "./am_api_v1_accept.py", line 316, in subtest_ListResources_badCredential
     1067    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercred=broken_usercred)
     1068AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     1069{'implementation': 'ORCA', 'geni_api': 1}
     1070... edited for length ...
     1071
     1072======================================================================
     1073FAIL: test_ListResources_badCredential_malformedXML: Run ListResources with a User Credential that is missing it's first character (so that it is invalid XML).
     1074----------------------------------------------------------------------
     1075Traceback (most recent call last):
     1076  File "./am_api_v1_accept.py", line 254, in test_ListResources_badCredential_malformedXML
     1077    self.subtest_ListResources_badCredential(self.removeFirstChar)
     1078  File "./am_api_v1_accept.py", line 316, in subtest_ListResources_badCredential
     1079    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercred=broken_usercred)
     1080AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     1081{'implementation': 'ORCA', 'geni_api': 1}
     1082... edited for length ...
     1083
     1084======================================================================
     1085FAIL: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
     1086----------------------------------------------------------------------
     1087Traceback (most recent call last):
     1088  File "./am_api_v1_accept.py", line 249, in test_ListResources_geni_available
     1089    self.subtest_ListResources()
     1090  File "./am_api_v1_accept.py", line 358, in subtest_ListResources
     1091    self.assertTrue( self.checkAdRSpecVersion() )
     1092  File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
     1093    return self.checkRSpecVersion(type='ad')
     1094  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
     1095    list )
     1096  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
     1097    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
     1098  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
     1099    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
     1100AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     1101{'implementation': 'ORCA', 'geni_api': 1}
     1102... edited for length ...
     1103
     1104======================================================================
     1105FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
     1106----------------------------------------------------------------------
     1107Traceback (most recent call last):
     1108  File "./am_api_v1_accept.py", line 242, in test_ListResources_geni_compressed
     1109    self.subtest_ListResources()
     1110  File "./am_api_v1_accept.py", line 358, in subtest_ListResources
     1111    self.assertTrue( self.checkAdRSpecVersion() )
     1112  File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
     1113    return self.checkRSpecVersion(type='ad')
     1114  File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
     1115    list )
     1116  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
     1117    self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
     1118  File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
     1119    % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
     1120AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     1121{'implementation': 'ORCA', 'geni_api': 1}
     1122... edited for length ...
     1123
     1124======================================================================
     1125FAIL: test_ListResources_untrustedCredential: Passes if 'ListResources' FAILS to return an advertisement RSpec when using a credential from an untrusted Clearinghouse.
     1126----------------------------------------------------------------------
     1127Traceback (most recent call last):
     1128  File "./am_api_v1_accept.py", line 353, in test_ListResources_untrustedCredential
     1129    self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercredfile=self.options_copy.untrusted_usercredfile)
     1130AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
     1131{'implementation': 'ORCA', 'geni_api': 1}
     1132... edited for length ...
     1133
     1134----------------------------------------------------------------------
     1135Ran 13 tests in 114.099s
     1136
     1137FAILED (failures=13)
     1138}}}
     1139
     1140== Omni Commands ==
     1141=== Configuration ===
    8491142The following configuration was used for all commands captured below:
    8501143{{{
     
    9041197}}}
    9051198
    906 == Original Rspec sample ==
     1199=== Original Rspec sample ===
    9071200The initial Rspec example provided at the ORCA site [https://geni-orca.renci.org/trac/wiki/orca-and-rspec#RSpecv2Requests example] includes a gush image and service tags definitions and his captured here for historical reasons.  This rspec has also successfully been used to reserve and access  resource.
    9081201
     
    9511244}}}
    9521245
    953 == Credentials ==
     1246=== Credentials ===
    9541247
    9551248This experiment did not use the pgeni.gpolab.bbn.com credentials because the RENCI ORCA aggregate is not federated with GPO PG (see ticket #3340 for details). Emulab credentials were used.
     
    10081301}}}
    10091302
    1010 == Create Slice ==
     1303=== Create Slice ===
    10111304{{{
    10121305$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  -n createslice lnevers5orca
     
    10631356}}}
    10641357
    1065 == Sliver Status ==
     1358=== Sliver Status ===
    10661359Sliver nodes create is slow for newly added images (11-12 minutes). Nodes using images that are known to the VM server will start in 2-3 minutes.
    10671360 to the VM server will be  to make the 2 nodes available. The sliverstatus looks as follows:
     
    11081401INFO:omni: ============================================================
    11091402}}}
    1110 == Login to sliver hosts ==
     1403=== Login to sliver hosts ===
    11111404Log in as root on the ORCA hosts as follows:
    11121405{{{
     
    11841477}}}
    11851478
    1186 == List Aggregate ==
     1479=== List Aggregate ===
    11871480{{{
    11881481$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc listaggregates
     
    12071500}}}
    12081501
    1209 == List My Slices ==
     1502=== List My Slices ===
    12101503{{{
    12111504$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc listmyslices lnevers
     
    12301523}}}
    12311524
    1232 == Get Slice Credentials ==
     1525=== Get Slice Credentials ===
    12331526{{{
    12341527$ ./src/omni.py -o -a  https://geni.renci.org:11443/orca/xmlrpc getslicecred lnevers5orca
     
    12531546}}}
    12541547
    1255 == Print Slice Expiration ==
     1548=== Print Slice Expiration ===
    12561549{{{
    12571550$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  print_slice_expiration lnevers5orca
     
    12731566}}}
    12741567
    1275 == Renew Slice ==
     1568=== Renew Slice ===
    12761569{{{
    12771570$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  renewslice lnevers5orca 2012-01-22
     
    12971590}}}
    12981591
    1299 == Renew Sliver ==
     1592=== Renew Sliver ===
    13001593{{{
    13011594$ ./src/omni.py -a  https://geni.renci.org:11443/orca/xmlrpc  renewsliver lnevers5orca 2012-01-22
     
    13201613INFO:omni: ============================================================
    13211614}}}
    1322 == Delete Sliver ==
     1615=== Delete Sliver ===
    13231616
    13241617{{{
     
    13421635
    13431636
    1344 = AM API acceptance tests with ORCA Aggregate =
    1345 
    1346 {{{
    1347 $ ./am_api_v1_accept.py -a am-undertest
    1348 FFFFFFFFFFFFF
    1349 ======================================================================
    1350 FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds.  Use --rspec-file to replace the default request RSpec.
    1351 ----------------------------------------------------------------------
    1352 Traceback (most recent call last):
    1353   File "./am_api_v1_accept.py", line 483, in test_CreateSliver
    1354     self.subtest_CreateSliverWorkflow()
    1355   File "./am_api_v1_accept.py", line 500, in subtest_CreateSliverWorkflow
    1356     manifest = self.subtest_CreateSliver( slicename )
    1357   File "./am_api_v1_accept.py", line 838, in subtest_CreateSliver
    1358     self.assertTrue( self.checkRequestRSpecVersion() )
    1359   File "./am_api_v1_accept.py", line 107, in checkRequestRSpecVersion
    1360     return self.checkRSpecVersion(type='request')
    1361   File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    1362     list )
    1363   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    1364     self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
    1365   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    1366     % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
    1367 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
    1368 {'implementation': 'ORCA', 'geni_api': 1}
    1369 ... edited for length ...
    1370 
    1371 ======================================================================
    1372 FAIL: test_CreateSliverWorkflow_fail_notexist:  Passes if the sliver creation workflow fails when the slice has never existed.
    1373 ----------------------------------------------------------------------
    1374 Traceback (most recent call last):
    1375   File "./am_api_v1_accept.py", line 619, in test_CreateSliverWorkflow_fail_notexist
    1376     self.subtest_CreateSliverWorkflow_failure( slicename )
    1377   File "./am_api_v1_accept.py", line 627, in subtest_CreateSliverWorkflow_failure
    1378     self.assertRaises(NotDictAssertionError, self.subtest_ListResources, slicename )
    1379 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1380 {'implementation': 'ORCA', 'geni_api': 1}
    1381 ... edited for length ...
    1382 
    1383 ======================================================================
    1384 FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential.
    1385 ----------------------------------------------------------------------
    1386 Traceback (most recent call last):
    1387   File "./am_api_v1_accept.py", line 703, in test_CreateSliverWorkflow_multiSlice
    1388     manifest[i] = "".join(self.subtest_CreateSliver( slicenames[i] ))
    1389   File "./am_api_v1_accept.py", line 838, in subtest_CreateSliver
    1390     self.assertTrue( self.checkRequestRSpecVersion() )
    1391   File "./am_api_v1_accept.py", line 107, in checkRequestRSpecVersion
    1392     return self.checkRSpecVersion(type='request')
    1393   File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    1394     list )
    1395   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    1396     self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
    1397   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    1398     % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
    1399 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
    1400 {'implementation': 'ORCA', 'geni_api': 1}
    1401 ... edited for length ...
    1402 
    1403 ======================================================================
    1404 FAIL: test_CreateSliver_badrspec_emptyfile: Passes if the sliver creation workflow fails when the request RSpec is an empty file.
    1405 ----------------------------------------------------------------------
    1406 Traceback (most recent call last):
    1407   File "./am_api_v1_accept.py", line 962, in test_CreateSliver_badrspec_emptyfile
    1408     self.subtest_MinCreateSliverWorkflow, slice_name )
    1409 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
    1410 {'implementation': 'ORCA', 'geni_api': 1}
    1411 ... edited for length ...
    1412 
    1413 ======================================================================
    1414 FAIL: test_CreateSliver_badrspec_malformed: Passes if the sliver creation workflow fails when the request RSpec is not well-formed XML.
    1415 ----------------------------------------------------------------------
    1416 Traceback (most recent call last):
    1417   File "./am_api_v1_accept.py", line 990, in test_CreateSliver_badrspec_malformed
    1418     self.subtest_MinCreateSliverWorkflow, slice_name )
    1419 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
    1420 {'implementation': 'ORCA', 'geni_api': 1}
    1421 ... edited for length ...
    1422 
    1423 ======================================================================
    1424 FAIL: test_CreateSliver_badrspec_manifest: Passes if the sliver creation workflow fails when the request RSpec is a manifest RSpec.  --bad-rspec-file allows you to replace the RSpec with an alternative.
    1425 ----------------------------------------------------------------------
    1426 Traceback (most recent call last):
    1427   File "./am_api_v1_accept.py", line 1003, in test_CreateSliver_badrspec_manifest
    1428     % self.options_copy.rspec_file )
    1429 AssertionError: Request RSpec file, 'bad.xml' for 'CreateSliver' call expected to exist but does not.
    1430 
    1431 ======================================================================
    1432 FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api = 1' and other parameters defined in Change Set A.
    1433 ----------------------------------------------------------------------
    1434 Traceback (most recent call last):
    1435   File "./am_api_v1_accept.py", line 217, in test_GetVersion
    1436     list )
    1437   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    1438     self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
    1439   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    1440     % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
    1441 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'request_rspec_versions' or 'geni_request_rspec_versions' but instead returned:
    1442 {'implementation': 'ORCA', 'geni_api': 1}
    1443 ... edited for length ...
    1444 
    1445 ======================================================================
    1446 FAIL: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec.
    1447 ----------------------------------------------------------------------
    1448 Traceback (most recent call last):
    1449   File "./am_api_v1_accept.py", line 235, in test_ListResources
    1450     self.subtest_ListResources()
    1451   File "./am_api_v1_accept.py", line 358, in subtest_ListResources
    1452     self.assertTrue( self.checkAdRSpecVersion() )
    1453   File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
    1454     return self.checkRSpecVersion(type='ad')
    1455   File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    1456     list )
    1457   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    1458     self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
    1459   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    1460     % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
    1461 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1462 {'implementation': 'ORCA', 'geni_api': 1}
    1463 ... edited for length ...
    1464 
    1465 ======================================================================
    1466 FAIL: test_ListResources_badCredential_alteredObject: Run ListResources with a User Credential that has been altered (so the signature doesn't match).
    1467 ----------------------------------------------------------------------
    1468 Traceback (most recent call last):
    1469   File "./am_api_v1_accept.py", line 257, in test_ListResources_badCredential_alteredObject
    1470     self.subtest_ListResources_badCredential(self.alterSignedObject)
    1471   File "./am_api_v1_accept.py", line 316, in subtest_ListResources_badCredential
    1472     self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercred=broken_usercred)
    1473 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1474 {'implementation': 'ORCA', 'geni_api': 1}
    1475 ... edited for length ...
    1476 
    1477 ======================================================================
    1478 FAIL: test_ListResources_badCredential_malformedXML: Run ListResources with a User Credential that is missing it's first character (so that it is invalid XML).
    1479 ----------------------------------------------------------------------
    1480 Traceback (most recent call last):
    1481   File "./am_api_v1_accept.py", line 254, in test_ListResources_badCredential_malformedXML
    1482     self.subtest_ListResources_badCredential(self.removeFirstChar)
    1483   File "./am_api_v1_accept.py", line 316, in subtest_ListResources_badCredential
    1484     self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercred=broken_usercred)
    1485 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1486 {'implementation': 'ORCA', 'geni_api': 1}
    1487 ... edited for length ...
    1488 
    1489 ======================================================================
    1490 FAIL: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec.
    1491 ----------------------------------------------------------------------
    1492 Traceback (most recent call last):
    1493   File "./am_api_v1_accept.py", line 249, in test_ListResources_geni_available
    1494     self.subtest_ListResources()
    1495   File "./am_api_v1_accept.py", line 358, in subtest_ListResources
    1496     self.assertTrue( self.checkAdRSpecVersion() )
    1497   File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
    1498     return self.checkRSpecVersion(type='ad')
    1499   File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    1500     list )
    1501   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    1502     self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
    1503   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    1504     % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
    1505 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1506 {'implementation': 'ORCA', 'geni_api': 1}
    1507 ... edited for length ...
    1508 
    1509 ======================================================================
    1510 FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec.
    1511 ----------------------------------------------------------------------
    1512 Traceback (most recent call last):
    1513   File "./am_api_v1_accept.py", line 242, in test_ListResources_geni_compressed
    1514     self.subtest_ListResources()
    1515   File "./am_api_v1_accept.py", line 358, in subtest_ListResources
    1516     self.assertTrue( self.checkAdRSpecVersion() )
    1517   File "./am_api_v1_accept.py", line 105, in checkAdRSpecVersion
    1518     return self.checkRSpecVersion(type='ad')
    1519   File "./am_api_v1_accept.py", line 135, in checkRSpecVersion
    1520     list )
    1521   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 233, in assertReturnPairKeyValue
    1522     self.assertPairKeyValue( method, aggName, dictionary, keyA, keyB, valueType=valueType)
    1523   File "/home/lnevers/gcf-1.5.2-rc2/src/omni_unittest.py", line 216, in assertPairKeyValue
    1524     % (method, aggName, keyA, keyB,  str(dictionary)[:100]))
    1525 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1526 {'implementation': 'ORCA', 'geni_api': 1}
    1527 ... edited for length ...
    1528 
    1529 ======================================================================
    1530 FAIL: test_ListResources_untrustedCredential: Passes if 'ListResources' FAILS to return an advertisement RSpec when using a credential from an untrusted Clearinghouse.
    1531 ----------------------------------------------------------------------
    1532 Traceback (most recent call last):
    1533   File "./am_api_v1_accept.py", line 353, in test_ListResources_untrustedCredential
    1534     self.assertRaises(NotDictAssertionError, self.subtest_ListResources, usercredfile=self.options_copy.untrusted_usercredfile)
    1535 AssertionError: Return from 'GetVersion' at https://geni.renci.org:11443/orca/xmlrpc expected to have entry 'ad_rspec_versions' or 'geni_ad_rspec_versions' but instead returned:
    1536 {'implementation': 'ORCA', 'geni_api': 1}
    1537 ... edited for length ...
    1538 
    1539 ----------------------------------------------------------------------
    1540 Ran 13 tests in 114.099s
    1541 
    1542 FAILED (failures=13)
    1543 }}}