Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877903 - dev-java/slf4j-reload4j-2.0.3 - fails multiThreadedInitialization(org.slf4j.reload4j.Reload4jMultithreadedInitializationTest
Summary: dev-java/slf4j-reload4j-2.0.3 - fails multiThreadedInitialization(org.slf4j.r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-10-22 11:13 UTC by ernsteiswuerfel
Modified: 2022-10-27 09:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc64, 2.0.3) (slf4j-reload4j-2.0.3:20221022-103211.log,6.44 KB, text/plain)
2022-10-22 11:13 UTC, ernsteiswuerfel
Details
emerge --info (file_877903.txt,6.55 KB, text/plain)
2022-10-22 11:14 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-10-22 11:13:47 UTC
Created attachment 825027 [details]
build.log (ppc64, 2.0.3)

[...]
>>> Source compiled.
>>> Test phase: dev-java/slf4j-reload4j-2.0.3
javac -source 1.8 -target 1.8 -d target/test-classes -encoding UTF-8 -classpath target/test-classes:slf4j-reload4j.jar:../slf4j-api/src/test/java/:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/reload4j/lib/reload4j.jar:/usr/share/slf4j-api/lib/slf4j-api.jar:/usr/share/javax-mail/lib/javax-mail.jar:/usr/share/jboss-jms-api-1.1/lib/jboss-jms-api.jar:/usr/share/jakarta-activation-1/lib/jakarta-activation.jar:/usr/share/jakarta-activation-api-1/lib/jakarta-activation-api.jar @test_sources.lst
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
JUnit version 4.13.2-SNAPSHOT
..........log4j:WARN No appenders could be found for logger (org.slf4j.impl.RecursiveInitializationTest.loggingDuringInitialization-7037).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
..........THREAD_COUNT=68
E
Time: 0,09
There was 1 failure:
1) multiThreadedInitialization(org.slf4j.reload4j.Reload4jMultithreadedInitializationTest)
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:87)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertNotNull(Assert.java:713)
	at org.junit.Assert.assertNotNull(Assert.java:723)
	at org.slf4j.reload4j.Reload4jMultithreadedInitializationTest.getRecordedEvents(Reload4jMultithreadedInitializationTest.java:68)
	at org.slf4j.reload4j.Reload4jMultithreadedInitializationTest.getRecordedEventCount(Reload4jMultithreadedInitializationTest.java:56)
	at org.slf4j.testHarness.MultithreadedInitializationTest.multiThreadedInitialization(MultithreadedInitializationTest.java:38)

FAILURES!!!
Tests run: 20,  Failures: 1
Comment 1 ernsteiswuerfel archtester 2022-10-22 11:14:21 UTC
Created attachment 825029 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-10-27 09:45:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0db3fc3a90df65a5c3b610a2f99e2a3043f222e

commit a0db3fc3a90df65a5c3b610a2f99e2a3043f222e
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-10-22 12:15:50 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-10-27 09:45:33 +0000

    dev-java/slf4j-reload4j: exclude one more test on ppc64
    
    Closes: https://bugs.gentoo.org/877903
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/27897
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-java/slf4j-reload4j/slf4j-reload4j-2.0.3.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)