• Bug#1067321: cachy: FTBFS: dh_auto_test: error: pybuild --test --test-p

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 20 22:20:16 2024
    Source: cachy
    Version: 0.3.0-4
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240319 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
    I: pybuild base:305: python3.12 setup.py config
    I: pybuild base:305: python3.11 setup.py config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build
    I: pybuild base:305: /usr/bin/python3 setup.py build
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cachy/build; python3.12 -m pytest --ignore=tests/stores/test_memcached_store.py
    ============================= test session starts ==============================
    platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cachy/build
    configfile: pyproject.toml
    plugins: mock-3.12.0
    collected 10 items / 5 errors

    ==================================== ERRORS ====================================
    _______________ ERROR collecting tests/stores/test_dict_store.py _______________
    tests/stores/test_dict_store.py:4: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    _______________ ERROR collecting tests/stores/test_file_store.py _______________
    tests/stores/test_file_store.py:10: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    _________________ ERROR collecting tests/test_cache_manager.py _________________
    tests/test_cache_manager.py:6: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    __________________ ERROR collecting tests/test_repository.py ___________________
    tests/test_repository.py:5: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    _________________ ERROR collecting tests/test_tagged_cache.py __________________
    tests/test_tagged_cache.py:10: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    =========================== short test summary info ============================
    ERROR tests/stores/test_dict_store.py - AttributeError: module '_pytest.runne...
    ERROR tests/stores/test_file_store.py - AttributeError: module '_pytest.runne...
    ERROR tests/test_cache_manager.py - AttributeError: module '_pytest.runner' h...
    ERROR tests/test_repository.py - AttributeError: module '_pytest.runner' has ...
    ERROR tests/test_tagged_cache.py - AttributeError: module '_pytest.runner' ha...
    !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
    ============================== 5 errors in 0.26s ===============================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_cachy/build; python3.12 -m pytest --ignore=tests/stores/test_memcached_store.py
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cachy/build; python3.11 -m pytest --ignore=tests/stores/test_memcached_store.py
    ============================= test session starts ==============================
    platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
    rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cachy/build
    configfile: pyproject.toml
    plugins: mock-3.12.0
    collected 10 items / 5 errors

    ==================================== ERRORS ====================================
    _______________ ERROR collecting tests/stores/test_dict_store.py _______________
    tests/stores/test_dict_store.py:4: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    _______________ ERROR collecting tests/stores/test_file_store.py _______________
    tests/stores/test_file_store.py:10: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    _________________ ERROR collecting tests/test_cache_manager.py _________________
    tests/test_cache_manager.py:6: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    __________________ ERROR collecting tests/test_repository.py ___________________
    tests/test_repository.py:5: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    _________________ ERROR collecting tests/test_tagged_cache.py __________________
    tests/test_tagged_cache.py:10: in <module>
    from flexmock import flexmock /usr/lib/python3/dist-packages/flexmock/__init__.py:2: in <module>
    from flexmock import _integrations # pylint: disable=unused-import /usr/lib/python3/dist-packages/flexmock/_integrations.py:101: in <module>
    saved_pytest = runner.call_runtest_hook
    E AttributeError: module '_pytest.runner' has no attribute 'call_runtest_hook'
    =========================== short test summary info ============================
    ERROR tests/stores/test_dict_store.py - AttributeError: module '_pytest.runne...
    ERROR tests/stores/test_file_store.py - AttributeError: module '_pytest.runne...
    ERROR tests/test_cache_manager.py - AttributeError: module '_pytest.runner' h...
    ERROR tests/test_repository.py - AttributeError: module '_pytest.runner' has ...
    ERROR tests/test_tagged_cache.py - AttributeError: module '_pytest.runner' ha...
    !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection !!!!!!!!!!!!!!!!!!!!
    ============================== 5 errors in 0.24s ===============================
    E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cachy/build; python3.11 -m pytest --ignore=tests/stores/test_memcached_store.py
    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/03/19/cachy_0.3.0-4_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&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)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Apr 6 23:00:01 2024
    This is a multi-part message in MIME format...

    Your message dated Sat, 6 Apr 2024 17:56:03 -0300
    with message-id <4080bf9e-5d31-4f44-8837-110e79b2a63f@debian.org>
    and subject line cachy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    has caused the Debian Bug report #1067321,
    regarding cachy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1067321: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067321
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 20 Mar 2024 21:06:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 190; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:
  • From Debian Bug Tracking System@21:1/5 to All on Sat Apr 6 23:30:01 2024
    This is a multi-part message in MIME format...

    Your message dated Sat, 6 Apr 2024 18:23:51 -0300
    with message-id <655eb736-4a34-40e1-a15c-e11d1d962551@yaerobi.com>
    and subject line cachy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    has caused the Debian Bug report #1067321,
    regarding cachy: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1067321: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067321
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 20 Mar 2024 21:06:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 190; spammy,
    0. spammytokens: hammytokens:0.000-+--python3,
    0.000-+--Hx-spam-relays-external:sk:stravin, 0.000-+--H*RT:sk:stravin,
    0.000-+--Hx-spam-relays-external:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202: