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

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   OS: ubuntu-lastest of github actions
   
   ### RocketMQ version
   
   branch: develop
   
   ### JDK Version
   
   JDK 8
   
   ### Describe the Bug
   
   Test cases of rocketmq-acl failed in 'maven-compile' workflow, e.g.:
   
[https://github.com/apache/rocketmq/actions/runs/5751437949/job/15664815492?pr=7116](https://github.com/apache/rocketmq/actions/runs/5751437949/job/15664815492?pr=7116)
   
   ### Steps to Reproduce
   
   Just trigger the 'maven-compile' workflow in pull requests.
   
   ### What Did You Expect to See?
   
   Test cases should be passed.
   
   ### What Did You See Instead?
   
   Some test cases failed for missing configuration files which should be 
there, e.g.:
   ```sh
   Running org.apache.rocketmq.acl.plain.PlainAccessValidatorTest
   03:54:18.173 [main] ERROR RocketmqCommon - Error in creating 
/tmp/97eb870f_27d3_4495_929e_252cc29e5852/access_acl_conf/acl/plain_acl.yml
   java.nio.file.NoSuchFileException: 
/tmp/97eb870f_27d3_4495_929e_252cc29e5852/access_acl_conf/acl/plain_acl.yml
        at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
        at 
sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
        at java.nio.file.Files.newByteChannel(Files.java:361)
        at java.nio.file.Files.createFile(Files.java:632)
        at 
org.apache.rocketmq.acl.plain.PlainPermissionManager.assureAclConfigFilesExist(PlainPermissionManager.java:198)
        at 
org.apache.rocketmq.acl.plain.PlainPermissionManager.load(PlainPermissionManager.java:122)
        at 
org.apache.rocketmq.acl.plain.PlainPermissionManager.<init>(PlainPermissionManager.java:85)
        at 
org.apache.rocketmq.acl.plain.PlainAccessValidator.<init>(PlainAccessValidator.java:35)
        at 
org.apache.rocketmq.acl.plain.PlainAccessValidatorTest.init(PlainAccessValidatorTest.java:74)
   ```
   
   ### Additional Context
   
   _No response_


-- 
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: commits-unsubscr...@rocketmq.apache.org.apache.org

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

Reply via email to