Bug #48425
closedmgr/insights: ModuleNotFoundError: No module named 'six'
0%
Description
The 'make check' fails on Octopus right at the moment because of the error below.
https://jenkins.ceph.com/job/ceph-pull-requests/64820/console
============================= test session starts ==============================
platform linux -- Python 3.6.9, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
cachedir: /home/jenkins-build/build/workspace/ceph-pull-requests/build/insights/py3/.pytest_cache
rootdir: /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/insights
collected 0 items / 1 error
==================================== ERRORS ====================================
____________ ERROR collecting tests/test_health.py _____________
ImportError while importing test module '/home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/insights/tests/test_health.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.6/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_health.py:3: in <module>
from ..health import *
health.py:2: in <module>
import six
E ModuleNotFoundError: No module named 'six'
=========================== short test summary info ============================
ERROR tests/test_health.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.14s ===============================
ERROR: InvocationError for command /home/jenkins-build/build/workspace/ceph-pull-requests/build/insights/py3/bin/py.test tests/ (exited with code 2)
___________________________ summary ____________________________
ERROR: py3: commands failed
Updated by Nathan Cutler over 3 years ago
AFAICT this affects nautilus as well as octopus
Brad Hubbard has a fix for octopus up already: https://github.com/ceph/ceph/pull/38396
Updated by Kefu Chai over 3 years ago
fix for nautilus: https://github.com/ceph/ceph/pull/38382
Updated by Brad Hubbard over 3 years ago
- Status changed from New to In Progress
- Assignee changed from Noah Watkins to Brad Hubbard
Updated by Brad Hubbard over 3 years ago
- Status changed from In Progress to Resolved