Bug #23555
closed
swift test fails because pip no longer accepts --allow-unverified
Added by Nathan Cutler about 6 years ago.
Updated about 6 years ago.
Description
All the failures in this run are due to this bug: http://pulpito.ceph.com/smithfarm-2018-04-04_17:26:39-rgw-wip-jewel-backports-distro-basic-smithi/
That run uses the ceph-jewel branch of https://github.com/ceph/swift.git, but the incriminated line of the bootstrap script exists in master and, presumably, in all other branches:
./virtualenv/bin/pip install --allow-unverified netifaces --allow-external netifaces -r requirements.txt
The jobs fail like this:
2018-04-04T17:55:58.939 INFO:teuthology.orchestra.run.smithi117:Running: 'cd /home/ubuntu/cephtest/swift && ./bootstrap'
2018-04-04T17:55:59.771 INFO:teuthology.orchestra.run.smithi117.stdout:New python executable in /home/ubuntu/cephtest/swift/virtualenv/bin/python2
2018-04-04T17:55:59.771 INFO:teuthology.orchestra.run.smithi117.stdout:Also creating executable in /home/ubuntu/cephtest/swift/virtualenv/bin/python
2018-04-04T17:56:02.769 INFO:teuthology.orchestra.run.smithi117.stdout:Installing setuptools, pkg_resources, pip, wheel...done.
2018-04-04T17:56:02.780 INFO:teuthology.orchestra.run.smithi117.stdout:Running virtualenv with interpreter /usr/bin/python2
2018-04-04T17:56:03.229 INFO:teuthology.orchestra.run.smithi117.stdout:Requirement already up-to-date: pip in ./virtualenv/lib/python2.7/site-packages (10.0.0b2)
2018-04-04T17:56:03.584 INFO:teuthology.orchestra.run.smithi117.stdout:Collecting setuptools==32.3.1
2018-04-04T17:56:03.892 INFO:teuthology.orchestra.run.smithi117.stdout: Downloading setuptools-32.3.1-py2.py3-none-any.whl (479kB)
2018-04-04T17:56:04.052 INFO:teuthology.orchestra.run.smithi117.stdout:Installing collected packages: setuptools
2018-04-04T17:56:04.052 INFO:teuthology.orchestra.run.smithi117.stdout: Found existing installation: setuptools 39.0.1
2018-04-04T17:56:04.080 INFO:teuthology.orchestra.run.smithi117.stdout: Uninstalling setuptools-39.0.1:
2018-04-04T17:56:04.096 INFO:teuthology.orchestra.run.smithi117.stdout: Successfully uninstalled setuptools-39.0.1
2018-04-04T17:56:04.215 INFO:teuthology.orchestra.run.smithi117.stdout:Successfully installed setuptools-32.3.1
2018-04-04T17:56:04.458 INFO:teuthology.orchestra.run.smithi117.stderr:
2018-04-04T17:56:04.458 INFO:teuthology.orchestra.run.smithi117.stderr:Usage:
2018-04-04T17:56:04.458 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] <requirement specifier> [package-index-options] ...
2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] -r <requirements file> [package-index-options] ...
2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] [-e] <vcs project url> ...
2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] [-e] <local project path> ...
2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] <archive url/path> ...
2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr:
2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr:no such option: --allow-unverified
- Backport changed from luminous, jewel2018-04-04T17:55:58.939 INFO:teuthology.orchestra.run.smithi117:Running: 'cd /home/ubuntu/cephtest/swift && ./bootstrap' 2018-04-04T17:55:59.771 INFO:teuthology.orchestra.run.smithi117.stdout:New python executable in /home/ubuntu/cephtest/swift/virtualenv/bin/python2 2018-04-04T17:55:59.771 INFO:teuthology.orchestra.run.smithi117.stdout:Also creating executable in /home/ubuntu/cephtest/swift/virtualenv/bin/python 2018-04-04T17:56:02.769 INFO:teuthology.orchestra.run.smithi117.stdout:Installing setuptools, pkg_resources, pip, wheel...done. 2018-04-04T17:56:02.780 INFO:teuthology.orchestra.run.smithi117.stdout:Running virtualenv with interpreter /usr/bin/python2 2018-04-04T17:56:03.229 INFO:teuthology.orchestra.run.smithi117.stdout:Requirement already up-to-date: pip in ./virtualenv/lib/python2.7/site-packages (10.0.0b2) 2018-04-04T17:56:03.584 INFO:teuthology.orchestra.run.smithi117.stdout:Collecting setuptools==32.3.1 2018-04-04T17:56:03.892 INFO:teuthology.orchestra.run.smithi117.stdout: Downloading setuptools-32.3.1-py2.py3-none-any.whl (479kB) 2018-04-04T17:56:04.052 INFO:teuthology.orchestra.run.smithi117.stdout:Installing collected packages: setuptools 2018-04-04T17:56:04.052 INFO:teuthology.orchestra.run.smithi117.stdout: Found existing installation: setuptools 39.0.1 2018-04-04T17:56:04.080 INFO:teuthology.orchestra.run.smithi117.stdout: Uninstalling setuptools-39.0.1: 2018-04-04T17:56:04.096 INFO:teuthology.orchestra.run.smithi117.stdout: Successfully uninstalled setuptools-39.0.1 2018-04-04T17:56:04.215 INFO:teuthology.orchestra.run.smithi117.stdout:Successfully installed setuptools-32.3.1 2018-04-04T17:56:04.458 INFO:teuthology.orchestra.run.smithi117.stderr: 2018-04-04T17:56:04.458 INFO:teuthology.orchestra.run.smithi117.stderr:Usage: 2018-04-04T17:56:04.458 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] <requirement specifier> [package-index-options] ... 2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] -r <requirements file> [package-index-options] ... 2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] [-e] <vcs project url> ... 2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] [-e] <local project path> ... 2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: pip install [options] <archive url/path> ... 2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr: 2018-04-04T17:56:04.459 INFO:teuthology.orchestra.run.smithi117.stderr:no such option: --allow-unverified to luminous, jewel
- Priority changed from Normal to High
Raising priority because this blocks jewel integration testing.
On Fedora 27 (pip 9.0.3) this is just a deprecation warning:
DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
And judging by the deprecation message, it wasn't doing anything and can safely be removed.
- Status changed from New to Fix Under Review
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #23557: luminous: swift test fails because pip no longer accepts --allow-unverified added
- Copied to Backport #23558: jewel: swift test fails because pip no longer accepts --allow-unverified added
Nathan Cutler wrote:
Opened backport trackers on the optimistic assumption that https://github.com/ceph/swift/pull/5 will merge soon.
I merged the pr, and cherry-picked the fix onto ceph-jewel/ceph-luminous/ceph-master branches already.
- Status changed from Pending Backport to Resolved
- Related to Bug #23754: pip issue? "no such option: --allow-unverified" in upgrade:jewel-x-kraken-distro-basic-smithi added
Also available in: Atom
PDF