stale pyc's cause unit tests to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Won't Fix
|
Undecided
|
Matt Riedemann |
Bug Description
I hit this when running tox -r -e py27 on stable/juno because of stale pyc's in my environment:
Failed to import test module: ceilometer.
Traceback (most recent call last):
File "/home/
module = self._get_
File "/home/
__import_
File "ceilometer/
from ceilometer.central import manager
File "ceilometer/
class AgentManager(
AttributeError: 'module' object has no attribute 'AgentManager'
Non-zero exit code (2) from test listing.
error: testr failed (3)
+ clean_exit
+ local error_code=1
+ rm -rf CEILO-MONGODB-Ljw5A
+ test -n ''
++ jobs -p
+ kill 11233 11283
+ return 1
We should delete *.pyc's in the tox venv before running tests.
Changed in ceilometer: | |
assignee: | nobody → Matt Riedemann (mriedem) |
status: | New → In Progress |
Changed in ceilometer: | |
status: | In Progress → Invalid |
Fix: https:/ /review. openstack. org/#/c/ 198815/