889a2bbcb56eb4e3.json 3.1 KB

1
  1. {"uid":"889a2bbcb56eb4e3","name":"test_02_case[Rte-search_pattern2-RteExclusiveAreaImplMechanism-NONE]","fullName":"testcase.test_case#test_02_case","historyId":"0308fb5fd1f97b4a4c930c5ec26a8af4","time":{"start":1664025514857,"stop":1664025514857,"duration":0},"status":"broken","statusMessage":"AttributeError: 'ModuleCfgCheck' object has no attribute 'arxml_root'","statusTrace":"module_name = 'Rte'\nsearch_pattern = {'xpath_rule': 'CONTAINS', 'xpath_str': './/SHORT-NAME', 'xpath_text': 'EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS'}\nparam_name = 'RteExclusiveAreaImplMechanism', expect_value = 'NONE'\n\n @pytest.mark.parametrize(\"module_name, search_pattern, param_name, expect_value\", get_xlsx_data_by_item_type(ItemType.CUSTOM_PATTERN))\n def test_02_case(module_name, search_pattern, param_name, expect_value):\n item = (param_name, expect_value)\n> res = check_module_param_check(PROJECT, module_name, item, search_pattern)\n\ntestcase\\test_case.py:33: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nBase\\ModuleCfgCheck.py:96: in check_module_param_check\n cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)\nBase\\ModuleCfgCheck.py:61: in do_param_check\n match_element = get_match_element_function(check_items, **search_pattern)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = <Base.ModuleCfgCheck.ModuleCfgCheck object at 0x000001F943E4F580>\ncheck_items = [('RteExclusiveAreaImplMechanism', 'NONE')]\nxpath_str = './/SHORT-NAME', xpath_text = 'EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS'\nxpath_rule = 'CONTAINS'\n\n def get_detail_element(self, check_items, xpath_str, xpath_text='', xpath_rule=None):\n ret = None\n param_name, expect_value = check_items[0]\n \n> match_element = Arxml.get_all_match_element(self.arxml_root, xpath_str, xpath_text, xpath_rule)\nE AttributeError: 'ModuleCfgCheck' object has no attribute 'arxml_root'\n\nBase\\ModuleCfgCheck.py:72: AttributeError","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"afterStages":[],"labels":[{"name":"parentSuite","value":"testcase"},{"name":"suite","value":"test_case"},{"name":"host","value":"LAPTOP-QT63IHFO"},{"name":"thread","value":"40940-MainThread"},{"name":"framework","value":"pytest"},{"name":"language","value":"cpython3"},{"name":"package","value":"testcase.test_case"},{"name":"resultFormat","value":"allure2"}],"parameters":[{"name":"expect_value","value":"'NONE'"},{"name":"module_name","value":"'Rte'"},{"name":"param_name","value":"'RteExclusiveAreaImplMechanism'"},{"name":"search_pattern","value":"{'xpath_str': './/SHORT-NAME', 'xpath_text': 'EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS', 'xpath_rule': 'CONTAINS'}"}],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"889a2bbcb56eb4e3.json","parameterValues":["'NONE'","'Rte'","'RteExclusiveAreaImplMechanism'","{'xpath_str': './/SHORT-NAME', 'xpath_text': 'EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS', 'xpath_rule': 'CONTAINS'}"]}