Re: PyQt 5.15 release sigabort on test
Florian Bruhin <[email protected]> Mon, 1 Jun 2020 18:38:18 +0200
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
--ds3eres3fvwtgdob Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 01, 2020 at 11:11:18AM +0200, Grzegorz Bokota wrote: > Phil, > what can change in Qt 5.15 that the test runned under xvfb ends with > sigabort? >=20 > I have had test running o CI (Github Actions and Azure pipelines). On lin= ux > 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. >=20 > 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) >=20 > Full log is here: > https://github.com/4DNucleome/PartSeg/pull/61/checks?check_run_id=3D72668= 0563 That just shows "Documentation_check Notebook_check succeeded" though? I as= sume you mean this? https://dev.azure.com/PartSeg/PartSeg/_build/results?buildId=3D1241&view=3D= logs&j=3De0592c93-02a4-58cd-c7d1-a81b63425aad&t=3D141b7d03-3a2a-5fbc-1da3-b= be42cc7662e There you can see "This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.". You can usually debug those kind of issues by setting QT_DEBUG_PLUGINS=3D1 = in your environment. As a sidenote: With pytest you'll also need to use -s to = turn off output capturing (as Qt otherwise aborts before pytest can show its captured output), and with the pytest-qt plugin, --no-qt-log is also needed until the next release: https://github.com/pytest-dev/pytest-qt/pull/300 In this case, it's most likely the unbundling of libxcb in Qt 5.15: https://codereview.qt-project.org/c/qt/qtbase/+/253905 On Travis CI, here's the additional list of Ubuntu packages I needed to mak= e things work: - libxkbcommon-x11-0 (already needed since Qt 5.12) - libxcb-icccm4 - libxcb-image0 - libxcb-keysyms1 - libxcb-randr0 - libxcb-render-util0 - libxcb-xinerama0 Florian --=20 [email protected] (Mail/XMPP) | https://www.qutebrowser.org=20 https://bruhin.software/ | https://github.com/sponsors/The-Compiler/ GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/ --ds3eres3fvwtgdob Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAl7VLvcACgkQkW6wyP1V oHLRqg//b76F15UMngOpvsbQpwO0h4ZeXOlwfWTTO9h3thPGDZdA5EmJiRMJOoQV JO7Pa1e9uAhMfzNL9CvABZcos9bgNOqSDZDEaPHimFHctpAJlNKBbolgbmqHuZRo IQEICuE+OrGLH74AJkKi5shfj/il7R7wPvRxImtq4psRwpYIm8mWlfMJGhyKxFaR lLPiB+g2mm2zfPRvRwdEr5aVeSL92ZmpaY9EyOlYDRYMQuj3CKM2Kv1zdMmyrSK1 D0Z8NqzjhvDL3H/zQU0vYS/y4SjqYadXJhNGgQpY/uj1JjMM4iU3sQwOKV3ENF9V 7Sip/k8eI0N9/AUSnKFLrudti74Kgy8c0JHJuvb0m3gndgcc391jt5ffr45Ii/VQ 0CgBmvFlKwkWrBPnKyupnGHRnNsKyW0kRI76t2VZyAToDue+dvg9Z+m1eIHn2z35 ldmSHB36qmaOj7GVN8bN2rD0/bTHUttAvkP0U6OjqUIkaY6fX8OKpT9QaRAHaYHC ZJyCBy0kT1GNbQuUrQoipeptwf1qWnXR5BV1rpNVLROu3A0JSdJPVMnCc6sqsxSM 5tVKSts7/w1nkmlZWlD1WHIjXurfaaH5ic+sQbkkt6yqyjV94RcRpVZltpOPFfc9 eIUGQ4wSzepuF2DSqGrME1sB41towAMFHpluJ074svWIZi248Xc= =TqZ5 -----END PGP SIGNATURE----- --ds3eres3fvwtgdob--