yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44234
[Bug 1368661] Re: Unit tests sometimes fail because of stale pyc files
Reviewed: https://review.openstack.org/252185
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=9471fcfdcb945003a890c3b3eb2e9872d67562c9
Submitter: Jenkins
Branch: master
commit 9471fcfdcb945003a890c3b3eb2e9872d67562c9
Author: Md Nadeem <md.nadeem@xxxxxxxxxxxxxxxxxx>
Date: Wed Dec 2 13:48:21 2015 +0900
delete python bytecode before every test run
Bring over the cleaning line from run_tests.sh for the pyc files to
all the tox runs.
This should eliminate the need to clean -x -i to kill pyc files in
your local directory to get tests to pass.
Change-Id: I62b9029b984300194a00318de9a0111791bab07e
Closes-Bug: #1368661
** Changed in: zaqar
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 Gnocchi:
Invalid
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 oslo.cache:
Invalid
Status in oslo.concurrency:
Invalid
Status in oslo.log:
Invalid
Status in oslo.service:
Fix Committed
Status in python-cinderclient:
Fix Released
Status in python-congressclient:
In Progress
Status in python-cueclient:
Fix Released
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:
Fix Committed
Status in python-neutronclient:
In Progress
Status in Python client library for Sahara:
Fix Committed
Status in python-solumclient:
In Progress
Status in python-swiftclient:
Fix Released
Status in python-troveclient:
Fix Committed
Status in Python client library for Zaqar:
Fix Committed
Status in Solum:
In Progress
Status in OpenStack Object Storage (swift):
In Progress
Status in Trove:
Fix Released
Status in zaqar:
Fix Released
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