unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41394: java-testng: again nondeterministic test-failures?
@ 2020-05-19  9:27 Björn Höfling
  2020-05-19 12:08 ` Julien Lepiller
  2023-08-24 11:25 ` Konrad Hinsen
  0 siblings, 2 replies; 3+ messages in thread
From: Björn Höfling @ 2020-05-19  9:27 UTC (permalink / raw)
  To: 41394

[-- Attachment #1: Type: text/plain, Size: 1391 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* bug#41394: java-testng: again nondeterministic test-failures?
  2020-05-19  9:27 bug#41394: java-testng: again nondeterministic test-failures? Björn Höfling
@ 2020-05-19 12:08 ` Julien Lepiller
  2023-08-24 11:25 ` Konrad Hinsen
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Lepiller @ 2020-05-19 12:08 UTC (permalink / raw)
  To: Björn Höfling, 41394

Le 19 mai 2020 05:27:45 GMT-04:00, "Björn Höfling" <bjoern.hoefling@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.




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

* bug#41394: java-testng: again nondeterministic test-failures?
  2020-05-19  9:27 bug#41394: java-testng: again nondeterministic test-failures? Björn Höfling
  2020-05-19 12:08 ` Julien Lepiller
@ 2023-08-24 11:25 ` Konrad Hinsen
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Hinsen @ 2023-08-24 11:25 UTC (permalink / raw)
  To: 41394

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.




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

end of thread, other threads:[~2023-08-24 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19  9:27 bug#41394: java-testng: again nondeterministic test-failures? Björn Höfling
2020-05-19 12:08 ` Julien Lepiller
2023-08-24 11:25 ` Konrad Hinsen

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).