On Wed, 26 Jun 2024 12:15:33 GMT, SendaoYan <s...@openjdk.org> wrote:

> Hi all,
> Test `test/jdk/java/lang/invoke/lambda/LogGeneratedClassesTest.java` fails on 
> rpm build mock environment. The `df -h` command return fail `df: cannot read 
> table of mounted file systems: No such file or directory` on the rpm build 
> mock environment also. I think it's a environmental issue, and the 
> environmental issue should not cause the test fails, it should skip the test.
> 
> The rpmbuild mock enviroment is like a sandbox, which created by `chroot` 
> shell command, in the rpmbuild mock enviroment, `df -h` report `cannot read 
> table of mounted file systems`, and java Files.getFileStore also throw 
> `IOException`. We want to build and test the jdk in this `sandbox`, and the 
> default jtreg work directory is `JTWork` in current directory, so this 
> testcase will report fails.
> 
> Only change the testcase, the change has been verified locally, no risk.

This pull request has now been integrated.

Changeset: 2f7ba781
Author:    SendaoYan <s...@openjdk.org>
Committer: Jaikiran Pai <j...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/2f7ba781bf2e4e6d0fa658c19f86c6c05d60358a
Stats:     18 lines in 1 file changed: 7 ins; 6 del; 5 mod

8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment

Reviewed-by: jpai

-------------

PR: https://git.openjdk.org/jdk/pull/19905

Reply via email to