Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

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

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

Related issues 3 (0 open3 closed)

Related to Infrastructure - Bug #23754: pip issue? "no such option: --allow-unverified" in upgrade:jewel-x-kraken-distro-basic-smithiResolved04/15/2018

Actions
Copied to rgw - Backport #23557: luminous: swift test fails because pip no longer accepts --allow-unverifiedResolvedCasey BodleyActions
Copied to rgw - Backport #23558: jewel: swift test fails because pip no longer accepts --allow-unverifiedResolvedCasey BodleyActions
Actions #1

Updated by Nathan Cutler about 6 years ago

  • 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
Actions #2

Updated by Nathan Cutler about 6 years ago

  • Priority changed from Normal to High

Raising priority because this blocks jewel integration testing.

Actions #3

Updated by Nathan Cutler about 6 years ago

According to https://github.com/pypa/pip/pull/3007 it's possible to add "trusted-host" to requirements.txt - not sure if that's the best solution, or even a solution, here.

Actions #5

Updated by Casey Bodley about 6 years ago

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.

Actions #6

Updated by Nathan Cutler about 6 years ago

  • Status changed from New to Fix Under Review
Actions #7

Updated by Nathan Cutler about 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #8

Updated by Nathan Cutler about 6 years ago

  • Copied to Backport #23557: luminous: swift test fails because pip no longer accepts --allow-unverified added
Actions #9

Updated by Nathan Cutler about 6 years ago

  • Copied to Backport #23558: jewel: swift test fails because pip no longer accepts --allow-unverified added
Actions #10

Updated by Nathan Cutler about 6 years ago

Opened backport trackers on the optimistic assumption that https://github.com/ceph/swift/pull/5 will merge soon.

Actions #11

Updated by Casey Bodley about 6 years ago

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.

Actions #12

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions #13

Updated by Nathan Cutler about 6 years ago

  • Related to Bug #23754: pip issue? "no such option: --allow-unverified" in upgrade:jewel-x-kraken-distro-basic-smithi added
Actions

Also available in: Atom PDF