sympy-bot-old icon indicating copy to clipboard operation
sympy-bot-old copied to clipboard

Two tracebacks that should have been wrapped around `keep_trying`

Open asmeurer opened this issue 11 years ago • 0 comments

These both happened at their respective locations when the internet connection died.

> Done.
> Results logged to /tmp/sympy-bot-tmpxY0hbH/out/pr-1910/interpreter-2
> Uploading test results
Could not access http://reviews.sympy.org, retrying in 1 seconds...
Could not access http://reviews.sympy.org, retrying in 2 seconds...
Traceback (most recent call last):
  File "./sympy-bot", line 719, in <module>
    main()
  File "./sympy-bot", line 248, in main
    dispatch_reviews(options, urls, username=username, password=password, token=token)
  File "./sympy-bot", line 538, in dispatch_reviews
    report_url = reviews_sympy_org_upload(data, url_base)
  File "/home/asmeurer/Documents/sympy-bot/utils/reviews.py", line 54, in reviews_sympy_org_upload
    url_base, _handler)
  File "/home/asmeurer/Documents/sympy-bot/utils/cmd.py", line 187, in keep_trying
    result = command()
  File "/home/asmeurer/Documents/sympy-bot/utils/reviews.py", line 38, in _do_upload
    data["interpreter"], data["testcommand"], data["log"])
  File "/home/asmeurer/Documents/sympy-bot/utils/jsonrpc.py", line 50, in __call__
    url = urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 400, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 418, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''
> Authenticating as asmeurer
> Authenticating using token
Traceback (most recent call last):
  File "./sympy-bot", line 719, in <module>
    main()
  File "./sympy-bot", line 222, in main
    username, password, token = github_authenticate(urls, options.user, options.token)
  File "/home/asmeurer/Documents/sympy-bot/utils/github.py", line 184, in github_authenticate
    github_check_authentication(urls, username, None, token)
  File "/home/asmeurer/Documents/sympy-bot/utils/github.py", line 76, in github_check_authentication
    _query(urls.api_url, username, password, token)
  File "/home/asmeurer/Documents/sympy-bot/utils/github.py", line 263, in _query
    http_response = urllib2.urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 400, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 418, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>

asmeurer avatar Mar 22 '13 00:03 asmeurer