Source: python-smoke-zephyr
Version: 2.0.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 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:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/argparse_types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/job.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/requirements.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/configuration.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/utilities.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/argparse_types.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/job.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/requirements.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/configuration.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
> copying smoke_zephyr/utilities.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build/smoke_zephyr
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build; python3.12 -m 
> unittest discover -v -s /<<PKGBUILDDIR>>/tests -p "[a-z]*.py"
> test_bin_b64_type (argparse_types.ArgparseTypeTests.test_bin_b64_type) ... ok
> test_bin_hex_type (argparse_types.ArgparseTypeTests.test_bin_hex_type) ... ok
> test_dir_type (argparse_types.ArgparseTypeTests.test_dir_type) ... ok
> test_log_level_type (argparse_types.ArgparseTypeTests.test_log_level_type) 
> ... ok
> test_port_type (argparse_types.ArgparseTypeTests.test_port_type) ... ok
> test_timespan_type (argparse_types.ArgparseTypeTests.test_timespan_type) ... 
> ok
> test_job_add (job.JobManagerTests.test_job_add) ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build/smoke_zephyr/job.py:183:
>  DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled 
> for removal in a future version. Use timezone-aware objects to represent 
> datetimes in UTC: datetime.datetime.now(datetime.UTC).
>   return datetime.datetime.utcnow()
> ok
> test_job_delete (job.JobManagerTests.test_job_delete) ... ok
> test_job_disable (job.JobManagerTests.test_job_disable) ... ok
> test_job_init (job.JobManagerTests.test_job_init) ... ok
> test_job_request_delete (job.JobManagerTests.test_job_request_delete) ... ok
> test_job_run (job.JobManagerTests.test_job_run) ... ok
> test_cache (utilities.UtilitiesCacheTests.test_cache) ... ok
> test_cache_cache_clear (utilities.UtilitiesCacheTests.test_cache_cache_clear) 
> ... ok
> test_cache_flatten_args 
> (utilities.UtilitiesCacheTests.test_cache_flatten_args) ... ok
> test_attribute_dict (utilities.UtilitiesTests.test_attribute_dict) ... ok
> test_escape_single_quote (utilities.UtilitiesTests.test_escape_single_quote) 
> ... ok
> test_get_ip_list (utilities.UtilitiesTests.test_get_ip_list) ... ok
> test_is_valid_email_address 
> (utilities.UtilitiesTests.test_is_valid_email_address) ... ok
> test_parse_case_camel_to_snake 
> (utilities.UtilitiesTests.test_parse_case_camel_to_snake) ... ok
> test_parse_case_snake_to_camel 
> (utilities.UtilitiesTests.test_parse_case_snake_to_camel) ... ok
> test_parse_server (utilities.UtilitiesTests.test_parse_server) ... ok
> test_parse_timespan (utilities.UtilitiesTests.test_parse_timespan) ... ok
> test_parse_to_slug (utilities.UtilitiesTests.test_parse_to_slug) ... ok
> test_selection_collision (utilities.UtilitiesTests.test_selection_collision) 
> ... ok
> test_sort_ipv4_list (utilities.UtilitiesTests.test_sort_ipv4_list) ... ERROR
> test_unescape_single_quote 
> (utilities.UtilitiesTests.test_unescape_single_quote) ... ok
> 
> ======================================================================
> ERROR: test_sort_ipv4_list (utilities.UtilitiesTests.test_sort_ipv4_list)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/utilities.py", line 193, in test_sort_ipv4_list
>     self.assertEquals(utilities.sort_ipv4_list(in_list), out_list)
>     ^^^^^^^^^^^^^^^^^
> AttributeError: 'UtilitiesTests' object has no attribute 'assertEquals'. Did 
> you mean: 'assertEqual'?
> 
> ----------------------------------------------------------------------
> Ran 27 tests in 12.014s
> 
> FAILED (errors=1)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smoke-zephyr/build; python3.12 -m 
> unittest discover -v -s {dir}/tests -p "[a-z]*.py"
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smoke-zephyr/build; python3.11 -m 
> unittest discover -v -s /<<PKGBUILDDIR>>/tests -p "[a-z]*.py"
> test_bin_b64_type (argparse_types.ArgparseTypeTests.test_bin_b64_type) ... ok
> test_bin_hex_type (argparse_types.ArgparseTypeTests.test_bin_hex_type) ... ok
> test_dir_type (argparse_types.ArgparseTypeTests.test_dir_type) ... ok
> test_log_level_type (argparse_types.ArgparseTypeTests.test_log_level_type) 
> ... ok
> test_port_type (argparse_types.ArgparseTypeTests.test_port_type) ... ok
> test_timespan_type (argparse_types.ArgparseTypeTests.test_timespan_type) ... 
> ok
> test_job_add (job.JobManagerTests.test_job_add) ... ok
> test_job_delete (job.JobManagerTests.test_job_delete) ... ok
> test_job_disable (job.JobManagerTests.test_job_disable) ... ok
> test_job_init (job.JobManagerTests.test_job_init) ... ok
> test_job_request_delete (job.JobManagerTests.test_job_request_delete) ... ok
> test_job_run (job.JobManagerTests.test_job_run) ... ok
> test_cache (utilities.UtilitiesCacheTests.test_cache) ... ok
> test_cache_cache_clear (utilities.UtilitiesCacheTests.test_cache_cache_clear) 
> ... ok
> test_cache_flatten_args 
> (utilities.UtilitiesCacheTests.test_cache_flatten_args) ... ok
> test_attribute_dict (utilities.UtilitiesTests.test_attribute_dict) ... ok
> test_escape_single_quote (utilities.UtilitiesTests.test_escape_single_quote) 
> ... ok
> test_get_ip_list (utilities.UtilitiesTests.test_get_ip_list) ... ok
> test_is_valid_email_address 
> (utilities.UtilitiesTests.test_is_valid_email_address) ... ok
> test_parse_case_camel_to_snake 
> (utilities.UtilitiesTests.test_parse_case_camel_to_snake) ... ok
> test_parse_case_snake_to_camel 
> (utilities.UtilitiesTests.test_parse_case_snake_to_camel) ... ok
> test_parse_server (utilities.UtilitiesTests.test_parse_server) ... ok
> test_parse_timespan (utilities.UtilitiesTests.test_parse_timespan) ... ok
> test_parse_to_slug (utilities.UtilitiesTests.test_parse_to_slug) ... ok
> test_selection_collision (utilities.UtilitiesTests.test_selection_collision) 
> ... ok
> test_sort_ipv4_list (utilities.UtilitiesTests.test_sort_ipv4_list) ... 
> /<<PKGBUILDDIR>>/tests/utilities.py:193: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals(utilities.sort_ipv4_list(in_list), out_list)
> ok
> test_unescape_single_quote 
> (utilities.UtilitiesTests.test_unescape_single_quote) ... ok
> 
> ----------------------------------------------------------------------
> Ran 27 tests in 12.011s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-smoke-zephyr_2.0.1-2_unstable.log

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

Reply via email to