Package: src:python-tx-xmpp
Version: 0.13.0-1
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/202605/

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:python-tx-xmpp, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tx_xmpp  
* Building wheel...
Successfully built tx_xmpp-0.13.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.13 with "build" 
module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_tx_xmpp  
* Building wheel...
Successfully built tx_xmpp-0.13.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tx_xmpp/build; 
python3.14 -m pytest /<<PKGBUILDDIR>>
============================= test session starts ==============================
platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.4.4, twisted-1.14.3
collected 670 items

../../../tx_xmpp/test/test_client.py ..........                          [  1%]
../../../tx_xmpp/test/test_compat.py .                                   [  1%]
../../../tx_xmpp/test/test_component.py .F............................   [  6%]
../../../tx_xmpp/test/test_data_form.py ................................ [ 10%]
........................................................................ [ 21%]
...                                                                      [ 22%]
../../../tx_xmpp/test/test_delay.py ..............                       [ 24%]
../../../tx_xmpp/test/test_disco.py .................................... [ 29%]
............                                                             [ 31%]
../../../tx_xmpp/test/test_formats.py ...                                [ 31%]
../../../tx_xmpp/test/test_generic.py ....................               [ 34%]
../../../tx_xmpp/test/test_muc.py ...................................... [ 40%]
..............................................                           [ 47%]
../../../tx_xmpp/test/test_ping.py ..........                            [ 48%]
../../../tx_xmpp/test/test_pubsub.py ................................... [ 54%]
........................................................................ [ 64%]
..................................................................       [ 74%]
../../../tx_xmpp/test/test_rsm.py .........................              [ 78%]
../../../tx_xmpp/test/test_server.py ...........................         [ 82%]
../../../tx_xmpp/test/test_shim.py ......                                [ 83%]
../../../tx_xmpp/test/test_subprotocols.py ............................. [ 87%]
..................                                                       [ 90%]
../../../tx_xmpp/test/test_xmppim.py ................................... [ 95%]
..............................                                           [100%]

=================================== FAILURES ===================================
__________________ ComponentTest.test_stopServiceNoReconnect ___________________

self = <tx_xmpp.test.test_component.ComponentTest 
testMethod=test_stopServiceNoReconnect>

    def test_stopServiceNoReconnect(self):
        """
        When the service is stopped, no reconnect is attempted.
        """
        comp = TestableComponent("example.org", 5347, "test.example.org", 
"secret")
    
        # Starting the service initiates a connection attempt.
        comp.startService()
        connector = comp._connection
    
        # Fail the connection.
        connector.connectionFailed(ConnectionRefusedError())
    
        # If the service is stopped before the back-off delay expires,
        # no new connection is attempted.
        comp.factory.clock.advance(1)
>       comp.stopService()

../../../tx_xmpp/test/test_component.py:101: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../tx_xmpp/component.py:82: in stopService
    self.factory.stopTrying()
/usr/lib/python3/dist-packages/twisted/internet/protocol.py:508: in stopTrying
    self.connector.stopConnecting()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tx_xmpp.test.test_component.FakeConnector instance at 0x7f2796386710 
connecting None>

    def stopConnecting(self) -> None:
        """Stop attempting to connect."""
        if self.state != "connecting":
            raise error.NotConnectingError("we're not trying to connect")
    
>       assert self.transport is not None
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AssertionError

/usr/lib/python3/dist-packages/twisted/internet/base.py:1267: AssertionError
=============================== warnings summary ===============================
../../../tx_xmpp/test/test_component.py:43
  /<<PKGBUILDDIR>>/tx_xmpp/test/test_component.py:43: PytestCollectionWarning: 
cannot collect test class 'TestableComponent' because it has a __init__ 
constructor (from: tx_xmpp/test/test_component.py)
    class TestableComponent(component.Component):

../../../tx_xmpp/test/helpers.py:99
  /<<PKGBUILDDIR>>/tx_xmpp/test/helpers.py:99: PytestCollectionWarning: cannot 
collect test class 'TestableStreamManager' because it has a __init__ 
constructor (from: tx_xmpp/test/test_muc.py)
    class TestableStreamManager(StreamManager):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
../../../tx_xmpp/test/test_component.py::ComponentTest::test_stopServiceNoReconnect
================== 1 failed, 669 passed, 2 warnings in 1.25s ===================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tx_xmpp/build; python3.14 -m pytest 
{dir}
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_tx_xmpp/build; 
python3.13 -m pytest /<<PKGBUILDDIR>>
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: typeguard-4.4.4, twisted-1.14.3
collected 670 items

../../../tx_xmpp/test/test_client.py ..........                          [  1%]
../../../tx_xmpp/test/test_compat.py .                                   [  1%]
../../../tx_xmpp/test/test_component.py ..............................   [  6%]
../../../tx_xmpp/test/test_data_form.py ................................ [ 10%]
........................................................................ [ 21%]
...                                                                      [ 22%]
../../../tx_xmpp/test/test_delay.py ..............                       [ 24%]
../../../tx_xmpp/test/test_disco.py .................................... [ 29%]
............                                                             [ 31%]
../../../tx_xmpp/test/test_formats.py ...                                [ 31%]
../../../tx_xmpp/test/test_generic.py ....................               [ 34%]
../../../tx_xmpp/test/test_muc.py ...................................... [ 40%]
..............................................                           [ 47%]
../../../tx_xmpp/test/test_ping.py ..........                            [ 48%]
../../../tx_xmpp/test/test_pubsub.py ................................... [ 54%]
........................................................................ [ 64%]
..................................................................       [ 74%]
../../../tx_xmpp/test/test_rsm.py .........................              [ 78%]
../../../tx_xmpp/test/test_server.py ...........................         [ 82%]
../../../tx_xmpp/test/test_shim.py ......                                [ 83%]
../../../tx_xmpp/test/test_subprotocols.py ............................. [ 87%]
..................                                                       [ 90%]
../../../tx_xmpp/test/test_xmppim.py ................................... [ 95%]
..............................                                           [100%]

=============================== warnings summary ===============================
../../../tx_xmpp/test/test_component.py:43
  /<<PKGBUILDDIR>>/tx_xmpp/test/test_component.py:43: PytestCollectionWarning: 
cannot collect test class 'TestableComponent' because it has a __init__ 
constructor (from: tx_xmpp/test/test_component.py)
    class TestableComponent(component.Component):

../../../tx_xmpp/test/helpers.py:99
  /<<PKGBUILDDIR>>/tx_xmpp/test/helpers.py:99: PytestCollectionWarning: cannot 
collect test class 'TestableStreamManager' because it has a __init__ 
constructor (from: tx_xmpp/test/test_muc.py)
    class TestableStreamManager(StreamManager):

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

Reply via email to