• Re: Package builds on pbuilder but not on the autobuilders

    From Andrey Rakhmatullin@21:1/5 to All on Thu Jan 2 15:30:01 2025
    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

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmd2omYtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh ouwP/jmiqim+yFMdL0Ay0XbMQvIJIxQv3iQXBFz2vSwxF4bweNPr3xJ3ScKgovQ0 fwZXG2L06Rc8FMcBEc4CDOYZkhuLDgw37njBLSF+tY6vG3PVYUv2nOlanAZfOzkk ZGsvydAKJNeg21bHWNa0V8Ufo3hVmafUQiaxpgUFAxqAC1duJgsYuKBo+sFWQORm cqbYjpCWIzQ+0GBOc+OrTjGG1+w4V0JKjWnuVkZXOX17JSkxcy4113fEse0c2o6c qP9Nse0huAIpJFTy4hnhSsRg3txXbnOkK+uNh9S3cEMNnuHkScZmM1Ae5gRZ7oBn l3vOY5hxok3XoxrZt6068t2Uohh9MocHqO79EMsWzg+82/G8G75BnHl5wsOc1kFA 9s6yFmp3JRowt8tQdAhDUoj/hTj2hEvRv+Emt5tn7fLEFwAx2cyGSzqcWYCfScd7 wEujE55jvel9vVXcfgUzuU88BEQpFAyAPDV11oLvsjSXMDJ1ecybsojK5v74GpuE n45YJtvrQPmf6ANl6PGE27RKKeewHuPIM26dYDVxfnkSbcGyNSuDU4q+SmNp1Ol4 eQ+ejXuWcPc7PoHtwFfXDGBJ2/WnrIp4PmC4kdP/GRyp3EgCaW2+0hN65YFDNynF JEliDCPsh+G7EidGulWtskMcpb0gG4+bIzc9m/WZY/w3M1c0
    =HG65
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Elena ``of Valhalla'' Grandi@21:1/5 to All on Thu Jan 2 15:20:01 2025
    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''

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEY8n6rGg5PpTPkl4ZcL0i0xEjtDEFAmd2n+0ACgkQcL0i0xEj tDGGlggAwDtbnk0D25r2yJleYUmgsYlCK3szq3dPE8aUdWbPP7q3MAcMVQfa1uoY xDq7NtaPxgfBZSFN87DQ/JvuDqsOIRUqk+Bt638OLwsUbDRNx+Wl+95kQjiwuLhZ 3Enxf0j7zoZf5oXYhF9dyuBftj9GAXl8UpIiwAn92wiEIV43ceAheNyYXg6YbY1x leaw2TnMWiY8MxATdsDnuiB0fKRKzVcHCa9dJvNqoKsHvclT10kWSX3gFaHRh0/E 7PR7IXptaqKnVDys4fYZRVNQc385OKiWJBiXeW1ZwZl6T06+zLbDdly6lvj2FNUA jNGvpBsN8WK2qnDQfQoBXCvhBna3Zg==
    =6bCg
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Pentchev@21:1/5 to All on Thu Jan 2 15:50:01 2025
    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

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmd2o+sACgkQZR7vsCUn 3xM9yw/6AjHTh2tozFBdDBgGGuEAApeEcHCzl0V90IuXRNDIlPWGG5Z8LosBP4TR 3HbBDcljE/7b6zCQ14iOs6zFbhLPpBj2AEObnXERuPhhvgZF03WdBnbcIoYfxnxi qwg7yCRj2fEQfyW8D60uR1Hlb95h9s7jiXkNjFW9DuxtixX3sxhPiH+V+fCP2e1V f3Ie8XwUtQ4Z+zsxBi55GXomdFimXnTwoH+kMz4o2ZF41hsh2KHAPDOlzhart5aK SO66tcmhY5IqkE+t0/mRCXAUxzrUTz73Fo9a+BV1ykwfsG1HAJDv5HTpI+mFVneP IoOHP51SFMappQlBSrNgO4b9JcA93ez+lsDhj73i8AQ3j1Q3pLv8AUfVJTb6NkVb V4lMvNxa4g+IXTxdCJn7maagO8QN02OOWU1HWaPWM5c7V978hUs3zdum4LzefN1W zy2Jgz55cAzQBcYOSDcIArZA0Csbci3DhuNU/YZlGmDdaljZ1Qy2CUVVzJ4Ya+CK VU+g1Ze8ez8SsNNLoXAi+isn5H524vrdfIhzhWKiEYvrWSpmpBmkC4TikqIK7HKi 0UnhTEr7Uo9V98bju3NjI7To2FC7W3VcTzOocjiy/ic02COVLAyeVbXuhx8Sw89x fdeJXCszGbRw2bLa5lVpr8vHkC+XT5YaWDXqoUYtj4wZISvwiv0=
    =vrF6
  • From Elena ``of Valhalla'' Grandi@21:1/5 to Peter Pentchev on Fri Jan 3 15:00:01 2025
    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''

    -----BEGIN PGP SIGNATURE-----

    iQEzBAABCAAdFiEEY8n6rGg5PpTPkl4ZcL0i0xEjtDEFAmd368MACgkQcL0i0xEj tDH43gf/eDjzz54VPQpm0YlkTBJuj4PT4t7x8RmUTCVPfTL+vZ/ozWKNp4AW9wow HAIPRD3jquvRM6+krp2FagA5gqneOgukWIgHt6cdYpmM3STIpMsomjdD3gTI0ZIt 9VTft2d+IUe2n8+GBbimByCOo+M2vu+7yzmNWV43vieLPFSruh4/zdiH9qZioZ9w /SwYpo9/bAWiRiWQdlQOhAW4usg4VkTOELHq2/9S2Lzv5fNrL7YHzazxCk0SoOJp W1t6belCAmUR4e9dGhc7/vJhFiAq1W/fFdIoROxFyD1GweYn7WxX4oK/NpAO5xgB ZpwkNbNHf2XBAhwMURa9qNJY00lIPw==
    =h/2x
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)