Created attachment 871474 [details] dev-qt:qtbase-6.5.2-r2:20230926-005143.log.gz =dev-qt/qtbase-6.5.2-r2 fails its tests for me. Specifically the tests tst_qbytearray_large and tst_qfont fail. The former didn't fail on the first attempt, and in the log I see something abouot something timing out, but for the latter the error is FAIL! : tst_QFont::exactMatch() '!QFont("sans").exactMatch()' returned FALSE. () That looks to me like it's asserting that there's not a font with the exact name "Sans", so in my "emerge --info" I will include all packages in the media-fonts category.
Created attachment 871475 [details] LastTest.log.gz
Created attachment 871476 [details] emerge-info.txt
Was already skipping tst_qrawfont for a similar reason and, rather than worry about state of the system font setup matching exactly what Qt expects, skipping tst_qfont too doesn't sound so bad. tst_qbytearray_large takes about ~57secs for me (i7-8700 3.2GHz), not one of the faster test and I could imagine it timing out if system happened to be under load.
(In reply to Ionen Wolkens from comment #3) > tst_qbytearray_large takes about ~57secs for me (i7-8700 3.2GHz), not one of > the faster test and I could imagine it timing out if system happened to be > under load. ctest defaults to 1500s timeout which I guess is fine, but QTEST_FUNCTION_TIMEOUT is (as you'd expect), 300s. Guess could triple it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5862db4e20b79ff05a35834c870f0c91817cf5 commit 9b5862db4e20b79ff05a35834c870f0c91817cf5 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-09-26 12:15:47 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-09-26 12:23:08 +0000 qt6-build.eclass: triple qtest function timeout May help prevent flaky failures under load. Could increase further if ever a problem on some arches (beyond 1500 would be meaningless without also passing bigger --timeout to ctest). Also align exports and drop kinda unnecessary comment. Closes: https://bugs.gentoo.org/914737 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> eclass/qt6-build.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2339d833283f8899de72c05bb93c17b61726ba commit 4e2339d833283f8899de72c05bb93c17b61726ba Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-09-26 12:07:32 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-09-26 12:23:07 +0000 dev-qt/qtbase: skip flaky tst_qfont Similar issues as tst_qrawfont, and that the system is not setup exactly like Qt's tests expect does not necessarily mean fonts will not be usable. Bug: https://bugs.gentoo.org/914737 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> dev-qt/qtbase/qtbase-6.5.2-r2.ebuild | 2 +- dev-qt/qtbase/qtbase-6.5.9999.ebuild | 2 +- dev-qt/qtbase/qtbase-6.6.9999.ebuild | 2 +- dev-qt/qtbase/qtbase-6.9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)