← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368661] Re: Unit tests sometimes fail because of stale pyc files

 

** Also affects: python-magnumclient
   Importance: Undecided
       Status: New

** Changed in: python-magnumclient
     Assignee: (unassigned) => yuanying (ootsuka)

** Changed in: magnum
   Importance: Undecided => Medium

** Changed in: python-magnumclient
   Importance: Undecided => Medium

-- 
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 Ironic:
  Fix Released
Status in Magnum:
  Fix Committed
Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) icehouse series:
  Fix Released
Status in python-magnumclient:
  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/ironic/+bug/1368661/+subscriptions


References