[Debian-med-packaging] Bug#1022451: qcat: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:41:58 BST 2022


Source: qcat
Version: 1.1.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 ftbfs-bookworm

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:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner_simple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/eval_roc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/layout.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner_dual.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner_brill.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner_guppy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/scanner_epi2me.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/eval_full.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/calibration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/adapters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/eval.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> copying qcat/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/PBC096_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/NBD114_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/NBD114_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/simple_extended.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/DUAL_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB204_RAB214_5p_c.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/NBD104_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB201_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/VMK001.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/PBK004_LWB001_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RPB004_RLB001.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/simple_standard.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB214_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB201_5p_c.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB204_RAB214_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB214_5p_a.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/PBK004_LWB001_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RBK001.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RBK004.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/NBD104_NBD114_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB201_5p_a.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/PBC096_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/PBC001_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB204_RAB214_5p_a.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/PBC001_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/RAB214_5p_c.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/DUAL_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/NBD104_NBD114_5p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
> copying qcat/resources/kits/NBD104_3p.yml -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/resources/kits
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/qcat/test /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat ;
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack -- /usr/bin/python3.10
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>, configfile: pytest.ini
> plugins: cov-4.0.0
> collecting ... collected 0 items / 1 error
> 
> ==================================== ERRORS ====================================
> ___ ERROR collecting .pybuild/cpython3_3.10/build/qcat/test/test_barcode.py ____
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/qcat/test/test_barcode.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> qcat/test/test_barcode.py:5: in <module>
>     from qcat import cli
> qcat/cli.py:7: in <module>
>     import six
> E   ModuleNotFoundError: No module named 'six'
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1252
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1252: PytestConfigWarning: Unknown config option: log_print
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> 
> ---------- coverage: platform linux, python 3.10.7-final-0 -----------
> Name                        Stmts   Miss  Cover   Missing
> ---------------------------------------------------------
> qcat/__init__.py                2      0   100%
> qcat/adapters.py              102     79    23%   19-24, 28-31, 35-40, 44, 54-56, 60-67, 76-105, 109-118, 122-135, 139-162
> qcat/calibration.py             0      0   100%
> qcat/cli.py                   283    277     2%   9-639
> qcat/config.py                106     39    63%   29, 38, 58-59, 78-79, 98-99, 108, 118, 127, 137, 146, 156, 166, 177, 188, 200, 209-234, 263-275, 287
> qcat/eval.py                  118    118     0%   1-183
> qcat/eval_full.py             132    132     0%   1-241
> qcat/eval_roc.py               50     50     0%   1-105
> qcat/layout.py                108     91    16%   26-70, 84-96, 99, 109-114, 124-129, 140-145, 155-166, 174, 183-188, 201-213, 225-238, 248
> qcat/scanner.py                45     30    33%   10-11, 26-30, 40-45, 55-60, 70-75, 93-111
> qcat/scanner_base.py          284    238    16%   8-11, 24-26, 47-60, 93-141, 165-188, 211-220, 234-244, 248-255, 274-296, 308-310, 330-359, 381-390, 399, 428-447, 456, 464, 477, 481-519, 526-604, 607-611, 614-616, 620-630, 634-642, 646-654, 658-660, 664-678, 682-689, 693-704, 707-712, 717-733
> qcat/scanner_brill.py          77     77     0%   1-138
> qcat/scanner_dual.py           41     31    24%   15-29, 33, 56-146
> qcat/scanner_epi2me.py         42     33    21%   13-27, 31, 54-138
> qcat/scanner_guppy.py          56     33    41%   13, 46-77, 82, 87-111, 118-120, 125-131
> qcat/scanner_simple.py         28     17    39%   14-31, 35, 38-41, 68-87
> qcat/test/__init__.py           0      0   100%
> qcat/test/test_barcode.py     273    269     1%   6-701
> qcat/utils.py                  22     12    45%   14-17, 21, 33-40
> ---------------------------------------------------------
> TOTAL                        1769   1526    14%
> 
> =========================== short test summary info ============================
> ERROR qcat/test/test_barcode.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 1 error in 0.77s ==========================
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/qcat_1.1.0-3_unstable.log

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



More information about the Debian-med-packaging mailing list