Hilarious12138 opened a new issue, #11568:
URL: https://github.com/apache/rocketmq/issues/11568

   ### Runtime platform environment
   
   Ubuntu CI and a local Linux ARM64 container, Corretto 8. Reproduced on 
`develop` at `b1dadbd`.
   
   ### Describe the Bug
   
   `RocksdbTopicConfigTransferTest.destroy()` walks and deletes the test store 
while its RocksDB manager is still open. A log file can disappear during the 
directory walk. RocksDB can also try to flush into a directory the test has 
already deleted.
   
   ### Steps to Reproduce
   
   On Linux, run the test class repeatedly and inspect both the Surefire result 
and the RocksDB shutdown log.
   
   ```sh
   mvn -pl broker -am -Dtest=RocksdbTopicConfigTransferTest 
-Dsurefire.failIfNoSpecifiedTests=false test
   ```
   
   ### What Did You Expect to See?
   
   The manager finishes closing its files before teardown removes the test 
store.
   
   ### What Did You See Instead?
   
   The Ubuntu job failed in `destroy()` after `jsonUpgradeToRocksdb` with a 
`NoSuchFileException` for `config/topics/000017.log`. A local run also logged 
missing WAL files during shutdown even when Surefire reported all seven tests 
passed. [Failing CI 
job](https://github.com/apache/rocketmq/actions/runs/45108203784/job/137480552241)
   
   ### Additional Context
   
   This is a focused follow-up to #10373. An earlier cleanup proposal discussed 
the order of these operations across multiple test classes. [Previous 
PR](https://github.com/apache/rocketmq/pull/9833#issuecomment-4999309546)
   


-- 
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: [email protected]

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

Reply via email to