Project

General

Profile

Actions

Bug #58226

open

projectroot.src.cephadm.run_tox_cephadm (from CTest): .tox/bin/python: No module named tox

Added by Kamoltat (Junior) Sirivadhna over 1 year ago. Updated 11 months ago.

Status:
Pending Backport
Priority:
Urgent
Assignee:
-
% Done:

0%

Source:
Tags:
build,ci,test-failure
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

make check failed for all milestones.

Stack Trace:

Requirement already satisfied: tox in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (4.0.3)
Requirement already satisfied: cachetools>=5.2 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (5.2.0)
Requirement already satisfied: packaging>=22 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (22.0)
Requirement already satisfied: filelock>=3.8.2 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (3.8.2)
Requirement already satisfied: virtualenv>=20.17.1 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (20.17.1)
Requirement already satisfied: tomli>=2.0.1 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (2.0.1)
Requirement already satisfied: platformdirs>=2.6 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (2.6.0)
Requirement already satisfied: pluggy>=1 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (1.0.0)
Requirement already satisfied: colorama>=0.4.6 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (0.4.6)
Requirement already satisfied: pyproject-api>=1.2.1 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (1.2.1)
Requirement already satisfied: chardet>=5.1 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from tox) (5.1.0)
Requirement already satisfied: distlib<1,>=0.3.6 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/lib/python3.10/site-packages (from virtualenv>=20.17.1->tox) (0.3.6)
ROOT: will run in automatically provisioned tox, host /home/jenkins-build/build/workspace/ceph-pull-requests/build/cephadm-virtualenv/bin/python3 is missing [requires (has)]: cython
ROOT: install_deps /home/jenkins-build/build/workspace/ceph-pull-requests/src/cephadm> python -I -m pip install mock pyfakefs==5.0 pytest
ROOT: provision /home/jenkins-build/build/workspace/ceph-pull-requests/src/cephadm> .tox/.tox/bin/python -m tox -c /home/jenkins-build/build/workspace/ceph-pull-requests/src/cephadm/tox.ini -e py3,mypy,flake8
/home/jenkins-build/build/workspace/ceph-pull-requests/src/cephadm/.tox/.tox/bin/python: No module named tox
Actions #2

Updated by Laura Flores over 1 year ago

This run from a few days ago (https://jenkins.ceph.com/job/ceph-pull-requests/107645/consoleFull) was using tox v3.27.1:

Successfully installed distlib-0.3.6 filelock-3.8.1 packaging-21.3 platformdirs-2.5.4 pluggy-1.0.0 py-1.11.0 pyparsing-3.0.9 six-1.16.0 tomli-2.0.1 tox-3.27.1 virtualenv-20.17.0

But on recent PRs, we've been installing tox v4.0.3, which is the latest tox version per https://tox.wiki/en/latest/changelog.html:

Successfully installed cachetools-5.2.0 chardet-5.1.0 colorama-0.4.6 distlib-0.3.6 filelock-3.8.2 packaging-22.0 platformdirs-2.6.0 pluggy-1.0.0 pyproject-api-1.2.1 tomli-2.0.1 tox-4.0.3 virtualenv-20.17.1 wheel-0.38.4

Actions #4

Updated by Kefu Chai over 1 year ago

  • Status changed from Resolved to Pending Backport
Actions #5

Updated by Laura Flores 11 months ago

Has this been resolved, or are we still waiting on a backport?

Actions

Also available in: Atom PDF