GNU bug report logs - #74618
[PATCH] gnu: lcov: disable parallel tests

Previous Next

Package: guix-patches;

Reported by: Ryan Sundberg <ryan <at> arctype.co>

Date: Sat, 30 Nov 2024 07:37:02 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ryan Sundberg <ryan <at> arctype.co>
Subject: bug#74618: closed (Re: [bug#74618] [PATCH] gnu: lcov: disable
 parallel tests)
Date: Sat, 07 Dec 2024 01:42:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#74618: [PATCH] gnu: lcov: disable parallel tests

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 74618 <at> debbugs.gnu.org.

-- 
74618: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74618
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Ryan Sundberg via Guix-patches via <guix-patches <at> gnu.org>
Cc: Ryan Sundberg <ryan <at> arctype.co>, 74618-done <at> debbugs.gnu.org
Subject: Re: [bug#74618] [PATCH] gnu: lcov: disable parallel tests
Date: Sat, 07 Dec 2024 09:41:00 +0800
[Message part 3 (text/plain, inline)]
please use [PATCH v2] next.

Ryan Sundberg via Guix-patches via <guix-patches <at> gnu.org> writes:

> `make check` is not reliable for lcov when run in parallel
> (e.g. `make -j 24 check`). Disable parallelism for the test suite.
>
> * gnu/packages/code (lcov): Set #:parallel-tests? #f
>
> Signed-off-by: Ryan Sundberg <ryan <at> arctype.co>
> Change-Id: Ibb3618c4786dfbb50b90e725297947458115347c
> ---
>  gnu/packages/code.scm | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
> index 04ca4dfd6b..2ad1d8616a 100644
> --- a/gnu/packages/code.scm
> +++ b/gnu/packages/code.scm
> @@ -556,6 +556,9 @@ (define-public lcov
>       '(#:test-target "test"
>         #:make-flags (list (string-append "PREFIX="
>                                           (assoc-ref %outputs "out")))
> +       ;; This test suite has race conditions in its scripts which make it
> +       ;; unreliable when run in parallel.
> +       #:parallel-tests? #f
>         #:phases
>         (modify-phases %standard-phases
>           (add-after 'unpack 'patch-references-to-commands
>
> base-commit: ce877a777e6ec089dc347e9883387d3080b471cf

pushed, closing.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ryan Sundberg <ryan <at> arctype.co>
To: guix-patches <at> gnu.org
Cc: Ryan Sundberg <ryan <at> arctype.co>
Subject: [PATCH] gnu: lcov: disable parallel tests
Date: Fri, 29 Nov 2024 23:33:30 -0800
`make check` is not reliable for lcov when run in parallel
(e.g. `make -j 24 check`). Disable parallelism for the test suite.

* gnu/packages/code (lcov): Set #:parallel-tests? #f

Signed-off-by: Ryan Sundberg <ryan <at> arctype.co>
Change-Id: Ibb3618c4786dfbb50b90e725297947458115347c
---
 gnu/packages/code.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 04ca4dfd6b..6ac514a5b5 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -556,6 +556,7 @@ (define-public lcov
      '(#:test-target "test"
        #:make-flags (list (string-append "PREFIX="
                                          (assoc-ref %outputs "out")))
+       #:parallel-tests? #f
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-references-to-commands

base-commit: ce877a777e6ec089dc347e9883387d3080b471cf
-- 
2.41.0




This bug report was last modified 169 days ago.

Previous Next


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