<div dir="ltr"><div>Thanks Florian. <br></div><div><br></div><div>my final list is (I'm not sure if all are needed)<br></div><div><pre style="background-color:rgb(39,40,34);color:rgb(248,248,242);font-family:"Cascadia Code PL""><span style="color:rgb(230,219,116)">sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0<br></span></pre></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>And I do not know why this link points to this value. It should point to the job with pytest call, not pyinstaller.</div><div> <br></div><div dir="ltr">Grzegorz Bokota<br></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pon., 1 cze 2020 o 18:38 Florian Bruhin <<a href="mailto:me@the-compiler.org">me@the-compiler.org</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jun 01, 2020 at 11:11:18AM +0200, Grzegorz Bokota wrote:<br>
> Phil,<br>
> what can change in Qt 5.15 that the test runned under xvfb ends with<br>
> sigabort?<br>
> <br>
> I have had test running o CI (Github Actions and Azure pipelines). On linux<br>
> it is run under xvfb and pass. Few days ago after pyside2 5.15 release It<br>
> fail for pyside, but meet this earlier and think that it is some bug on<br>
> their side (happens elaier).  But today It happens also for PyQt5. So it<br>
> looks like change in Qt.<br>
> <br>
> ERROR: InvocationError for command<br>
> /home/runner/work/PartSeg/PartSeg/.tox/py37-PyQt5/bin/pytest package/tests<br>
> (exited with code -6 (SIGABRT)) (exited with code -6)<br>
> <br>
> Full log is here:<br>
> <a href="https://github.com/4DNucleome/PartSeg/pull/61/checks?check_run_id=726680563" rel="noreferrer" target="_blank">https://github.com/4DNucleome/PartSeg/pull/61/checks?check_run_id=726680563</a><br>
<br>
That just shows "Documentation_check Notebook_check succeeded" though? I assume<br>
you mean this?<br>
<br>
<a href="https://dev.azure.com/PartSeg/PartSeg/_build/results?buildId=1241&view=logs&j=e0592c93-02a4-58cd-c7d1-a81b63425aad&t=141b7d03-3a2a-5fbc-1da3-bbe42cc7662e" rel="noreferrer" target="_blank">https://dev.azure.com/PartSeg/PartSeg/_build/results?buildId=1241&view=logs&j=e0592c93-02a4-58cd-c7d1-a81b63425aad&t=141b7d03-3a2a-5fbc-1da3-bbe42cc7662e</a><br>
<br>
There you can see "This application failed to start because no Qt platform<br>
plugin could be initialized. Reinstalling the application may fix this<br>
problem.".<br>
<br>
You can usually debug those kind of issues by setting QT_DEBUG_PLUGINS=1 in<br>
your environment. As a sidenote: With pytest you'll also need to use -s to turn<br>
off output capturing (as Qt otherwise aborts before pytest can show its<br>
captured output), and with the pytest-qt plugin, --no-qt-log is also needed<br>
until the next release: <a href="https://github.com/pytest-dev/pytest-qt/pull/300" rel="noreferrer" target="_blank">https://github.com/pytest-dev/pytest-qt/pull/300</a><br>
<br>
In this case, it's most likely the unbundling of libxcb in Qt 5.15:<br>
<a href="https://codereview.qt-project.org/c/qt/qtbase/+/253905" rel="noreferrer" target="_blank">https://codereview.qt-project.org/c/qt/qtbase/+/253905</a><br>
<br>
On Travis CI, here's the additional list of Ubuntu packages I needed to make things work:<br>
<br>
- libxkbcommon-x11-0 (already needed since Qt 5.12)<br>
- libxcb-icccm4<br>
- libxcb-image0<br>
- libxcb-keysyms1<br>
- libxcb-randr0<br>
- libxcb-render-util0<br>
- libxcb-xinerama0<br>
<br>
Florian<br>
<br>
-- <br>
<a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a> (Mail/XMPP) | <a href="https://www.qutebrowser.org" rel="noreferrer" target="_blank">https://www.qutebrowser.org</a> <br>
       <a href="https://bruhin.software/" rel="noreferrer" target="_blank">https://bruhin.software/</a> | <a href="https://github.com/sponsors/The-Compiler/" rel="noreferrer" target="_blank">https://github.com/sponsors/The-Compiler/</a><br>
       GPG: 916E B0C8 FD55 A072 | <a href="https://the-compiler.org/pubkey.asc" rel="noreferrer" target="_blank">https://the-compiler.org/pubkey.asc</a><br>
             I love long mails! | <a href="https://email.is-not-s.ms/" rel="noreferrer" target="_blank">https://email.is-not-s.ms/</a><br>
</blockquote></div>