Source: debugpy
Version: 1.6.3+ds-1
Severity: serious

Hi,

debugpy is currently FTBFSing:

--8<---------------cut here---------------start------------->8---
=========================== short test summary info ============================
FAILED 
tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O-None-launch(console=internalConsole)]
FAILED 
tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=internalConsole)]
FAILED 
tests/debugpy/test_run.py::test_custom_python_args[program-python-custompy,-O--B-launch(console=integratedTerminal)]
FAILED 
tests/debugpy/test_run.py::test_custom_python_args[program-pythonPath-custompy,-O-None-launch(console=externalTerminal)]
--8<---------------cut here---------------end--------------->8---

The long summary is too big to post here, but you can see the full log
at:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/debugpy.html

I think the gist of what's going on is the following excerpt:

--8<---------------cut here---------------start------------->8---
E+00015.109: /handling #2 request "attach" from Client[1]/
             Traceback (most recent call last):
               File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_debugpy/build/debugpy/adapter/../../debugpy/common/messaging.py",
 line 1015, in __init__
                 raise self
             debugpy.common.messaging.MessageHandlingError: Timed out waiting 
for debug server to connect.
--8<---------------cut here---------------end--------------->8---

Interestingly, when I sbuild the package locally I get a somewhat
different error:

--8<---------------cut here---------------start------------->8---
E+00000.008: Error listening for incoming Client connections on 127.0.0.1:5684:
             
             Traceback (most recent call last):
               File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_debugpy/build/debugpy/../debugpy/adapter/../../debugpy/common/sockets.py",
 line 93, in serve
                 listener = create_server(host, port, backlog, timeout)
               File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_debugpy/build/debugpy/../debugpy/adapter/../../debugpy/common/sockets.py",
 line 24, in create_server
                 server.bind((host, port))
             OSError: [Errno 98] Address already in use
--8<---------------cut here---------------end--------------->8---

I found a few upstream bugs that contain either the "Timed out waiting
for debug server to connect" or the "Address already in use" messages,
but I haven't investigated further TBH.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to