GNU bug report logs - #75525
[PATCH] gnu: qtbase: Increase test timeout.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Sun, 12 Jan 2025 21:35:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 75525 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75525; Package guix-patches. (Sun, 12 Jan 2025 21:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Nikkilä <hello <at> lnikki.la>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 12 Jan 2025 21:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Nikkilä <hello <at> lnikki.la>
To: guix-patches <at> gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [PATCH] gnu: qtbase: Increase test timeout.
Date: Sun, 12 Jan 2025 23:32:54 +0200
* gnu/packages/qt.scm (qtbase): Increase test timeout.
[arguments]: <#:phases>: Set QTEST_FUNCTION_TIMEOUT.
---
 gnu/packages/qt.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 76c11af543..d2a7c52a80 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -909,7 +909,19 @@ (define-public qtbase
                   ;; due to bitness (see: https://code.qt.io/cgit/qt/qtbase.git
                   ;; /tree/src/testlib/qtestblacklist.cpp).
                   (setenv "QTEST_ENVIRONMENT" "linux ci 32bit")
+                  ;; Some tests use a lot of memory and might trigger
+                  ;; swapping, which often hits the default test timeout of
+                  ;; 300 seconds:
+                  ;;
+                  ;;     QFATAL : tst_QByteArrayLarge::qUncompress4GiBPlus() Test function timed out
+                  ;;     QFATAL : tst_QByteArrayMatcher::haystacksWithMoreThan4GiBWork() Test function timed out
+                  ;;     QFATAL : tst_QLatin1StringMatcher::haystacksWithMoreThan4GiBWork() Test function timed out
+                  ;;
+                  ;; Guix has its own timeout anyway.
+                  ;;
+                  ;; <https://doc.qt.io/qt-6/qtest-overview.html#increasing-test-function-timeout>
+                  (setenv "QTEST_FUNCTION_TIMEOUT" "3600000") ; 1 hour
                   (setenv "HOME" "/tmp") ;some tests require a writable HOME
 
                   ;; Note: the search path specified for TZDIR is only

-- 
2.46.0





This bug report was last modified 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.