I have been trying to set up sage-patchbot but I am running into a problem. Quite often (but not always and I cannot discern when) it fails with a
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name 
resolution>

So for example today it checked base and then failed in the first ticket. Yesterday, it failed even when checking base. The log from the last ticket is attached. My connection is stable.
Any idea what this can be?

Cheers, R.
--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/20200515125632.GA158243%40vertex.
2020-05-15 12:48:21
Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1319, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1230, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1276, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1225, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1004, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 944, in send
    self.connect()
  File "/usr/lib/python3.8/http/client.py", line 1392, in connect
    super().connect()
  File "/usr/lib/python3.8/http/client.py", line 915, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.8/socket.py", line 787, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/digest_transport.py",
 line 93, in single_request
    response = self.opener.open(req)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 1362, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/usr/lib/python3.8/urllib/request.py", line 1322, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name 
resolution>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/patchbot.py",
 line 1062, in test_a_ticket
    pull_from_trac(self.sage_root, ticket['id'], force=True,
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/trac.py", 
line 318, in pull_from_trac
    info = scrape(ticket_id)
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/trac.py", 
line 153, in scrape
    return get_ticket_info_from_trac_server(ticket_id)
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/trac.py", 
line 88, in get_ticket_info_from_trac_server
    trac_info = trac_server.load(ticket_id)
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/trac.py", 
line 407, in load
    ticket = TracTicket(ticket_number, self.anonymous_proxy)
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/trac_ticket.py",
 line 160, in TracTicket
    change_log = server_proxy.ticket.changeLog(ticket_number)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1450, in __request
    response = self.__transport.request(
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1153, in request
    return self.single_request(host, handler, request_body, verbose)
  File 
"/home/sage-patchbot/.local/lib/python3.8/site-packages/sage_patchbot/digest_transport.py",
 line 99, in single_request
    raise TracConnectionError(e.reason)
sage_patchbot.trac_error.TracConnectionError: [Errno -3] Temporary failure in 
name resolution
2020-05-15 12:48:31
10 seconds

Attachment: signature.asc
Description: PGP signature

Reply via email to