Actions
Bug #43100
closedluminous: ceph-detect-init tox tests fail due to problem with py3 dependencies in old distro
% 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
Symptom: ceph-detect-init "make check" test on luminous recently started to fail on openSUSE Leap 42.3:
03:08:21 22/149 Test #8: run-tox-ceph-detect-init ................***Failed 26.75 sec
This happens because tox is configured to run the ceph-detect-init unit tests in both py2 and py3 environments, and the py3 environment can no longer install its dependencies:
03:08:21 py3 create: /opt/j/ws/mkck/src/ceph-detect-init/.tox/py3 03:08:21 py3 installdeps: --find-links=file:///opt/j/ws/mkck/src/ceph-detect-init/wheelhouse, -r/opt/j/ws/mkck/src/ceph-detect-init/requirements.txt, -r/opt/j/ws/mkck/src/ceph-detect-init/test-requirements.txt 03:08:21 WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration. 03:08:21 ERROR: invocation failed (exit code 1), logfile: /opt/j/ws/mkck/src/ceph-detect-init/.tox/py3/log/py3-1.log 03:08:21 ================================== log start =================================== 03:08:21 DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
The fix is to simply disable py3 in tox.ini, as was done for the ceph-disk tox tests long ago - see #17923.
Updated by Nathan Cutler over 4 years ago
- Related to Bug #17923: tests: ceph-disk.sh fails on py34 added
Updated by Nathan Cutler over 4 years ago
- Status changed from In Progress to Resolved
Actions