Bug 451617 - alkonlinequotestest fails with ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported
Summary: alkonlinequotestest fails with ERROR:zygote_host_impl_linux.cc(90)] Running a...
Status: RESOLVED FIXED
Alias: None
Product: libalkimia
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: 8.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-17 12:07 UTC by Ralf Habacker
Modified: 2022-04-01 07:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 8.1.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2022-03-17 12:07:52 UTC
SUMMARY
Running CI job on opensuse/tumbleweed fails with the following error: 

QDEBUG : AlkOnlineQuoteTest::testLaunchWebKit() qt.qpa.gl: Multithreaded OpenGL disabled: blacklisted vendor "Mesa Project"
QDEBUG : AlkOnlineQuoteTest::testLaunchWebKit() qt.qpa.gl: Force-enable multithreaded OpenGL by setting environment variable QT_OPENGL_NO_SANITY_CHECK
[2099:2099:0317/092538.370243:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
QWARN  : AlkOnlineQuoteTest::testLaunchWebKit() QCoreApplication::postEvent: Unexpected null receiver

See https://invent.kde.org/office/alkimia/-/jobs/266500/raw for details

OBSERVED RESULT
The test alkonlinequotestest fails with the mentioned error message

EXPECTED RESULT
The test should pass

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  opensuse/Tumbleweed
KDE Frameworks Version: 5.92
Qt Version:  5.15.2
Comment 1 Ralf Habacker 2022-04-01 07:36:41 UTC
Git commit 94df6cf01b65ae7edcd879149940d907014c8ae6 by Ralf Habacker.
Committed on 01/04/2022 at 06:39.
Pushed by habacker into branch '8.1'.

On CI do not run KF5 build as root, which is not supported by webengine

This fixes the error message 'Running as root without --no-sandbox is
not supported'
FIXED-IN:8.1.1

M  +1    -1    .gitlab-ci.yml
M  +11   -0    tools/ci-install.sh

https://invent.kde.org/office/alkimia/commit/94df6cf01b65ae7edcd879149940d907014c8ae6
Comment 2 Ralf Habacker 2022-04-01 07:36:49 UTC
Git commit 258110fff5d76bde2a03690670ec4cddf193688f by Ralf Habacker.
Committed on 01/04/2022 at 07:32.
Pushed by habacker into branch '8.1'.

CI: use specific user to build in docker to avoid sandbox issues with webengine
FIXED-IN:8.1.1

M  +10   -15   .gitlab-ci.yml
M  +14   -3    tools/ci-build.sh

https://invent.kde.org/office/alkimia/commit/258110fff5d76bde2a03690670ec4cddf193688f