#1152645 python-aioswitcher: FTBFS: E AssertionError: Expected <Non-hexadecimal digit found> to be equal to <Odd-length string>, but was not.

#1152645#5
Date:
2026-10-30 22:47:01 UTC
From:
To:
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/202610/

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

Thanks.
--------------------------------------------------------------------------------
[...]
        """Test the sign_packet_with_crc_key tool with a random string unqualified as a packet."""
        assert_that(sign_packet_with_crc_key).raises(
            ValueError
tests/test_api_packet_crc_signing.py:35: AssertionError
=========================== short test summary info ============================
FAILED tests/test_api_packet_crc_signing.py::test_sign_packet_with_crc_key_for_a_random_string_throws_error
================= 1 failed, 298 passed, 1 deselected in 1.53s ==================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15/build; python3.15 -m pytest tests --no-cov --ignore=tests/test_schedule_parser.py -k "not test_seconds_to_iso_time_with_a_nagative_value_should_throw_an_error"
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests --no-cov --ignore=tests/test_schedule_parser.py -k "not test_seconds_to_iso_time_with_a_nagative_value_should_throw_an_error"
============================= test session starts ==============================
platform linux -- Python 3.14.10, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build
configfile: pyproject.toml
plugins: asyncio-1.4.0, cov-7.1.0, sugar-1.1.1, resource-path-1.3.0, time-machine-3.5.1
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 300 items / 1 deselected / 299 selected

tests/test_api_messages.py .........                                     [  3%]
tests/test_api_packet_crc_signing.py .........                           [  6%]
tests/test_api_tcp_client.py ........................................... [ 20%]
...............                                                          [ 25%]
tests/test_bridge.py ......                                              [ 27%]
tests/test_device_dataclasses.py ........................                [ 35%]
tests/test_device_enum_helpers.py .................................      [ 46%]
tests/test_device_parsing.py ............                                [ 50%]
tests/test_device_tools.py ............................................. [ 65%]
.......................................                                  [ 78%]
tests/test_schedule_days.py .......                                      [ 80%]
tests/test_schedule_tools.py ...................................         [ 92%]
tests/test_udp_client_protocol.py ......                                 [ 94%]
tests/test_udp_datagram_parsing.py ................                      [100%]

====================== 299 passed, 1 deselected in 1.53s =======================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------