Package: src:python-smoke-zephyr
Version: 1.4.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3 --buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config 
running config
I: pybuild base:217: python3.7 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/requirements.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/utilities.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/argparse_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/job.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/configuration.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build/smoke_zephyr
I: pybuild base:217: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/requirements.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/utilities.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/argparse_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/job.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
copying smoke_zephyr/configuration.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_smoke-zephyr/build/smoke_zephyr
   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:217: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython2_2.7_smoke-zephyr/build; python2.7 -m 
unittest discover -v -s /<<PKGBUILDDIR>>/tests -p "[a-z]*.py"
test_cache (utilities.UtilitiesCacheTests) ... ok
test_cache_cache_clear (utilities.UtilitiesCacheTests) ... ok
test_cache_flatten_args (utilities.UtilitiesCacheTests) ... ok
test_attribute_dict (utilities.UtilitiesTests) ... ok
test_escape_single_quote (utilities.UtilitiesTests) ... ok
test_is_valid_email_address (utilities.UtilitiesTests) ... ok
test_parse_case_camel_to_snake (utilities.UtilitiesTests) ... ok
test_parse_case_snake_to_camel (utilities.UtilitiesTests) ... ok
test_parse_server (utilities.UtilitiesTests) ... ok
test_parse_timespan (utilities.UtilitiesTests) ... ok
test_parse_to_slug (utilities.UtilitiesTests) ... ok
test_selection_collision (utilities.UtilitiesTests) ... ok
test_unescape_single_quote (utilities.UtilitiesTests) ... ok
test_bin_b64_type (argparse_types.ArgparseTypeTests) ... ok
test_bin_hex_type (argparse_types.ArgparseTypeTests) ... ok
test_dir_type (argparse_types.ArgparseTypeTests) ... ok
test_log_level_type (argparse_types.ArgparseTypeTests) ... ok
test_port_type (argparse_types.ArgparseTypeTests) ... ok
test_timespan_type (argparse_types.ArgparseTypeTests) ... ok
test_job_add (job.JobManagerTests) ... ok
test_job_delete (job.JobManagerTests) ... 
E: Build killed with signal TERM after 10 minutes of inactivity
--------------------------------------------------------------------------------

The failure happens randomly. Sometimes it fails, sometimes it does not,
but in some of my autobuilders the failure rate is around 100%, which is why
I'm filing this as serious.

I've put a bunch of failed build logs here:

https://people.debian.org/~sanvila/build-logs/python-smoke-zephyr/

I've tested the build on machines with 1 CPU and 2 CPUs. The issue happens
in both, but it's particularly easy to reproduce on machines with 1 CPU.

If you need a test machine to reproduce it, please contact me privately
and I will gladly offer ssh access.

Note: In cases like this one I would recommend forwarding the bug
upstream and disabling the offending test in the meantime. However,
please note that there are several of them. If I grep "\.\.\. $" on
the build logs above and count how many occurrences there are, this is
the result:

 74 test_job_delete (job.JobManagerTests) ... 
  7 test_job_disable (job.JobManagerTests) ... 
  3 test_job_init (job.JobManagerTests) ... 

Thanks.

Reply via email to