[ 
https://issues.apache.org/jira/browse/KAFKA-19483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sushant Mahajan updated KAFKA-19483:
------------------------------------
    Description: 
Observed in :

[https://github.com/apache/kafka/actions/runs/16130278655/job/45516681844]

[https://github.com/apache/kafka/actions/runs/16086455065/job/45398324767?pr=20104]

 
{code:java}
2025-07-05T09:39:50.2299240Z 
org.apache.kafka.storage.internals.log.RemoteIndexCacheTest.testConcurrentCacheDeletedFileExists()
 failed, log available in 
/home/runner/work/kafka/kafka/storage/build/reports/testOutput/org.apache.kafka.storage.internals.log.RemoteIndexCacheTest.testConcurrentCacheDeletedFileExists().test.stdout
 2025-07-05T09:39:50.2300479Z 2025-07-05T09:39:50.2300817Z Gradle Test Run 
:storage:test > Gradle Test Executor 50 > RemoteIndexCacheTest > 
testConcurrentCacheDeletedFileExists() FAILED 2025-07-05T09:39:50.2301484Z 
org.opentest4j.AssertionFailedError: expected: <0> but was: <1> 
2025-07-05T09:39:50.2302021Z at 
app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
 2025-07-05T09:39:50.2303093Z at 
app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
 2025-07-05T09:39:50.2303807Z at 
app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) 
2025-07-05T09:39:50.2304339Z at 
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) 
2025-07-05T09:39:50.2305021Z at 
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) 
2025-07-05T09:39:50.2305539Z at 
app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531) 
2025-07-05T09:39:50.2306163Z at 
app//org.apache.kafka.test.TestUtils.assertNoLeakedThreadsWithNameAndDaemonStatus(TestUtils.java:179)
 2025-07-05T09:39:50.2306912Z at 
app//org.apache.kafka.storage.internals.log.RemoteIndexCacheTest.cleanup(RemoteIndexCacheTest.java:143){code}

  was:
Observed in :

[https://github.com/apache/kafka/actions/runs/16130278655/job/45516681844]

https://github.com/apache/kafka/actions/runs/16086455065/job/45398324767?pr=20104


> Fix flaky test RemoteIndexCacheTest.testConcurrentCacheDeletedFileExists()
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-19483
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19483
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Sushant Mahajan
>            Priority: Major
>
> Observed in :
> [https://github.com/apache/kafka/actions/runs/16130278655/job/45516681844]
> [https://github.com/apache/kafka/actions/runs/16086455065/job/45398324767?pr=20104]
>  
> {code:java}
> 2025-07-05T09:39:50.2299240Z 
> org.apache.kafka.storage.internals.log.RemoteIndexCacheTest.testConcurrentCacheDeletedFileExists()
>  failed, log available in 
> /home/runner/work/kafka/kafka/storage/build/reports/testOutput/org.apache.kafka.storage.internals.log.RemoteIndexCacheTest.testConcurrentCacheDeletedFileExists().test.stdout
>  2025-07-05T09:39:50.2300479Z 2025-07-05T09:39:50.2300817Z Gradle Test Run 
> :storage:test > Gradle Test Executor 50 > RemoteIndexCacheTest > 
> testConcurrentCacheDeletedFileExists() FAILED 2025-07-05T09:39:50.2301484Z 
> org.opentest4j.AssertionFailedError: expected: <0> but was: <1> 
> 2025-07-05T09:39:50.2302021Z at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>  2025-07-05T09:39:50.2303093Z at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>  2025-07-05T09:39:50.2303807Z at 
> app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) 
> 2025-07-05T09:39:50.2304339Z at 
> app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) 
> 2025-07-05T09:39:50.2305021Z at 
> app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) 
> 2025-07-05T09:39:50.2305539Z at 
> app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531) 
> 2025-07-05T09:39:50.2306163Z at 
> app//org.apache.kafka.test.TestUtils.assertNoLeakedThreadsWithNameAndDaemonStatus(TestUtils.java:179)
>  2025-07-05T09:39:50.2306912Z at 
> app//org.apache.kafka.storage.internals.log.RemoteIndexCacheTest.cleanup(RemoteIndexCacheTest.java:143){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to