pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

Flaky-test: MetadataStoreStatsTest#testBatchMetadataStoreMetrics

Open labuladong opened this issue 3 years ago • 1 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Example failure

https://github.com/labuladong/pulsar/actions/runs/3376057575/jobs/5603501145#step:10:1208

Exception stacktrace

Full exception stacktrace

 Error:  Tests run: 7, Failures: 2, Errors: 0, Skipped: 5, Time elapsed: 28.876 s 

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

labuladong avatar Nov 02 '22 11:11 labuladong

I notice this test is added in https://github.com/apache/pulsar/pull/17072 yesterday.

cc @tjiuming

labuladong avatar Nov 02 '22 11:11 labuladong

another one:

  • https://github.com/apache/pulsar/actions/runs/3437251092/jobs/5731951247

poorbarcode avatar Nov 12 '22 03:11 poorbarcode

sorry for missed the issue, I'll check it later

tjiuming avatar Nov 15 '22 08:11 tjiuming

Another one: https://github.com/apache/pulsar/actions/runs/3471025967/jobs/5800196390

BewareMyPower avatar Nov 15 '22 15:11 BewareMyPower

Another one: https://github.com/apache/pulsar/actions/runs/3496355710/jobs/5854319305

coderzc avatar Nov 18 '22 11:11 coderzc

cannot reproduce the issue on my local. When MetadataStoreConfig#metadataStoreName is a empty string, this issue happens, but I've checked everywhere, the field must not be empty

tjiuming avatar Nov 22 '22 17:11 tjiuming

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

github-actions[bot] avatar Dec 23 '22 01:12 github-actions[bot]

Yet another one: https://github.com/apache/pulsar/actions/runs/3995672027/jobs/6855066875#step:11:1233

lhotari avatar Jan 24 '23 12:01 lhotari

cannot reproduce the issue on my local. When MetadataStoreConfig#metadataStoreName is a empty string, this issue happens, but I've checked everywhere, the field must not be empty

@tjiuming This was fairly easy to reproduce with @Test(invocations = 100). I created a fix in #19329. Please review

lhotari avatar Jan 26 '23 09:01 lhotari

The problem remains. Example failure: https://github.com/apache/pulsar/actions/runs/4072071397/jobs/7016199219#step:11:1265

There's more debug logging after the #19329 changes so it might be easier to find out what is going on.

lhotari avatar Feb 02 '23 09:02 lhotari

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

github-actions[bot] avatar Mar 05 '23 02:03 github-actions[bot]