Public bug reported:

Imported from Debian bug http://bugs.debian.org/1115779:

Source: python-arcam-fmj
Version: 1.5.2-2
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-20250919 ftbfs-forky

Hi,

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

The full build log is available from:
http://qa-logs.debian.net/2025/09/19/python-arcam-fmj_1.5.2-2_unstable.log

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

-- 
Relevant part of the build log (hopefully):
>  debian/rules binary
> make: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> dh binary --buildsystem=pybuild --with python3
>    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.13 with "build" 
> module
> I: pybuild base:311: python3.13 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13  
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/dist.py:759: 
> SetuptoolsDeprecationWarning: License classifiers are deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please consider removing the following classifiers in favor of a SPDX 
> license expression:
> 
>         License :: OSI Approved :: MIT License
> 
>         See 
> https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
> for details.
>         
> ********************************************************************************
> 
> !!
>   self._finalize_license_expression()
> running bdist_wheel
> running build
> running build_py
> creating build/lib/arcam/fmj
> copying src/arcam/fmj/state.py -> build/lib/arcam/fmj
> copying src/arcam/fmj/__init__.py -> build/lib/arcam/fmj
> copying src/arcam/fmj/client.py -> build/lib/arcam/fmj
> copying src/arcam/fmj/utils.py -> build/lib/arcam/fmj
> copying src/arcam/fmj/console.py -> build/lib/arcam/fmj
> copying src/arcam/fmj/server.py -> build/lib/arcam/fmj
> copying src/arcam/fmj/py.typed -> build/lib/arcam/fmj
> 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/arcam
> creating build/bdist.linux-x86_64/wheel/arcam/fmj
> copying build/lib/arcam/fmj/state.py -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> copying build/lib/arcam/fmj/__init__.py -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> copying build/lib/arcam/fmj/client.py -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> copying build/lib/arcam/fmj/py.typed -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> copying build/lib/arcam/fmj/utils.py -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> copying build/lib/arcam/fmj/console.py -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> copying build/lib/arcam/fmj/server.py -> 
> build/bdist.linux-x86_64/wheel/./arcam/fmj
> running install_egg_info
> running egg_info
> creating src/arcam_fmj.egg-info
> writing src/arcam_fmj.egg-info/PKG-INFO
> writing dependency_links to src/arcam_fmj.egg-info/dependency_links.txt
> writing entry points to src/arcam_fmj.egg-info/entry_points.txt
> writing requirements to src/arcam_fmj.egg-info/requires.txt
> writing top-level names to src/arcam_fmj.egg-info/top_level.txt
> writing manifest file 'src/arcam_fmj.egg-info/SOURCES.txt'
> reading manifest file 'src/arcam_fmj.egg-info/SOURCES.txt'
> adding license file 'LICENSE.txt'
> writing manifest file 'src/arcam_fmj.egg-info/SOURCES.txt'
> Copying src/arcam_fmj.egg-info to 
> build/bdist.linux-x86_64/wheel/./arcam_fmj-1.5.2.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/arcam_fmj-1.5.2.dist-info/WHEEL
> creating 
> '/build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/.tmp-656ybpf5/arcam_fmj-1.5.2-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'arcam/fmj/__init__.py'
> adding 'arcam/fmj/client.py'
> adding 'arcam/fmj/console.py'
> adding 'arcam/fmj/py.typed'
> adding 'arcam/fmj/server.py'
> adding 'arcam/fmj/state.py'
> adding 'arcam/fmj/utils.py'
> adding 'arcam_fmj-1.5.2.dist-info/licenses/LICENSE.txt'
> adding 'arcam_fmj-1.5.2.dist-info/METADATA'
> adding 'arcam_fmj-1.5.2.dist-info/WHEEL'
> adding 'arcam_fmj-1.5.2.dist-info/entry_points.txt'
> adding 'arcam_fmj-1.5.2.dist-info/top_level.txt'
> adding 'arcam_fmj-1.5.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built arcam_fmj-1.5.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build; 
> python3.13 -m pytest -v -n `nproc` tests --ignore=tests/test_fake.py
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0 -- 
> /usr/bin/python3.13
> cachedir: .pytest_cache
> rootdir: /build/reproducible-path/python-arcam-fmj-1.5.2
> configfile: setup.cfg
> plugins: aiohttp-1.1.0, asyncio-1.1.0, xdist-3.8.0, typeguard-4.4.4, 
> cov-5.0.0, mock-3.15.0
> asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None, 
> asyncio_default_test_loop_scope=function
> created: 8/8 workers
> 8 workers [59 items]
> 
> scheduling tests via LoadScheduling
> 
> tests/test_source.py::test_get_source[1-ApiModel.APIHDA_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_get_source[1-ApiModel.API450_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_get_source[1-ApiModel.APISA_SERIES-SourceCodes.AUX-\x02]
>  
> tests/test_source.py::test_get_source[2-ApiModel.APIPA_SERIES-None-\x02] 
> [gw6] [  1%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.APIPA_SERIES-None-\x02] 
> [gw0] [  3%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.APIHDA_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_get_source[2-ApiModel.API860_SERIES-SourceCodes.AUX-\x08]
>  
> [gw5] [  5%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.API860_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_set_source[1-ApiModel.API450_SERIES-SourceCodes.AUX-True-\x10\x08]
>  
> [gw7] [  6%] PASSED 
> tests/test_source.py::test_set_source[1-ApiModel.API450_SERIES-SourceCodes.AUX-True-\x10\x08]
>  
> tests/test_source.py::test_get_source[1-ApiModel.APIPA_SERIES-None-\x02] 
> [gw3] [  8%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.APIPA_SERIES-None-\x02] 
> [gw1] [ 10%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.API450_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_get_source[2-ApiModel.APIHDA_SERIES-SourceCodes.UHD-\x06]
>  
> [gw4] [ 11%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.APIHDA_SERIES-SourceCodes.UHD-\x06]
>  
> [gw2] [ 13%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.APISA_SERIES-SourceCodes.AUX-\x02]
>  
> tests/test_source.py::test_get_source[2-ApiModel.APIST_SERIES-None-\x01] 
> tests/test_source.py::test_get_source[1-ApiModel.APIHDA_SERIES-SourceCodes.UHD-\x06]
>  
> [gw6] [ 15%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.APIST_SERIES-None-\x01] 
> tests/test_source.py::test_get_source[2-ApiModel.API450_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_set_source[1-ApiModel.API860_SERIES-SourceCodes.AUX-True-\x10c]
>  
> tests/test_source.py::test_get_source[2-ApiModel.APIHDA_SERIES-SourceCodes.AUX-\x08]
>  
> [gw0] [ 16%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.APIHDA_SERIES-SourceCodes.UHD-\x06]
>  
> tests/test_source.py::test_get_source[1-ApiModel.API860_SERIES-SourceCodes.AUX-\x08]
>  
> [gw3] [ 18%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.API450_SERIES-SourceCodes.AUX-\x08]
>  
> [gw7] [ 20%] PASSED 
> tests/test_source.py::test_set_source[1-ApiModel.API860_SERIES-SourceCodes.AUX-True-\x10c]
>  
> [gw5] [ 22%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.APIHDA_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_set_source[1-ApiModel.APIHDA_SERIES-SourceCodes.AUX-True-\x10c]
>  
> tests/test_source.py::test_get_source[1-ApiModel.APIST_SERIES-SourceCodes.DIG1-\x01]
>  
> [gw1] [ 23%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.API860_SERIES-SourceCodes.AUX-\x08]
>  
> tests/test_source.py::test_get_source[2-ApiModel.APISA_SERIES-SourceCodes.AUX-\x02]
>  
> [gw4] [ 25%] PASSED 
> tests/test_source.py::test_get_source[2-ApiModel.APISA_SERIES-SourceCodes.AUX-\x02]
>  
> [gw2] [ 27%] PASSED 
> tests/test_source.py::test_get_source[1-ApiModel.APIST_SERIES-SourceCodes.DIG1-\x01]
>  
> tests/test_source.py::test_set_source[1-ApiModel.APIHDA_SERIES-SourceCodes.UHD-True-\x10}]
>  
> [gw6] [ 28%] PASSED 
> tests/test_source.py::test_set_source[1-ApiModel.APIHDA_SERIES-SourceCodes.AUX-True-\x10c]
>  
> tests/test_source.py::test_set_source[2-ApiModel.API450_SERIES-SourceCodes.AUX-True-\x17\r]
>  
> [gw0] [ 30%] PASSED 
> tests/test_source.py::test_set_source[1-ApiModel.APIHDA_SERIES-SourceCodes.UHD-True-\x10}]
>  
> tests/test_source.py::test_set_source[2-ApiModel.APIHDA_SERIES-SourceCodes.AUX-True-\x17\r]
>  
> [gw7] [ 32%] PASSED 
> tests/test_source.py::test_set_source[2-ApiModel.API450_SERIES-SourceCodes.AUX-True-\x17\r]
>  
> tests/test_source.py::test_set_source[1-ApiModel.APISA_SERIES-SourceCodes.AUX-False-\x02]
>  
> [gw5] [ 33%] PASSED 
> tests/test_source.py::test_set_source[1-ApiModel.APISA_SERIES-SourceCodes.AUX-False-\x02]
>  
> [gw1] [ 35%] PASSED 
> tests/test_source.py::test_set_source[2-ApiModel.APIHDA_SERIES-SourceCodes.AUX-True-\x17\r]
>  
> tests/test_standard.py::test_reader_valid 
> [gw7] [ 37%] ERROR tests/test_standard.py::test_reader_valid 
> tests/test_standard.py::test_reader_invalid_data 
> tests/test_source.py::test_set_source[2-ApiModel.API860_SERIES-SourceCodes.AUX-True-\x17\r]
>  
> tests/test_source.py::test_set_source[2-ApiModel.APIHDA_SERIES-SourceCodes.UHD-True-\x17\x17]
>  
> [gw4] [ 38%] PASSED 
> tests/test_source.py::test_set_source[2-ApiModel.APIHDA_SERIES-SourceCodes.UHD-True-\x17\x17]
>  
> tests/test_source.py::test_set_source[2-ApiModel.APISA_SERIES-SourceCodes.AUX-False-\x02]
>  
> [gw5] [ 40%] ERROR tests/test_standard.py::test_reader_invalid_data 
> tests/test_source.py::test_set_source_invalid[1-ApiModel.APIPA_SERIES-SourceCodes.AUX]
>  
> [gw2] [ 42%] PASSED 
> tests/test_source.py::test_set_source[2-ApiModel.APISA_SERIES-SourceCodes.AUX-False-\x02]
>  
> tests/test_state.py::test_power_on[1-ApiModel.API450_SERIES] 
> tests/test_source.py::test_set_source_invalid[2-ApiModel.APIPA_SERIES-SourceCodes.AUX]
>  
> [gw3] [ 44%] PASSED 
> tests/test_source.py::test_set_source[2-ApiModel.API860_SERIES-SourceCodes.AUX-True-\x17\r]
>  
> tests/test_standard.py::test_reader_invalid_data_recover 
> [gw1] [ 45%] ERROR tests/test_standard.py::test_reader_invalid_data_recover 
> tests/test_standard.py::test_intenum 
> [gw7] [ 47%] PASSED 
> tests/test_state.py::test_power_on[1-ApiModel.API450_SERIES] 
> tests/test_state.py::test_power_on[1-ApiModel.API860_SERIES] 
> tests/test_standard.py::test_reader_short 
> [gw6] [ 49%] PASSED 
> tests/test_source.py::test_set_source_invalid[1-ApiModel.APIPA_SERIES-SourceCodes.AUX]
>  
> [gw3] [ 50%] ERROR tests/test_standard.py::test_intenum 
> tests/test_state.py::test_power_on[1-ApiModel.APIPA_SERIES] 
> tests/test_state.py::test_power_on[1-ApiModel.APISA_SERIES] 
> [gw0] [ 52%] PASSED 
> tests/test_source.py::test_set_source_invalid[2-ApiModel.APIPA_SERIES-SourceCodes.AUX]
>  
> [gw5] [ 54%] PASSED 
> tests/test_state.py::test_power_on[1-ApiModel.API860_SERIES] 
> [gw4] [ 55%] ERROR tests/test_standard.py::test_reader_short 
> [gw7] [ 57%] PASSED 
> tests/test_state.py::test_power_on[1-ApiModel.APISA_SERIES] 
> [gw1] [ 59%] PASSED 
> tests/test_state.py::test_power_on[1-ApiModel.APIPA_SERIES] 
> tests/test_standard.py::test_writer_valid 
> tests/test_state.py::test_power_on[2-ApiModel.API860_SERIES] 
> tests/test_standard.py::test_amx 
> [gw2] [ 61%] ERROR tests/test_standard.py::test_writer_valid 
> [gw6] [ 62%] ERROR tests/test_standard.py::test_amx 
> [gw3] [ 64%] PASSED 
> tests/test_state.py::test_power_on[2-ApiModel.API860_SERIES] 
> tests/test_state.py::test_power_on[2-ApiModel.APIHDA_SERIES] 
> tests/test_state.py::test_power_on[1-ApiModel.APIST_SERIES] 
> tests/test_state.py::test_power_on[1-ApiModel.APIHDA_SERIES] 
> [gw0] [ 66%] PASSED 
> tests/test_state.py::test_power_on[1-ApiModel.APIHDA_SERIES] 
> tests/test_state.py::test_power_on[2-ApiModel.API450_SERIES] 
> [gw5] [ 67%] PASSED 
> tests/test_state.py::test_power_on[2-ApiModel.API450_SERIES] 
> tests/test_state.py::test_power_on[2-ApiModel.APISA_SERIES] 
> [gw1] [ 69%] PASSED 
> tests/test_state.py::test_power_on[2-ApiModel.APIHDA_SERIES] 
> [gw4] [ 71%] PASSED 
> tests/test_state.py::test_power_on[1-ApiModel.APIST_SERIES] 
> tests/test_state.py::test_power_on[2-ApiModel.APIPA_SERIES] 
> [gw7] [ 72%] PASSED 
> tests/test_state.py::test_power_on[2-ApiModel.APISA_SERIES] 
> tests/test_state.py::test_power_off[1-ApiModel.APISA_SERIES] 
> [gw5] [ 74%] PASSED 
> tests/test_state.py::test_power_off[1-ApiModel.APISA_SERIES] 
> tests/test_state.py::test_power_off[1-ApiModel.API860_SERIES] 
> [gw6] [ 76%] PASSED 
> tests/test_state.py::test_power_off[1-ApiModel.API860_SERIES] 
> tests/test_state.py::test_power_off[1-ApiModel.API450_SERIES] 
> [gw3] [ 77%] PASSED 
> tests/test_state.py::test_power_off[1-ApiModel.API450_SERIES] 
> tests/test_state.py::test_power_off[1-ApiModel.APIST_SERIES] 
> [gw7] [ 79%] PASSED 
> tests/test_state.py::test_power_off[1-ApiModel.APIST_SERIES] 
> tests/test_state.py::test_power_off[1-ApiModel.APIHDA_SERIES] 
> [gw0] [ 81%] PASSED 
> tests/test_state.py::test_power_off[1-ApiModel.APIHDA_SERIES] 
> tests/test_state.py::test_power_off[2-ApiModel.APIPA_SERIES] 
> tests/test_state.py::test_power_off[1-ApiModel.APIPA_SERIES] 
> [gw4] [ 83%] PASSED 
> tests/test_state.py::test_power_off[1-ApiModel.APIPA_SERIES] 
> tests/test_state.py::test_power_off[2-ApiModel.APIHDA_SERIES] 
> tests/test_state.py::test_power_off[2-ApiModel.API450_SERIES] 
> [gw2] [ 84%] PASSED 
> tests/test_state.py::test_power_on[2-ApiModel.APIPA_SERIES] 
> tests/test_state.py::test_power_off[2-ApiModel.APISA_SERIES] 
> tests/test_utils.py::test_retry_unexpected 
> [gw1] [ 86%] PASSED 
> tests/test_state.py::test_power_off[2-ApiModel.API450_SERIES] 
> [gw5] [ 88%] PASSED 
> tests/test_state.py::test_power_off[2-ApiModel.APIPA_SERIES] 
> [gw7] [ 89%] ERROR tests/test_utils.py::test_retry_unexpected 
> [gw3] [ 91%] PASSED 
> tests/test_state.py::test_power_off[2-ApiModel.APISA_SERIES] 
> tests/test_utils.py::test_get_uniqueid_from_device_description 
> tests/test_utils.py::test_retry_succeeds 
> [gw6] [ 93%] PASSED 
> tests/test_state.py::test_power_off[2-ApiModel.APIHDA_SERIES] 
> [gw4] [ 94%] ERROR tests/test_utils.py::test_retry_succeeds 
> tests/test_state.py::test_power_off[2-ApiModel.API860_SERIES] 
> [gw0] [ 96%] ERROR 
> tests/test_utils.py::test_get_uniqueid_from_device_description 
> tests/test_utils.py::test_retry_fails 
> [gw1] [ 98%] ERROR tests/test_utils.py::test_retry_fails 
> [gw2] [100%] PASSED 
> tests/test_state.py::test_power_off[2-ApiModel.API860_SERIES] 
> 
> ==================================== ERRORS 
> ====================================
> _____________________ ERROR at setup of test_reader_valid 
> ______________________
> [gw7] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 18
>   async def test_reader_valid(event_loop):
>       reader = asyncio.StreamReader(loop=event_loop)
>       reader.feed_data(b'\x21\x01\x08\x00\x02\x10\x10\x0D')
>       reader.feed_eof()
>       packet = await _read_response(reader)
>       assert packet == ResponsePacket(1, 8, 0, b'\x10\x10')
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:18
> __________________ ERROR at setup of test_reader_invalid_data 
> __________________
> [gw5] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 26
>   async def test_reader_invalid_data(event_loop):
>       reader = asyncio.StreamReader(loop=event_loop)
>       reader.feed_data(b'\x21\x01\x08\x00\x02\x10\x0D')
>       reader.feed_eof()
>       with pytest.raises(InvalidPacket):
>           await _read_response(reader)
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:26
> ______________ ERROR at setup of test_reader_invalid_data_recover 
> ______________
> [gw1] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 34
>   async def test_reader_invalid_data_recover(event_loop):
>       reader = asyncio.StreamReader(loop=event_loop)
>       reader.feed_data(b'\x21\x01\x08\x00\x02\x10\x0D\x00')
>       reader.feed_data(b'\x21\x01\x08\x00\x02\x10\x10\x0D')
>       reader.feed_eof()
>       with pytest.raises(InvalidPacket):
>           packet = await _read_response(reader)
>       packet = await _read_response(reader)
>       assert packet == ResponsePacket(1, 8, 0, b'\x10\x10')
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:34
> ________________________ ERROR at setup of test_intenum 
> ________________________
> [gw3] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 64
>   async def test_intenum(event_loop):
>       class TestClass1(IntOrTypeEnum):
>           TEST = 55
>           TEST_VERSION = 23, {1}
> 
>       res = TestClass1.from_int(55)
>       assert res.name == "TEST"
>       assert res.value == 55
>       assert res.version == None
> 
>       res = TestClass1.from_int(23)
>       assert res.name == "TEST_VERSION"
>       assert res.value == 23
>       assert res.version == {1}
> 
>       res = TestClass1.from_int(1)
>       assert res.name == "CODE_1"
>       assert res.value == 1
>       assert res.version == None
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:64
> _____________________ ERROR at setup of test_reader_short 
> ______________________
> [gw4] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 45
>   async def test_reader_short(event_loop):
>       reader = asyncio.StreamReader(loop=event_loop)
>       reader.feed_data(b'\x21\x10\x0D')
>       reader.feed_eof()
>       with pytest.raises(InvalidPacket):
>           await _read_response(reader)
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:45
> _____________________ ERROR at setup of test_writer_valid 
> ______________________
> [gw2] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 53
>   async def test_writer_valid(event_loop):
>       writer = MagicMock()
>       writer.write.return_value = None
>       writer.drain.return_value = asyncio.Future()
>       writer.drain.return_value.set_result(None)
>       await write_packet(writer, CommandPacket(1, 8, b'\x10\x10'))
>       writer.write.assert_has_calls([
>           call(b'\x21\x01\x08\x02\x10\x10\x0D'),
>       ])
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:53
> __________________________ ERROR at setup of test_amx 
> __________________________
> [gw6] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py,
>  line 85
>   async def test_amx(event_loop):
>       src = 
> b"AMXB<Device-SDKClass=Receiver><Device-Make=ARCAM><Device-Model=AV860><Device-Revision=x.y.z>\r"
>       res = AmxDuetResponse.from_bytes(src)
>       assert res.device_class == "Receiver"
>       assert res.device_make == "ARCAM"
>       assert res.device_model == "AV860"
>       assert res.device_revision == "x.y.z"
> 
>       assert res.to_bytes() == src
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_standard.py:85
> ___________________ ERROR at setup of test_retry_unexpected 
> ____________________
> [gw7] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py,
>  line 103
>   async def test_retry_unexpected(event_loop):
> 
> 
>       calls = 0
> 
>       @async_retry(2, TimeoutError)
>       async def tester():
>           nonlocal calls
>           calls += 1
>           raise ValueError()
> 
>       with pytest.raises(ValueError):
>           await tester()
>       assert calls == 1
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py:103
> ____________________ ERROR at setup of test_retry_succeeds 
> _____________________
> [gw4] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py,
>  line 88
>   async def test_retry_succeeds(event_loop):
> 
>       calls = 0
> 
>       @async_retry(2, Exception)
>       async def tester():
>           nonlocal calls
>           calls += 1
>           if calls < 2:
>               raise Exception()
>           return True
> 
>       assert await tester()
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py:88
> _________ ERROR at setup of test_get_uniqueid_from_device_description 
> __________
> [gw0] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py,
>  line 119
>   async def test_get_uniqueid_from_device_description(event_loop, 
> aiohttp_client):
> 
>       response_text = ""
>       async def device_description(request):
>           return web.Response(text=response_text)
> 
>       app = web.Application()
>       app.router.add_get('/dd.xml', device_description)
>       client = await aiohttp_client(app)
> 
>       response_text = "non xml"
>       assert await get_uniqueid_from_device_description(client, "/dd.xml") is 
> None
> 
>       response_text = _get_dd(MOCK_UNIQUE_ID, MOCK_SERIAL_NO, "malformed udn")
>       assert await get_uniqueid_from_device_description(client, "/dd.xml") is 
> None
> 
>       response_text = _get_dd(MOCK_UNIQUE_ID, MOCK_SERIAL_NO, MOCK_UDN)
>       assert await get_uniqueid_from_device_description(client, "/dd.xml") == 
> MOCK_UNIQUE_ID
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py:119
> ______________________ ERROR at setup of test_retry_fails 
> ______________________
> [gw1] linux -- Python 3.13.7 /usr/bin/python3.13
> file 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py,
>  line 72
>   async def test_retry_fails(event_loop):
> 
>       calls = 0
> 
>       @async_retry(2, Exception)
>       async def tester():
>           nonlocal calls
>           calls += 1
>           raise Exception()
> 
>       with pytest.raises(Exception):
>           await tester()
> 
>       assert calls == 2
> E       fixture 'event_loop' not found
> >       available fixtures: _class_scoped_runner, _function_scoped_runner, 
> > _module_scoped_runner, _package_scoped_runner, _session_scoped_runner, 
> > aiohttp_client, aiohttp_client_cls, aiohttp_raw_server, aiohttp_server, 
> > cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, 
> > class_mocker, cov, doctest_namespace, event_loop_policy, mocker, 
> > module_mocker, monkeypatch, no_cover, package_mocker, pytestconfig, 
> > record_property, record_testsuite_property, record_xml_attribute, recwarn, 
> > session_mocker, testrun_uid, tmp_path, tmp_path_factory, tmpdir, 
> > tmpdir_factory, unused_tcp_port, unused_tcp_port_factory, unused_udp_port, 
> > unused_udp_port_factory, worker_id
> >       use 'pytest --fixtures [testpath]' for help on them.
> 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build/tests/test_utils.py:72
> =========================== short test summary info 
> ============================
> ERROR tests/test_standard.py::test_reader_valid
> ERROR tests/test_standard.py::test_reader_invalid_data
> ERROR tests/test_standard.py::test_reader_invalid_data_recover
> ERROR tests/test_standard.py::test_intenum
> ERROR tests/test_standard.py::test_reader_short
> ERROR tests/test_standard.py::test_writer_valid
> ERROR tests/test_standard.py::test_amx
> ERROR tests/test_utils.py::test_retry_unexpected
> ERROR tests/test_utils.py::test_retry_succeeds
> ERROR tests/test_utils.py::test_get_uniqueid_from_device_description
> ERROR tests/test_utils.py::test_retry_fails
> ======================== 48 passed, 11 errors in 1.70s 
> =========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /build/reproducible-path/python-arcam-fmj-1.5.2/.pybuild/cpython3_3.13/build; 
> python3.13 -m pytest -v -n `nproc` tests --ignore=tests/test_fake.py
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
> returned exit code 13

** Affects: python-arcam-fmj (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-arcam-fmj (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #1115779
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115779

** Changed in: python-arcam-fmj (Debian)
 Remote watch: None => Debian Bug tracker #1115779

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137003

Title:
  python-arcam-fmj: FTBFS: dh_auto_test: error: pybuild --test --test-
  pytest -i python{version} -p 3.13 returned exit code 13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-arcam-fmj/+bug/2137003/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to