Actions
Bug #50227
closedmgr/dashboard: nautilus: Problem with repeatability of mgr-*-venv builds
Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
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
Description of problem¶
I noticed errors in the build related to the mgr virtualenvs such as mgr-dashboard-test-venv in nautilus. Examples below.
/working/ceph/src/tools/setup-virtualenv.sh: line 63: pip: command not found /working/ceph/src/tools/setup-virtualenv.sh: line 71: pip: command not found /working/ceph/src/tools/setup-virtualenv.sh: line 73: pip: command not found /working/ceph/src/tools/setup-virtualenv.sh: line 83: pip: command not found /working/ceph/src/tools/setup-virtualenv.sh: line 88: pip: command not found
insights tests virtualenv is being created cd /working/ceph/src/pybind/mgr/insights && /working/ceph/src/tools/setup-virtualenv.sh --python=/usr/bin/python3 /working/ceph/build/mgr-insights-virtualenv created virtual environment CPython3.8.5.final.0-64 in 250ms creator CPython3Posix(dest=/working/ceph/build/mgr-insights-virtualenv, clear=False, global=False) seeder FromAppData(download=False, msgpack=latest, contextlib2=latest, setuptools=latest, pyparsing=latest, CacheControl=latest, retrying=latest, lockfile=latest, certifi=latest, pep517=latest, pytoml=latest, distro=latest, six=latest , idna=latest, chardet=latest, colorama=latest, pkg_resources=latest, html5lib=latest, distlib=latest, requests=latest, pip=latest, webencodings=latest, progress=latest, urllib3=latest, appdirs=latest, wheel=latest, packaging=latest, ip addr=latest, via=copy, app_data_dir=/root/.local/share/virtualenv/seed-app-data/v1.0.1.debian) activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator Traceback (most recent call last): File "/working/ceph/build/mgr-insights-virtualenv/bin/pip", line 5, in <module> from pip._internal.cli.main import main File "/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 10, in <module> from pip._internal.cli.autocompletion import autocomplete File "/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 9, in <module> from pip._internal.cli.main_parser import create_main_parser File "/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module> from pip._internal.cli import cmdoptions File "/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_internal/cli/cmdoptions.py", line 25, in <module> from pip._internal.locations import USER_CACHE_DIR, get_src_prefix File "/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_internal/locations.py", line 19, in <module> from pip._internal.utils import appdirs File "/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_internal/utils/appdirs.py", line 13, in <module> from pip._vendor import appdirs as _appdirs ImportError: cannot import name 'appdirs' from 'pip._vendor' (/working/ceph/build/mgr-insights-virtualenv/lib/python3.8/site-packages/pip/_vendor/__init__.py)
Environment¶
ceph version
string: nautilus 53aefaa1443c3a9bbd4e6448aa69e3d88b58cd51- Platform (OS/distro/release): Ubuntu focal container sha256:3c9c713e0979e9bd6061ed52ac1e9e1f246c9495aa063619d9d695fb8039aa1f
- Cluster details (nodes, monitors, OSDs): N/A
- Browser used (e.g.:
Version 86.0.4240.198 (Official Build) (64-bit)
): N/A
How reproducible¶
100%
- git checkout nautilus
- ./install-deps.sh
- ./do_cmake.sh
- cd build
- for x in $(seq 1 5); do make clean && make -j8 mgr-ansible-test-venv mgr-dashboard-test-venv mgr-insights-test-venv mgr-orchestrator_cli-test-venv; done
Actual results¶
make command fails with above errors
Expected results¶
make command should succeeed
Updated by Ernesto Puerta almost 3 years ago
- Project changed from mgr to Dashboard
- Category deleted (
Build)
Updated by Brad Hubbard almost 3 years ago
- Status changed from New to Can't reproduce
Ernesto Puerta wrote:
Brad: is this still happening?
No, it doesn't seem to happen on 53aefaa1443c3a9bbd4e6448aa69e3d88b58cd51
Actions