You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fluss.apache.org by "github-actions[bot] (via GitHub)" <gi...@apache.org> on 2026/10/18 04:10:58 UTC

[I] [test] Unstable test FlussAuthorizationITCase.testProduceAndConsumer [fluss]

github-actions[bot] opened a new issue, #4698:
URL: https://github.com/apache/fluss/issues/4698

   https://github.com/apache/fluss/actions/runs/39076865992/job/117531082334
   
   ```
   [ERROR] org.apache.fluss.client.security.acl.FlussAuthorizationITCase.testProduceAndConsumer  Time elapsed: 67.344 s  <<< FAILURE!
   java.lang.AssertionError: 
   ```
   


-- 
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: issues-unsubscribe@fluss.apache.org.apache.org

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


Re: [I] [test] Unstable test FlussAuthorizationITCase.testProduceAndConsumer [fluss]

Posted by "wuchong (via GitHub)" <gi...@apache.org>.
wuchong commented on issue #4698:
URL: https://github.com/apache/fluss/issues/4698#issuecomment-6260664786

   Reproduced in PR #4242, Java 11 / core:
   
   https://github.com/apache/fluss/actions/runs/39205033760/job/117905902415?pr=4242
   
   ```
   [ERROR] org.apache.fluss.client.security.acl.FlussAuthorizationITCase.testProduceAndConsumer  Time elapsed: 67.339 s  <<< FAILURE!
   java.lang.AssertionError: 
   
   Expecting Optional to contain a value but it was empty.
   	at org.apache.fluss.server.testutils.FlussClusterExtension.lambda$waitUntilAllReplicaReady$14(FlussClusterExtension.java:706)
   	at org.apache.fluss.testutils.common.CommonTestUtils.retry(CommonTestUtils.java:142)
   	at org.apache.fluss.server.testutils.FlussClusterExtension.waitUntilAllReplicaReady(FlussClusterExtension.java:686)
   	at org.apache.fluss.client.security.acl.FlussAuthorizationITCase.setup(FlussAuthorizationITCase.java:156)
   	at jdk.internal.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   ```
   
   The failure occurs in `setup()` while waiting for all replicas to become ready. The earlier occurrence linked in this issue has the same empty-Optional assertion and `waitUntilAllReplicaReady` → `setup` stack.


-- 
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: issues-unsubscribe@fluss.apache.org

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


Re: [I] [test] Unstable test FlussAuthorizationITCase.testProduceAndConsumer [fluss]

Posted by "wuchong (via GitHub)" <gi...@apache.org>.
wuchong commented on issue #4698:
URL: https://github.com/apache/fluss/issues/4698#issuecomment-6260802158

   cc @loserwang1024 


-- 
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: issues-unsubscribe@fluss.apache.org

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


Re: [I] [test] Unstable test FlussAuthorizationITCase.testProduceAndConsumer [fluss]

Posted by "morazow (via GitHub)" <gi...@apache.org>.
morazow commented on issue #4698:
URL: https://github.com/apache/fluss/issues/4698#issuecomment-6403899360

   I did quick analysis on this using agent, and seems like this unstable test is solved by three different PRs, together.
   
   ### Root Cause
   
   It's the server-side race already tracked in #4655 and #4741: a dropped table's delayed cleanup removes the metadata of a new table created at the same path.
   
   ### Fixes
   
   1. The `CoordinatorContext#removeTable` removes `tableIdByPath` by path only. #4657 fixes this.
   2. For a table queued for deletion that still has table info, `CoordinatorRequestBatch#getTableInfo` sends `(path, DELETED_TABLE_ID)`. The tablet server then removes the mapping by path. #4742 switches to the ID-based marker `(DELETED_TABLE_PATH, tableId)`.
   3. The `TabletServerMetadataCache#updateClusterMetadata` compares `tablePath == DELETED_TABLE_PATH` by reference. A path decoded from the RPC is a new object, so this branch never matches on a real cluster. #4742 changes it to equals.


-- 
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: issues-unsubscribe@fluss.apache.org

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