ValueError when running Keystone tests

Bug #1400565 reported by Lance Bragstad
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Brant Knudson

Bug Description

When running the Keystone tests against the latest master branch I get the following error:

${PYTHON:-python} -m subunit.run discover -t ./ ./keystone/tests --load-list /tmp/user/1000/tmpAaHUxr
No handlers could be found for logger "keystone.catalog.core"
Traceback (most recent call last):
  File "/opt/stack/keystone/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 455, in fire_timers
    timer()
  File "/opt/stack/keystone/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
    cb(*args, **kw)
  File "/opt/stack/keystone/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 212, in main
    result = function(*args, **kwargs)
  File "keystone/common/environment/eventlet_server.py", line 179, in _run
    debug=False)
  File "/opt/stack/keystone/.tox/py27/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 770, in server
    host, port = sock.getsockname()[:2]
ValueError: need more than 0 values to unpack

The tests do succeed but the value error is reported during the test run. Latest commit is:

commit 6aaba42f0d3038aa3f26b5f308dd45fcfef2a65a
Merge: 3a67102 c9acfb8
Author: Jenkins <email address hidden>
Date: Mon Dec 8 23:46:03 2014 +0000

    Merge "Remove useless field passed into SQLAlchemy "distinct" statement"

Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Medium
Changed in keystone:
assignee: nobody → Brant Knudson (blk-u)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/140835
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=20b272a7b47dd14eae106557462e6692c0a0bf41
Submitter: Jenkins
Branch: master

commit 20b272a7b47dd14eae106557462e6692c0a0bf41
Author: Brant Knudson <email address hidden>
Date: Wed Dec 10 14:58:12 2014 -0600

    Cleanup eventlet use in tests

    The tests in test_wsgi should stop the server once the test is over,
    otherwise it would continue running and potentially affect other
    tests.

    Also, there were a couple of tests that did
    environment.use_eventlet() in setUp, which has no effect since this
    was already done in keystone.tests.core, and it's incorrect to put
    this in a test setUp since it would affect other tests as it's an
    application-wide library setting.

    Closes-Bug: #1400565
    Change-Id: Ibb00a1afa64cf46aaa0eafaca895bcf7a1f69eb0

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: kilo-1 → 2015.1.0
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.