unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67476] [PATCH] gnu: kpackage: Work around flaky test.
@ 2023-11-27  4:11 Leo Nikkilä via Guix-patches via
  2023-12-03 22:44 ` bug#67476: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Nikkilä via Guix-patches via @ 2023-11-27  4:11 UTC (permalink / raw)
  To: 67476; +Cc: Leo Nikkilä

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67476: [PATCH] gnu: kpackage: Work around flaky test.
  2023-11-27  4:11 [bug#67476] [PATCH] gnu: kpackage: Work around flaky test Leo Nikkilä via Guix-patches via
@ 2023-12-03 22:44 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-12-03 22:44 UTC (permalink / raw)
  To: Leo Nikkilä; +Cc: 67476-done

Leo Nikkilä <hello@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!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-03 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27  4:11 [bug#67476] [PATCH] gnu: kpackage: Work around flaky test Leo Nikkilä via Guix-patches via
2023-12-03 22:44 ` bug#67476: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).