Source: python-aioice
Version: 0.7.7-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --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
> I: pybuild base:240: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild -O--test-pytest
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/stun.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/candidate.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/about.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/mdns.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/turn.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/ice.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
> copying src/aioice/py.typed -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/aioice
>    dh_auto_test -O--buildsystem=pybuild -O--test-pytest
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m pytest --ignore=tests/test_ice.py 
> --ignore=tests/test_ice_trickle.py --ignore=tests/test_mdns.py 
> --ignore=tests/test_turn.py
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>
> collected 35 items
> 
> tests/test_candidate.py ............                                     [ 
> 34%]
> tests/test_exceptions.py ..                                              [ 
> 40%]
> tests/test_stun.py ............F........                                 
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _______________________ MessageTest.test_binding_request 
> _______________________
> 
> self = <tests.test_stun.MessageTest testMethod=test_binding_request>
> 
>     def test_binding_request(self):
>         data = read_message("binding_request.bin")
>     
>         message = stun.parse_message(data)
>         self.assertEqual(message.message_method, stun.Method.BINDING)
>         self.assertEqual(message.message_class, stun.Class.REQUEST)
>         self.assertEqual(message.transaction_id, b"Nvfx3lU7FUBF")
>         self.assertEqual(message.attributes, OrderedDict())
>     
>         self.assertEqual(bytes(message), data)
> >       self.assertEqual(
>             repr(message),
>             "Message(message_method=Method.BINDING, 
> message_class=Class.REQUEST, "
>             "transaction_id=b'Nvfx3lU7FUBF')",
>         )
> E       AssertionError: "Mess[14 chars]thod=1, message_class=0, 
> transaction_id=b'Nvfx3lU7FUBF')" != "Mess[14 chars]thod=Method.BINDING, 
> message_class=Class.REQUE[31 chars]BF')"
> E       - Message(message_method=1, message_class=0, 
> transaction_id=b'Nvfx3lU7FUBF')
> E       ?                        ^                ^
> E       + Message(message_method=Method.BINDING, message_class=Class.REQUEST, 
> transaction_id=b'Nvfx3lU7FUBF')
> E       ?                        ^^^^^^^^^^^^^^                ^^^^^^^^^^^^^
> 
> tests/test_stun.py:101: AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_stun.py::MessageTest::test_binding_request - 
> AssertionError...
> ========================= 1 failed, 34 passed in 0.12s 
> =========================
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest 
> --ignore=tests/test_ice.py --ignore=tests/test_ice_trickle.py 
> --ignore=tests/test_mdns.py --ignore=tests/test_turn.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/python-aioice_0.7.7-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to