← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: ceilometer
     Importance: Undecided
         Status: New

** Affects: cinder
     Importance: Undecided
         Status: New

** Affects: neutron
     Importance: Undecided
         Status: New

** Affects: nova
     Importance: Undecided
         Status: New

** Also affects: neutron
   Importance: Undecided
       Status: New

** Also affects: ceilometer
   Importance: Undecided
       Status: New

** Also affects: cinder
   Importance: Undecided
       Status: New

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

Title:
  Unittests do not succeed with random PYTHONHASHSEED value

Status in OpenStack Telemetry (Ceilometer):
  New
Status in Cinder:
  New
Status in OpenStack Neutron (virtual network service):
  New
Status in OpenStack Compute (Nova):
  New

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


Follow ups

References