Your message dated Sun, 29 Oct 2023 14:04:28 +0100
with message-id <[email protected]>
and subject line Re: Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild
--test --test-pytest -i python{version} -p 3.11 returned exit code 13
has caused the Debian Bug report #1031444,
regarding poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i
python{version} -p 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 [email protected]
immediately.)
--
1031444: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031444
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: poetry
Version: 1.3.2+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230216 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
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build"
> module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry
> * Building wheel...
> Successfully built poetry-1.3.2-py3-none-any.whl
> I: pybuild plugin_pyproject:119: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry/build;
> python3.11 -m pytest --ignore=tests/console/commands/env/test_list.py
> --ignore=tests/console/commands/env/test_remove.py
> --ignore=tests/console/commands/env/test_use.py
> --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py
> --ignore=tests/utils/test_helpers.py -k 'not
> test_self_update_should_install_all_necessary_elements and not
> test_add_file_constraint_sdist and not
> test_add_file_constraint_sdist_old_installer and not test_publish_dry_run and
> not test_info_from_sdist and not
> test_installer_can_install_dependencies_from_forced_source and not
> test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and
> not test_solver_can_resolve_sdist_dependencies and not
> test_solver_can_resolve_sdist_dependencies_with_extras and not
> test_solver_chooses_from_correct_repository_if_forced and not
> test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency
> and not test_solver_does_not_choose_from_secondary_repository_by_default and
> not test_solver_chooses_from_secondary_if_explicit and not
> test_get_package_information_fallback_read_setup and not
> test_get_package_information_skips_dependencies_with_invalid_constraints and
> not test_get_package_retrieves_packages_with_no_hashes and not
> test_fallback_can_read_setup_to_get_dependencies and not
> test_exporter_can_export_requirements_txt_with_file_packages and not
> test_exporter_can_export_requirements_txt_with_file_packages_and_markers and
> not test_lock_no_update and not
> test_locker_dumps_dependency_information_correctly and not
> test_package_partial_yank and not
> test_run_installs_with_same_version_url_files and not
> test_env_info_displays_complete_info and not test_skip_existing_output and
> not
> test_installer_should_use_the_locked_version_of_git_dependencies_with_extras
> and not
> test_installer_should_use_the_locked_version_of_git_dependencies_without_reference
> and not test_installer_uses_prereleases_if_they_are_compatible and not
> test_requirement_git_subdirectory and not test_check_valid and not
> test_check_invalid and not test_packages_property_returns_empty_list and not
> test_parse_dependency_specification and not
> test_info_setup_missing_mandatory_should_trigger_pep517 and not
> test_uninstall_git_package_nspkg_pth_cleanup and not
> test_executor_should_write_pep610_url_references_for_directories and not
> test_executor_should_write_pep610_url_references_for_git and not
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories'
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: pyproject.toml
> plugins: xdist-3.1.0, mock-3.8.2
> gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I
> gw0 [1051] / gw1 [1051] / gw2 [1051] / gw3 [1051] / gw4 [1051] / gw5 [1051] /
> gw6 [1051] / gw7 [1051]
>
> ........................................................................ [
> 6%]
> ........................................................................ [
> 13%]
> ......................................................................... [
> 20%]
> ............s............................................................ [
> 27%]
> ........................................................................ [
> 34%]
> ......F.................................................................. [
> 41%]
> ..............................................................s......... [
> 48%]
> ........................................................................ [
> 55%]
> ............................................s........................... [
> 61%]
> .............................................s.......................... [
> 68%]
> ........................................................................ [
> 75%]
> ............................................................................
> [ 82%]
> ........................................................................ [
> 89%]
> ........................................................................ [
> 96%]
> ....................................
> [100%]
> =================================== FAILURES
> ===================================
> _______ test_execute_prints_warning_for_yanked_package[operations2-True]
> _______
> [gw4] linux -- Python 3.11.2 /usr/bin/python3.11
>
> config = <tests.conftest.Config object at 0x7fd872abc310>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at
> 0x7fd872f06950>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7fd872999390>
> tmp_dir = '/tmp/poetry_j6os03hu', mock_file_downloads = None
> env = MockEnv("/tmp/poetry_j6os03hu/.venv")
> operations = [<Update black (19.10b0) to black (21.11b0)>, <Update pytest
> (3.5.0) to pytest (3.5.1)>]
> has_warning = True
>
> @pytest.mark.parametrize(
> "operations, has_warning",
> [
> (
> [Install(Package("black", "21.11b0")),
> Install(Package("pytest", "3.5.1"))],
> True,
> ),
> (
> [
> Uninstall(Package("black", "21.11b0")),
> Uninstall(Package("pytest", "3.5.1")),
> ],
> False,
> ),
> (
> [
> Update(Package("black", "19.10b0"), Package("black",
> "21.11b0")),
> Update(Package("pytest", "3.5.0"), Package("pytest",
> "3.5.1")),
> ],
> True,
> ),
> ],
> )
> def test_execute_prints_warning_for_yanked_package(
> config: Config,
> pool: RepositoryPool,
> io: BufferedIO,
> tmp_dir: str,
> mock_file_downloads: None,
> env: MockEnv,
> operations: list[Operation],
> has_warning: bool,
> ):
> config.merge({"cache-dir": tmp_dir})
>
> executor = Executor(env, pool, config, io)
>
> return_code = executor.execute(operations)
>
> expected = (
> "Warning: The file chosen for install of black 21.11b0 "
> "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being
> yanked: "
> "Broken regex dependency. Use 21.11b1 instead."
> )
> error = io.fetch_error()
> > assert return_code == 0
> E assert 1 == 0
>
> tests/installation/test_executor.py:226: AssertionError
> =========================== short test summary info
> ============================
> FAILED
> tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
> ================== 1 failed, 1046 passed, 4 skipped in 33.70s
> ==================
> E: pybuild pybuild:388: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry/build; python3.11 -m pytest
> --ignore=tests/console/commands/env/test_list.py
> --ignore=tests/console/commands/env/test_remove.py
> --ignore=tests/console/commands/env/test_use.py
> --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py
> --ignore=tests/utils/test_helpers.py -k 'not
> test_self_update_should_install_all_necessary_elements and not
> test_add_file_constraint_sdist and not
> test_add_file_constraint_sdist_old_installer and not test_publish_dry_run and
> not test_info_from_sdist and not
> test_installer_can_install_dependencies_from_forced_source and not
> test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and
> not test_solver_can_resolve_sdist_dependencies and not
> test_solver_can_resolve_sdist_dependencies_with_extras and not
> test_solver_chooses_from_correct_repository_if_forced and not
> test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency
> and not test_solver_does_not_choose_from_secondary_repository_by_default and
> not test_solver_chooses_from_secondary_if_explicit and not
> test_get_package_information_fallback_read_setup and not
> test_get_package_information_skips_dependencies_with_invalid_constraints and
> not test_get_package_retrieves_packages_with_no_hashes and not
> test_fallback_can_read_setup_to_get_dependencies and not
> test_exporter_can_export_requirements_txt_with_file_packages and not
> test_exporter_can_export_requirements_txt_with_file_packages_and_markers and
> not test_lock_no_update and not
> test_locker_dumps_dependency_information_correctly and not
> test_package_partial_yank and not
> test_run_installs_with_same_version_url_files and not
> test_env_info_displays_complete_info and not test_skip_existing_output and
> not
> test_installer_should_use_the_locked_version_of_git_dependencies_with_extras
> and not
> test_installer_should_use_the_locked_version_of_git_dependencies_without_reference
> and not test_installer_uses_prereleases_if_they_are_compatible and not
> test_requirement_git_subdirectory and not test_check_valid and not
> test_check_invalid and not test_packages_property_returns_empty_list and not
> test_parse_dependency_specification and not
> test_info_setup_missing_mandatory_should_trigger_pep517 and not
> test_uninstall_git_package_nspkg_pth_cleanup and not
> test_executor_should_write_pep610_url_references_for_directories and not
> test_executor_should_write_pep610_url_references_for_git and not
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/02/16/poetry_1.3.2+dfsg-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&[email protected]&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.
--- End Message ---
--- Begin Message ---
Hi,
It looks like this no longer randomly fails. Closing.
Lucas
--- End Message ---