← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1348818] Re: Unittests do not succeed with random PYTHONHASHSEED value

 

Reviewed:  https://review.openstack.org/272736
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0c118e43395465387b2c911129ec237efaf7db48
Submitter: Jenkins
Branch:    master

commit 0c118e43395465387b2c911129ec237efaf7db48
Author: Itxaka <iserrano@xxxxxxxxxx>
Date:   Tue Jan 26 21:52:51 2016 +0100

    Remove PYTHONHASHSEED=0 from tox
    
    Remove PYTHONHASHSEED=0 so the tests run
    with a random seed.
    
    Change-Id: I681d2b37453642b4823e8341a03d077ebc9cb9a7
    Closes-Bug: #1348818


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1348818

Title:
  Unittests do not succeed with random PYTHONHASHSEED value

Status in Ceilometer:
  Fix Released
Status in Cinder:
  In Progress
Status in Cinder icehouse series:
  Won't Fix
Status in Designate:
  Fix Released
Status in Glance:
  Fix Released
Status in Glance icehouse series:
  Fix Committed
Status in heat:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) icehouse series:
  Won't Fix
Status in Ironic:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in neutron:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released
Status in python-glanceclient:
  Fix Released
Status in python-neutronclient:
  Fix Released
Status in Sahara:
  Fix Released
Status in OpenStack DBaaS (Trove):
  Fix Released
Status in WSME:
  Fix Released

Bug description:
  New tox and python3.3 set a random PYTHONHASHSEED value by default.
  These projects should support this in their unittests so that we do
  not have to override the PYTHONHASHSEED value and potentially let bugs
  into these projects.

  To reproduce these failures:

  # install latest tox
  pip install --upgrade tox
  tox --version # should report 1.7.2 or greater
  cd $PROJECT_REPO
  # edit tox.ini to remove any PYTHONHASHSEED=0 lines
  tox -epy27

  Most of these failures appear to be related to dict entry ordering.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1348818/+subscriptions


References