Rally py26 and py27 tests fail on tox 1.7.2

Bug #1358744 reported by Ilya Shakhat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Critical
Boris Pavlovic

Bug Description

New tox (1.7.2) set a random PYTHONHASHSEED value by default. This causes failures of tests that rely on order of iteration over dicts, serialization of dicts, etc.

To repro:
1) Install tox 1.7.2
2) make sure that PYTHONHASHSEED is not set
3) run tests - random failures occur

For related info refer to https://bugs.launchpad.net/python-neutronclient/+bug/1348818/

Changed in rally:
status: New → Confirmed
assignee: nobody → Boris Pavlovic (boris-42)
importance: Undecided → Critical
Changed in rally:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/116014
Committed: https://git.openstack.org/cgit/stackforge/rally/commit/?id=6ad67148ec697fbfcd18ff492239c7ceed40ba7a
Submitter: Jenkins
Branch: master

commit 6ad67148ec697fbfcd18ff492239c7ceed40ba7a
Author: Boris Pavlovic <email address hidden>
Date: Thu Aug 21 19:34:22 2014 +0400

    Fix failing tests in gates

    This tests actually were wrong since begging. Cause __lt__ and __gt__
    stuff works only in case of instance of classes.
    So I really don't know why this worked at all

    Add any_order=True to some of assert_has_calls

    Closes-Bug: #1358744

    Change-Id: Ia699611c14e25b4a1d4592304192c444ba26f853

Changed in rally:
status: In Progress → Fix Committed
Changed in rally:
status: Fix Committed → Fix Released
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.