#226: upgradepath: crash for -updates-testing koji tag
--------------------+-------------------------------------------------------
Reporter: kparal | Owner: kparal
Type: defect | Status: new
Priority: major | Milestone: Package Update Acceptance Test Plan
Component: tests | Version: 1.0
Keywords: |
--------------------+-------------------------------------------------------
It seems that upgradepath crashes when we try to give it *-updates-testing
koji tag.
{{{
[root@aqd autoqa]# autoqa post-bodhi-update --title freeciv --target-tag
dist-f13-updates-testing freeciv-3.0-1.fc13 --local -t upgradepath
...
11:35:12 INFO | ERROR: Entered bad kojitag
11:35:12 ERROR| Exception escaping from test:
Traceback (most recent call last):
File "/usr/share/autotest/client/common_lib/test.py", line 384, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/usr/share/autotest/client/common_lib/test.py", line 577, in
_call_test_function
raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled UnboundLocalError: local variable
'matching_build' referenced before assignment
Traceback (most recent call last):
File "/usr/share/autotest/client/common_lib/test.py", line 570, in
_call_test_function
return func(*args, **dargs)
File "/usr/share/autotest/client/common_lib/test.py", line 279, in
execute
postprocess_profiled_run, args, dargs)
File "/usr/share/autotest/client/common_lib/test.py", line 201, in
_call_run_once
self.run_once(*args, **dargs)
File "/usr/lib/python2.6/site-packages/autoqa/decorators.py", line 71,
in newf
f_result = f(*args, **kwargs) #call the decorated function
File "/usr/share/autotest/client/site_tests/upgradepath/upgradepath.py",
line 92, in run_once
self.envr_list.add(matching_build['envr'])
UnboundLocalError: local variable 'matching_build' referenced before
assignment
}}}
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/226>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project