New issue
Advanced search Search tips

Issue 769419 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 767685



Sign in to add a comment

build_externals failing to fetch MySQLdb

Project Member Reported by pprabhu@chromium.org, Sep 27 2017

Issue description

If 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.
 
Blocking: 767685
^ is your extra debugging info committed?
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.
moving package to our own mirror
Project Member

Comment 5 by bugdroid1@chromium.org, 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

Owner: akes...@chromium.org
Status: Fixed (was: Untriaged)

Sign in to add a comment