GNU bug report logs - #41394
java-testng: again nondeterministic test-failures?

Previous Next

Package: guix;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Tue, 19 May 2020 09:28:02 UTC

Severity: normal

To reply to this bug, email your comments to 41394 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 bug-guix <at> gnu.org:
bug#41394; Package guix. (Tue, 19 May 2020 09:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 19 May 2020 09:28:02 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <bug-guix <at> gnu.org>
Subject: java-testng: again nondeterministic test-failures?
Date: Tue, 19 May 2020 11:27:45 +0200
[Message part 1 (text/plain, inline)]
Does anyone else have the same problems?

On my system java-testng sometimes fails nondeterministically within
the check phase:

===============================================
TestNG
Total tests run: 1633, Failures: 2, Skips: 0
===============================================

Failures in <suite> :TestNG, <test> :Regression2
test.thread.ParallelTestTest.verifyParallel()
StackTrace:
 java.lang.AssertionError: 
Expected size:<4> but was:<3> in:
<{59L=59L, 60L=60L, 62L=62L}>
	at test.thread.ParallelTestTest.verifyExpected(Unknown Source)
	at test.thread.ParallelTestTest.verifyParallel(Unknown Source)
... Removed 24 stack frames 

test.thread.ParallelTestTest.verifyParallel()
StackTrace:
 java.lang.AssertionError: 
Expected size:<4> but was:<3> in:
<{55L=55L, 56L=56L, 58L=58L}>
	at test.thread.ParallelTestTest.verifyExpected(Unknown Source)
	at test.thread.ParallelTestTest.verifyParallel(Unknown Source)
... Removed 24 stack frames 


Do others experience this too, or is it just my machine?

On berlin, everything looks fine, that makes we wonder:

https://ci.guix.gnu.org/search?query=%5Ejava-testng

We had some problems in the past with other parallel tests:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30526

I also tried to update java-testng but that was not possible quickly,
because of new/updated dependency-graph.

Björn

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41394; Package guix. (Tue, 19 May 2020 12:09:02 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>,
 41394 <at> debbugs.gnu.org
Subject: Re: bug#41394: java-testng: again nondeterministic test-failures?
Date: Tue, 19 May 2020 08:08:16 -0400
Le 19 mai 2020 05:27:45 GMT-04:00, "Björn Höfling" <bjoern.hoefling <at> bjoernhoefling.de> a écrit :
>Does anyone else have the same problems?
>
>On my system java-testng sometimes fails nondeterministically within
>the check phase:
>
>===============================================
>TestNG
>Total tests run: 1633, Failures: 2, Skips: 0
>===============================================
>
>Failures in <suite> :TestNG, <test> :Regression2
>test.thread.ParallelTestTest.verifyParallel()
>StackTrace:
> java.lang.AssertionError: 
>Expected size:<4> but was:<3> in:
><{59L=59L, 60L=60L, 62L=62L}>
>	at test.thread.ParallelTestTest.verifyExpected(Unknown Source)
>	at test.thread.ParallelTestTest.verifyParallel(Unknown Source)
>... Removed 24 stack frames 
>
>test.thread.ParallelTestTest.verifyParallel()
>StackTrace:
> java.lang.AssertionError: 
>Expected size:<4> but was:<3> in:
><{55L=55L, 56L=56L, 58L=58L}>
>	at test.thread.ParallelTestTest.verifyExpected(Unknown Source)
>	at test.thread.ParallelTestTest.verifyParallel(Unknown Source)
>... Removed 24 stack frames 
>
>
>Do others experience this too, or is it just my machine?
>
>On berlin, everything looks fine, that makes we wonder:
>
>https://ci.guix.gnu.org/search?query=%5Ejava-testng
>
>We had some problems in the past with other parallel tests:
>
>https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30526
>
>I also tried to update java-testng but that was not possible quickly,
>because of new/updated dependency-graph.
>
>Björn

During my work on getting a maven-build-system, I recently rebuilt testng multiple times, with no issue at all.




Information forwarded to bug-guix <at> gnu.org:
bug#41394; Package guix. (Thu, 24 Aug 2023 11:27:01 GMT) Full text and rfc822 format available.

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

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: 41394 <at> debbugs.gnu.org
Subject: Re: java-testng: again nondeterministic test-failures?
Date: Thu, 24 Aug 2023 13:25:50 +0200
During today's regular "guix pull", I ran into this problem: java-testng
failed to build twice (the failures comes from the test suite), but
built correctly the third time. That's for commit:
39fa1ef033fda82cb1d122e0d1675b51acb1db34

Cheers,
  Konrad.




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

Previous Next


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