Source: liquidctl
Version: 1.13.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --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:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:305: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_liquidctl  
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/liquidctl
> copying liquidctl/__init__.py -> build/lib/liquidctl
> copying liquidctl/error.py -> build/lib/liquidctl
> copying liquidctl/version.py -> build/lib/liquidctl
> copying liquidctl/__main__.py -> build/lib/liquidctl
> copying liquidctl/cli.py -> build/lib/liquidctl
> copying liquidctl/pmbus.py -> build/lib/liquidctl
> copying liquidctl/util.py -> build/lib/liquidctl
> copying liquidctl/keyval.py -> build/lib/liquidctl
> creating build/lib/liquidctl/driver
> copying liquidctl/driver/hydro_platinum.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/ddr4.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/__init__.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/rgb_fusion2.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/smart_device.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/asetek_pro.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/commander_pro.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/usb.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/nzxt_epsu.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/aura_led.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/base.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/asetek.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/nvidia.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/aquacomputer.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/hwmon.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/commander_core.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/kraken2.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/kraken3.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/smbus.py -> build/lib/liquidctl/driver
> copying liquidctl/driver/corsair_hid_psu.py -> build/lib/liquidctl/driver
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/__init__.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/error.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> creating build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/hydro_platinum.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/ddr4.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/__init__.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/rgb_fusion2.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/smart_device.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/asetek_pro.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/commander_pro.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/usb.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/nzxt_epsu.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/aura_led.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/base.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/asetek.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/nvidia.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/aquacomputer.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/hwmon.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/commander_core.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/kraken2.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/kraken3.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/smbus.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/corsair_hid_psu.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/version.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/__main__.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/cli.py -> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/pmbus.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/util.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/keyval.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> running install_egg_info
> running egg_info
> creating liquidctl.egg-info
> writing liquidctl.egg-info/PKG-INFO
> writing dependency_links to liquidctl.egg-info/dependency_links.txt
> writing entry points to liquidctl.egg-info/entry_points.txt
> writing requirements to liquidctl.egg-info/requires.txt
> writing top-level names to liquidctl.egg-info/top_level.txt
> writing manifest file 'liquidctl.egg-info/SOURCES.txt'
> reading manifest file 'liquidctl.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*' found under directory 
> '.github'
> adding license file 'LICENSE.txt'
> writing manifest file 'liquidctl.egg-info/SOURCES.txt'
> Copying liquidctl.egg-info to 
> build/bdist.linux-x86_64/wheel/liquidctl-0.0.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/liquidctl-0.0.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_liquidctl/.tmp-6xt7trcm/liquidctl-0.0.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'liquidctl/__init__.py'
> adding 'liquidctl/__main__.py'
> adding 'liquidctl/cli.py'
> adding 'liquidctl/error.py'
> adding 'liquidctl/keyval.py'
> adding 'liquidctl/pmbus.py'
> adding 'liquidctl/util.py'
> adding 'liquidctl/version.py'
> adding 'liquidctl/driver/__init__.py'
> adding 'liquidctl/driver/aquacomputer.py'
> adding 'liquidctl/driver/asetek.py'
> adding 'liquidctl/driver/asetek_pro.py'
> adding 'liquidctl/driver/aura_led.py'
> adding 'liquidctl/driver/base.py'
> adding 'liquidctl/driver/commander_core.py'
> adding 'liquidctl/driver/commander_pro.py'
> adding 'liquidctl/driver/corsair_hid_psu.py'
> adding 'liquidctl/driver/ddr4.py'
> adding 'liquidctl/driver/hwmon.py'
> adding 'liquidctl/driver/hydro_platinum.py'
> adding 'liquidctl/driver/kraken2.py'
> adding 'liquidctl/driver/kraken3.py'
> adding 'liquidctl/driver/nvidia.py'
> adding 'liquidctl/driver/nzxt_epsu.py'
> adding 'liquidctl/driver/rgb_fusion2.py'
> adding 'liquidctl/driver/smart_device.py'
> adding 'liquidctl/driver/smbus.py'
> adding 'liquidctl/driver/usb.py'
> adding 'liquidctl-0.0.0.dist-info/LICENSE.txt'
> adding 'liquidctl-0.0.0.dist-info/METADATA'
> adding 'liquidctl-0.0.0.dist-info/WHEEL'
> adding 'liquidctl-0.0.0.dist-info/entry_points.txt'
> adding 'liquidctl-0.0.0.dist-info/top_level.txt'
> adding 'liquidctl-0.0.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built liquidctl-0.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:305: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl  
> * Building wheel...
> running bdist_wheel
> running build
> running build_py
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/__init__.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/error.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> creating build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/hydro_platinum.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/ddr4.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/__init__.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/rgb_fusion2.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/smart_device.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/asetek_pro.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/commander_pro.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/usb.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/nzxt_epsu.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/aura_led.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/base.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/asetek.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/nvidia.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/aquacomputer.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/hwmon.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/commander_core.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/kraken2.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/kraken3.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/smbus.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/driver/corsair_hid_psu.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl/driver
> copying build/lib/liquidctl/version.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/__main__.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/cli.py -> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/pmbus.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/util.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> copying build/lib/liquidctl/keyval.py -> 
> build/bdist.linux-x86_64/wheel/liquidctl
> running install_egg_info
> running egg_info
> writing liquidctl.egg-info/PKG-INFO
> writing dependency_links to liquidctl.egg-info/dependency_links.txt
> writing entry points to liquidctl.egg-info/entry_points.txt
> writing requirements to liquidctl.egg-info/requires.txt
> writing top-level names to liquidctl.egg-info/top_level.txt
> reading manifest file 'liquidctl.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*' found under directory 
> '.github'
> adding license file 'LICENSE.txt'
> writing manifest file 'liquidctl.egg-info/SOURCES.txt'
> Copying liquidctl.egg-info to 
> build/bdist.linux-x86_64/wheel/liquidctl-0.0.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/liquidctl-0.0.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/.tmp-frb5fd94/liquidctl-0.0.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'liquidctl/__init__.py'
> adding 'liquidctl/__main__.py'
> adding 'liquidctl/cli.py'
> adding 'liquidctl/error.py'
> adding 'liquidctl/keyval.py'
> adding 'liquidctl/pmbus.py'
> adding 'liquidctl/util.py'
> adding 'liquidctl/version.py'
> adding 'liquidctl/driver/__init__.py'
> adding 'liquidctl/driver/aquacomputer.py'
> adding 'liquidctl/driver/asetek.py'
> adding 'liquidctl/driver/asetek_pro.py'
> adding 'liquidctl/driver/aura_led.py'
> adding 'liquidctl/driver/base.py'
> adding 'liquidctl/driver/commander_core.py'
> adding 'liquidctl/driver/commander_pro.py'
> adding 'liquidctl/driver/corsair_hid_psu.py'
> adding 'liquidctl/driver/ddr4.py'
> adding 'liquidctl/driver/hwmon.py'
> adding 'liquidctl/driver/hydro_platinum.py'
> adding 'liquidctl/driver/kraken2.py'
> adding 'liquidctl/driver/kraken3.py'
> adding 'liquidctl/driver/nvidia.py'
> adding 'liquidctl/driver/nzxt_epsu.py'
> adding 'liquidctl/driver/rgb_fusion2.py'
> adding 'liquidctl/driver/smart_device.py'
> adding 'liquidctl/driver/smbus.py'
> adding 'liquidctl/driver/usb.py'
> adding 'liquidctl-0.0.0.dist-info/LICENSE.txt'
> adding 'liquidctl-0.0.0.dist-info/METADATA'
> adding 'liquidctl-0.0.0.dist-info/WHEEL'
> adding 'liquidctl-0.0.0.dist-info/entry_points.txt'
> adding 'liquidctl-0.0.0.dist-info/top_level.txt'
> adding 'liquidctl-0.0.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built liquidctl-0.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_liquidctl/build; python3.12 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_liquidctl/build
> configfile: pyproject.toml
> collected 421 items
> 
> tests/test_api.py ...                                                    [  
> 0%]
> tests/test_aquacomputer.py .....................................         [  
> 9%]
> tests/test_asetek.py ............                                        [ 
> 12%]
> tests/test_asetek_pro.py ......                                          [ 
> 13%]
> tests/test_aura_led.py ........                                          [ 
> 15%]
> tests/test_backward_compatibility_10.py .                                [ 
> 15%]
> tests/test_backward_compatibility_11.py .                                [ 
> 16%]
> tests/test_backward_compatibility_112.py .                               [ 
> 16%]
> tests/test_backward_compatibility_12.py .                                [ 
> 16%]
> tests/test_backward_compatibility_13.py ..                               [ 
> 17%]
> tests/test_backward_compatibility_14.py .....                            [ 
> 18%]
> tests/test_backward_compatibility_15.py .                                [ 
> 18%]
> tests/test_backward_compatibility_18.py ..                               [ 
> 19%]
> tests/test_cli.py ...                                                    [ 
> 19%]
> tests/test_commander_core.py ..........                                  [ 
> 22%]
> tests/test_commander_pro.py ............................................ [ 
> 32%]
> ........................................................................ [ 
> 49%]
> .....                                                                    [ 
> 50%]
> tests/test_corsair_hid_psu.py ........                                   [ 
> 52%]
> tests/test_ddr4.py ............................                          [ 
> 59%]
> tests/test_hidapi_device.py .........                                    [ 
> 61%]
> tests/test_hwmon.py .......                                              [ 
> 63%]
> tests/test_hydro_platinum.py .....................                       [ 
> 68%]
> tests/test_keyval.py ............                                        [ 
> 71%]
> tests/test_kraken2.py .............                                      [ 
> 74%]
> tests/test_kraken3.py ............................F                      [ 
> 80%]
> tests/test_nvidia.py ..........................                          [ 
> 87%]
> tests/test_nzxt_epsu.py ..                                               [ 
> 87%]
> tests/test_nzxt_h1_v2.py ........                                        [ 
> 89%]
> tests/test_rgb_fusion2.py ..............                                 [ 
> 92%]
> tests/test_smart_device.py ........                                      [ 
> 94%]
> tests/test_smart_device2.py ........                                     [ 
> 96%]
> tests/test_smbus.py ..........                                           [ 
> 99%]
> tests/test_usb.py ....                                                   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _______________________ test_krakenz3_not_totally_broken 
> _______________________
> 
> mock_krakenz3 = <test_kraken3.MockKrakenZ3 object at 0x7f7d946b36e0>
> 
>     def test_krakenz3_not_totally_broken(mock_krakenz3):
>         """Reasonable example calls to untested APIs do not raise 
> exceptions."""
>         mock_krakenz3.initialize()
>         mock_krakenz3.device.preload_read(Report(0, Z3_SAMPLE_STATUS))
>         _ = mock_krakenz3.get_status()
>         mock_krakenz3.set_speed_profile(channel="fan", profile=iter([(20, 
> 20), (30, 50), (40, 100)]))
>         mock_krakenz3.set_fixed_speed(channel="pump", duty=50)
>     
>         # set_screen should be the last set of functions called
>         mock_krakenz3.set_screen("lcd", "liquid", None)
>         mock_krakenz3.set_screen("lcd", "brightness", "60")
>         mock_krakenz3.set_screen("lcd", "orientation", "90")
>         mock_krakenz3.set_screen(
>             "lcd", "static", 
> os.path.join(os.path.dirname(os.path.abspath(__file__)), "yellow.jpg")
>         )
> >       mock_krakenz3.set_screen(
>             "lcd", "gif", 
> os.path.join(os.path.dirname(os.path.abspath(__file__)), "rgb.gif")
>         )
> 
> tests/test_kraken3.py:535: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_kraken3.py:162: in set_screen
>     super().set_screen(channel, mode, value, **kwargs)
> liquidctl/driver/kraken3.py:745: in set_screen
>     self._send_data(data, [0x01, 0x0, 0x0, 0x0] + list(len(data).to_bytes(3, 
> "little")))
> liquidctl/driver/kraken3.py:856: in _send_data
>     self._bulk_write(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <test_kraken3.MockKrakenZ3 object at 0x7f7d946b36e0>
> data = [18, 250, 1, 232, 171, 205, ...]
> 
>     def _bulk_write(self, data):
>         fixed_data_index = self.bulk_data_index
>         if (
>             self.screen_mode == "static" and self.bulk_data_index > 1
>         ):  # the rest of the message should be identical to index 1
>             fixed_data_index = 1
>     
> >       assert (
>             data == krakenz3_response[self.screen_mode + 
> "_bulk"][fixed_data_index]
>         ), f"Bulk write failed, wrong data for mode: {self.screen_mode}, data 
> index: {self.bulk_data_index}"
> E       AssertionError: Bulk write failed, wrong data for mode: gif, data 
> index: 0
> E       assert [18, 250, 1, ...171, 205, ...] == [18, 250, 1, ...171, 205, 
> ...]
> E         At index 16 diff: 205 != 189
> E         Use -v to get more diff
> 
> tests/test_kraken3.py:190: AssertionError
> ------------------------------ Captured log call 
> -------------------------------
> ERROR    liquidctl.driver.kraken3:kraken3.py:879 Failed to switch active 
> bucket
> =============================== warnings summary 
> ===============================
> tests/test_keyval.py: 10 warnings
>   /usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: 
> This process (pid=635957) is multi-threaded, use of fork() may lead to 
> deadlocks in the child.
>     self.pid = os.fork()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_kraken3.py::test_krakenz3_not_totally_broken - 
> AssertionErr...
> ================== 1 failed, 420 passed, 10 warnings in 5.31s 
> ==================
> E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_liquidctl/build; python3.12 -m pytest 
> tests
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/build; python3.11 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/build
> configfile: pyproject.toml
> collected 421 items
> 
> tests/test_api.py ...                                                    [  
> 0%]
> tests/test_aquacomputer.py .....................................         [  
> 9%]
> tests/test_asetek.py ............                                        [ 
> 12%]
> tests/test_asetek_pro.py ......                                          [ 
> 13%]
> tests/test_aura_led.py ........                                          [ 
> 15%]
> tests/test_backward_compatibility_10.py .                                [ 
> 15%]
> tests/test_backward_compatibility_11.py .                                [ 
> 16%]
> tests/test_backward_compatibility_112.py .                               [ 
> 16%]
> tests/test_backward_compatibility_12.py .                                [ 
> 16%]
> tests/test_backward_compatibility_13.py ..                               [ 
> 17%]
> tests/test_backward_compatibility_14.py .....                            [ 
> 18%]
> tests/test_backward_compatibility_15.py .                                [ 
> 18%]
> tests/test_backward_compatibility_18.py ..                               [ 
> 19%]
> tests/test_cli.py ...                                                    [ 
> 19%]
> tests/test_commander_core.py ..........                                  [ 
> 22%]
> tests/test_commander_pro.py ............................................ [ 
> 32%]
> ........................................................................ [ 
> 49%]
> .....                                                                    [ 
> 50%]
> tests/test_corsair_hid_psu.py ........                                   [ 
> 52%]
> tests/test_ddr4.py ............................                          [ 
> 59%]
> tests/test_hidapi_device.py .........                                    [ 
> 61%]
> tests/test_hwmon.py .......                                              [ 
> 63%]
> tests/test_hydro_platinum.py .....................                       [ 
> 68%]
> tests/test_keyval.py ............                                        [ 
> 71%]
> tests/test_kraken2.py .............                                      [ 
> 74%]
> tests/test_kraken3.py ............................F                      [ 
> 80%]
> tests/test_nvidia.py ..........................                          [ 
> 87%]
> tests/test_nzxt_epsu.py ..                                               [ 
> 87%]
> tests/test_nzxt_h1_v2.py ........                                        [ 
> 89%]
> tests/test_rgb_fusion2.py ..............                                 [ 
> 92%]
> tests/test_smart_device.py ........                                      [ 
> 94%]
> tests/test_smart_device2.py ........                                     [ 
> 96%]
> tests/test_smbus.py ..........                                           [ 
> 99%]
> tests/test_usb.py ....                                                   
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _______________________ test_krakenz3_not_totally_broken 
> _______________________
> 
> mock_krakenz3 = <test_kraken3.MockKrakenZ3 object at 0x7f20204fc3d0>
> 
>     def test_krakenz3_not_totally_broken(mock_krakenz3):
>         """Reasonable example calls to untested APIs do not raise 
> exceptions."""
>         mock_krakenz3.initialize()
>         mock_krakenz3.device.preload_read(Report(0, Z3_SAMPLE_STATUS))
>         _ = mock_krakenz3.get_status()
>         mock_krakenz3.set_speed_profile(channel="fan", profile=iter([(20, 
> 20), (30, 50), (40, 100)]))
>         mock_krakenz3.set_fixed_speed(channel="pump", duty=50)
>     
>         # set_screen should be the last set of functions called
>         mock_krakenz3.set_screen("lcd", "liquid", None)
>         mock_krakenz3.set_screen("lcd", "brightness", "60")
>         mock_krakenz3.set_screen("lcd", "orientation", "90")
>         mock_krakenz3.set_screen(
>             "lcd", "static", 
> os.path.join(os.path.dirname(os.path.abspath(__file__)), "yellow.jpg")
>         )
> >       mock_krakenz3.set_screen(
>             "lcd", "gif", 
> os.path.join(os.path.dirname(os.path.abspath(__file__)), "rgb.gif")
>         )
> 
> tests/test_kraken3.py:535: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_kraken3.py:162: in set_screen
>     super().set_screen(channel, mode, value, **kwargs)
> liquidctl/driver/kraken3.py:745: in set_screen
>     self._send_data(data, [0x01, 0x0, 0x0, 0x0] + list(len(data).to_bytes(3, 
> "little")))
> liquidctl/driver/kraken3.py:856: in _send_data
>     self._bulk_write(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <test_kraken3.MockKrakenZ3 object at 0x7f20204fc3d0>
> data = [18, 250, 1, 232, 171, 205, ...]
> 
>     def _bulk_write(self, data):
>         fixed_data_index = self.bulk_data_index
>         if (
>             self.screen_mode == "static" and self.bulk_data_index > 1
>         ):  # the rest of the message should be identical to index 1
>             fixed_data_index = 1
>     
> >       assert (
>             data == krakenz3_response[self.screen_mode + 
> "_bulk"][fixed_data_index]
>         ), f"Bulk write failed, wrong data for mode: {self.screen_mode}, data 
> index: {self.bulk_data_index}"
> E       AssertionError: Bulk write failed, wrong data for mode: gif, data 
> index: 0
> E       assert [18, 250, 1, ...171, 205, ...] == [18, 250, 1, ...171, 205, 
> ...]
> E         At index 16 diff: 205 != 189
> E         Use -v to get more diff
> 
> tests/test_kraken3.py:190: AssertionError
> ------------------------------ Captured log call 
> -------------------------------
> ERROR    liquidctl.driver.kraken3:kraken3.py:879 Failed to switch active 
> bucket
> =========================== short test summary info 
> ============================
> FAILED tests/test_kraken3.py::test_krakenz3_not_totally_broken - 
> AssertionErr...
> ======================== 1 failed, 420 passed in 5.54s 
> =========================
> E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_liquidctl/build; python3.11 -m pytest 
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/02/24/liquidctl_1.13.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lu...@debian.org&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