unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 30526@debbugs.gnu.org, 30526-done@debbugs.gnu.org
Subject: bug#30526: java-testng: non-deterministic test failures
Date: Tue, 27 Feb 2018 08:19:50 +0100	[thread overview]
Message-ID: <CAE4v=pjODqeL1_M1unesR25neoYNDNuy9obiNX1XHkb5oKwuVw@mail.gmail.com> (raw)
In-Reply-To: <CAE4v=piV-NvnoTa0kegmHoqLh4rkTED=RFOQxb9mrVOZny3Z9g@mail.gmail.com>

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

2018-02-26 8:23 GMT+01:00 Gábor Boskovits <boskovits@gmail.com>:

> 2018-02-25 12:16 GMT+01:00 Julien Lepiller <julien@lepiller.eu>:
>
>> Le Mon, 19 Feb 2018 14:55:04 +0100,
>> Ricardo Wurmus <rekado@elephly.net> a écrit :
>>
>> > Sometimes I get this error when building java-testng 6.14.2:
>> >
>> > --8<---------------cut here---------------start------------->8---
>> > ===============================================
>> > TestNG
>> > Total tests run: 1630, Failures: 1, Skips: 0
>> > ===============================================
>> >
>> > Failures in <suite> :TestNG, <test> :Regression2
>> > test.testng387.TestNG387.testInvocationCounterIsCorrectForMe
>> thodWithDataProvider()
>> > StackTrace:
>> >  java.lang.AssertionError: Arrays do not have the same size:3 != 4
>> >         at
>> > test.testng387.TestNG387.testInvocationCounterIsCorrectForMe
>> thodWithDataProvider(Unknown
>> > Source) ... Removed 27 stack frames
>> >
>> > phase `check' failed after 297.3 seconds
>> > --8<---------------cut here---------------end--------------->8---
>> >
>> >
>>
>> Hi,
>>
>> I've updated testng to the latest version (6.14.3) and it seems to
>> solve the issue. Can you confirm it?
>>
>>
>>
> Ok, I will check that today.
> It seems, that these are related to some race conditions in the parallel
> execution of tests. We also have verifyThatTestMethodsRunInParallelThreads
> failing sometimes. I will report back with results today.
>

guix build --rounds=30 run to completion with this update, referring to
discussion on the IRC I'm closing this bug as fixed.

[-- Attachment #2: Type: text/html, Size: 2529 bytes --]

      reply	other threads:[~2018-02-27  7:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-19 13:55 bug#30526: java-testng: non-deterministic test failures Ricardo Wurmus
2018-02-21  9:07 ` Gábor Boskovits
2018-02-21  9:20   ` Gábor Boskovits
2018-02-25 11:16 ` Julien Lepiller
2018-02-26  7:23   ` Gábor Boskovits
2018-02-27  7:19     ` Gábor Boskovits [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE4v=pjODqeL1_M1unesR25neoYNDNuy9obiNX1XHkb5oKwuVw@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=30526-done@debbugs.gnu.org \
    --cc=30526@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).