Project

General

Profile

Bug #48425

mgr/insights: ModuleNotFoundError: No module named 'six'

Added by Volker Theile about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
insights module
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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

History

#1 Updated by Nathan Cutler about 2 months 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

#3 Updated by Brad Hubbard about 2 months ago

  • Pull request ID set to 38396

#4 Updated by Brad Hubbard about 2 months ago

  • Status changed from New to In Progress
  • Assignee changed from Noah Watkins to Brad Hubbard

#5 Updated by Brad Hubbard about 2 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF