GNU bug report logs - #67476
[PATCH] gnu: kpackage: Work around flaky test.

Previous Next

Package: guix-patches;

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

Date: Mon, 27 Nov 2023 04:14:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67476 in the body.
You can then email your comments to 67476 AT debbugs.gnu.org in the normal way.

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#67476; Package guix-patches. (Mon, 27 Nov 2023 04:14: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. (Mon, 27 Nov 2023 04:14: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: kpackage: Work around flaky test.
Date: Mon, 27 Nov 2023 06:11:21 +0200
When parallel tests are enabled, plasma-querytest can fail with:

    5/11 Test  #5: plasma-querytest ....................Subprocess aborted***Exception:   0.02 sec
    ********* Start testing of QueryTest *********
    Config: Using QtTest library 5.15.10, Qt 5.15.10 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
    PASS   : QueryTest::initTestCase()
    QFATAL : QueryTest::installAndQuery() QThread: Destroyed while thread is still running
    FAIL!  : QueryTest::installAndQuery() Received a fatal error.
    Loc: [Unknown file(0)]
    Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 3ms
    ********* Finished testing of QueryTest *********

I'm able to consistently reproduce this on an aarch64-linux machine.
`guix build --cores=1' can also work around this.

* gnu/packages/kde-frameworks.scm (kpackage): Work around flaky test.
[arguments]<#:parallel-tests?>: Disable.  Follows what Debian has done.
---
 gnu/packages/kde-frameworks.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 0384baae46..4572d55cb8 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2028,6 +2028,9 @@ (define-public kpackage
            qtbase-5))
     (arguments
      (list
+      ;; The `plasma-querytest' test is known to fail when tests are run in parallel:
+      ;; <https://sources.debian.org/src/kpackage/5.107.0-1/debian/changelog/#L92>
+      #:parallel-tests? #f
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch

base-commit: 3778f778c37110460dd78088200cbd05eb0c49e4
-- 
2.41.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sun, 03 Dec 2023 22:45:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Nikkilä <hello <at> lnikki.la>:
bug acknowledged by developer. (Sun, 03 Dec 2023 22:45:01 GMT) Full text and rfc822 format available.

Message #10 received at 67476-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Nikkilä <hello <at> lnikki.la>
Cc: 67476-done <at> debbugs.gnu.org
Subject: Re: [bug#67476] [PATCH] gnu: kpackage: Work around flaky test.
Date: Sun, 03 Dec 2023 23:44:31 +0100
Leo Nikkilä <hello <at> lnikki.la> skribis:

> When parallel tests are enabled, plasma-querytest can fail with:
>
>     5/11 Test  #5: plasma-querytest ....................Subprocess aborted***Exception:   0.02 sec
>     ********* Start testing of QueryTest *********
>     Config: Using QtTest library 5.15.10, Qt 5.15.10 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0), unknown unknown
>     PASS   : QueryTest::initTestCase()
>     QFATAL : QueryTest::installAndQuery() QThread: Destroyed while thread is still running
>     FAIL!  : QueryTest::installAndQuery() Received a fatal error.
>     Loc: [Unknown file(0)]
>     Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 3ms
>     ********* Finished testing of QueryTest *********
>
> I'm able to consistently reproduce this on an aarch64-linux machine.
> `guix build --cores=1' can also work around this.
>
> * gnu/packages/kde-frameworks.scm (kpackage): Work around flaky test.
> [arguments]<#:parallel-tests?>: Disable.  Follows what Debian has done.

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Jan 2024 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 129 days ago.

Previous Next


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