[Pkg-utopia-maintainers] Bug#1082570: libportal: FTBFS: Fatal Python error: Segmentation fault
Santiago Vila
sanvila at debian.org
Sun Sep 22 13:28:09 BST 2024
El 22/9/24 a las 14:19, Simon McVittie escribió:
> Control: retitle -1 libportal: intermittent FTBFS: Segmentation fault in pytest
> Control: forwarded -1 https://github.com/flatpak/libportal/issues/169
>
> On Sun, 22 Sep 2024 at 13:55:01 +0200, Santiago Vila wrote:
>> test: pytest
>> result: killed by signal 11 SIGSEGV
> ...
>> File "/<<PKGBUILDDIR>>/tests/pyportaltest/test_inputcapture.py", line 88 in create_session_with_barriers
>> File "/<<PKGBUILDDIR>>/tests/pyportaltest/test_inputcapture.py", line 269 in test_session_create_no_zones_on_getzones
>
> This is an intermittent test failure, which I experienced while trying
> to upgrade to 0.8.1. I have only been able to reproduce it by running
> the test suite repeatedly in a loop, and it's extremely timing-dependent
> (when I tried to add additional debug logging, that perturbed the timing
> enough that I could no longer reproduce it).
>
> There is another intermittent test failure,
> https://github.com/flatpak/libportal/issues/166, which is similarly
> difficult to reproduce.
Thanks for your quick reply. Maybe it's intermittent, but in some environments
the failure actually happens very often and it's not so much difficult to reproduce.
This is my build history on AWS machines with 2 CPUs:
Status: successful libportal_0.8.0-1_amd64-20240909T114212.371Z
Status: successful libportal_0.8.0-1_amd64-20240909T114215.588Z
Status: successful libportal_0.8.0-1_amd64-20240909T114248.584Z
Status: successful libportal_0.8.0-1_amd64-20240909T114308.640Z
Status: successful libportal_0.8.0-1_amd64-20240915T124201.041Z
Status: failed libportal_0.8.0-1_amd64-20240915T125417.204Z
Status: failed libportal_0.8.0-1_amd64-20240915T131638.234Z
Status: failed libportal_0.8.0-1_amd64-20240915T132507.684Z
Status: successful libportal_0.8.0-1_amd64-20240917T222151.323Z
Status: failed libportal_0.8.0-1_amd64-20240918T114741.483Z
Status: failed libportal_0.8.0-1_amd64-20240918T114957.429Z
Status: successful libportal_0.8.0-1_amd64-20240918T115012.651Z
Status: failed libportal_0.8.0-1_amd64-20240918T115128.595Z
Status: successful libportal_0.8.0-1_amd64-20240918T115258.692Z
Status: failed libportal_0.8.0-1_amd64-20240918T115305.006Z
Status: failed libportal_0.8.0-1_amd64-20240918T115630.604Z
Status: failed libportal_0.8.0-1_amd64-20240918T115803.423Z
Status: failed libportal_0.8.0-1_amd64-20240919T123217.359Z
Status: successful libportal_0.8.0-1_amd64-20240919T123437.910Z
Status: successful libportal_0.8.0-1_amd64-20240919T124957.790Z
Status: failed libportal_0.8.0-1_amd64-20240919T125148.432Z
Status: successful libportal_0.8.0-1_amd64-20240919T130514.072Z
Status: successful libportal_0.8.0-1_amd64-20240919T130731.621Z
Status: failed libportal_0.8.0-1_amd64-20240919T130919.673Z
Status: failed libportal_0.8.0-1_amd64-20240919T131011.091Z
Status: failed libportal_0.8.0-1_amd64-20240919T131205.561Z
Status: failed libportal_0.8.0-1_amd64-20240919T132256.747Z
Status: failed libportal_0.8.0-1_amd64-20240919T132256.364Z
Status: failed libportal_0.8.0-1_amd64-20240919T132407.181Z
Status: failed libportal_0.8.0-1_amd64-20240919T132424.549Z
Status: failed libportal_0.8.0-1_amd64-20240919T132537.416Z
Status: failed libportal_0.8.0-1_amd64-20240919T133127.975Z
Status: failed libportal_0.8.0-1_amd64-20240919T133335.625Z
Status: failed libportal_0.8.0-1_amd64-20240919T134154.460Z
Status: successful libportal_0.8.0-1_amd64-20240919T134300.486Z
Status: failed libportal_0.8.0-1_amd64-20240919T134509.224Z
Status: failed libportal_0.8.0-1_amd64-20240919T134752.400Z
Status: failed libportal_0.8.0-1_amd64-20240922T105251.221Z
and this my build history on AWS machines with 1 CPU:
Status: successful libportal_0.7.1-5_amd64-20240420T193033.183Z
Status: successful libportal_0.7.1-5_amd64-20240525T103337.138Z
Status: successful libportal_0.7.1-5_amd64-20240808T002207.307Z
Status: failed libportal_0.8.0-1_amd64-20240909T103205.080Z
Status: failed libportal_0.8.0-1_amd64-20240909T114344.580Z
Status: failed libportal_0.8.0-1_amd64-20240909T114405.920Z
Status: failed libportal_0.8.0-1_amd64-20240909T114430.548Z
Status: failed libportal_0.8.0-1_amd64-20240909T114440.162Z
Status: failed libportal_0.8.0-1_amd64-20240912T155644.463Z
Status: failed libportal_0.8.0-1_amd64-20240912T155725.946Z
Status: failed libportal_0.8.0-1_amd64-20240912T155812.000Z
Status: failed libportal_0.8.0-1_amd64-20240912T155813.915Z
Status: failed libportal_0.8.0-1_amd64-20240912T155813.648Z
Status: failed libportal_0.8.0-1_amd64-20240912T155820.696Z
Status: successful libportal_0.8.0-1_amd64-20240912T155832.323Z
Status: failed libportal_0.8.0-1_amd64-20240912T155836.236Z
Status: failed libportal_0.8.0-1_amd64-20240914T161426.650Z
Status: failed libportal_0.8.0-1_amd64-20240917T223157.248Z
Status: failed libportal_0.8.0-1_amd64-20240918T114217.410Z
Status: failed libportal_0.8.0-1_amd64-20240918T114513.709Z
Status: failed libportal_0.8.0-1_amd64-20240918T114928.225Z
Status: failed libportal_0.8.0-1_amd64-20240918T114950.115Z
Status: failed libportal_0.8.0-1_amd64-20240918T115202.064Z
Status: failed libportal_0.8.0-1_amd64-20240918T115519.668Z
Status: failed libportal_0.8.0-1_amd64-20240918T120204.321Z
Status: failed libportal_0.8.0-1_amd64-20240918T120246.458Z
Status: failed libportal_0.8.0-1_amd64-20240919T122856.173Z
Status: failed libportal_0.8.0-1_amd64-20240919T125923.919Z
Status: failed libportal_0.8.0-1_amd64-20240919T130000.991Z
Status: failed libportal_0.8.0-1_amd64-20240919T132013.110Z
Status: failed libportal_0.8.0-1_amd64-20240919T132328.409Z
Status: failed libportal_0.8.0-1_amd64-20240919T132802.083Z
Status: failed libportal_0.8.0-1_amd64-20240919T132837.428Z
Status: failed libportal_0.8.0-1_amd64-20240919T132953.398Z
Status: failed libportal_0.8.0-1_amd64-20240919T133050.667Z
Status: failed libportal_0.8.0-1_amd64-20240919T133345.426Z
Status: failed libportal_0.8.0-1_amd64-20240919T133920.879Z
Status: failed libportal_0.8.0-1_amd64-20240919T135122.022Z
Status: failed libportal_0.8.0-1_amd64-20240919T135351.028Z
Status: failed libportal_0.8.0-1_amd64-20240919T140442.185Z
Status: failed libportal_0.8.0-1_amd64-20240919T140935.713Z
Status: failed libportal_0.8.0-1_amd64-20240919T140941.658Z
Status: failed libportal_0.8.0-1_amd64-20240919T141128.207Z
Status: failed libportal_0.8.0-1_amd64-20240919T141138.941Z
Status: failed libportal_0.8.0-1_amd64-20240919T141401.001Z
Status: failed libportal_0.8.0-1_amd64-20240919T141439.712Z
Status: failed libportal_0.8.0-1_amd64-20240922T110600.973Z
I suggest that the test is disabled and the bug is forwarded until
they fix it.
My offer for a VM to reproduce this still holds if it helps
(but maybe you could try GRUB_CMDLINE_LINUX="nr_cpus=1" first).
Please note that this is *not* a "ftbfs only on single-cpu systems" bug.
Thanks.
More information about the Pkg-utopia-maintainers
mailing list