You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands #17152
java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands
at org.apache.pulsar.client.impl.ClientCnx.<init>(ClientCnx.java:220)
at org.apache.pulsar.client.impl.ClientCnxRequestTimeoutQueueTest.setupClientCnx(ClientCnxRequestTimeoutQueueTest.java:63)
@nicoloboschi I have changed here, the test get passed. It looks like related to Mockito and reuseForks. I'm not sure what exactly the problem is but disabled the reuse fork can help.
I'm not sure we should close this issue. reuseForks=false may helps but it means we don't know the real source of the problem. @codelipenghui have you verified how much time the suite get now? is it relevant for the CI pipeline?
Activity
nicoloboschi commentedon Aug 18, 2022
This is probably caused by JDK ZGC issue openjdk/jdk17u-dev#605
IIUC this will released in the next hotfix version of JDK 17
codelipenghui commentedon Aug 18, 2022
@nicoloboschi I have changed here, the test get passed. It looks like related to Mockito and reuseForks. I'm not sure what exactly the problem is but disabled the reuse fork can help.
You can try to rebase to the master branch.
mattisonchao commentedon Aug 22, 2022
I think the
reuseForks=falsecan fix this problem.Link: https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html
So, I closed the question and opened it when it reappeared.
nicoloboschi commentedon Aug 22, 2022
I'm not sure we should close this issue.
reuseForks=falsemay helps but it means we don't know the real source of the problem.@codelipenghui have you verified how much time the suite get now? is it relevant for the CI pipeline?
codelipenghui commentedon Aug 22, 2022
@nicoloboschi Yes, we can keep it open until we find the root cause.
github-actions commentedon Sep 23, 2022
The issue had no activity for 30 days, mark with Stale label.