Project

General

Profile

Actions

Bug #61371

closed

mgr/dashboard: setup-venv-for-mgr-dashboard-openapi (Failed)

Added by Casey Bodley 11 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

causing a lot of PR 'make check' failures

236/284 Test  #14: setup-venv-for-mgr-dashboard-openapi ......***Failed   81.84 sec
Python 3.10.6 (main, Aug 10 2022, 11:40:04) [GCC 11.3.0]
Requirement already satisfied: pip>=6.1 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages (22.0.2)
Collecting pip>=6.1
  Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 22.0.2
    Uninstalling pip-22.0.2:
      Successfully uninstalled pip-22.0.2
Successfully installed pip-23.1.2
Collecting tox>=2.9.1
  Using cached tox-4.5.1-py3-none-any.whl (148 kB)
Collecting cachetools>=5.3 (from tox>=2.9.1)
  Using cached cachetools-5.3.0-py3-none-any.whl (9.3 kB)
Collecting chardet>=5.1 (from tox>=2.9.1)
  Using cached chardet-5.1.0-py3-none-any.whl (199 kB)
Collecting colorama>=0.4.6 (from tox>=2.9.1)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting filelock>=3.11 (from tox>=2.9.1)
  Using cached filelock-3.12.0-py3-none-any.whl (10 kB)
Collecting packaging>=23.1 (from tox>=2.9.1)
  Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting platformdirs>=3.2 (from tox>=2.9.1)
  Using cached platformdirs-3.5.1-py3-none-any.whl (15 kB)
Collecting pluggy>=1 (from tox>=2.9.1)
  Using cached pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting pyproject-api>=1.5.1 (from tox>=2.9.1)
  Using cached pyproject_api-1.5.1-py3-none-any.whl (12 kB)
Collecting tomli>=2.0.1 (from tox>=2.9.1)
  Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting virtualenv>=20.21 (from tox>=2.9.1)
  Using cached virtualenv-20.23.0-py3-none-any.whl (3.3 MB)
Collecting distlib<1,>=0.3.6 (from virtualenv>=20.21->tox>=2.9.1)
  Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Installing collected packages: distlib, tomli, pluggy, platformdirs, packaging, filelock, colorama, chardet, cachetools, virtualenv, pyproject-api, tox
