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

Flaky-test: NegativeAcksTest.testFailoverConsumerBatchCumulateAck #18480

Closed
1 of 2 tasks
codelipenghui opened this issue Nov 15, 2022 · 3 comments · Fixed by #18491
Closed
1 of 2 tasks

Flaky-test: NegativeAcksTest.testFailoverConsumerBatchCumulateAck #18480

codelipenghui opened this issue Nov 15, 2022 · 3 comments · Fixed by #18491

Comments

@codelipenghui
Copy link
Contributor

Search before asking

  • I searched in the issues and found nothing similar.

Example failure

https://github.com/apache/pulsar/actions/runs/3468163315/jobs/5798520468

Exception stacktrace

Error:  Tests run: 16, Failures: 1, Errors: 0, Skipped: 15, Time elapsed: 18.237 s <<< FAILURE! - in org.apache.pulsar.client.impl.NegativeAcksTest
[727](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:728)
  Error:  testFailoverConsumerBatchCumulateAck(org.apache.pulsar.client.impl.NegativeAcksTest)  Time elapsed: 6.245 s  <<< FAILURE!
[728](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:729)
  java.lang.AssertionError: expected [9] but found [0]
[729](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:730)
  	at org.testng.Assert.fail(Assert.java:99)
[730](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:731)
  	at org.testng.Assert.failNotEquals(Assert.java:1037)
[731](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:732)
  	at org.testng.Assert.assertEqualsImpl(Assert.java:140)
[732](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:733)
  	at org.testng.Assert.assertEquals(Assert.java:122)
[733](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:734)
  	at org.testng.Assert.assertEquals(Assert.java:907)
[734](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:735)
  	at org.testng.Assert.assertEquals(Assert.java:917)
[735](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:736)
  	at org.apache.pulsar.client.impl.NegativeAcksTest.testFailoverConsumerBatchCumulateAck(NegativeAcksTest.java:439)
[736](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:737)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[737](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:738)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[738](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:739)
  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[739](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:740)
  	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[740](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:741)
  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[741](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:742)
  	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
[742](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:743)
  	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
[743](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:744)
  	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
[744](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:745)
  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[745](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:746)
  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[746](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:747)
  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[747](https://github.com/apache/pulsar/actions/runs/3468163311/jobs/5798518872#step:10:748)
  	at java.base/java.lang.Thread.run(Thread.java:833)

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@BewareMyPower
Copy link
Contributor

@codelipenghui
Copy link
Contributor Author

@BewareMyPower Is this PR BewareMyPower#8 going to fix this test?

@BewareMyPower
Copy link
Contributor

No, it's another fix, not related to this test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants