elastic-recheck unit tests failing due to irc 11.1 release

Bug #1423431 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Gate
New
Undecided
Unassigned

Bug Description

http://logs.openstack.org/45/157245/1/check/gate-elastic-recheck-python27/63fa0df/console.html#_2015-02-19_03_09_11_724

Started failing due to an ImportError and irc 11.1 was released today (e-r patches were passing earlier today so this has to be it):

https://pypi.python.org/pypi/irc/11.1

Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

Whatever the bad import is I'm not seeing it right now in the changed commits going into 11.1:

https://bitbucket.org/jaraco/irc/commits/all

Revision history for this message
Matt Riedemann (mriedem) wrote :

Here is the ImportError:

${PYTHON:-python} -m subunit.run discover -t ./ . --list
--- import errors ---
Failed to import test module: elastic_recheck.tests.unit.test_bot
Traceback (most recent call last):
  File "/home/mriedem/git/elastic-recheck/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 445, in _find_test_path
    module = self._get_module_from_name(name)
  File "/home/mriedem/git/elastic-recheck/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 384, in _get_module_from_name
    __import__(name)
  File "elastic_recheck/tests/unit/test_bot.py", line 22, in <module>
    from elastic_recheck import bot
  File "elastic_recheck/bot.py", line 49, in <module>
    import irc.bot
  File "/home/mriedem/git/elastic-recheck/.tox/py27/local/lib/python2.7/site-packages/irc/bot.py", line 14, in <module>
    import irc.client
  File "/home/mriedem/git/elastic-recheck/.tox/py27/local/lib/python2.7/site-packages/irc/client.py", line 77, in <module>
    from . import buffer
  File "/home/mriedem/git/elastic-recheck/.tox/py27/local/lib/python2.7/site-packages/irc/buffer.py", line 8, in <module>
    log = logging.getLogger(__name__)
AttributeError: 'module' object has no attribute 'getLogger'
Non-zero exit code (2) from test listing.
error: testr failed (3)

Due to this commit:

https://bitbucket.org/jaraco/irc/commits/da2975c6ed3dd30b15ad87fea0096b552e646f1e

Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

https://bitbucket.org/jaraco/irc/commits/0ec844910929f733704c00f2f2e34d6a88616fe5 fixes the bug, the 11.1.1 release has the fix so we can uncap but just block 11.1.

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.