Package: src:simple-websocket
Version: 1.1.0-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:simple-websocket, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild --test-pytest
   dh_auto_clean -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf_clean -O--buildsystem=pybuild -O--test-pytest
   dh_clean -O--buildsystem=pybuild -O--test-pytest
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild --test-pytest
   dh_update_autotools_config -O--buildsystem=pybuild -O--test-pytest
   dh_autoreconf -O--buildsystem=pybuild -O--test-pytest
   dh_auto_configure -O--buildsystem=pybuild -O--test-pytest
   dh_auto_build -O--buildsystem=pybuild -O--test-pytest
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python3-simple-websocket  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.

[... snipped ...]

args = (<tests.test_aioserver.AioSimpleWebSocketServerTestCase 
testMethod=test_receive_ping>,)
kwargs = {}

    def wrapper(*args, **kwargs):
>       return _run(coro(*args, **kwargs))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/helpers.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:18: in _run
    return asyncio.get_event_loop().run_until_complete(coro)
           ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7fe5739e6660>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
_________ AioSimpleWebSocketServerTestCase.test_receive_split_messages _________

args = (<tests.test_aioserver.AioSimpleWebSocketServerTestCase 
testMethod=test_receive_split_messages>,)
kwargs = {}

    def wrapper(*args, **kwargs):
>       return _run(coro(*args, **kwargs))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/helpers.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:18: in _run
    return asyncio.get_event_loop().run_until_complete(coro)
           ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7fe5739e6660>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
__________________ AioSimpleWebSocketServerTestCase.test_send __________________

args = (<tests.test_aioserver.AioSimpleWebSocketServerTestCase 
testMethod=test_send>,)
kwargs = {}

    def wrapper(*args, **kwargs):
>       return _run(coro(*args, **kwargs))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/helpers.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:18: in _run
    return asyncio.get_event_loop().run_until_complete(coro)
           ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7fe5739e6660>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
______________ AioSimpleWebSocketServerTestCase.test_subprotocols ______________

args = (<tests.test_aioserver.AioSimpleWebSocketServerTestCase 
testMethod=test_subprotocols>,)
kwargs = {}

    def wrapper(*args, **kwargs):
>       return _run(coro(*args, **kwargs))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/helpers.py:24: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/helpers.py:18: in _run
    return asyncio.get_event_loop().run_until_complete(coro)
           ^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 
0x7fe5739e6660>

    def get_event_loop(self):
        """Get the event loop for the current context.
    
        Returns an instance of EventLoop or raises an exception.
        """
        if self._local._loop is None:
>           raise RuntimeError('There is no current event loop in thread %r.'
                               % threading.current_thread().name)
E           RuntimeError: There is no current event loop in thread 'MainThread'.

/usr/lib/python3.14/asyncio/events.py:715: RuntimeError
=============================== warnings summary ===============================
tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketClientTestCase.test_make_client_subprotocols' was never 
awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketClientTestCase.test_receive' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketClientTestCase.test_receive_after_close' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketClientTestCase.test_receive_empty' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketClientTestCase.test_receive_ping' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketClientTestCase.test_send' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_aiohttp' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_close' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_invalid_request' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_ping_pong' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_receive' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_receive_after_close' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_receive_empty' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_receive_large' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_receive_ping' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_receive_split_messages' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_send' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/test_server.py::SimpleWebSocketServerTestCase::test_gunicorn
  /usr/lib/python3.14/unittest/mock.py:2252: RuntimeWarning: coroutine 
'AioSimpleWebSocketServerTestCase.test_subprotocols' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_close
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_make_client
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_make_client_headers
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_make_client_headers2
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_make_client_subprotocol
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_make_client_subprotocols
FAILED tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_receive
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_receive_after_close
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_receive_empty
FAILED 
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_receive_ping
FAILED tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_send
FAILED tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_aiohttp
FAILED tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_close
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_invalid_request
FAILED tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_ping_pong
FAILED tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive_after_close
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive_empty
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive_large
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive_ping
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive_split_messages
FAILED tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_send
FAILED 
tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_subprotocols
================== 23 failed, 13 passed, 18 warnings in 0.21s ==================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python3-simple-websocket/build; 
python3.14 -m pytest --ignore tests/test_client.py
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python3-simple-websocket/build; 
python3.13 -m pytest --ignore tests/test_client.py
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python3-simple-websocket/build
configfile: pyproject.toml
plugins: cov-5.0.0, typeguard-4.4.4
collected 36 items

tests/test_aioclient.py ...........                                      [ 30%]
tests/test_aioserver.py ............                                     [ 63%]
tests/test_server.py .............                                       [100%]

=============================== warnings summary ===============================
tests/test_aioclient.py::AioSimpleWebSocketClientTestCase::test_close
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python3-simple-websocket/build/tests/helpers.py:18:
 DeprecationWarning: There is no current event loop
    return asyncio.get_event_loop().run_until_complete(coro)

tests/test_aioserver.py::AioSimpleWebSocketServerTestCase::test_receive_empty
  /usr/lib/python3.13/unittest/mock.py:2247: RuntimeWarning: coroutine 
'AsyncMock.<locals>.mock_coro' was never awaited
    def __init__(self, name, parent):
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 36 passed, 2 warnings in 0.31s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to