eolivelli commented on pull request #9900:
URL: https://github.com/apache/pulsar/pull/9900#issuecomment-802673400


   This error in a test case looks related to this patch:
   
   > Error:  Tests run: 20, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 
7.434 s <<< FAILURE! - in org.apache.pulsar.metadata.MetadataCacheTest
   > Error:  testReadCloned(org.apache.pulsar.metadata.MetadataCacheTest)  Time 
elapsed: 0.133 s  <<< FAILURE!
   > java.util.concurrent.ExecutionException: 
org.apache.pulsar.metadata.api.MetadataStoreException$AlreadyExistsException: 
org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException: 
org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = 
BadVersion for /policies
   >    at 
java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
   >    at 
java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
   >    at 
org.apache.pulsar.metadata.MetadataCacheTest.testReadCloned(MetadataCacheTest.java:209)
   >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   >    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   >    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >    at java.lang.reflect.Method.invoke(Method.java:498)
   >    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.util.concurrent.FutureTask.run(FutureTask.java:266)
   >    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   >    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   >    at java.lang.Thread.run(Thread.java:748)
   > Caused by: 
org.apache.pulsar.metadata.api.MetadataStoreException$AlreadyExistsException: 
org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException: 
org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = 
BadVersion for /policies
   >    at 
org.apache.pulsar.metadata.cache.impl.MetadataCacheImpl.lambda$create$9(MetadataCacheImpl.java:210)
   >    at 
java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:884)
   >    at 
java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:866)
   >    at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
   >    at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
   >    at 
org.apache.pulsar.metadata.impl.ZKMetadataStore.lambda$null$15(ZKMetadataStore.java:217)
   >    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   >    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   >    at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   >    ... 1 more
   > Caused by: 
org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException: 
org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = 
BadVersion for /policies
   >    at 
org.apache.pulsar.metadata.impl.ZKMetadataStore.getException(ZKMetadataStore.java:297)
   >    ... 5 more
   > Caused by: org.apache.zookeeper.KeeperException$BadVersionException: 
KeeperErrorCode = BadVersion for /policies
   >    at org.apache.zookeeper.KeeperException.create(KeeperException.java:122)
   >    at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)
   >    at 
org.apache.pulsar.metadata.impl.ZKMetadataStore.getException(ZKMetadataStore.java:293)
   >    ... 5 more
   > 
   > [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
16.252 s - in org.apache.pulsar.metadata.ZKSessionTest
   > [INFO] 
   > [INFO] Results:
   > [INFO] 
   > Error:  Failures: 
   > Error:  
org.apache.pulsar.metadata.MetadataCacheTest.testReadCloned(org.apache.pulsar.metadata.MetadataCacheTest)
   > [INFO]   Run 1: PASS
   > Error:    Run 2: MetadataCacheTest.testReadCloned:209 ? Execution 
org.apache.pulsar.metadata.ap...
   > [INFO]   Run 3: PASS
   > [INFO] 
   > [INFO] 
   > Error:  Tests run: 50, Failures: 1, Errors: 0, Skipped: 0


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to