Re: PyQt 5.15 release sigabort on test

Grzegorz Bokota <[email protected]> Mon, 1 Jun 2020 18:08:32 +0200
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CADUBGeTaBb_mBG5ufhV2nFQFPX1V9cj9ecMpCqi6Y=qQ7wKVUg@mail.gmail.com>
--0000000000004ed90b05a70802ee
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I found that it is connected with QApplication initialization.
I create simple project https://github.com/Czaki/sample_qt_error
I opent thread on forum
https://forum.qt.io/topic/115418/test-under-xvfb-fail-after-upgrade-to-qt-5=
-15-0-for-python

But still no solution.
Maybe someone else met this problem and had more luck.

Grzegorz Bokota


pon., 1 cze 2020 o 11:16 Phil Thompson <[email protected]>
napisa=C5=82(a):

> On 01/06/2020 10:11, Grzegorz Bokota wrote:
> > Phil,
> > what can change in Qt 5.15 that the test runned under xvfb ends with
> > sigabort?
> >
> > I have had test running o CI (Github Actions and Azure pipelines). On
> > linux
> > it is run under xvfb and pass. Few days ago after pyside2 5.15 release
> > It
> > fail for pyside, but meet this earlier and think that it is some bug on
> > their side (happens elaier).  But today It happens also for PyQt5. So
> > it
> > looks like change in Qt.
> >
> > ERROR: InvocationError for command
> > /home/runner/work/PartSeg/PartSeg/.tox/py37-PyQt5/bin/pytest
> > package/tests
> > (exited with code -6 (SIGABRT)) (exited with code -6)
> >
> > Full log is here:
> >
> https://github.com/4DNucleome/PartSeg/pull/61/checks?check_run_id=3D72668=
0563
> >
> > Whole project here: https://github.com/4DNucleome/PartSeg/tree/develop
> >
> > Any suggestions how to debug it? Or I need tos skip qt widget test on
> > CI?
>
> I've no idea - ask on a Qt forum.
>
> Phil
>

--0000000000004ed90b05a70802ee
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I found that it is connected with QApplication initia=
lization. =C2=A0 <br></div><div>I create simple project <a href=3D"https://=
github.com/Czaki/sample_qt_error">https://github.com/Czaki/sample_qt_error<=
/a></div><div>I opent thread on forum <a href=3D"https://forum.qt.io/topic/=
115418/test-under-xvfb-fail-after-upgrade-to-qt-5-15-0-for-python">https://=
forum.qt.io/topic/115418/test-under-xvfb-fail-after-upgrade-to-qt-5-15-0-fo=
r-python</a> <br></div><div><br></div><div>But still no solution. <br></div=
><div>Maybe someone else met this problem and had more luck. <br></div><div=
>=C2=A0</div><div><div><div dir=3D"ltr" class=3D"gmail_signature" data-smar=
tmail=3D"gmail_signature"><div dir=3D"ltr">Grzegorz Bokota<br></div></div><=
/div><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">pon., 1 cze 2020 o 11:16=C2=A0Phil Thompson &lt;<a href=3D"=
mailto:[email protected]">[email protected]</a>&gt; nap=
isa=C5=82(a):<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On=
 01/06/2020 10:11, Grzegorz Bokota wrote:<br>
&gt; Phil,<br>
&gt; what can change in Qt 5.15 that the test runned under xvfb ends with<b=
r>
&gt; sigabort?<br>
&gt; <br>
&gt; I have had test running o CI (Github Actions and Azure pipelines). On =
<br>
&gt; linux<br>
&gt; it is run under xvfb and pass. Few days ago after pyside2 5.15 release=
 <br>
&gt; It<br>
&gt; fail for pyside, but meet this earlier and think that it is some bug o=
n<br>
&gt; their side (happens elaier).=C2=A0 But today It happens also for PyQt5=
. So <br>
&gt; it<br>
&gt; looks like change in Qt.<br>
&gt; <br>
&gt; ERROR: InvocationError for command<br>
&gt; /home/runner/work/PartSeg/PartSeg/.tox/py37-PyQt5/bin/pytest <br>
&gt; package/tests<br>
&gt; (exited with code -6 (SIGABRT)) (exited with code -6)<br>
&gt; <br>
&gt; Full log is here:<br>
&gt; <a href=3D"https://github.com/4DNucleome/PartSeg/pull/61/checks?check_=
run_id=3D726680563" rel=3D"noreferrer" target=3D"_blank">https://github.com=
/4DNucleome/PartSeg/pull/61/checks?check_run_id=3D726680563</a><br>
&gt; <br>
&gt; Whole project here: <a href=3D"https://github.com/4DNucleome/PartSeg/t=
ree/develop" rel=3D"noreferrer" target=3D"_blank">https://github.com/4DNucl=
eome/PartSeg/tree/develop</a><br>
&gt; <br>
&gt; Any suggestions how to debug it? Or I need tos skip qt widget test on =
<br>
&gt; CI?<br>
<br>
I&#39;ve no idea - ask on a Qt forum.<br>
<br>
Phil<br>
</blockquote></div>

--0000000000004ed90b05a70802ee--