Your message dated Mon, 18 Nov 2024 10:54:26 +0000
with message-id <e1tczok-000qcr...@fasolo.debian.org>
and subject line Bug#1085279: fixed in python-websockets 14.1-1
has caused the Debian Bug report #1085279,
regarding python-websockets:FTBFS:build failure (TimeoutError)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1085279: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085279
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-websockets
Version:  13.1-2
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear python-websockets Maintainer,
The package python-websockets build failed on a lot of architectures.The
crucial buildd log below:
```

ERROR: test_client_connect_canceled_during_handshake
(tests.legacy.test_client_server.ClientServerTests.test_client_connect_canceled_during_handshake)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_websockets/build/websockets/legacy/server.py",
line 823, in wait_closed
    await asyncio.shield(self.closed_waiter)
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_websockets/build/tests/legacy/test_client_server.py",
line 122, in _decorate
    with manager(self, *args, **kwargs):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_websockets/build/tests/legacy/test_client_server.py",
line 96, in temp_test_server
    test.stop_server()
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_websockets/build/tests/legacy/test_client_server.py",
line 276, in stop_server
    self.loop.run_until_complete(
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in
run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=python-websockets&arch=riscv64&ver=13.1-2&stamp=1728899462&raw=0

My solution to this issue:
This error comes from the Python asynchronous test suite, where one of the
tests timed out while waiting for an asynchronous operation to complete. We
can resolve this test error by increasing the timeout threshold.I have
tested that on local,and it works well.The debpatch is in the
attachment.Please let me know wheather this solution can be accepted.

Gui-Yue
Best Regards

Attachment: fix_python-websockets_TimeOutError.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: python-websockets
Source-Version: 14.1-1
Done: Piotr Ożarowski <pi...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-websockets, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1085...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Ożarowski <pi...@debian.org> (supplier of updated python-websockets 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 18 Nov 2024 10:44:35 +0100
Source: python-websockets
Architecture: source
Version: 14.1-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <pi...@debian.org>
Changed-By: Piotr Ożarowski <pi...@debian.org>
Closes: 1085279
Changes:
 python-websockets (14.1-1) unstable; urgency=medium
 .
   * New upstream release
   * Change WEBSOCKETS_TESTS_TIMEOUT_FACTOR back to 100 (closes: 1085279)
Checksums-Sha1:
 47f8d6a1274159ef628f1fbda7469540a6678a7d 2097 python-websockets_14.1-1.dsc
 42f133d952b10e5de2638bbae270e6288ad5e36d 425408 
python-websockets_14.1.orig.tar.gz
 8b9ba7f365b42509a64cfafa38f78ac4a4680285 3424 
python-websockets_14.1-1.debian.tar.xz
 8f40b60bc0c2b8b5743b3cb9088af3112ec905ce 8086 
python-websockets_14.1-1_amd64.buildinfo
Checksums-Sha256:
 3dcd6a772f32af30374af23a738ba5553e02ee2b77518ab4c783a5557095a426 2097 
python-websockets_14.1-1.dsc
 822f3c2bd7ac6b2d9b90271dccaf4e74453b3b0aba5323ade0bcade60102a5c1 425408 
python-websockets_14.1.orig.tar.gz
 b88a882d1cb7e11ba0e90f2c0d635b6e882e11613e418da5e26bbf660d913d59 3424 
python-websockets_14.1-1.debian.tar.xz
 c27f0fe0b83b03842ade2d2a6677d7d86e19ba5588bfe12c0b19070ecc77700d 8086 
python-websockets_14.1-1_amd64.buildinfo
Files:
 94f1e32f1d2eda93401ab4685607419e 2097 python optional 
python-websockets_14.1-1.dsc
 d88fcc4b55331b1ed14cbd9beb69e04d 425408 python optional 
python-websockets_14.1.orig.tar.gz
 61a97469bc11b101b209ab1c5dd73727 3424 python optional 
python-websockets_14.1-1.debian.tar.xz
 7dafc1d7fba9fba15a4001444f4cf4b1 8086 python optional 
python-websockets_14.1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEHS+omFjar2IXhi33rvbxoqdFdkUFAmc7E9MACgkQrvbxoqdF
dkVJVA//SHDwcTQI1z/5QNGo7VVLbp+HWDvcgDbVOr+J8/REtiRIdQJ13LHT1IoF
8j5uzJkTLoKM+7B9zfUTgpFKPBVYwuumQaHxSwVAOiQjfsU8whj6uu+4ZMKEAyno
oWQSMvslS++kgmudZP5A0QT37I4hEr2p39SfrXopRimOnh2pyWvoc/jqkSZijSrg
X3pjFonbTtt9nzvKHv+GV54aeJS30oD+kJn3Zewhhkw16sPg6oYKM0oQURRK6dGq
N0F46V2sqlJxw3+ADzphbsq+bb6KuFGV3LoxDVa+EZXokSR7JXpip1QX8dvg6ljh
66STuxCmUUbT1edaUdh9jBXY4v7k7C7namBxy3GuT38AmEHr8fjuafcrfdYlyHzb
q573lvdnl72m3DHF/o24L1N29M1WfTLXWhpaqX5eE4BCh6yUDVxiNPZnXGAsDTIR
MwJv+vO/v9sX6nGg+U+GoQwYlhiPxACOkcvT7Bfl2geeFdq4abHLZSXL9dRwMDHE
JDwcqaIUXJWTeAEMmjYHQVdSpzBcP7dRqrB4WR47zBMWiW29d2toHT3DPHgfT4dc
9jvDmaPtvb4fWa3D/2/F93vAqH56qI6701VfBX2rpnpdHjQmb4GnfUeOIf2Aqrg7
sS8dui+n5BqeAA79tBnn6H4MtHxW2Qssc/NkSw6b4dIWE+etksM=
=lSwr
-----END PGP SIGNATURE-----

Attachment: pgpX6SqIdfnu5.pgp
Description: PGP signature


--- End Message ---

Reply via email to