Project

General

Profile

Bug #42807

ceph unittest failed

Added by andy qi 5 months ago. Updated 4 months ago.

Status:
Need More Info
Priority:
Normal
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:

Description

on the aarch64 centos 7,unittest run-tox-mgr-dashboard failed
follow is the detail message:

The following tests FAILED:
1 - run-tox-mgr-dashboard (Failed)

[root@ceph2 build]# /root/projects/src_ceph/ceph-master/src/script/run_tox.sh --source-dir /root/projects/src_ceph/ceph-master --build-dir /root/projects/src_cephox-path /root/projects/src_ceph/ceph-master/src/pybind/mgr/dashboard --tox-envs py27,lint,check --venv-path /root/projects/src_ceph/ceph-master/build/mgr-dashboar
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A futurdrop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-suppo
Requirement already satisfied: tox in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (3.14.0)
Requirement already satisfied: py<2,>=1.4.17 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (1.8.0)
Requirement already satisfied: six<2,>=1.0.0 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (1.11.0)
Requirement already satisfied: toml>=0.9.4 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (0.10.0)
Requirement already satisfied: importlib-metadata<1,>=0.12; python_version < "3.8" in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (0.23)
Requirement already satisfied: packaging>=14 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (19.2)
Requirement already satisfied: filelock<4,>=3.0.0 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (3.0.12)
Requirement already satisfied: pluggy<1,>=0.12.0 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (0.13.0)
Requirement already satisfied: virtualenv>=14.0.0 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from tox) (16.7.6)
Requirement already satisfied: configparser>=3.5; python_version < "3" in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from importlib-metadata<1,>=0.128"->tox) (4.0.2)
Requirement already satisfied: contextlib2; python_version < "3" in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from importlib-metadata<1,>=0.12; pythx) (0.6.0.post1)
Requirement already satisfied: zipp>=0.5 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from importlib-metadata<1,>=0.12; python_version < "3.8"->tox)
Requirement already satisfied: pathlib2; python_version == "3.4.*" or python_version < "3" in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from importlpython_version < "3.8"->tox) (2.3.5)
Requirement already satisfied: pyparsing>=2.0.2 in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from packaging>=14->tox) (2.4.2)
Requirement already satisfied: more-itertools in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from zipp>=0.5->importlib-metadata<1,>=0.12; python_versi0)
Requirement already satisfied: scandir; python_version < "3.5" in ./mgr-dashboard-virtualenv/lib/python2.7/site-packages (from pathlib2; python_version == "3.4.*"3"->importlib-metadata<1,>=0.12; python_version < "3.8"->tox) (1.10.0)
py27 installed: DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after thion of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/root/projects/src_ceph/ceph-master/src/pybind/mgr/dashboard/wheelhouse,asn1crypto==1.2.0,atomicwrites==1.3.0,attrs==19.3.0,backports.functools-lru-cache==1.5,bcr19.9.11,cffi==1.13.0,chardet==3.0.4,cheroot==8.2.0,CherryPy==13.1.0,configparser==4.0.2,contextlib2==0.6.0.post1,coverage==4.5.4,cryptography==2.7,defusedxml==0.5igs==1.0.2,idna==2.7,importlib-metadata==0.23,ipaddress==1.0.22,isodate==0.6.0,jaraco.functools==2.0,lxml==4.4.1,mock==3.0.5,more-itertools==4.1.0,pathlib2==2.3.5gy==0.13.0,portend==2.5,py==1.8.0,pycparser==2.19,PyJWT==1.6.4,pyOpenSSL==17.5.0,pytest==3.10.1,pytest-cov==2.8.1,pytest-instafail==0.4.1,python3-saml==1.4.1,pytz.7,requests==2.20.0,Routes==2.4.1,scandir==1.10.0,six==1.11.0,tempora==1.14.1,urllib3==1.24.3,xmlsec==1.3.3,zipp==0.6.0
py27 run-test-pre: PYTHONHASHSEED='3999785798'
py27 run-test: commands0 | pytest ================================================================================= test session starts ============================================================
platform linux2 -- Python 2.7.5, pytest-3.10.1, py-1.8.0, pluggy-0.13.0
rootdir: /root/projects/src_ceph/ceph-master/src/pybind/mgr/dashboard, inifile: tox.ini
plugins: cov-2.8.1, instafail-0.4.1
_________________________________________________________________ ERROR collecting controllers/home.py ___________________________________________
controllers/home.py:19: in <module>
LANGUAGES = {f for f in os.listdir(mgr.get_frontend_path())
E OSError: [Errno 2] No such file or directory: './frontend/dist'

History

#1 Updated by Casey Bodley 4 months ago

  • Project changed from rgw to mgr

#2 Updated by Neha Ojha 4 months ago

  • Status changed from New to Need More Info

Is this reproducible?

Also available in: Atom PDF