Flaky-test: [EndToEndMetadataTest].[testPublishConsume]
See original GitHub issue[EndToEndMetadataTest] is flaky. The [testPublishConsume] test method fails sporadically.
https://github.com/apache/pulsar/runs/4805692281?check_suite_focus=true
Error: Tests run: 10, Failures: 1, Errors: 0, Skipped: 9, Time elapsed: 1.027 s <<< FAILURE! - in org.apache.pulsar.broker.EndToEndMetadataTest
Error: testPublishConsume(org.apache.pulsar.broker.EndToEndMetadataTest) Time elapsed: 0.166 s <<< FAILURE!
java.lang.IllegalArgumentException: Unknown backend metadata-store
at org.apache.bookkeeper.meta.MetadataDrivers.getBookieDriver(MetadataDrivers.java:272)
at org.apache.bookkeeper.meta.MetadataDrivers.getBookieDriver(MetadataDrivers.java:295)
at org.apache.bookkeeper.bookie.Bookie.instantiateMetadataDriver(Bookie.java:1141)
at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:730)
at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:152)
at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:120)
at org.apache.pulsar.metadata.bookkeeper.BKCluster.startBookie(BKCluster.java:237)
at org.apache.pulsar.metadata.bookkeeper.BKCluster.startNewBookie(BKCluster.java:222)
at org.apache.pulsar.metadata.bookkeeper.BKCluster.startBKCluster(BKCluster.java:128)
at org.apache.pulsar.metadata.bookkeeper.BKCluster.<init>(BKCluster.java:80)
at org.apache.pulsar.broker.EmbeddedPulsarCluster.<init>(EmbeddedPulsarCluster.java:59)
at org.apache.pulsar.broker.EmbeddedPulsarCluster.<init>(EmbeddedPulsarCluster.java:33)
at org.apache.pulsar.broker.EmbeddedPulsarCluster$EmbeddedPulsarClusterBuilder.build(EmbeddedPulsarCluster.java:54)
at org.apache.pulsar.broker.EndToEndMetadataTest.testPublishConsume(EndToEndMetadataTest.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
FlakyTest - Android Developers
Designates a test as being flaky (non-deterministic). Can then be used to filter tests on execution using -e annotation or -e notAnnotation as...
Read more >pulsar - bytemeta
Flaky-test : [EndToEndMetadataTest].[testPublishConsume] · Previous Next. Make software development more efficient, Also welcome to join our telegram.
Read more >giving the frontmatter start and end line number - Jonschlinkert/Gray ...
Map values should be processed the same as List values, 0, 2016-06-13, 2022-08-13. Flaky-test: [EndToEndMetadataTest].[testPublishConsume], 8, 2022-01-14 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The workaround would be to set the system properties for all tests in pulsar-broker using the pom.xml. I can create a PR for that since it shouldn’t be harmful.
Another workaround would be to run EndToEndMetadataTest separately.
You will need to close and re-open and PRs where the
CI - Unit - Brokers - Broker Group / pulsar-ci-test (group2) job
is failing to get the fix for this issue which is provided by PR #13754.Closing and re-opening the PR will cause the PR to create a new merge commit internally with the latest master branch changes. This is an alternative to rebasing the PR or making an explicit merge to master in the PR commits.