Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 935364

Summary: =dev-qt/qtbase-6.7.1 tests FAILED :230 - tst_qhighdpi
Product: Gentoo Linux Reporter: Frank Krömmelbein <kroemmelbein>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, kroemmelbein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: qtbase-6.7.1.tar.gz

Description Frank Krömmelbein 2024-07-02 18:20:10 UTC
dev-qt/qtbase-6.7.1:6/6.7.1::gentoo  USE="X accessibility concurrent cups dbus gtk gui icu libinput libproxy mysql* network nls opengl sql sqlite* ssl test* udev vulkan wayland widgets xml (zstd) -brotli -eglfs -evdev -gles2-only -gssapi -oci8 -odbc -postgres* -renderdoc -sctp -tslib" 0 KiB

The following tests FAILED:
        230 - tst_qhighdpi (Failed)
Errors while running CTest


Reproducible: Always
Comment 1 Frank Krömmelbein 2024-07-02 18:20:41 UTC
Created attachment 896812 [details]
qtbase-6.7.1.tar.gz
Comment 2 Ionen Wolkens gentoo-dev 2024-07-02 23:44:25 UTC
FAIL!  : tst_QHighDpi::environment_QT_SCALE_FACTOR() Compared doubles are not the same (fuzzy compare)
   Actual   (screen->devicePixelRatio()): 1
   Expected (expextedDpr)               : 3,1415

Can't reproduce, and everything looks normal from your logs (slightly suspected QT_GRAPHICSSYSTEM="raster" being set, but that was unrelated).

My best guess would be that it's detecting something from your screens' configuration and throwing off the test, and is not an indicator of a runtime issue.

Figure I'll just skip highdpi tests if it's going to be flaky depending on users' setup. Not the first time something like that happened.
Comment 3 Larry the Git Cow gentoo-dev 2024-07-03 00:39:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc91345b3bd1783a729aa2241ed5f0dae6e9c4c

commit dbc91345b3bd1783a729aa2241ed5f0dae6e9c4c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-07-02 23:49:36 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-07-03 00:39:11 +0000

    dev-qt/qtbase: skip flaky tst_qhighdpi
    
    Closes: https://bugs.gentoo.org/935364
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-qt/qtbase/qtbase-6.7.1.ebuild    | 1 +
 dev-qt/qtbase/qtbase-6.7.2.ebuild    | 1 +
 dev-qt/qtbase/qtbase-6.7.9999.ebuild | 1 +
 dev-qt/qtbase/qtbase-6.8.9999.ebuild | 1 +
 dev-qt/qtbase/qtbase-6.9999.ebuild   | 1 +
 5 files changed, 5 insertions(+)