yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89454
[Bug 1368661] Re: Unit tests sometimes fail because of stale pyc files
Reviewed: https://review.opendev.org/c/openstack/python-glanceclient/+/830688
Committed: https://opendev.org/openstack/python-glanceclient/commit/75218d289ed27b4eddd645436275b1e51aed0fab
Submitter: "Zuul (22348)"
Branch: master
commit 75218d289ed27b4eddd645436275b1e51aed0fab
Author: Cyril Roelandt <cyril@xxxxxxxxxx>
Date: Wed Feb 23 21:25:29 2022 +0100
Delete python bytecode before every test run
Because python creates pyc files during tox runs, certain changes in the
tree, like branch switching or file deletion, can create spurious
errors.
Closes-Bug: #1368661
Change-Id: I93917b051039506d99837028700bc03337cf68f6
** Changed in: python-glanceclient
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.service:
Fix Released
Status in python-cinderclient:
Fix Released
Status in python-congressclient:
Fix Released
Status in python-cueclient:
Fix Released
Status in Glance Client:
Fix Released
Status in python-heatclient:
Fix Committed
Status in python-keystoneclient:
Fix Released
Status in python-magnumclient:
Fix Released
Status in python-mistralclient:
Fix Released
Status in python-neutronclient:
Fix Released
Status in Python client library for Sahara:
Fix Released
Status in python-solumclient:
Fix Released
Status in python-swiftclient:
Fix Released
Status in python-troveclient:
Fix Released
Status in Python client library for Zaqar:
Fix Released
Status in Solum:
Fix Released
Status in OpenStack Object Storage (swift):
Fix Released
Status in OpenStack DBaaS (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