[Debian-med-packaging] Bug#1017070: python-etelemetry: server offline, DEP8 tests fail

Andreas Hasenack andreas at canonical.com
Fri Aug 12 22:02:48 BST 2022


Package: python-etelemetry
Version: 0.3.0-2
Severity: normal

Dear Maintainer,

the rig.mit.edu server that seems to be used by default by
python-etelemetry is offline:

$ python3
Python 3.10.6 (main, Aug 10 2022, 11:19:32) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import etelemetry
>>> etelemetry.get_project("nipy/nipype")
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line
174, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py",
line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py",
line 86, in create_connection
    sock.connect(sa)
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py",
line 704, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py",
line 387, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py",
line 1043, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line
358, in connect
    self.sock = conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line
179, in _new_conn
    raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError:
(<urllib3.connection.HTTPSConnection object at 0x7fcabae630a0>,
'Connection to rig.mit.edu timed out. (connect timeout=5)')
(...)

This was noted in an upstream bug report[1] from August 2021, and is
failing debci[2] and ubuntu[3] dep8 tests:

E           urllib3.exceptions.ConnectTimeoutError:
(<urllib3.connection.HTTPSConnection object at 0x7fc4b9c17bb0>,
'Connection to rig.mit.edu timed out. (connect timeout=5)')

I'm unsure how to proceed here, as it looks like that that server is
essential for this package to operate. Maybe skip those tests, but
still, the package itself won't be in a working state (see backtrace
above, with commands taken straight out from upstream README file
showing how to use the module).

Maybe the PR at [4] can help, as it allows for custom endpoints.


1. https://github.com/sensein/etelemetry-client/issues/35
2. https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-etelemetry/24654839/log.gz
3. https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/amd64/p/python-etelemetry/20220812_192355_57dbb@/log.gz
4. https://github.com/sensein/etelemetry-client/pull/39



More information about the Debian-med-packaging mailing list