#1120475 pagure: FTBFS: FAILED tests/test_pagure_flask_api.py::PagureFlaskApitests::test_api_doc

Package:
src:pagure
Source:
src:pagure
Submitter:
Santiago Vila
Date:
2025-11-10 19:21:01 UTC
Severity:
normal
Tags:
#1120475#5
Date:
2025-11-10 15:04:02 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pagure, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
=========================== short test summary info ============================
FAILED tests/test_pagure_flask_api.py::PagureFlaskApitests::test_api_doc - Va...
FAILED tests/test_pagure_flask_api.py::PagureFlaskApitests::test_api_doc_authenticated
FAILED tests/test_pagure_flask_ui_login.py::PagureFlaskLogintests::test_do_login
= 3 failed, 1615 passed, 68 skipped, 45 deselected, 131605 warnings in 11219.11s (3:06:59) =
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pagure/build; python3.13 -m pytest -k 'not test_style and not test_upload_issue_virus and not test_dumping_reloading_ticket and not test_plugin and not test_delete_repo'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1120475#10
Date:
2025-11-10 19:19:32 UTC
From:
To:
This also fails in reproducible-builds, where it looks like there are 2
different problems.  I have not yet investigated further, but intend to
do so.