build_externals failing to fetch MySQLdb |
||
Issue descriptionIf you run build_externals on a fresh server as of today, you get: 12:23:07 INFO | Module MySQLdb is installed in /usr/lib/python2.7/dist-packages/MySQLdb/__init__.pyc, rather than /usr/local/autotest/site-packages. The module will be forced to be installed in /usr/local/autotest/site-packages. 12:23:07 INFO | Fetching https://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz 12:23:07 WARNI| Could not fetch MySQLdb package from https://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz. (<urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>) <with extra debugging info I added> The underlying problem is: >>> urllib2.urlopen('https://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 404, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 422, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure> This problem is confirmed to exist on other servers, where build_externals successfully ran only last week or so. Blocks a P1, hence P1.
,
Sep 29 2017
^ is your extra debugging info committed?
,
Sep 29 2017
Nope.
It'll only give you this though:
<urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
The more useful stacktrace is from me opening a python shell and running
urllib2.urlopen('https://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz')
which is the failing step.
,
Sep 29 2017
moving package to our own mirror
,
Sep 30 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/autotest/+/34fad2f051960a10c252ae1f547aa891f4864ac8 commit 34fad2f051960a10c252ae1f547aa891f4864ac8 Author: Aviv Keshet <akeshet@chromium.org> Date: Sat Sep 30 06:25:40 2017 autotest: move MySQL-python 1.2.3 package to chromeos mirror BUG= chromium:769419 TEST=build_externals Change-Id: Iff4e31561c1ece145968e8784a23b1a3dbb39f85 Reviewed-on: https://chromium-review.googlesource.com/693277 Commit-Ready: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Ready: Aviv Keshet <akeshet@chromium.org> Tested-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> [modify] https://crrev.com/34fad2f051960a10c252ae1f547aa891f4864ac8/utils/external_packages.py
,
Oct 11 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by pprabhu@chromium.org
, Sep 27 2017