Successfully installed cachetools-5.3.0 chardet-5.1.0 colorama-0.4.6 distlib-0.3.6 filelock-3.12.0 packaging-23.1 platformdirs-3.5.1 pluggy-1.0.0 pyproject-api-1.5.1 tomli-2.0.1 tox-4.5.1 virtualenv-20.23.0
Obtaining file:///home/jenkins-build/build/workspace/ceph-pull-requests/src/python-common (from -r requirements.txt (line 8))
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Collecting python3-saml (from -r requirements-extra.txt (line 1))
  Downloading python3_saml-1.15.0-py3-none-any.whl (76 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.0/76.0 kB 382.7 kB/s eta 0:00:00
Collecting pylint==2.6.0 (from -r requirements-lint.txt (line 1))
  Downloading pylint-2.6.0-py3-none-any.whl (325 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 325.7/325.7 kB 537.0 kB/s eta 0:00:00
Collecting flake8==3.9.0 (from -r requirements-lint.txt (line 2))
  Downloading flake8-3.9.0-py2.py3-none-any.whl (73 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.1/73.1 kB 167.2 kB/s eta 0:00:00
Collecting flake8-colors==0.1.6 (from -r requirements-lint.txt (line 3))
  Downloading flake8-colors-0.1.6.tar.gz (2.2 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting rstcheck==3.3.1 (from -r requirements-lint.txt (line 7))
  Using cached rstcheck-3.3.1.tar.gz (13 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting autopep8==1.5.7 (from -r requirements-lint.txt (line 8))
  Downloading autopep8-1.5.7-py2.py3-none-any.whl (45 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.0/45.0 kB 613.6 kB/s eta 0:00:00
Collecting pyfakefs==4.5.0 (from -r requirements-lint.txt (line 9))
  Downloading pyfakefs-4.5.0-py3-none-any.whl (186 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 186.3/186.3 kB 2.0 MB/s eta 0:00:00
Collecting isort==5.5.3 (from -r requirements-lint.txt (line 10))
  Downloading isort-5.5.3-py3-none-any.whl (95 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.9/95.9 kB 1.0 MB/s eta 0:00:00
Collecting jsonschema==4.16.0 (from -r requirements-lint.txt (line 11))
  Using cached jsonschema-4.16.0-py3-none-any.whl (83 kB)
Collecting pytest-cov (from -r requirements-test.txt (line 1))
  Using cached pytest_cov-4.0.0-py3-none-any.whl (21 kB)
Collecting pytest-instafail (from -r requirements-test.txt (line 2))
  Downloading pytest_instafail-0.5.0-py3-none-any.whl (4.2 kB)
Collecting bcrypt (from -r requirements.txt (line 1))
  Using cached bcrypt-3.2.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (62 kB)
Collecting CherryPy (from -r requirements.txt (line 2))
  Downloading CherryPy-13.1.0-py2.py3-none-any.whl (430 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 430.2/430.2 kB 1.6 MB/s eta 0:00:00
Collecting more-itertools (from -r requirements.txt (line 3))
  Downloading more_itertools-8.14.0-py3-none-any.whl (52 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 633.2 kB/s eta 0:00:00
Collecting PyJWT (from -r requirements.txt (line 4))
  Downloading PyJWT-2.7.0-py3-none-any.whl (22 kB)
Collecting pyopenssl (from -r requirements.txt (line 5))
  Using cached pyOpenSSL-23.1.1-py3-none-any.whl (57 kB)
Collecting requests (from -r requirements.txt (line 6))
  Downloading requests-2.30.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 526.8 kB/s eta 0:00:00
Collecting Routes (from -r requirements.txt (line 7))
  Downloading Routes-2.5.1-py2.py3-none-any.whl (40 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.1/40.1 kB 533.9 kB/s eta 0:00:00
Collecting prettytable (from -r requirements.txt (line 9))
  Downloading prettytable-3.7.0-py3-none-any.whl (27 kB)
Collecting pytest (from -r requirements.txt (line 10))
  Using cached pytest-7.3.1-py3-none-any.whl (320 kB)
Collecting pyyaml (from -r requirements.txt (line 11))
  Using cached PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
Collecting natsort (from -r requirements.txt (line 12))
  Downloading natsort-8.3.1-py3-none-any.whl (38 kB)
Requirement already satisfied: setuptools in /home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages (from -r requirements.txt (line 13)) (59.6.0)
Collecting jsonpatch (from -r requirements.txt (line 14))
  Using cached jsonpatch-1.32-py2.py3-none-any.whl (12 kB)
Collecting astroid<=2.5,>=2.4.0 (from pylint==2.6.0->-r requirements-lint.txt (line 1))
  Downloading astroid-2.5-py3-none-any.whl (220 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 220.3/220.3 kB 1.1 MB/s eta 0:00:00
Collecting mccabe<0.7,>=0.6 (from pylint==2.6.0->-r requirements-lint.txt (line 1))
  Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting toml>=0.7.1 (from pylint==2.6.0->-r requirements-lint.txt (line 1))
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting pyflakes<2.4.0,>=2.3.0 (from flake8==3.9.0->-r requirements-lint.txt (line 2))
  Downloading pyflakes-2.3.1-py2.py3-none-any.whl (68 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.8/68.8 kB 630.3 kB/s eta 0:00:00
Collecting pycodestyle<2.8.0,>=2.7.0 (from flake8==3.9.0->-r requirements-lint.txt (line 2))
  Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 407.2 kB/s eta 0:00:00
Collecting docutils>=0.7 (from rstcheck==3.3.1->-r requirements-lint.txt (line 7))
  Using cached docutils-0.20.1-py3-none-any.whl (572 kB)
Collecting attrs>=17.4.0 (from jsonschema==4.16.0->-r requirements-lint.txt (line 11))
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 (from jsonschema==4.16.0->-r requirements-lint.txt (line 11))
  Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 493.5 kB/s eta 0:00:00
Collecting lxml!=4.7.0,>=4.6.5 (from python3-saml->-r requirements-extra.txt (line 1))
  Downloading lxml-4.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.1/7.1 MB 3.1 MB/s eta 0:00:00
Collecting isodate>=0.6.1 (from python3-saml->-r requirements-extra.txt (line 1))
  Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 1.5 MB/s eta 0:00:00
Collecting xmlsec>=1.3.9 (from python3-saml->-r requirements-extra.txt (line 1))
  Downloading xmlsec-1.3.13.tar.gz (64 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.6/64.6 kB 1.0 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting coverage[toml]>=5.2.1 (from pytest-cov->-r requirements-test.txt (line 1))
  Using cached coverage-7.2.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (228 kB)
Collecting cffi>=1.1 (from bcrypt->-r requirements.txt (line 1))
  Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.8/441.8 kB 2.9 MB/s eta 0:00:00
Collecting six>=1.11.0 (from CherryPy->-r requirements.txt (line 2))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting cheroot>=5.9.1 (from CherryPy->-r requirements.txt (line 2))
  Downloading cheroot-10.0.0-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 kB 1.2 MB/s eta 0:00:00
Collecting portend>=2.1.1 (from CherryPy->-r requirements.txt (line 2))
  Downloading portend-3.1.0-py3-none-any.whl (5.3 kB)
Collecting cryptography<41,>=38.0.0 (from pyopenssl->-r requirements.txt (line 5))
  Using cached cryptography-40.0.2-cp36-abi3-manylinux_2_28_x86_64.whl (3.7 MB)
Collecting charset-normalizer<4,>=2 (from requests->-r requirements.txt (line 6))
  Downloading charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.3/199.3 kB 2.3 MB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests->-r requirements.txt (line 6))
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.1 MB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1 (from requests->-r requirements.txt (line 6))
  Downloading urllib3-2.0.2-py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.2/123.2 kB 724.1 kB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 6))
  Using cached certifi-2023.5.7-py3-none-any.whl (156 kB)
Collecting repoze.lru>=0.3 (from Routes->-r requirements.txt (line 7))
  Downloading repoze.lru-0.7-py3-none-any.whl (10 kB)
Collecting wcwidth (from prettytable->-r requirements.txt (line 9))
  Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
Collecting iniconfig (from pytest->-r requirements.txt (line 10))
  Using cached iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Requirement already satisfied: packaging in /home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages (from pytest->-r requirements.txt (line 10)) (23.1)
Requirement already satisfied: pluggy<2.0,>=0.12 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages (from pytest->-r requirements.txt (line 10)) (1.0.0)
Collecting exceptiongroup>=1.0.0rc8 (from pytest->-r requirements.txt (line 10))
  Using cached exceptiongroup-1.1.1-py3-none-any.whl (14 kB)
Requirement already satisfied: tomli>=1.0.0 in /home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages (from pytest->-r requirements.txt (line 10)) (2.0.1)
Collecting jsonpointer>=1.9 (from jsonpatch->-r requirements.txt (line 14))
  Using cached jsonpointer-2.3-py2.py3-none-any.whl (7.8 kB)
Collecting lazy-object-proxy>=1.4.0 (from astroid<=2.5,>=2.4.0->pylint==2.6.0->-r requirements-lint.txt (line 1))
  Downloading lazy_object_proxy-1.9.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (63 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.3/63.3 kB 166.7 kB/s eta 0:00:00
Collecting wrapt<1.13,>=1.11 (from astroid<=2.5,>=2.4.0->pylint==2.6.0->-r requirements-lint.txt (line 1))
  Downloading wrapt-1.12.1.tar.gz (27 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pycparser (from cffi>=1.1->bcrypt->-r requirements.txt (line 1))
  Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 332.0 kB/s eta 0:00:00
Collecting jaraco.functools (from cheroot>=5.9.1->CherryPy->-r requirements.txt (line 2))
  Downloading jaraco.functools-3.6.0-py3-none-any.whl (7.9 kB)
Collecting tempora>=1.8 (from portend>=2.1.1->CherryPy->-r requirements.txt (line 2))
  Downloading tempora-5.2.2-py3-none-any.whl (13 kB)
Collecting pytz (from tempora>=1.8->portend>=2.1.1->CherryPy->-r requirements.txt (line 2))
  Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 476.9 kB/s eta 0:00:00
WARNING: The candidate selected for download or install is a yanked version: 'pyfakefs' candidate (version 4.5.0 at https://files.pythonhosted.org/packages/26/9d/1cab49bbcfdb31bfced131f29ef2a8cf6ddf518e4981ae33aa8a1b5a4191/pyfakefs-4.5.0-py3-none-any.whl (from https://pypi.org/simple/pyfakefs/) (requires-python:>=3.5))
Reason for being yanked: Fix https://github.com/jmcgeheeiv/pyfakefs/issues/659
Building wheels for collected packages: flake8-colors, rstcheck, ceph, xmlsec, wrapt
  Building wheel for flake8-colors (pyproject.toml): started
  Building wheel for flake8-colors (pyproject.toml): finished with status 'done'
  Created wheel for flake8-colors: filename=flake8_colors-0.1.6-py3-none-any.whl size=2436 sha256=3bd3bdfa171f31652a1c83a7b890833b8f653e2d496224d0036d7f756a0294b4
  Stored in directory: /home/jenkins-build/build/workspace/ceph-pull-requests/install-deps-cache/pip/wheels/56/cc/94/2188cbdc2a16a39768b0c9e7ff4dfb9bf941480a0c19cda354
ERROR: Exception:
Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
    status = run_func(*args)
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 417, in run
    _, build_failures = build(
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages/pip/_internal/wheel_builder.py", line 334, in build
    wheel_cache.record_download_origin(cache_dir, req.download_info)
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages/pip/_internal/cache.py", line 261, in record_download_origin
    origin = DirectUrl.from_json(origin_path.read_text())
  File "/home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-dashboard-openapi-virtualenv/lib/python3.10/site-packages/pip/_internal/models/direct_url.py", line 231, in from_json
    return cls.from_dict(json.loads(s))
  File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

        Start  16: run-tox-mgr-dashboard-openapi
Failed test dependencies: setup-venv-for-mgr-dashboard-openapi
The following tests FAILED:
     14 - setup-venv-for-mgr-dashboard-openapi (Failed)
     16 - run-tox-mgr-dashboard-openapi (Not Run)
Actions #1

Updated by Casey Bodley 11 months ago

causing setup-venv-for-mgr-dashboard-lint failures too

Actions #2

Updated by Pedro González Gómez 7 months ago

  • Status changed from New to Closed

Doesn't seem to keep happening, closing it for now.
Reopen it if needed.

Actions

Also available in: Atom PDF