🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #2048

Bug#1152645: python-aioswitcher: FTBFS: E AssertionError: Expected <Non-hexadecimal digit found> to be equal to <Odd-lengt...

#2048
From: Santiago Vila
Date: Fri, 30 Oct 2026 22:50
71 lines
5940 bytes
Package: src:python-aioswitcher
Version: 6.1.3-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/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
>       ).when_called_with("just a regular string").is_equal_to("Odd-length string")
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       AssertionError: Expected <Non-hexadecimal digit found> to be equal to <Odd-length string>, but was not.

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
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NU3A6-8Tpt-21@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1152645: python-aioswitcher: FTBFS: E       AssertionError: Expected <Non-hexadecimal digit found> to be equal to <Odd-length string>, but was not.
Date: Fri, 30 Oct 2026 23:50:02 +0100
Message-ID: <NU3A6-8Tpt-21@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct 30 22:49:23 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1152645@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, team+homeassistant@tracker.debian.org
X-Debian-Pr-Message: report 1152645
X-Debian-Pr-Package: src:python-aioswitcher
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: python-aioswitcher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836684
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 71
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 30 Oct 2026 22:47:01 +0000
X-Original-Message-ID: <E1xMvNF-000w2l-0N@paradis.debian.org>