Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-19 Thread Lucas Nussbaum
On 19/02/23 at 14:06 +0100, Santiago Vila wrote:
> El 19/2/23 a las 10:03, Nilesh Patra escribió:
> > @Santiago, sorry about pulling you into a random thread.
> > If you have some time, could you please see if this is
> > reproducible at your end? And if so, could you, like the previous time, 
> > give me
> > access to a machine where this might be a bit more reliably
> > reproducible?
> 
> Hi. Unfortunately, this one builds ok for me every time.
> 
> Lucas: As I said in another bug, we should find a way to offer
> (officially) virtual machines of the same type than the ones
> where a FTBFS problem happens.

What I can do is provide is temporary access to a VM with a exact them
setup as the one used for rebuild nodes. However, for now, this would be
a manual process.

I just need an SSH key for that.

Lucas



Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-19 Thread Santiago Vila

El 19/2/23 a las 10:03, Nilesh Patra escribió:

@Santiago, sorry about pulling you into a random thread.
If you have some time, could you please see if this is
reproducible at your end? And if so, could you, like the previous time, give me
access to a machine where this might be a bit more reliably
reproducible?


Hi. Unfortunately, this one builds ok for me every time.

Lucas: As I said in another bug, we should find a way to offer
(officially) virtual machines of the same type than the ones
where a FTBFS problem happens.

Thanks.



Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-19 Thread Nilesh Patra
On Sun, Feb 19, 2023 at 08:53:05AM +0100, Lucas Nussbaum wrote:
> > On Fri, 17 Feb 2023 07:47:47 +0100 Lucas Nussbaum  wrote:
> > > Source: poetry
> > > Version: 1.3.2+dfsg-3
> > > Severity: serious
> > > Justification: FTBFS
> > > Tags: bookworm sid ftbfs
> > > User: lu...@debian.org
> > > Usertags: ftbfs-20230216 ftbfs-bookworm
> > > 
> > > Hi,
> > > 
> > > During a rebuild of all packages in sid, your package failed to build
> > > on amd64.
> > 
> > It builds fine on my local machine. I built more than 10 times on 
> > barriere.d.o
> > and it worked fine.
> > 
> > I was able to reproduce the issue once on my local machine, of many,
> > many re-builds though but unfortunately that is not enough (for me) to
> > reliably repro/root-cause this.
> > 
> > Would you please consider building this again? If it still fails, then
> > maybe it is a random issue or reproducible on some specific systems. I'm
> > downgrading the severity to important for now, I hope that is fine.
> 
> I can still reproduce it, and it fails every time for me.
> 
> However, it does not fail with DEB_BUILD_OPTIONS=parallel=1 (while it
> fails every time with the default (parallel=8 on my system)). So it
> looks like a race condition in the tests?

I tried with this option as well, but it still works OK for me, not sure
what is off. It even works on salsa CI[1] so not sure of a way to
properly repro it.

@Santiago, sorry about pulling you into a random thread.
If you have some time, could you please see if this is
reproducible at your end? And if so, could you, like the previous time, give me
access to a machine where this might be a bit more reliably
reproducible?

[1]: https://salsa.debian.org/python-team/packages/poetry/-/pipelines/488531

-- 
Best,
Nilesh


signature.asc
Description: PGP signature


Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-18 Thread Lucas Nussbaum
Hi Nilesh,

On 19/02/23 at 01:13 +0530, Nilesh Patra wrote:
> Control: tags -1 moreinfo
> Control: severity -1 important
> 
> Hi Lucas,
> 
> On Fri, 17 Feb 2023 07:47:47 +0100 Lucas Nussbaum  wrote:
> > Source: poetry
> > Version: 1.3.2+dfsg-3
> > Severity: serious
> > Justification: FTBFS
> > Tags: bookworm sid ftbfs
> > User: lu...@debian.org
> > Usertags: ftbfs-20230216 ftbfs-bookworm
> > 
> > Hi,
> > 
> > During a rebuild of all packages in sid, your package failed to build
> > on amd64.
> 
> It builds fine on my local machine. I built more than 10 times on barriere.d.o
> and it worked fine.
> 
> I was able to reproduce the issue once on my local machine, of many,
> many re-builds though but unfortunately that is not enough (for me) to
> reliably repro/root-cause this.
> 
> Would you please consider building this again? If it still fails, then
> maybe it is a random issue or reproducible on some specific systems. I'm
> downgrading the severity to important for now, I hope that is fine.

I can still reproduce it, and it fails every time for me.

However, it does not fail with DEB_BUILD_OPTIONS=parallel=1 (while it
fails every time with the default (parallel=8 on my system)). So it
looks like a race condition in the tests?

Lucas



Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-18 Thread Nilesh Patra
Control: tags -1 moreinfo
Control: severity -1 important

Hi Lucas,

On Fri, 17 Feb 2023 07:47:47 +0100 Lucas Nussbaum  wrote:
> Source: poetry
> Version: 1.3.2+dfsg-3
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20230216 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

It builds fine on my local machine. I built more than 10 times on barriere.d.o
and it worked fine.

I was able to reproduce the issue once on my local machine, of many,
many re-builds though but unfortunately that is not enough (for me) to
reliably repro/root-cause this.

Would you please consider building this again? If it still fails, then
maybe it is a random issue or reproducible on some specific systems. I'm
downgrading the severity to important for now, I hope that is fine.

-- 
Best,
Nilesh


signature.asc
Description: PGP signature


Bug#1031444: poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

2023-02-16 Thread Lucas Nussbaum
Source: poetry
Version: 1.3.2+dfsg-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
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 
> /<>/.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 /<>/.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: /<>, 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%]
>