[From nobody Fri Nov 20 15:45:06 2026
Received: (at submit) by bugs.debian.org; 2 Sep 2026 20:24:31 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 269; hammy, 150; neutral, 254; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:59466)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1x1rVW-000Oik-0B
 for submit@bugs.debian.org; Wed, 02 Sep 2026 20:24:31 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1x1rVV-00034Y-37
 for submit@bugs.debian.org; Wed, 02 Sep 2026 20:24:30 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=4mMecTAYq0AlsZNjoj7Z/aV95UlMYRGDuFMDZ8zs4RU=; b=ALGNW5y9nMgvAPJkyL0lZkkOiU
 dMej/gIfTr8s7bHeNR0EynuJAybfxvkTxtDY/bQWyt4LlxeSLrwc57y86segtZ9JRL4VfmhtP9IC6
 dSPrUASv10QWzaUNlcsPRm99zXwvccVfgq8SNai+MB4fWmnUb9+u3zPOxst+660M0NWNzT6Y7JaID
 Q+KhOgGeesh84uabspgHMc9Y63z23vtS0qJTsLcwLRV9tajL3W7CcfF+1MeE0OWzwKmw16U3rVPno
 uYJFtSM3Mvl0WCtwMZdCesCcDntJ2AtwdwIW1bku10ulid5wOsX486UaB7un/YTEjpYH1WEQyhEWz
 IZh7KL3A==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1x1rVU-00066S-2H
 for submit@bugs.debian.org; Wed, 02 Sep 2026 20:24:28 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: libfailsafe-java: FTBFS randomly: java.lang.AssertionError: expected
 [3] but found [2]
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1x1rVU-00066S-2H@paradis.debian.org&gt;
Date: Wed, 02 Sep 2026 20:24:28 +0000
Delivered-To: submit@bugs.debian.org

Package: src:libfailsafe-java
Version: 3.3.2-3
Severity: serious
Tags: ftbfs forky sid

Hello Pierre et al.

This package fails to build for me 50% of the time (tried many times).

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/202609/

and as always, I'm offering a VM to reproduce (i.e. to reproduce the randomness in this case)
if required.

Note that the failing tests might be not always the same (that's why I put
several build logs in the above URL).

Thanks.

--------------------------------------------------------------------------------
[...]
BEFORE dev.failsafe.CircuitBreakerTest#shouldGetSuccessAndFailureStats
BEFORE dev.failsafe.FallbackBuilderTest#shouldCreateBuilderFromExistingConfig
[ERROR] Tests run: 305, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.949 s &lt;&lt;&lt; FAILURE! - in TestSuite
[ERROR] testFallbackRetryPolicyTimeoutTimeout(dev.failsafe.functional.NestedTimeoutTest)  Time elapsed: 1.31 s  &lt;&lt;&lt; FAILURE!
java.lang.AssertionError: expected [3] but found [2]
	at org.testng.Assert.fail(Assert.java:94)
	at org.testng.Assert.failNotEquals(Assert.java:513)
	at org.testng.Assert.assertEqualsImpl(Assert.java:135)
	at org.testng.Assert.assertEquals(Assert.java:116)
	at org.testng.Assert.assertEquals(Assert.java:389)
	at org.testng.Assert.assertEquals(Assert.java:399)
	at dev.failsafe.functional.NestedTimeoutTest.lambda$testFallbackRetryPolicyTimeoutTimeout$3(NestedTimeoutTest.java:89)
	at dev.failsafe.testing.Testing.lambda$testGetInternal$2(Testing.java:333)
	at dev.failsafe.testing.Testing.lambda$testGetInternal$7(Testing.java:366)
	at dev.failsafe.testing.Testing.testGetInternal(Testing.java:371)
	at dev.failsafe.testing.Testing.testRunSuccess(Testing.java:186)
	at dev.failsafe.functional.NestedTimeoutTest.lambda$testFallbackRetryPolicyTimeoutTimeout$0(NestedTimeoutTest.java:82)
	at dev.failsafe.functional.NestedTimeoutTest.testFallbackRetryPolicyTimeoutTimeout(NestedTimeoutTest.java:101)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:100)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:646)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:811)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1129)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
	at org.testng.TestRunner.privateRun(TestRunner.java:746)
	at org.testng.TestRunner.run(TestRunner.java:600)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
	at org.testng.SuiteRunner.run(SuiteRunner.java:268)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1264)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1189)
	at org.testng.TestNG.runSuites(TestNG.java:1104)
	at org.testng.TestNG.run(TestNG.java:1076)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   NestedTimeoutTest.testFallbackRetryPolicyTimeoutTimeout:101-&gt;lambda$testFallbackRetryPolicyTimeoutTimeout$0:82-&gt;Testing.testRunSuccess:186-&gt;Testing.testGetInternal:371-&gt;Testing.lambda$testGetInternal$7:366-&gt;Testing.lambda$testGetInternal$2:333-&gt;lambda$testFallbackRetryPolicyTimeoutTimeout$3:89 expected [3] but found [2]
[INFO] 
[ERROR] Tests run: 305, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Failsafe Parent 3.3.2:
[INFO] 
[INFO] Failsafe Parent .................................... SUCCESS [  0.003 s]
[INFO] Failsafe ........................................... FAILURE [01:01 min]
[INFO] Failsafe OkHttp .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:02 min
[INFO] Finished at: 2026-09-02T16:10:17Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project failsafe: There are test failures.
[ERROR] 
[ERROR] Please refer to /&lt;&lt;PKGBUILDDIR&gt;&gt;/core/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -&gt; [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn &lt;args&gt; -rf :failsafe
dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/&lt;&lt;PKGBUILDDIR&gt;&gt; -Dclassworlds.conf=/etc/maven/m2-debian.conf org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian -Dmaven.repo.local=/&lt;&lt;PKGBUILDDIR&gt;&gt;/debian/maven-repo --batch-mode test returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]