Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16662 > unrolled thread
| Started by | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> |
|---|---|
| First post | 2025-01-02 15:20 +0100 |
| Last post | 2025-01-03 15:00 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.maint.python
Package builds on pbuilder but not on the autobuilders Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> - 2025-01-02 15:20 +0100
Re: Package builds on pbuilder but not on the autobuilders Andrey Rakhmatullin <wrar@debian.org> - 2025-01-02 15:30 +0100
Re: Package builds on pbuilder but not on the autobuilders Peter Pentchev <roam@ringlet.net> - 2025-01-02 15:50 +0100
Re: Package builds on pbuilder but not on the autobuilders Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> - 2025-01-03 15:00 +0100
| From | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> |
|---|---|
| Date | 2025-01-02 15:20 +0100 |
| Subject | Package builds on pbuilder but not on the autobuilders |
| Message-ID | <K0udj-5099-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hello
I'm trying to understand what's happening to fpdf2:
https://tracker.debian.org/fpdf2
Before the upload I've built it with ``gbp buildpackage --git-pbuilder``
and a freshly updated sid image, and the build was successful, but then
I get
https://buildd.debian.org/status/package.php?p=fpdf2
with the error:
===== 1289 passed, 52 skipped, 3 xfailed, 13 warnings in 187.91s (0:03:07) =====
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13
make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
for comparison, in the pbuilder log there is:
===== 1289 passed, 52 skipped, 3 xfailed, 13 warnings in 171.69s (0:02:51) =====
and the tests are considered successful, and the build continues.
(I've also tried a local run of ``autopkgtest ./ -- qemu
../../autopkgtest-unstable.img``, again with a freshly updated image,
and that also considers the tests to be passing, with the same results)
What am I doing wrong?
--
Elena ``of Valhalla''
[toc] | [next] | [standalone]
| From | Andrey Rakhmatullin <wrar@debian.org> |
|---|---|
| Date | 2025-01-02 15:30 +0100 |
| Message-ID | <K0umZ-50cg-1@gated-at.bofh.it> |
| In reply to | #16662 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Jan 02, 2025 at 03:17:20PM +0100, Elena ``of Valhalla'' Grandi wrote:
> Hello
>
> I'm trying to understand what's happening to fpdf2:
>
> https://tracker.debian.org/fpdf2
>
> Before the upload I've built it with ``gbp buildpackage --git-pbuilder``
> and a freshly updated sid image, and the build was successful, but then
> I get
>
> https://buildd.debian.org/status/package.php?p=fpdf2
I can confirm that it fails in a local sbuild with the same error.
> with the error:
>
> ===== 1289 passed, 52 skipped, 3 xfailed, 13 warnings in 187.91s (0:03:07) =====
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13
> make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
>
> for comparison, in the pbuilder log there is:
>
> ===== 1289 passed, 52 skipped, 3 xfailed, 13 warnings in 171.69s (0:02:51) =====
>
> and the tests are considered successful, and the build continues.
You are comparing the 3.12 summaries, you need to compare the 3.13 ones.
--
WBR, wRAR
[toc] | [prev] | [next] | [standalone]
| From | Peter Pentchev <roam@ringlet.net> |
|---|---|
| Date | 2025-01-02 15:50 +0100 |
| Message-ID | <K0uGl-50jw-23@gated-at.bofh.it> |
| In reply to | #16662 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Jan 02, 2025 at 03:17:20PM +0100, Elena ``of Valhalla'' Grandi wrote:
> Hello
>
> I'm trying to understand what's happening to fpdf2:
>
> https://tracker.debian.org/fpdf2
>
> Before the upload I've built it with ``gbp buildpackage --git-pbuilder``
> and a freshly updated sid image, and the build was successful, but then
> I get
>
> https://buildd.debian.org/status/package.php?p=fpdf2
>
> with the error:
>
> ===== 1289 passed, 52 skipped, 3 xfailed, 13 warnings in 187.91s (0:03:07) =====
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13
> make[1]: *** [debian/rules:12: override_dh_auto_test] Error 25
>
> for comparison, in the pbuilder log there is:
>
> ===== 1289 passed, 52 skipped, 3 xfailed, 13 warnings in 171.69s (0:02:51) =====
>
> and the tests are considered successful, and the build continues.
>
> (I've also tried a local run of ``autopkgtest ./ -- qemu
> ../../autopkgtest-unstable.img``, again with a freshly updated image,
> and that also considers the tests to be passing, with the same results)
>
> What am I doing wrong?
The "1289 passed, 52 skipped, etc" line is the output of pytest run
with Python 3.12. Before that, pybuild ran pytest with Python 3.13,
and one of the tests failed there; look for 'frozen posixpath'
(without the quotes) in the build log.
Unfortunately, the failure message from pytest is surprisingly unhelpful;
I would have expected it to display the posixpath object as a string,
so one can figure out what the "filename" was instead of the current
Python source file.
I may try reproducing this locally, but I will not be able to do that
until tomorrow at least.
G'luck,
Peter
--
Peter Pentchev roam@ringlet.net roam@debian.org peter@morpheusly.com
PGP key: https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
[toc] | [prev] | [next] | [standalone]
| From | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> |
|---|---|
| Date | 2025-01-03 15:00 +0100 |
| Message-ID | <K0Qnv-5lqN-5@gated-at.bofh.it> |
| In reply to | #16664 |
[Multipart message — attachments visible in raw view] — view raw
On 2025-01-02 at 16:34:24 +0200, Peter Pentchev wrote: > The "1289 passed, 52 skipped, etc" line is the output of pytest run > with Python 3.12. Before that, pybuild ran pytest with Python 3.13, > and one of the tests failed there; look for 'frozen posixpath' > (without the quotes) in the build log. Thanks for the hint! I expected the build to stop after the first failure, and didn't check that back in the log > Unfortunately, the failure message from pytest is surprisingly unhelpful; > I would have expected it to display the posixpath object as a string, > so one can figure out what the "filename" was instead of the current > Python source file. > > I may try reproducing this locally, but I will not be able to do that > until tomorrow at least. I've since then setup sbuild locally, and have managed to reproduce the failure in it, but only during the build itself, not in the environment where I'm left after the build nor anywhere else. I'm investigating, but if anybody else knows what the issue is, I'd be thankful for the help. -- Elena ``of Valhalla''
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web