Linaro / squadplugins

GNU Affero General Public License v3.0
1 stars 6 forks source link

suite_node is sometimes None #2

Closed mwasilew closed 6 years ago

mwasilew commented 6 years ago
Traceback (most recent call last):
  File "/srv/qa-reports.linaro.org/lib/python3.5/site-packages/squad/core/tasks/__init__.py", line 216, in __call__
    self.__call_plugin__(plugin, testrun)
  File "/srv/qa-reports.linaro.org/lib/python3.5/site-packages/squad/core/tasks/__init__.py", line 221, in __call_plugin__
    plugin.postprocess_testrun(testrun)
  File "/srv/qa-reports.linaro.org/lib/python3.5/site-packages/tradefed/__init__.py", line 128, in postprocess_testrun
    self.__assign_test_log(buf, failed)
  File "/srv/qa-reports.linaro.org/lib/python3.5/site-packages/tradefed/__init__.py", line 38, in __assign_test_log
    log_node = suite_node.find('.//Test[@name="%s"]' % test_name)
AttributeError: 'NoneType' object has no attribute 'find'
mwasilew commented 6 years ago

Fixed in 4a7dac18242f2bb8d7dc43d09c7b85452861bbf8