You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/12/07 07:04:23 UTC

[GitHub] [incubator-kyuubi] cxzl25 opened a new issue, #3920: [TEST] distribute lock *** FAILED ***

cxzl25 opened a new issue, #3920:
URL: https://github.com/apache/incubator-kyuubi/issues/3920

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What kind of test improve?
   
   - [X] Fix flaky tests.
   - [ ] Fix bug in tests.
   - [ ] Increase test coverage.
   - [ ] Other kinds of test improve.
   
   ### Describe the issues of the existing tests or improvements for new tests
   
   The zk connection timed out, but this part of the retried connection is not included in the lock timeout period.
   
   
   https://github.com/apache/incubator-kyuubi/actions/runs/3636043636/jobs/6135676286
   
   ```
   Expected exception org.apache.kyuubi.KyuubiSQLException to be thrown, but no exception was thrown (DiscoveryClientTests.scala:147)
   ```
   Log
   ```java
   05:13:17.138 ScalaTest-main-running-DockerizedZkServiceDiscoverySuite ERROR ConnectionState: Connection timed out for connection string (localhost:49156) and timeout (15000) / elapsed (16390)
   org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
   	at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:225) ~[curator-client-2.12.0.jar:?]
   	at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:94) ~[curator-client-2.12.0.jar:?]
   	at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:117) ~[curator-client-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:489) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:740) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:723) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:109) ~[curator-client-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:720) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:484) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:474) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:454) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:44) ~[curator-framework-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.StandardLockInternalsDriver.createsTheLock(StandardLockInternalsDriver.java:54) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.LockInternals.attemptLock(LockInternals.java:217) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.InterProcessMutex.internalLock(InterProcessMutex.java:232) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.InterProcessMutex.acquire(InterProcessMutex.java:108) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.InterProcessSemaphoreV2.internalAcquire1Lease(InterProcessSemaphoreV2.java:344) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.InterProcessSemaphoreV2.acquire(InterProcessSemaphoreV2.java:284) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.InterProcessSemaphoreV2.acquire(InterProcessSemaphoreV2.java:246) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.curator.framework.recipes.locks.InterProcessSemaphoreMutex.acquire(InterProcessSemaphoreMutex.java:52) ~[curator-recipes-2.12.0.jar:?]
   	at org.apache.kyuubi.ha.client.zookeeper.ZookeeperDiscoveryClient.tryWithLock(ZookeeperDiscoveryClient.scala:170) ~[kyuubi-ha_2.12-1.7.0-SNAPSHOT.jar:1.7.0-SNAPSHOT]
   ```
   
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I can submit a PR independently to improve.
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
   - [ ] No. I cannot submit a PR at this time.


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [kyuubi] pan3793 closed issue #3920: [TEST] DockerizedZkServiceDiscoverySuite - distribute lock *** FAILED ***

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed issue #3920: [TEST] DockerizedZkServiceDiscoverySuite - distribute lock *** FAILED ***
URL: https://github.com/apache/kyuubi/issues/3920


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org