Closed
Bug 1459391
Opened 7 years ago
Closed 7 years ago
Intermittent distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('vcversioner')
Categories
(Release Engineering :: General, defect, P5)
Release Engineering
General
Tracking
(firefox-esr52 fixed, firefox-esr60 fixed, firefox60 fixed, firefox61 fixed, firefox62 fixed)
People
(Reporter: intermittent-bug-filer, Assigned: asasaki)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell infra])
Filed by: rgurzau [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=177094228&repo=mozilla-inbound
https://queue.taskcluster.net/v1/task/akdL01OXS7OO_BxeTnmTZg/runs/0/artifacts/public/logs/live_backing.log
22:22:23 INFO - Ignoring indexes: https://pypi.python.org/simple
22:22:24 INFO - Requirement already satisfied (use --upgrade to upgrade): six==1.10.0 in /Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages (from -r /Users/cltbld/tasks/task_1525494482/build/tests/mochitest/websocketprocessbridge/websocketprocessbridge_requirements.txt (line 2))
22:22:24 INFO - Collecting twisted==10.2.0 (from -r /Users/cltbld/tasks/task_1525494482/build/tests/mochitest/websocketprocessbridge/websocketprocessbridge_requirements.txt (line 4))
22:22:26 INFO - Downloading http://pypi.pvt.build.mozilla.org/pub/Twisted-10.2.0.tar.gz (1.9MB)
22:22:28 INFO - Collecting txws==0.9.1 (from -r /Users/cltbld/tasks/task_1525494482/build/tests/mochitest/websocketprocessbridge/websocketprocessbridge_requirements.txt (line 7))
22:22:30 INFO - Downloading http://pypi.pvt.build.mozilla.org/pub/txWS-0.9.1.tar.gz
22:22:31 INFO - Complete output from command python setup.py egg_info:
22:22:31 INFO - Download error on https://pypi.python.org/simple/vcversioner/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
22:22:31 INFO - Couldn't find index page for 'vcversioner' (maybe misspelled?)
22:22:31 INFO - Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
22:22:31 INFO - No local packages or working download links found for vcversioner
22:22:31 ERROR - Traceback (most recent call last):
22:22:31 INFO - File "<string>", line 1, in <module>
22:22:31 INFO - File "/private/var/folders/0v/d9v62rxd5qzg6bh_rb85871000000w/T/pip-build-KI8DmH/txws/setup.py", line 15, in <module>
22:22:31 INFO - url="http://github.com/MostAwesomeDude/txWS",
22:22:31 INFO - File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
22:22:31 INFO - _setup_distribution = dist = klass(attrs)
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 348, in __init__
22:22:31 INFO - self.fetch_build_eggs(attrs['setup_requires'])
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 394, in fetch_build_eggs
22:22:31 INFO - replace_conflicting=True,
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
22:22:31 INFO - dist = best[req.key] = env.best_match(req, ws, installer)
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1098, in best_match
22:22:31 INFO - return self.obtain(req, installer)
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1110, in obtain
22:22:31 INFO - return installer(requirement)
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 461, in fetch_build_egg
22:22:31 INFO - return cmd.easy_install(req)
22:22:31 INFO - File "/Users/cltbld/tasks/task_1525494482/build/venv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 658, in easy_install
22:22:31 INFO - raise DistutilsError(msg)
22:22:31 INFO - distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('vcversioner')
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Component: General Automation → General
Comment 3•7 years ago
|
||
Over the last 7 days there are 33 failures present on this bug, these happen on macosx64-nightly and OS X 10.10.
Here is the most recent log example: https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=177451220&lineNumber=1022
06:50:17 ERROR - Traceback (most recent call last):
06:50:17 INFO - File "<string>", line 1, in <module>
06:50:17 INFO - File "/private/var/folders/0v/d9v62rxd5qzg6bh_rb85871000000w/T/pip-build-adFDca/txws/setup.py", line 15, in <module>
06:50:17 INFO - url="http://github.com/MostAwesomeDude/txWS",
06:50:17 INFO - File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup
06:50:17 INFO - _setup_distribution = dist = klass(attrs)
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 348, in __init__
06:50:17 INFO - self.fetch_build_eggs(attrs['setup_requires'])
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 394, in fetch_build_eggs
06:50:17 INFO - replace_conflicting=True,
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 826, in resolve
06:50:17 INFO - dist = best[req.key] = env.best_match(req, ws, installer)
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1098, in best_match
06:50:17 INFO - return self.obtain(req, installer)
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1110, in obtain
06:50:17 INFO - return installer(requirement)
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/setuptools/dist.py", line 461, in fetch_build_egg
06:50:17 INFO - return cmd.easy_install(req)
06:50:17 INFO - File "/Users/cltbld/tasks/task_1525787289/build/venv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 658, in easy_install
06:50:17 INFO - raise DistutilsError(msg)
06:50:17 INFO - distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('vcversioner')
Flags: needinfo?(catlee)
This looks like the same problem as bug 1449350 where pip fails to find the dependency "six" for txws.
I tried manually installing txws from pypi.pvt.build.mozilla.org, and I get the same failure.
If I install vcversioner before txws, then txws installs without problems.
```
(test_pip)[root@t-yosemite-r7-415.test.releng.mdc1.mozilla.com test_pip]# pip install --index-url https://pypi.pvt.build.mozilla.org/pub/simple --extra-index-url https://pypi.python.org/pypi/simple txws
Ignoring indexes: https://pypi.pvt.build.mozilla.org/pub/simple,https://pypi.python.org/pypi/simple
Downloading/unpacking txws
http://pypi.pvt.build.mozilla.org/pub uses an insecure transport scheme (http). Consider using https if pypi.pvt.build.mozilla.org has it available
http://pypi.pub.build.mozilla.org/pub uses an insecure transport scheme (http). Consider using https if pypi.pub.build.mozilla.org has it available
Downloading txWS-0.9.1.tar.gz
Running setup.py (path:/builds/test_pip/test_pip/build/txws/setup.py) egg_info for package txws
Couldn't find index page for 'vcversioner' (maybe misspelled?)
No local packages or download links found for vcversioner
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/builds/test_pip/test_pip/build/txws/setup.py", line 15, in <module>
url="http://github.com/MostAwesomeDude/txWS",
File "/tools/python27/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/dist.py", line 260, in __init__
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/dist.py", line 284, in fetch_build_eggs
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 563, in resolve
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 799, in best_match
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 811, in obtain
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/dist.py", line 327, in fetch_build_egg
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
Complete output from command python setup.py egg_info:
Couldn't find index page for 'vcversioner' (maybe misspelled?)
No local packages or download links found for vcversioner
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/builds/test_pip/test_pip/build/txws/setup.py", line 15, in <module>
url="http://github.com/MostAwesomeDude/txWS",
File "/tools/python27/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/dist.py", line 260, in __init__
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/dist.py", line 284, in fetch_build_eggs
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 563, in resolve
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 799, in best_match
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 811, in obtain
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/dist.py", line 327, in fetch_build_egg
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/command/easy_install.py", line 434, in easy_install
File "/builds/test_pip/test_pip/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /builds/test_pip/test_pip/build/txws
Storing debug log for failure in /var/root/.pip/pip.log
```
```
(test_pip)[root@t-yosemite-r7-415.test.releng.mdc1.mozilla.com test_pip]# pip install --index-url https://pypi.pvt.build.mozilla.org/pub/simple --extra-index-url https://pypi.python.org/pypi/simple vcversioner
Ignoring indexes: https://pypi.pvt.build.mozilla.org/pub/simple,https://pypi.python.org/pypi/simple
Downloading/unpacking vcversioner
http://pypi.pvt.build.mozilla.org/pub uses an insecure transport scheme (http). Consider using https if pypi.pvt.build.mozilla.org has it available
http://pypi.pub.build.mozilla.org/pub uses an insecure transport scheme (http). Consider using https if pypi.pub.build.mozilla.org has it available
Downloading vcversioner-2.16.0.0.tar.gz
Running setup.py (path:/builds/test_pip/test_pip/build/vcversioner/setup.py) egg_info for package vcversioner
Installing collected packages: vcversioner
Running setup.py install for vcversioner
Successfully installed vcversioner
Cleaning up...
(test_pip)[root@t-yosemite-r7-415.test.releng.mdc1.mozilla.com test_pip]# pip install --index-url https://pypi.pvt.build.mozilla.org/pub/simple --extra-index-url https://pypi.python.org/pypi/simple txws
Ignoring indexes: https://pypi.pvt.build.mozilla.org/pub/simple,https://pypi.python.org/pypi/simple
Downloading/unpacking txws
http://pypi.pvt.build.mozilla.org/pub uses an insecure transport scheme (http). Consider using https if pypi.pvt.build.mozilla.org has it available
http://pypi.pub.build.mozilla.org/pub uses an insecure transport scheme (http). Consider using https if pypi.pub.build.mozilla.org has it available
Downloading txWS-0.9.1.tar.gz
Running setup.py (path:/builds/test_pip/test_pip/build/txws/setup.py) egg_info for package txws
Installing collected packages: txws
Running setup.py install for txws
Successfully installed txws
Cleaning up...
```
See Also: → 1449350
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Whiteboard: [stockwell infra]
Comment 8•7 years ago
|
||
Can we just land Aki's fix everywhere to resolve this?
https://hg.mozilla.org/releases/mozilla-release/rev/db83b4e5d306
status-firefox60:
--- → affected
status-firefox61:
--- → affected
status-firefox62:
--- → affected
status-firefox-esr60:
--- → affected
Comment 9•7 years ago
|
||
Sure.
Comment 10•7 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b8db89c1dc0b
Fix intermittent OSX vcversioner install error. r=tomprince
Comment 11•7 years ago
|
||
bugherder uplift |
Comment 12•7 years ago
|
||
bugherder uplift |
Comment 13•7 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Assignee: nobody → asasaki
Comment 15•7 years ago
|
||
bugherder uplift |
Comment hidden (Intermittent Failures Robot) |
Comment 17•7 years ago
|
||
status-firefox-esr52:
--- → fixed
Comment hidden (Intermittent Failures Robot) |
Updated•7 years ago
|
Flags: needinfo?(catlee)
You need to log in
before you can comment on or make changes to this bug.
Description
•