Source: receptor
Version: 1.5.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20241228 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, this package failed to build
on i386.
This package currently has binary packages on i386, so this is a regression.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd receptorctl/tests && ln -sf ../receptorctl . && ln -sf
> ../receptorctl.egg-info .
> mkdir -p tests/artifacts-output
> ln -sfr _build/bin/receptor tests/artifacts-output/receptor
> dh_auto_test --buildsystem=pybuild --sourcedirectory=receptorctl --
> --name=receptorctl --before-test="cp -r {dir}/tests/mesh-definitions
> {build_dir}/tests/"
> dh_auto_test: warning: warning: pybuild does not support building out of
> source tree. In source building enforced.
> I: pybuild pybuild:308: cp -r
> /<<PKGBUILDDIR>>/receptorctl/tests/mesh-definitions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_receptorctl/build/tests/
> I: pybuild base:311: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_receptorctl/build; python3.13 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_receptorctl/build
> configfile: pyproject.toml
> plugins: typeguard-4.4.1
> collected 9 items
>
> tests/test_cli.py . [
> 11%]
> tests/test_connection.py ..... [
> 66%]
> tests/test_mesh.py . [
> 77%]
> tests/test_workunit.py ..
> [100%]
>
> ============================== 9 passed in 55.09s
> ==============================
> I: pybuild pybuild:308: cp -r
> /<<PKGBUILDDIR>>/receptorctl/tests/mesh-definitions
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_receptorctl/build/tests/
> I: pybuild base:311: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_receptorctl/build; python3.12 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_receptorctl/build
> configfile: pyproject.toml
> plugins: typeguard-4.4.1
> collected 9 items
>
> tests/test_cli.py . [
> 11%]
> tests/test_connection.py ..... [
> 66%]
> tests/test_mesh.py . [
> 77%]
> tests/test_workunit.py FF
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________ TestWorkUnit.test_workunit_simple
> _______________________
>
> self = <tests.test_workunit.TestWorkUnit object at 0xf6854ab0>
> invoke_as_json = <function invoke_as_json.<locals>.f_invoke_as_json at
> 0xf6857ac8>
> default_receptor_controller_socket_file =
> <receptorctl.socket_interface.ReceptorControl object at 0xf6854a08>
> wait_for_work_finished = <function
> wait_for_work_finished.<locals>._wait_for_work_finished at 0xf6857488>
>
> def test_workunit_simple(
> self,
> invoke_as_json,
> default_receptor_controller_socket_file,
> wait_for_work_finished,
> ):
> # Spawn a long running command
> node1_controller = default_receptor_controller_socket_file
>
> wait_for = 5 # in seconds
>
> payload = "That's a long string example! And there's emoji too! 👾"
> work = node1_controller.submit_work("echo-uppercase", payload,
> node="node3")
> state_result = work.pop("result")
> state_unitid = work.pop("unitid")
>
> > assert state_result == "Job Started"
> E AssertionError: assert 'Job Submitted' == 'Job Started'
> E
> E - Job Started
> E ? --
> E + Job Submitted
> E ? ++++
>
> tests/test_workunit.py:108: AssertionError
> ---------------------------- Captured stderr setup
> -----------------------------
> req warning: No value provided for subject name attribute "C", skipped
> req warning: No value provided for subject name attribute "ST", skipped
> req warning: No value provided for subject name attribute "L", skipped
> req warning: No value provided for subject name attribute "O", skipped
> req warning: No value provided for subject name attribute "C", skipped
> req warning: No value provided for subject name attribute "ST", skipped
> req warning: No value provided for subject name attribute "L", skipped
> req warning: No value provided for subject name attribute "O", skipped
> Certificate request self-signature ok
> subject=OU=ReceptorTesting, CN=node1
> req warning: No value provided for subject name attribute "C", skipped
> req warning: No value provided for subject name attribute "ST", skipped
> req warning: No value provided for subject name attribute "L", skipped
> req warning: No value provided for subject name attribute "O", skipped
> Certificate request self-signature ok
> subject=OU=ReceptorTesting, CN=node1
> ____________________ TestWorkUnit.test_workunit_cmd_cancel
> _____________________
>
> self = <tests.test_workunit.TestWorkUnit object at 0xf6850138>
> invoke_as_json = <function invoke_as_json.<locals>.f_invoke_as_json at
> 0xf68667f8>
> default_receptor_controller_socket_file =
> <receptorctl.socket_interface.ReceptorControl object at 0xf6854a08>
> wait_for_workunit_state = <function
> wait_for_workunit_state.<locals>._wait_for_workunit_state at 0xf68667a8>
>
> def test_workunit_cmd_cancel(
> self,
> invoke_as_json,
> default_receptor_controller_socket_file,
> wait_for_workunit_state,
> ):
> # Spawn a long running command
> node1_controller = default_receptor_controller_socket_file
>
> sleep_for = 9999 # in seconds
> wait_for = 15 # in seconds
>
> work = node1_controller.submit_work("sleep", str(sleep_for),
> node="node3")
> state_result = work.pop("result")
> state_unitid = work.pop("unitid")
> > assert state_result == "Job Started"
> E AssertionError: assert 'Job Submitted' == 'Job Started'
> E
> E - Job Started
> E ? --
> E + Job Submitted
> E ? ++++
>
> tests/test_workunit.py:142: AssertionError
> --------------------------- Captured stderr teardown
> ---------------------------
> receptor: no process found
> =========================== short test summary info
> ============================
> FAILED tests/test_workunit.py::TestWorkUnit::test_workunit_simple -
> Assertion...
> FAILED tests/test_workunit.py::TestWorkUnit::test_workunit_cmd_cancel -
> Asser...
> ========================= 2 failed, 7 passed in 37.87s
> =========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_receptorctl/build; python3.12 -m
> pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
> 3.12" --name=receptorctl "--before-test=cp -r {dir}/tests/mesh-definitions
> {build_dir}/tests/" --dir receptorctl returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/12/28/receptor_1.5.1-1_unstable-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241228;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241228&[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.