• Bug#1060978: python-procrunner: FTBFS: dh_auto_test: error: pybuild --t

    From Lucas Nussbaum@21:1/5 to All on Tue Jan 16 21:00:17 2024
    Source: python-procrunner
    Version: 1.1.0-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240115 ftbfs-trixie

    Hi,

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


    Relevant part (hopefully):
    debian/rules build
    dh build --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
    running config
    I: pybuild base:305: python3.11 setup.py config
    running config
    dh_auto_build -O--buildsystem=pybuild
    I: pybuild base:305: /usr/bin/python3.12 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/procrunner
    copying procrunner/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/procrunner
    running egg_info
    creating procrunner.egg-info
    writing procrunner.egg-info/PKG-INFO
    writing dependency_links to procrunner.egg-info/dependency_links.txt
    writing requirements to procrunner.egg-info/requires.txt
    writing top-level names to procrunner.egg-info/top_level.txt
    writing manifest file 'procrunner.egg-info/SOURCES.txt'
    reading manifest file 'procrunner.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    warning: no files found matching '*.jpg' under directory 'docs'
    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.gif' under directory 'docs'
    adding license file 'LICENSE'
    adding license file 'AUTHORS.rst'
    writing manifest file 'procrunner.egg-info/SOURCES.txt'
    I: pybuild base:305: /usr/bin/python3 setup.py build
    running build
    running build_py
    creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/procrunner
    copying procrunner/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/procrunner
    running egg_info
    writing procrunner.egg-info/PKG-INFO
    writing dependency_links to procrunner.egg-info/dependency_links.txt
    writing requirements to procrunner.egg-info/requires.txt
    writing top-level names to procrunner.egg-info/top_level.txt
    reading manifest file 'procrunner.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files matching '__pycache__' found under directory '*'
    warning: no previously-included files matching '*.py[co]' found under directory '*'
    warning: no files found matching '*.jpg' under directory 'docs'
    warning: no files found matching '*.png' under directory 'docs'
    warning: no files found matching '*.gif' under directory 'docs'
    adding license file 'LICENSE'
    adding license file 'AUTHORS.rst'
    writing manifest file 'procrunner.egg-info/SOURCES.txt'
    dh_auto_test -O--buildsystem=pybuild
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build; python3.12 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: setup.cfg
    collected 0 items / 3 errors

    ==================================== ERRORS ====================================
    _ ERROR collecting .pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner.py _
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    /usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_procrunner.py:6: in <module>
    import procrunner
    procrunner/__init__.py:9: in <module>
    import six
    E ModuleNotFoundError: No module named 'six'
    _ ERROR collecting .pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_resolution.py _
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_resolution.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    /usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_procrunner_resolution.py:7: in <module>
    import procrunner
    procrunner/__init__.py:9: in <module>
    import six
    E ModuleNotFoundError: No module named 'six'
    _ ERROR collecting .pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_system.py _
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build/tests/test_procrunner_system.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    /usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_procrunner_system.py:6: in <module>
    import procrunner
    procrunner/__init__.py:9: in <module>
    import six
    E ModuleNotFoundError: No module named 'six' =============================== warnings summary ===============================
    ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
    /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: collect_ignore

    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    ERROR tests/test_procrunner.py
    ERROR tests/test_procrunner_resolution.py
    ERROR tests/test_procrunner_system.py
    !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
    ========================= 1 warning, 3 errors in 0.15s =========================
    E: pybuild pybuild:391: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_python-procrunner/build; python3.12 -m pytest tests
    I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build; python3.11 -m pytest tests
    ============================= test session starts ==============================
    platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
    rootdir: /<<PKGBUILDDIR>>
    configfile: setup.cfg
    collected 0 items / 3 errors

    ==================================== ERRORS ====================================
    _ ERROR collecting .pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner.py _
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    /usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_procrunner.py:6: in <module>
    import procrunner
    procrunner/__init__.py:9: in <module>
    import six
    E ModuleNotFoundError: No module named 'six'
    _ ERROR collecting .pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_resolution.py _
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_resolution.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    /usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_procrunner_resolution.py:7: in <module>
    import procrunner
    procrunner/__init__.py:9: in <module>
    import six
    E ModuleNotFoundError: No module named 'six'
    _ ERROR collecting .pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_system.py _
    ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/build/tests/test_procrunner_system.py'.
    Hint: make sure your test modules/packages have valid Python names. Traceback:
    /usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level) tests/test_procrunner_system.py:6: in <module>
    import procrunner
    procrunner/__init__.py:9: in <module>
    import six
    E ModuleNotFoundError: No module named 'six' =============================== warnings summary ===============================
    ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
    /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: collect_ignore

    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

    -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
    ERROR tests/test_procrunner.py
    ERROR tests/test_procrunner_resolution.py
    ERROR tests/test_procrunner_system.py
    !!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
    ========================= 1 warning, 3 errors in 0.15s =========================
    E: pybuild pybuild:391: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-procrunner/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/01/15/python-procrunner_1.1.0-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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 Tue Jan 23 17:30:02 2024
    This is a multi-part message in MIME format...

    Your message dated Tue, 23 Jan 2024 16:22:25 +0000
    with message-id <E1rSJXd-00BnOq-1S@fasolo.debian.org>
    and subject line Bug#1060978: fixed in python-procrunner 2.3.3-1
    has caused the Debian Bug report #1060978,
    regarding python-procrunner: 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.)


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

    Received: (at submit) by bugs.debian.org; 16 Jan 2024 19:45:10 +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=-106.9 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    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, 12; hammy, 150; neutral, 275; 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: