Failed fuel-web tests for 6.1

Bug #1567277 reported by Artur Kaszuba on 2016-04-07
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Roman Prykhodchenko

Bug Description

fuel-web tests for 6.1 branch fails with errors:

ImportError: Failed to import test module: test_build_utils
Traceback (most recent call last):
  File "/home/jenkins/workspace/6.1.verify-fuel-web/fuel_agent/.tox/py26/lib/python2.6/site-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/home/jenkins/workspace/6.1.verify-fuel-web/fuel_agent/.tox/py26/lib/python2.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/home/jenkins/workspace/6.1.verify-fuel-web/fuel_agent/fuel_agent/tests/test_build_utils.py", line 24, in <module>
    from fuel_agent.utils import build_utils as bu
  File "fuel_agent/utils/build_utils.py", line 31, in <module>
    from fuel_agent.utils import hardware_utils as hu
  File "fuel_agent/utils/hardware_utils.py", line 17, in <module>
    from fuel_agent.utils import utils
  File "fuel_agent/utils/utils.py", line 28, in <module>
    import stevedore.driver
  File "/home/jenkins/workspace/6.1.verify-fuel-web/fuel_agent/.tox/py26/lib/python2.6/site-packages/stevedore/__init__.py", line 23, in <module>
    LOG.addHandler(logging.NullHandler())
AttributeError: 'module' object has no attribute 'NullHandler'

Jobs: https://ci.fuel-infra.org/job/6.1.verify-fuel-web/
Job log: https://ci.fuel-infra.org/job/6.1.verify-fuel-web/384/consoleFull

It looks like problem with logging and NullHandler() class, it does not exists in python 2.6
https://docs.python.org/2/library/logging.handlers.html#logging.NullHandler

Related bug: https://bugs.launchpad.net/fuel/+bug/1566695

Changed in fuel:
status: New → Confirmed
tags: added: area-python
Alexey Stupnikov (astupnikov) wrote :

fuel-python team, please comment about status of this issue.

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Roman Prykhodchenko (romcheg)
Changed in fuel:
status: Confirmed → In Progress
Roman Prykhodchenko (romcheg) wrote :

The patch fixed issues on python side and now needs UI team to take a look at it. Re-assigning.

Changed in fuel:
assignee: Roman Prykhodchenko (romcheg) → Fuel UI Team (fuel-ui)
status: In Progress → Confirmed

Reviewed: https://review.openstack.org/309994
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=4fd3d4ab160c2f6554ceb0378f1d368f2793816e
Submitter: Jenkins
Branch: stable/6.1

commit 4fd3d4ab160c2f6554ceb0378f1d368f2793816e
Author: Roman Prykhodchenko <email address hidden>
Date: Mon Apr 25 16:31:17 2016 +0200

    Fix CI issues for stable/6.1

    Pin the version of stevedore to 1.4.0, add version requirements
    for pytz.

    Change-Id: I0a29648da9e49339cbc0fe0d6111ef2ae5d320fa
    Closes-bug: #1567277

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Roman Prykhodchenko (romcheg)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers