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 == |
| 14 | To be added soon. |
| 15 | |
| 16 | == AM API Acceptance Tests == |
| 17 | |
| 18 | {{{ |
| 19 | lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest -V 2 --debug |
| 20 | Traceback (most recent call last): |
| 21 | File "./am_api_accept.py", line 28, in <module> |
| 22 | from geni.util import rspec_util |
| 23 | ImportError: cannot import name rspec_util |
| 24 | lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ source ~/env.sh |
| 25 | PYTHONPATH=/home/lnevers/gcf-1.6.1/src/ |
| 26 | lnevers@sendaria:~/gcf-1.6.1/acceptance_tests/AM_API$ ./am_api_accept.py -a am-undertest -V 2 --debug |
| 27 | F.F...FE..ENot wellformed XML: not well-formed (invalid token): line 1, column 16 |
| 28 | F. |
| 29 | ====================================================================== |
| 30 | ERROR: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec. |
| 31 | ---------------------------------------------------------------------- |
| 32 | Traceback (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(): |
| 41 | AttributeError: 'NoneType' object has no attribute 'lower' |
| 42 | |
| 43 | ====================================================================== |
| 44 | ERROR: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec. |
| 45 | ---------------------------------------------------------------------- |
| 46 | Traceback (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(): |
| 55 | AttributeError: 'NoneType' object has no attribute 'lower' |
| 56 | |
| 57 | ====================================================================== |
| 58 | FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds. Use --rspec-file to replace the default request RSpec. |
| 59 | ---------------------------------------------------------------------- |
| 60 | Traceback (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 |
| 67 | WrongRspecType: RSpec expected to have type 'request' but schema was not correct. |
| 68 | |
| 69 | ====================================================================== |
| 70 | FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential. |
| 71 | ---------------------------------------------------------------------- |
| 72 | Traceback (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 |
| 77 | WrongRspecType: RSpec expected to have type 'request' but schema was not correct. |
| 78 | |
| 79 | ====================================================================== |
| 80 | FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api' and other parameters defined in Change Set A. |
| 81 | ---------------------------------------------------------------------- |
| 82 | Traceback (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))) |
| 87 | AssertionError: 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 | ====================================================================== |
| 92 | FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec. |
| 93 | ---------------------------------------------------------------------- |
| 94 | Traceback (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])) |
| 99 | AssertionError: Return from 'ListResources' at aggregate 'unspecified_AM_URN' expected to be XML but instead returned: |
| 100 | eAHsvWtv2zoWLvz9/Aoj820yjm9J2hhND9o0b2cPuoONXmZeYDAoFFtxhDpyIDu9/PvDi7hESqREUZTsVCsFasu2SGot8llXLr76 |
| 101 | ... edited for length ... |
| 102 | |
| 103 | ---------------------------------------------------------------------- |
| 104 | Ran 13 tests in 341.524s |
| 105 | |
| 106 | FAILED (failures=4, errors=2) |
| 107 | }}} |
| 108 | == Omni Commands == |
847 | | |
848 | | == Configuration == |
| 937 | This 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 |
| 943 | FFFFFFFFFFFFF |
| 944 | ====================================================================== |
| 945 | FAIL: test_CreateSliver: Passes if the sliver creation workflow succeeds. Use --rspec-file to replace the default request RSpec. |
| 946 | ---------------------------------------------------------------------- |
| 947 | Traceback (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])) |
| 962 | 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: |
| 963 | {'implementation': 'ORCA', 'geni_api': 1} |
| 964 | ... edited for length ... |
| 965 | |
| 966 | ====================================================================== |
| 967 | FAIL: test_CreateSliverWorkflow_fail_notexist: Passes if the sliver creation workflow fails when the slice has never existed. |
| 968 | ---------------------------------------------------------------------- |
| 969 | Traceback (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 ) |
| 974 | 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: |
| 975 | {'implementation': 'ORCA', 'geni_api': 1} |
| 976 | ... edited for length ... |
| 977 | |
| 978 | ====================================================================== |
| 979 | FAIL: test_CreateSliverWorkflow_multiSlice: Do CreateSliver workflow with multiple slices and ensure can not do ListResources on slices with the wrong credential. |
| 980 | ---------------------------------------------------------------------- |
| 981 | Traceback (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])) |
| 994 | 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: |
| 995 | {'implementation': 'ORCA', 'geni_api': 1} |
| 996 | ... edited for length ... |
| 997 | |
| 998 | ====================================================================== |
| 999 | FAIL: test_CreateSliver_badrspec_emptyfile: Passes if the sliver creation workflow fails when the request RSpec is an empty file. |
| 1000 | ---------------------------------------------------------------------- |
| 1001 | Traceback (most recent call last): |
| 1002 | File "./am_api_v1_accept.py", line 962, in test_CreateSliver_badrspec_emptyfile |
| 1003 | self.subtest_MinCreateSliverWorkflow, slice_name ) |
| 1004 | 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: |
| 1005 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1006 | ... edited for length ... |
| 1007 | |
| 1008 | ====================================================================== |
| 1009 | FAIL: test_CreateSliver_badrspec_malformed: Passes if the sliver creation workflow fails when the request RSpec is not well-formed XML. |
| 1010 | ---------------------------------------------------------------------- |
| 1011 | Traceback (most recent call last): |
| 1012 | File "./am_api_v1_accept.py", line 990, in test_CreateSliver_badrspec_malformed |
| 1013 | self.subtest_MinCreateSliverWorkflow, slice_name ) |
| 1014 | 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: |
| 1015 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1016 | ... edited for length ... |
| 1017 | |
| 1018 | ====================================================================== |
| 1019 | 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. |
| 1020 | ---------------------------------------------------------------------- |
| 1021 | Traceback (most recent call last): |
| 1022 | File "./am_api_v1_accept.py", line 1003, in test_CreateSliver_badrspec_manifest |
| 1023 | % self.options_copy.rspec_file ) |
| 1024 | AssertionError: Request RSpec file, 'bad.xml' for 'CreateSliver' call expected to exist but does not. |
| 1025 | |
| 1026 | ====================================================================== |
| 1027 | FAIL: test_GetVersion: Passes if a 'GetVersion' returns an XMLRPC struct containing 'geni_api = 1' and other parameters defined in Change Set A. |
| 1028 | ---------------------------------------------------------------------- |
| 1029 | Traceback (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])) |
| 1036 | 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: |
| 1037 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1038 | ... edited for length ... |
| 1039 | |
| 1040 | ====================================================================== |
| 1041 | FAIL: test_ListResources: Passes if 'ListResources' returns an advertisement RSpec. |
| 1042 | ---------------------------------------------------------------------- |
| 1043 | Traceback (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])) |
| 1056 | 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: |
| 1057 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1058 | ... edited for length ... |
| 1059 | |
| 1060 | ====================================================================== |
| 1061 | FAIL: test_ListResources_badCredential_alteredObject: Run ListResources with a User Credential that has been altered (so the signature doesn't match). |
| 1062 | ---------------------------------------------------------------------- |
| 1063 | Traceback (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) |
| 1068 | 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: |
| 1069 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1070 | ... edited for length ... |
| 1071 | |
| 1072 | ====================================================================== |
| 1073 | FAIL: test_ListResources_badCredential_malformedXML: Run ListResources with a User Credential that is missing it's first character (so that it is invalid XML). |
| 1074 | ---------------------------------------------------------------------- |
| 1075 | Traceback (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) |
| 1080 | 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: |
| 1081 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1082 | ... edited for length ... |
| 1083 | |
| 1084 | ====================================================================== |
| 1085 | FAIL: test_ListResources_geni_available: Passes if 'ListResources' returns an advertisement RSpec. |
| 1086 | ---------------------------------------------------------------------- |
| 1087 | Traceback (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])) |
| 1100 | 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: |
| 1101 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1102 | ... edited for length ... |
| 1103 | |
| 1104 | ====================================================================== |
| 1105 | FAIL: test_ListResources_geni_compressed: Passes if 'ListResources' returns an advertisement RSpec. |
| 1106 | ---------------------------------------------------------------------- |
| 1107 | Traceback (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])) |
| 1120 | 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: |
| 1121 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1122 | ... edited for length ... |
| 1123 | |
| 1124 | ====================================================================== |
| 1125 | FAIL: test_ListResources_untrustedCredential: Passes if 'ListResources' FAILS to return an advertisement RSpec when using a credential from an untrusted Clearinghouse. |
| 1126 | ---------------------------------------------------------------------- |
| 1127 | Traceback (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) |
| 1130 | 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: |
| 1131 | {'implementation': 'ORCA', 'geni_api': 1} |
| 1132 | ... edited for length ... |
| 1133 | |
| 1134 | ---------------------------------------------------------------------- |
| 1135 | Ran 13 tests in 114.099s |
| 1136 | |
| 1137 | FAILED (failures=13) |
| 1138 | }}} |
| 1139 | |
| 1140 | == Omni Commands == |
| 1141 | === Configuration === |
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 | | }}} |