Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross DC functional tests: could not load LogManager class before starting the tests #1011

Open
kami619 opened this issue Oct 11, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@kami619
Copy link
Contributor

kami619 commented Oct 11, 2024

Describe the bug

In our current Cross DC functional tests, we see a message like the below one in each of the functional test run.

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Could not load Logmanager "org.jboss.logmanager.LogManager"
java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at java.logging/java.util.logging.LogManager$1.run(LogManager.java:239)
	at java.logging/java.util.logging.LogManager$1.run(LogManager.java:223)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
	at java.logging/java.util.logging.LogManager.<clinit>(LogManager.java:222)
	at java.logging/java.util.logging.Logger.demandLogger(Logger.java:650)
	at java.logging/java.util.logging.Logger.getLogger(Logger.java:720)
	at java.logging/java.util.logging.Logger.getLogger(Logger.java:703)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.setupJunitLogger(JUnitPlatformProvider.java:133)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:116)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

Version

keycloak-benchmark latest main

Expected behavior

We should not see a failure message without understanding the impact of the failure message and remove the error message from our log stream if its not relevant.

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response

@kami619 kami619 added kind/bug Something isn't working status/triage labels Oct 11, 2024
@ahus1
Copy link
Contributor

ahus1 commented Oct 16, 2024

@kami619 - as this is a relatively small thing that needs to clean up I wouldn't plan it for a sprint and instead just clean it up.

Would you know what to change to fix it, or would you like someone else to look at it?

@kami619
Copy link
Contributor Author

kami619 commented Oct 22, 2024

@ahus1 sure thing, I will assign this to myself and look into it, as I find time from other tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants