UnboundLocalError: local variable 'result' referenced before assignment

Bug #1502813 reported by Vasily Gorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
Critical
Fuel QA Team

Bug Description

CI: https://product-ci.infra.mirantis.net/view/8.0_swarm/job/8.0.system_test.ubuntu.thread_1/10/console

======================================================================
ERROR: Test current installation has correctly setup cobbler
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.thread_1/fuelweb_test/helpers/decorators.py", line 80, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.thread_1/fuelweb_test/tests/test_admin_node.py", line 62, in test_cobbler_alive
    config = self.env.get_fuel_settings()
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.thread_1/fuelweb_test/models/environment.py", line 509, in get_fuel_settings
    if result['exit_code'] == 0:
UnboundLocalError: local variable 'result' referenced before assignment

Tags: system-tests
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.