Rally py26 and py27 tests fail on tox 1.7.2
Bug #1358744 reported by
Ilya Shakhat
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:/
Changed in rally: | |
status: | New → Confirmed |
assignee: | nobody → Boris Pavlovic (boris-42) |
importance: | Undecided → Critical |
Changed in rally: | |
status: | Confirmed → In Progress |
Changed in rally: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/116014 /git.openstack. org/cgit/ stackforge/ rally/commit/ ?id=6ad67148ec6 97fbfcd18ff4922 39c7ceed40ba7a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6ad67148ec697fb fcd18ff492239c7 ceed40ba7a
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: Ia699611c14e25b 4a1d4592304192c 444ba26f853