Source: dulwich
Version: 0.22.7-1
Severity: serious
User: debian...@lists.debian.org
Usertags: flaky

Dear maintainer(s),

I looked at the results of the autopkgtest of your package because it showed up in the migration excuses for gnupg2. I noticed that it regularly fails on riscv64, but the same failure was found on amd64. I triggered it 10 times on amd64 and 2 runs failed. I suspect a daemon not being ready yet and suggest either a retry on failure, or better a check/delay before the call that triggers the failures.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul

amd64 failure log:
https://ci.debian.net/packages/d/dulwich/testing/amd64/60285564/

127s ======================================================================
127s ERROR: test_fetch_pack_depth (tests.compat.test_client.DulwichTCPClientTest.test_fetch_pack_depth)
127s ----------------------------------------------------------------------
127s Traceback (most recent call last):
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/protocol.py", line 263, in read_pkt_line
127s     pkt_contents = read(size - 4)
127s   File "/usr/lib/python3.13/socket.py", line 719, in readinto
127s     return self._sock.recv_into(b)
127s            ~~~~~~~~~~~~~~~~~~~~^^^
127s ConnectionResetError: [Errno 104] Connection reset by peer
127s
127s The above exception was the direct cause of the following exception:
127s
127s Traceback (most recent call last):
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/tests/compat/test_client.py", line 291, in test_fetch_pack_depth 127s result = c.fetch(self._build_path("/server_new.export"), dest, depth=1) 127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/client.py", line 981, in fetch
127s     result = self.fetch_pack(
127s         path,
127s     ...<7 lines>...
127s         protocol_version=protocol_version,
127s     )
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/client.py", line 1438, in fetch_pack
127s     _handle_upload_pack_tail(
127s     ~~~~~~~~~~~~~~~~~~~~~~~~^
127s         proto,
127s         ^^^^^^
127s     ...<4 lines>...
127s         protocol_version=self.protocol_version,
127s         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127s     )
127s     ^
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/client.py", line 699, in _handle_upload_pack_tail
127s     for chan, data in _read_side_band64k_data(proto.read_pkt_seq()):
127s                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/client.py", line 557, in _read_side_band64k_data
127s     for pkt in pkt_seq:
127s                ^^^^^^^
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/protocol.py", line 312, in read_pkt_seq
127s     pkt = self.read_pkt_line()
127s File "/tmp/autopkgtest-lxc.wtpjimkl/downtmp/build.oCO/src/dulwich/protocol.py", line 265, in read_pkt_line
127s     raise HangupException from exc
127s dulwich.errors.HangupException: The remote server unexpectedly closed the connection.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to