• Bug#1103066: errbot: FTBFS in testing/i386: dh_auto_test: error: pybuil

    From Lucas Nussbaum@21:1/5 to All on Mon Apr 14 13:50:02 2025
    Source: errbot
    Version: 6.2.0+ds-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250414 ftbfs-trixie

    Hi,

    During a rebuild of all packages in testing (trixie), your package failed
    to build on i386.


    Relevant part (hopefully):
    make[1]: Entering directory '/build/reproducible-path/errbot-6.2.0+ds' localehelper LANG=en_US.UTF-8 dh_auto_test
    pybuild --test --test-pytest -i python{version} -p 3.13
    I: pybuild pybuild:308: rm -f /build/reproducible-path/errbot-6.2.0+ds/tests/backend_tests/slack_test.py
    I: pybuild base:311: cd /build/reproducible-path/errbot-6.2.0+ds/.pybuild/cpython3_3.13_errbot/build; python3.13 -m pytest -k "not test_broken_plugin and not test_backup and not test_plugin_cycle and not test_entrypoint_paths and not test_check_
    dependencies_requirements_file_all_installed"
    ============================= test session starts ==============================
    platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
    rootdir: /build/reproducible-path/errbot-6.2.0+ds
    plugins: typeguard-4.4.2
    collected 215 items / 8 deselected / 207 selected

    tests/backend_manager_test.py ... [ 1%]
    tests/backend_tests/text_test.py . [ 1%]
    tests/base_backend_test.py ................................. [ 17%]
    tests/cascade_dependencies_test.py . [ 18%]
    tests/circular_dependencies_test.py . [ 18%]
    tests/commands_test.py ........EEEEEEEEEEEEEEEEEEEE [ 32%]
    tests/core_plugins_test.py EEE [ 33%]
    tests/core_test.py EE [ 34%]
    tests/dependencies_test.py EEEEEEE [ 38%]
    tests/dynaplug_test.py EEEEE [ 40%]
    tests/flow_e2e_test.py EEEEEEEEEEEEE [ 46%]
    tests/flow_test.py ... [ 48%]
    tests/i18n_test.py EEEE [ 50%]
    tests/link_test.py E [ 50%]
    tests/matchall_test.py EE [ 51%]
    tests/md_rendering_test.py .... [ 53%]
    tests/mention_test.py EEE [ 55%]
    tests/muc_test.py EEEEEE [ 57%]
    tests/multi_plugin_test.py EE [ 58%]
    tests/persistence_test.py .. [ 59%]
    tests/plugin_config_fail_test.py E [ 60%]
    tests/plugin_config_test.py .......E [ 64%]
    tests/plugin_info_test.py ........ [ 68%]
    tests/plugin_management_test.py ....... [ 71%]
    tests/poller_test.py EE [ 72%]
    tests/repo_manager_test.py ....... [ 75%]
    tests/simple_identifiers_test.py ..... [ 78%]
    tests/streaming_test.py F [ 78%]
    tests/syntax_test.py EEEE [ 80%]
    tests/templates_test.py EEEEE [ 83%]
    tests/utils_test.py .................... [ 92%]
    tests/webhooks_test.py EEEEE
    INTERNALERROR> Traceback (most recent call last):
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 283, in wrap_session
    INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> ~~~~^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 337, in _main
    INTERNALERROR> config.hook.pytest_runtestloop(session=session) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
    INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
    INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
    INTERNALERROR> raise exception.with_traceback(exception.__traceback__) INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/logging.py", line 803, in pytest_runtestloop
    INTERNALERROR> return (yield) # Run all the tests.
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/terminal.py", line 673, in pytest_runtestloop
    INTERNALERROR> result = yield
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall
    INTERNALERROR> res = hook_impl.function(*args)
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/main.py", line 362, in pytest_runtestloop
    INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
    INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
    INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
    INTERNALERROR> raise exception.with_traceback(exception.__traceback__) INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/warnings.py", line 112, in pytest_runtest_protocol
    INTERNALERROR> return (yield)
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/assertion/__init__.py", line 176, in pytest_runtest_protocol
    INTERNALERROR> return (yield)
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/unittest.py", line 429, in pytest_runtest_protocol
    INTERNALERROR> res = yield
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/faulthandler.py", line 88, in pytest_runtest_protocol
    INTERNALERROR> return (yield)
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall
    INTERNALERROR> res = hook_impl.function(*args)
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 113, in pytest_runtest_protocol
    INTERNALERROR> runtestprotocol(item, nextitem=nextitem)
    INTERNALERROR> ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 126, in runtestprotocol
    INTERNALERROR> rep = call_and_report(item, "setup", log)
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 244, in call_and_report
    INTERNALERROR> report: TestReport = ihook.pytest_runtest_makereport(item=item, call=call)
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 513, in __call__
    INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
    INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 120, in _hookexec
    INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 139, in _multicall
    INTERNALERROR> raise exception.with_traceback(exception.__traceback__) INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/tmpdir.py", line 310, in pytest_runtest_makereport
    INTERNALERROR> rep = yield
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 122, in _multicall
    INTERNALERROR> teardown.throw(exception) # type: ignore[union-attr] INTERNALERROR> ~~~~~~~~~~~~~~^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/skipping.py", line 269, in pytest_runtest_makereport
    INTERNALERROR> rep = yield
    INTERNALERROR> ^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 103, in _multicall
    INTERNALERROR> res = hook_impl.function(*args)
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/runner.py", line 368, in pytest_runtest_makereport
    INTERNALERROR> return TestReport.from_item_and_call(item, call) INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/reports.py", line 378, in from_item_and_call
    INTERNALERROR> longrepr = item._repr_failure_py(
    INTERNALERROR> excinfo, style=item.config.getoption("tbstyle", "auto")
    INTERNALERROR> )
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/nodes.py", line 456, in _repr_failure_py
    INTERNALERROR> return excinfo.getrepr(
    INTERNALERROR> ~~~~~~~~~~~~~~~^
    INTERNALERROR> funcargs=True,
    INTERNALERROR> ^^^^^^^^^^^^^^
    INTERNALERROR> ...<5 lines>...
    INTERNALERROR> truncate_args=truncate_args,
    INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> )
    INTERNALERROR> ^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 690, in getrepr
    INTERNALERROR> return fmt.repr_excinfo(self)
    INTERNALERROR> ~~~~~~~~~~~~~~~~^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 1058, in repr_excinfo
    INTERNALERROR> reprtraceback = self.repr_traceback(excinfo_) INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 992, in repr_traceback
    INTERNALERROR> self.repr_traceback_entry(entry, excinfo if last == entry else None)
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 930, in repr_traceback_entry
    INTERNALERROR> source = self._getentrysource(entry)
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 828, in _getentrysource
    INTERNALERROR> source = entry.getsource(self.astcache)
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 262, in getsource
    INTERNALERROR> astnode, _, end = getstatementrange_ast(
    INTERNALERROR> ~~~~~~~~~~~~~~~~~~~~~^
    INTERNALERROR> self.lineno, source, astnode=astnode
    INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    INTERNALERROR> )
    INTERNALERROR> ^
    INTERNALERROR> File "/usr/lib/python3/dist-packages/_pytest/_code/source.py", line 181, in getstatementrange_ast
    INTERNALERROR> astnode = ast.parse(content, "source", "exec") INTERNALERROR> File "/usr/lib/python3.13/ast.py", line 54, in parse INTERNALERROR> return compile(source, filename, mode, flags, INTERNALERROR> _feature_version=feature_version, optimize=optimize)
    INTERNALERROR> MemoryError

    ====== 1 failed, 110 passed, 8 deselected, 1 warning, 86 errors in 11.99s ======
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=3: cd /build/reproducible-path/errbot-6.2.0+ds/.pybuild/cpython3_3.13_errbot/build; python3.13 -m pytest -k "not test_broken_plugin and not test_backup and not test_plugin_cycle and
    not test_entrypoint_paths and not test_check_dependencies_requirements_file_all_installed"
    rm -fr -- /tmp/dh-xdg-rundir-dBfjJae1
    dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13


    The full build log is available from: http://qa-logs.debian.net/2025/04/14/errbot_6.2.0+ds-4_testing-i386.log

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)