yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42989
[Bug 1368661] Re: Unit tests sometimes fail because of stale pyc files
Reviewed: https://review.openstack.org/254058
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=022950d9d96b1e9ea1a8801ef54755f33769ba98
Submitter: Jenkins
Branch: master
commit 022950d9d96b1e9ea1a8801ef54755f33769ba98
Author: Anusha Ramineni <anusha.ramineni@xxxxxxxxxxxxxxxxxx>
Date: Mon Dec 7 13:36:56 2015 +0530
tox: rm all pyc before doing unit test
Delete python bytecode before every test run.
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.
Closes-Bug: #1368661
Change-Id: If31ffc245ade9f62b61f99246e59208208ed4fb1
** Changed in: congress
Status: In Progress => Fix Released
--
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/1368661
Title:
Unit tests sometimes fail because of stale pyc files
Status in congress:
Fix Released
Status in Ironic:
Fix Released
Status in Magnum:
Fix Released
Status in Mistral:
Fix Released
Status in Monasca:
Fix Committed
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) icehouse series:
Fix Released
Status in python-cinderclient:
Fix Committed
Status in python-congressclient:
In Progress
Status in python-glanceclient:
In Progress
Status in python-heatclient:
Fix Committed
Status in python-keystoneclient:
Fix Committed
Status in python-magnumclient:
Fix Released
Status in python-mistralclient:
New
Status in python-neutronclient:
In Progress
Status in Python client library for Sahara:
Fix Committed
Status in python-swiftclient:
In Progress
Status in python-troveclient:
Fix Committed
Status in Python client library for Zaqar:
Fix Committed
Status in Trove:
Fix Released
Status in zaqar:
In Progress
Bug description:
Because python creates pyc files during tox runs, certain changes in
the tree, like deletes of files, or switching branches, can create
spurious errors. This can be suppressed by PYTHONDONTWRITEBYTECODE=1
in the tox.ini.
To manage notifications about this bug go to:
https://bugs.launchpad.net/congress/+bug/1368661/+subscriptions
References