Project

General

Profile

Actions

Bug #64226

open

"run-tox-mgr" in make check fails from "ModuleNotFoundError: No module named 'ceph_module'"

Added by Laura Flores 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://jenkins.ceph.com/job/ceph-pull-requests/128243/consoleFull#-438976920e840cee4-f4a4-4183-81dd-42855615f2c1

==================================== ERRORS ====================================
_____________________ ERROR collecting alerts/__init__.py ______________________
alerts/__init__.py:2: in <module>
    from .module import Alerts
alerts/module.py:6: in <module>
    from mgr_module import CLIReadCommand, HandleCommandResult, MgrModule, Option
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
______________________ ERROR collecting alerts/module.py _______________________
alerts/module.py:6: in <module>
    from mgr_module import CLIReadCommand, HandleCommandResult, MgrModule, Option
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
____________________ ERROR collecting balancer/__init__.py _____________________
balancer/__init__.py:2: in <module>
    from .module import Module
balancer/module.py:12: in <module>
    from mgr_module import CLIReadCommand, CLICommand, CommandResult, MgrModule, Option, OSDMap, CephReleases
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
_____________________ ERROR collecting balancer/module.py ______________________
balancer/module.py:12: in <module>
    from mgr_module import CLIReadCommand, CLICommand, CommandResult, MgrModule, Option, OSDMap, CephReleases
mgr_module.py:1: in <module>
    import ceph_module  # noqa
E   ModuleNotFoundError: No module named 'ceph_module'
=============================== warnings summary ===============================

At the moment, a workaround was proposed in https://tracker.ceph.com/issues/64200, which pins the pytest version to 7.4.4. Eventually though, we would like to use the latest version (8.0.0).


Related issues 1 (1 open0 closed)

Copied from mgr - Bug #64200: "run-tox-mgr" in make check fails from "ModuleNotFoundError: No module named 'ceph_module'"Pending Backport

Actions
Actions #1

Updated by Laura Flores 3 months ago

  • Copied from Bug #64200: "run-tox-mgr" in make check fails from "ModuleNotFoundError: No module named 'ceph_module'" added
Actions #2

Updated by Laura Flores 3 months ago

  • Backport set to reef,quincy
Actions

Also available in: Atom PDF