Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #389501

Bug#1102957: geventhttpclient: FTBFS in testing: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1102957: geventhttpclient: FTBFS in testing: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
Date 2025-04-13 14:40 +0200
Message-ID <KB4MV-ddST-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: geventhttpclient
Version: 2.3.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250412 ftbfs-trixie

Hi,

During a rebuild of all packages in testing (trixie), 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:311: python3.13 setup.py config 
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3 setup.py build 
> warning: no files found matching 'LICENSE-MIT' under directory 'llhttp'
> warning: no previously-included files matching '__pycache__' found anywhere in distribution
> warning: no previously-included files matching '*.py[co]' found anywhere in distribution
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /build/reproducible-path/geventhttpclient-2.3.3/.pybuild/cpython3_3.13_geventhttpclient/build; python3.13 -m pytest --verbose -m 'not network'
> ============================= test session starts ==============================
> platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13
> cachedir: .pytest_cache
> rootdir: /build/reproducible-path/geventhttpclient-2.3.3/.pybuild/cpython3_3.13_geventhttpclient/build
> configfile: pyproject.toml
> plugins: typeguard-4.4.2
> collecting ... collected 128 items / 14 deselected / 1 skipped / 114 selected
> 
> tests/test_client.py::test_build_request[/tp/] PASSED                    [  0%]
> tests/test_client.py::test_build_request[tp/] PASSED                     [  1%]
> tests/test_client.py::test_build_request[http://httpbingo.org/tp/] PASSED [  2%]
> tests/test_client.py::test_build_request_invalid_host PASSED             [  3%]
> tests/test_client.py::test_build_request_host[localhost-None] PASSED     [  4%]
> tests/test_client.py::test_build_request_host[localhost-1234] PASSED     [  5%]
> tests/test_client.py::test_build_request_host[127.0.0.1-None] PASSED     [  6%]
> tests/test_client.py::test_build_request_host[127.0.0.1-1234] PASSED     [  7%]
> tests/test_client.py::test_build_request_host[::1-None] PASSED           [  7%]
> tests/test_client.py::test_build_request_host[::1-1234] PASSED           [  8%]
> tests/test_client.py::test_build_request_host[[::1]-None] PASSED         [  9%]
> tests/test_client.py::test_build_request_host[[::1]-1234] PASSED         [ 10%]
> tests/test_client.py::test_from_url[http://python.org-client_args0] PASSED [ 11%]
> tests/test_client.py::test_from_url[http://python.org:333-client_args1] PASSED [ 12%]
> tests/test_client.py::test_readline PASSED                               [ 13%]
> tests/test_client.py::test_readline_multibyte_sep PASSED                 [ 14%]
> tests/test_client.py::test_readline_multibyte_splitsep PASSED            [ 14%]
> tests/test_client.py::test_internal_server_error PASSED                  [ 15%]
> tests/test_client.py::test_file_post PASSED                              [ 16%]
> tests/test_client.py::test_bytes_post PASSED                             [ 17%]
> tests/test_client.py::test_string_post PASSED                            [ 18%]
> tests/test_client.py::test_unicode_post PASSED                           [ 19%]
> tests/test_headers.py::test_create_from_kwargs PASSED                    [ 20%]
> tests/test_headers.py::test_create_from_iterator PASSED                  [ 21%]
> tests/test_headers.py::test_create_from_dict PASSED                      [ 21%]
> tests/test_headers.py::test_create_from_list PASSED                      [ 22%]
> tests/test_headers.py::test_retrieve PASSED                              [ 23%]
> tests/test_headers.py::test_case_insensitivity PASSED                    [ 24%]
> tests/test_headers.py::test_preserve_case PASSED                         [ 25%]
> tests/test_headers.py::test_update_preserve_case PASSED                  [ 26%]
> tests/test_headers.py::test_read_multiple_header PASSED                  [ 27%]
> tests/test_headers.py::test_cookielib_compatibility PASSED               [ 28%]
> tests/test_headers.py::test_compatibility_with_previous_api_read PASSED  [ 28%]
> tests/test_headers.py::test_compatibility_with_previous_api_write PASSED [ 29%]
> tests/test_headers.py::test_copy PASSED                                  [ 30%]
> tests/test_headers.py::test_fieldname_string_enforcement PASSED          [ 31%]
> tests/test_headers.py::test_header_replace PASSED                        [ 32%]
> tests/test_headers.py::test_formatting PASSED                            [ 33%]
> tests/test_headers.py::test_compat_dict PASSED                           [ 34%]
> tests/test_httplib.py::test_httplib_exception PASSED                     [ 35%]
> tests/test_httplib.py::test_success_response PASSED                      [ 35%]
> tests/test_httplib.py::test_msg PASSED                                   [ 36%]
> tests/test_httplib.py::test_patched PASSED                               [ 37%]
> tests/test_keep_alive.py::test_simple PASSED                             [ 38%]
> tests/test_keep_alive.py::test_simple_with_body PASSED                   [ 39%]
> tests/test_keep_alive.py::test_keep_alive_http_10_without_header PASSED  [ 40%]
> tests/test_keep_alive.py::test_keep_alive_http_10_with_header PASSED     [ 41%]
> tests/test_keep_alive.py::test_keep_alive_http_10_closed PASSED          [ 42%]
> tests/test_keep_alive.py::test_keep_alive_bodyless_response_with_body PASSED [ 42%]
> tests/test_keep_alive.py::test_keep_alive_bodyless_10x_request_with_body PASSED [ 43%]
> tests/test_keep_alive.py::test_close_connection_and_no_content_length PASSED [ 44%]
> tests/test_keep_alive.py::test_close_connection_with_content_length PASSED [ 45%]
> tests/test_network_failures.py::test_exception PASSED                    [ 46%]
> tests/test_network_failures.py::test_close PASSED                        [ 47%]
> tests/test_network_failures.py::test_close_after_recv PASSED             [ 48%]
> tests/test_network_failures.py::test_timeout_recv PASSED                 [ 49%]
> tests/test_network_failures.py::test_timeout_send PASSED                 [ 50%]
> tests/test_network_failures.py::test_close_during_content PASSED         [ 50%]
> tests/test_network_failures.py::test_content_too_small PASSED            [ 51%]
> tests/test_network_failures.py::test_close_during_chuncked_readline PASSED [ 52%]
> tests/test_network_failures.py::test_timeout_during_chuncked_readline PASSED [ 53%]
> tests/test_no_module_ssl.py::test_import_with_nossl PASSED               [ 54%]
> tests/test_no_module_ssl.py::test_httpclient_raises_with_no_ssl PASSED   [ 55%]
> tests/test_parser.py::test_parse PASSED                                  [ 56%]
> tests/test_parser.py::test_parse_small_blocks PASSED                     [ 57%]
> tests/test_parser.py::test_parse_error PASSED                            [ 57%]
> tests/test_parser.py::test_incomplete_response PASSED                    [ 58%]
> tests/test_parser.py::test_response_too_long PASSED                      [ 59%]
> tests/test_parser.py::test_on_body_raises PASSED                         [ 60%]
> tests/test_parser.py::test_on_message_begin PASSED                       [ 61%]
> tests/test_ssl.py::test_simple_ssl PASSED                                [ 62%]
> tests/test_ssl.py::test_implicit_sni_from_host_in_ssl FAILED             [ 63%]
> tests/test_ssl.py::test_implicit_sni_from_header_in_ssl FAILED           [ 64%]
> tests/test_ssl.py::test_explicit_sni_in_ssl FAILED                       [ 64%]
> tests/test_ssl.py::test_timeout_on_connect PASSED                        [ 65%]
> tests/test_ssl.py::test_network_timeout PASSED                           [ 66%]
> tests/test_ssl.py::test_verify_self_signed_fail PASSED                   [ 67%]
> tests/test_ssl.py::test_ssl_context_cert_and_keyfile PASSED              [ 68%]
> tests/test_url.py::test_simple_url PASSED                                [ 69%]
> tests/test_url.py::test_path_only PASSED                                 [ 70%]
> tests/test_url.py::test_params PASSED                                    [ 71%]
> tests/test_url.py::test_params_urlencoded PASSED                         [ 71%]
> tests/test_url.py::test_query_urlencoded PASSED                          [ 72%]
> tests/test_url.py::test_tuple_unpack PASSED                              [ 73%]
> tests/test_url.py::test_tuple_unpack_no_none PASSED                      [ 74%]
> tests/test_url.py::test_empty PASSED                                     [ 75%]
> tests/test_url.py::test_empty_path PASSED                                [ 76%]
> tests/test_url.py::test_consistent_reparsing PASSED                      [ 77%]
> tests/test_url.py::test_redirection_abs_path PASSED                      [ 78%]
> tests/test_url.py::test_redirection_rel_path[test.html?key=val] PASSED   [ 78%]
> tests/test_url.py::test_redirection_rel_path[folder/test.html?key=val] PASSED [ 79%]
> tests/test_url.py::test_redirection_full_path PASSED                     [ 80%]
> tests/test_url.py::test_query PASSED                                     [ 81%]
> tests/test_url.py::test_equality PASSED                                  [ 82%]
> tests/test_url.py::test_default_port PASSED                              [ 83%]
> tests/test_url.py::test_pw PASSED                                        [ 84%]
> tests/test_url.py::test_pw_with_port PASSED                              [ 85%]
> tests/test_url.py::test_ipv6 PASSED                                      [ 85%]
> tests/test_url.py::test_ipv6_with_port PASSED                            [ 86%]
> tests/test_useragent.py::test_unicode_post PASSED                        [ 87%]
> tests/test_useragent.py::test_bytes_post PASSED                          [ 88%]
> tests/test_useragent.py::test_dict_post_with_content_type PASSED         [ 89%]
> tests/test_useragent.py::test_file_post PASSED                           [ 90%]
> tests/test_useragent.py::test_multipart_file PASSED                      [ 91%]
> tests/test_useragent.py::test_multipart_mixed PASSED                     [ 92%]
> tests/test_useragent.py::test_redirect PASSED                            [ 92%]
> tests/test_useragent.py::test_params PASSED                              [ 93%]
> tests/test_useragent.py::test_params_quoted PASSED                       [ 94%]
> tests/test_useragent.py::test_server_error_with_bytes PASSED             [ 95%]
> tests/test_useragent.py::test_server_error_with_unicode PASSED           [ 96%]
> tests/test_useragent.py::test_server_error_with_file PASSED              [ 97%]
> tests/test_useragent.py::test_cookiejar PASSED                           [ 98%]
> tests/test_useragent.py::test_cookiejar_response_error PASSED            [ 99%]
> tests/test_useragent.py::test_brotli_response PASSED                     [100%]
> 
> =================================== FAILURES ===================================
> ______________________ test_implicit_sni_from_host_in_ssl ______________________
> 
>     def test_implicit_sni_from_host_in_ssl():
>         server_host, server_port, sent_sni = _get_sni_sent_from_client()
> >       assert sent_sni == server_host
> E       AssertionError: assert None == 'some_foo'
> 
> tests/test_ssl.py:100: AssertionError
> _____________________ test_implicit_sni_from_header_in_ssl _____________________
> 
>     def test_implicit_sni_from_header_in_ssl():
>         server_host, server_port, sent_sni = _get_sni_sent_from_client(
>             headers={"host": "ololo_special_host"},
>         )
> >       assert sent_sni == "ololo_special_host"
> E       AssertionError: assert None == 'ololo_special_host'
> 
> tests/test_ssl.py:107: AssertionError
> ___________________________ test_explicit_sni_in_ssl ___________________________
> 
>     def test_explicit_sni_in_ssl():
>         server_host, server_port, sent_sni = _get_sni_sent_from_client(
>             ssl_options={"server_hostname": "test_sni"},
>             headers={"host": "ololo_special_host"},
>         )
> >       assert sent_sni == "test_sni"
> E       AssertionError: assert None == 'test_sni'
> 
> tests/test_ssl.py:115: AssertionError
> =========================== short test summary info ============================
> FAILED tests/test_ssl.py::test_implicit_sni_from_host_in_ssl - AssertionError...
> FAILED tests/test_ssl.py::test_implicit_sni_from_header_in_ssl - AssertionErr...
> FAILED tests/test_ssl.py::test_explicit_sni_in_ssl - AssertionError: assert N...
> =========== 3 failed, 111 passed, 1 skipped, 14 deselected in 1.82s ============
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/geventhttpclient-2.3.3/.pybuild/cpython3_3.13_geventhttpclient/build; python3.13 -m pytest --verbose -m 'not network'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2025/04/12/geventhttpclient_2.3.3-1_testing.log

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

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1102957: geventhttpclient: FTBFS in testing: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 Lucas Nussbaum <lucas@debian.org> - 2025-04-13 14:40 +0200
  Bug#1102957: geventhttpclient: FTBFS in testing: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 Chris Hofstaedtler <zeha@debian.org> - 2025-04-30 15:40 +0200
    Bug#1102957: [Pkg-openssl-devel] Bug#1102957: geventhttpclient: FTBFS in testing: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2025-05-04 22:00 +0200
  Processed: Re: Bug#1102957: geventhttpclient: FTBFS in testing:  dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p  3.13 returned exit code 13 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-30 15:40 +0200
  Processed: Re: [Pkg-openssl-devel] Bug#1102957: Bug#1102957:  geventhttpclient: FTBFS in testing: dh_auto_test: error: pybuild --test  --test-pytest -i python{version} -p 3.13 returned exit code 13 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-05-13 22:00 +0200
  Processed: geventhttpclient: diff for NMU version 2.3.3-1.1 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-05-23 21:20 +0200
  Bug#1102957: marked as done (geventhttpclient: FTBFS in testing:  dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p  3.13 returned exit code 13) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-05-24 21:50 +0200

csiph-web