Project

General

Profile

Actions

Bug #48425

closed

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

Added by Volker Theile over 3 years ago. Updated over 3 years 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 (v1):
Crash signature (v2):

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

Actions #1

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

Actions #3

Updated by Brad Hubbard over 3 years ago

  • Pull request ID set to 38396
Actions #4

Updated by Brad Hubbard over 3 years ago

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

Updated by Brad Hubbard over 3 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF