You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/08/18 06:32:02 UTC

[GitHub] [pulsar] nicoloboschi opened a new issue, #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

nicoloboschi opened a new issue, #17152:
URL: https://github.com/apache/pulsar/issues/17152

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Example failure
   
   https://github.com/apache/pulsar/runs/7884887469?check_suite_focus=true
   
   ### Exception stacktrace
   
   ```
   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)
   ```
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui commented on issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #17152:
URL: https://github.com/apache/pulsar/issues/17152#issuecomment-1219323231

   @nicoloboschi I have changed [here](https://github.com/apache/pulsar/pull/17049/files#diff-e6ac90fc5f2373a64dc1ecaa11a9c965f9a22f128cc4ca1265972e0dc4fef9c5R137), 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #17152:
URL: https://github.com/apache/pulsar/issues/17152#issuecomment-1255733962

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] nicoloboschi commented on issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
nicoloboschi commented on issue #17152:
URL: https://github.com/apache/pulsar/issues/17152#issuecomment-1219089949

   This is probably caused by JDK ZGC issue https://github.com/openjdk/jdk17u-dev/pull/605
   IIUC this will released in the next hotfix version of JDK 17 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] codelipenghui commented on issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #17152:
URL: https://github.com/apache/pulsar/issues/17152#issuecomment-1222273528

   @nicoloboschi Yes, we can keep it open until we find the root cause.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao closed issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
mattisonchao closed issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands
URL: https://github.com/apache/pulsar/issues/17152


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] nicoloboschi commented on issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
nicoloboschi commented on issue #17152:
URL: https://github.com/apache/pulsar/issues/17152#issuecomment-1221932880

   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? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao commented on issue #17152: Flaky-tests: misc tests failing with java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.common.protocol.Commands

Posted by GitBox <gi...@apache.org>.
mattisonchao commented on issue #17152:
URL: https://github.com/apache/pulsar/issues/17152#issuecomment-1221744132

   I think the `reuseForks=false` can 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org