RFR: 8343490: Update copyright year for JDK-8341692

2024-11-04 Thread SendaoYan
Hi all, The copyright year of some files which has been changed by [JDK-8341692](https://bugs.openjdk.org/browse/JDK-8341692) wasn't update correctly. This PR update the copyright year of [JDK-8341692](https://bugs.openjdk.org/browse/JDK-8341692). Trivial fix, no risk. - Commit m

Re: RFR: 8341585: Test java/foreign/TestUpcallStress.java should mark as /native

2024-11-04 Thread SendaoYan
On Sun, 6 Oct 2024 02:35:45 GMT, SendaoYan wrote: > Hi all, > The newly added test `java/foreign/TestUpcallStress.java` call > `System.loadLibrary("TestUpcall")` load native library, so this test should > mark as `/native`. > The change has been verified locally, trivi

Re: RFR: 8343178: Test BasicTest.java javac compile fails cannot find symbol

2024-10-28 Thread SendaoYan
On Tue, 29 Oct 2024 03:03:17 GMT, SendaoYan wrote: > Hi all, > The test `tools/jpackage/share/jdk/jpackage/tests/BasicTest.java` javac > compile fails `cannot find symbol TKit.assertPathNotEmptyDirectory` after > [JDK-8343101](https://bugs.openjdk.org/browse/JDK-8343101). I thi

Integrated: 8343178: Test BasicTest.java javac compile fails cannot find symbol

2024-10-28 Thread SendaoYan
On Tue, 29 Oct 2024 03:03:17 GMT, SendaoYan wrote: > Hi all, > The test `tools/jpackage/share/jdk/jpackage/tests/BasicTest.java` javac > compile fails `cannot find symbol TKit.assertPathNotEmptyDirectory` after > [JDK-8343101](https://bugs.openjdk.org/browse/JDK-8343101). I thi

Re: RFR: 8343178: Test BasicTest.java javac compile fails cannot find symbol

2024-10-28 Thread SendaoYan
On Tue, 29 Oct 2024 04:57:13 GMT, Jaikiran Pai wrote: > I think you meant https://bugs.openjdk.org/browse/JDK-8343101. Yes, Sorry for the mistake. The PR description has been updated. - PR Comment: https://git.openjdk.org/jdk/pull/21750#issuecomment-2443273038

RFR: 8343178: Test BasicTest.java javac compile fails cannot find symbol

2024-10-28 Thread SendaoYan
Hi all, The test `tools/jpackage/share/jdk/jpackage/tests/BasicTest.java` javac compile fails `cannot find symbol TKit.assertPathNotEmptyDirectory` after JDK-8343178. I think we should use `TKit.assertDirectoryNotEmpty` instead of `TKit.assertPathNotEmptyDirectory`. The change has been verified

Integrated: 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp

2024-10-22 Thread SendaoYan
On Tue, 15 Oct 2024 01:25:56 GMT, SendaoYan wrote: > Hi all, > Test `java/foreign/TestUpcallStress.java` intermittent timeout with -Xcomp, > and this test use a very precise race, thus `-Xcomp` probably will never > trigger the problematic use-case. So this test not suitable for -

Re: RFR: 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp

2024-10-22 Thread SendaoYan
On Tue, 15 Oct 2024 01:25:56 GMT, SendaoYan wrote: > Hi all, > Test `java/foreign/TestUpcallStress.java` intermittent timeout with -Xcomp, > and this test use a very precise race, thus `-Xcomp` probably will never > trigger the problematic use-case. So this test not suitable for -

Re: RFR: 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp

2024-10-14 Thread SendaoYan
On Tue, 15 Oct 2024 06:43:47 GMT, SendaoYan wrote: >> The change looks OK to me. Please wait for Jorn @JornVernee to take a look, >> before integrating. > >> The change looks OK to me. Please wait for Jorn @JornVernee to take a look, >> before integrating. > >

Re: RFR: 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp

2024-10-14 Thread SendaoYan
On Tue, 15 Oct 2024 06:34:44 GMT, Jaikiran Pai wrote: > The change looks OK to me. Please wait for Jorn @JornVernee to take a look, > before integrating. Okey. - PR Comment: https://git.openjdk.org/jdk/pull/21512#issuecomment-2413025856

RFR: 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp

2024-10-14 Thread SendaoYan
Hi all, Test `java/foreign/TestUpcallStress.java` intermittent timeout with -Xcomp, and this test use a very precise race, thus `-Xcomp` probably will never trigger the problematic use-case. So this test not suitable for -Xcomp mode.I add `@requires vm.compMode != "Xcomp"` to exclude from Xcomp

Re: RFR: 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode

2024-10-14 Thread SendaoYan
On Sun, 6 Oct 2024 09:15:58 GMT, SendaoYan wrote: > A trivial fix to ProblemList `java/foreign/TestUpcallStress.java` in Xcomp > mode. Okey, I will create a new PR to the test from the problem list and use `@requires` instead. Thanks for the correction. - PR Comment:

Integrated: 8341658: RISC-V: Test DateFormatProviderTest.java run timeouted

2024-10-08 Thread SendaoYan
On Mon, 7 Oct 2024 15:49:57 GMT, SendaoYan wrote: > Hi all, > The test `java/util/PluggableLocale/DateFormatProviderTest.java` run timeout > on riscv64 physic machine. This test has 4496 sub-tests, and riscv64 has poor > single core performance, so this test run timeouted on r

Re: RFR: 8341658: RISC-V: Test DateFormatProviderTest.java run timeouted

2024-10-08 Thread SendaoYan
On Mon, 7 Oct 2024 15:49:57 GMT, SendaoYan wrote: > Hi all, > The test `java/util/PluggableLocale/DateFormatProviderTest.java` run timeout > on riscv64 physic machine. This test has 4496 sub-tests, and riscv64 has poor > single core performance, so this test run timeouted on r

RFR: 8341658: RISC-V: Test DateFormatProviderTest.java run timeouted

2024-10-07 Thread SendaoYan
Hi all, The test `java/util/PluggableLocale/DateFormatProviderTest.java` run timeout on riscv64 physic machine. This test has 4496 sub-tests, and riscv64 has poor single core performance, so this test run timeouted on riscv64 seems acceptable. Thus, to make less test noisy, I think we should add

Integrated: 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode

2024-10-07 Thread SendaoYan
On Sun, 6 Oct 2024 09:15:58 GMT, SendaoYan wrote: > A trivial fix to ProblemList `java/foreign/TestUpcallStress.java` in Xcomp > mode. This pull request has now been integrated. Changeset: 33595189 Author:SendaoYan URL: https://git.openjdk.org/jdk/

Re: RFR: 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode

2024-10-07 Thread SendaoYan
On Sun, 6 Oct 2024 09:15:58 GMT, SendaoYan wrote: > A trivial fix to ProblemList `java/foreign/TestUpcallStress.java` in Xcomp > mode. Thanks for the review. - PR Comment: https://git.openjdk.org/jdk/pull/21375#issuecomment-2397159519

RFR: 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode

2024-10-06 Thread SendaoYan
A trivial fix to ProblemList `java/foreign/TestUpcallStress.java` in Xcomp mode. - Commit messages: - 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode Changes: https://git.openjdk.org/jdk/pull/21375/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21375&

RFR: 8341585: Test java/foreign/TestUpcallStress.java should mark as /native

2024-10-05 Thread SendaoYan
Hi all, The newly added test `java/foreign/TestUpcallStress.java` call `System.loadLibrary("TestUpcall")` load native library, so this test should mark as `/native`. The change has been verified locally, trivial fix, no risk. - Commit messages: - 8341585: Test java/foreign/TestUpca

RFR: 8341246: Test com/sun/tools/attach/PermissionTest.java fails access denied

2024-09-30 Thread SendaoYan
Hi all, Test `com/sun/tools/attach/PermissionTest.java` fails access denied after [JDK-8327114](https://bugs.openjdk.org/browse/JDK-8327114). This testcase need the `readlink` permission of file `/proc/self/ns/mnt` after [JDK-8327114](https://bugs.openjdk.org/browse/JDK-8327114). So this PR add

Re: RFR: 8339714: Delete tedious bool type define

2024-09-10 Thread SendaoYan
On Mon, 9 Sep 2024 09:50:59 GMT, SendaoYan wrote: > Hi all, > This PR delete tedious bool type define in > `src/java.base/unix/native/libjsig/jsig.c` and > `src/utils/hsdis/binutils/hsdis-binutils.c`. After JEP > 347([JDK-8246032](https://bugs.openjdk.org/browse/JDK-824603

Integrated: 8339714: Delete tedious bool type define

2024-09-10 Thread SendaoYan
On Mon, 9 Sep 2024 09:50:59 GMT, SendaoYan wrote: > Hi all, > This PR delete tedious bool type define in > `src/java.base/unix/native/libjsig/jsig.c` and > `src/utils/hsdis/binutils/hsdis-binutils.c`. After JEP > 347([JDK-8246032](https://bugs.openjdk.org/browse/JDK-824603

Re: RFR: 8339714: Delete tedious bool type define

2024-09-10 Thread SendaoYan
On Mon, 9 Sep 2024 09:50:59 GMT, SendaoYan wrote: > Hi all, > This PR delete tedious bool type define in > `src/java.base/unix/native/libjsig/jsig.c` and > `src/utils/hsdis/binutils/hsdis-binutils.c`. After JEP > 347([JDK-8246032](https://bugs.openjdk.org/browse/JDK-824603

Re: RFR: 8339714: Delete tedious bool type define

2024-09-09 Thread SendaoYan
On Mon, 9 Sep 2024 13:03:49 GMT, Julian Waters wrote: >> I have verified this change locally, include build hsdis.so and check the >> functional with command java -XX:+UnlockDiagnosticVMOptions >> -XX:+PrintAssembly -version. The verified show this change for hsdis.so work >> normally. > > Ok,

Re: RFR: 8339714: Delete tedious bool type define

2024-09-09 Thread SendaoYan
On Mon, 9 Sep 2024 12:07:54 GMT, Julian Waters wrote: >> Hi all, >> This PR delete tedious bool type define in >> `src/java.base/unix/native/libjsig/jsig.c` and >> `src/utils/hsdis/binutils/hsdis-binutils.c`. After JEP >> 347([JDK-8246032](https://bugs.openjdk.org/browse/JDK-8246032)), I thi

Re: RFR: 8339714: Delete tedious bool type define

2024-09-09 Thread SendaoYan
On Mon, 9 Sep 2024 12:06:25 GMT, Julian Waters wrote: >> Hi all, >> This PR delete tedious bool type define in >> `src/java.base/unix/native/libjsig/jsig.c` and >> `src/utils/hsdis/binutils/hsdis-binutils.c`. After JEP >> 347([JDK-8246032](https://bugs.openjdk.org/browse/JDK-8246032)), I thi

RFR: 8339714: Delete tedious bool type define

2024-09-09 Thread SendaoYan
Hi all, This PR delete tedious bool type define in `src/java.base/unix/native/libjsig/jsig.c` and `src/utils/hsdis/binutils/hsdis-binutils.c`. After JEP 347([JDK-8246032](https://bugs.openjdk.org/browse/JDK-8246032)), I think we can "#include " to use bool type directly, like [string.h](http

RFR: 8338630: Test java/nio/channels/DatagramChannel/SendReceiveMaxSize.java timeout

2024-08-20 Thread SendaoYan
Hi, On linux test environments which has docker service, `ifconfig` shows that `docker0` appears to be a virtual ethernet bridge which is created by the docker host. And the `docker0` virtual ethernet bridge may cause test `java/nio/channels/DatagramChannel/SendReceiveMaxSize.java` bind `docker0

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v4]

2024-08-18 Thread SendaoYan
On Mon, 19 Aug 2024 04:43:24 GMT, Jaikiran Pai wrote: > tier1 testing with these changes against latest master branch completed > without issues. I'll go ahead and sponsor this. Thanks for the testing and sponsor. - PR Comment: https://git.openjdk.org/jdk/pull/19905#issuecomment-2

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v4]

2024-08-18 Thread SendaoYan
On Fri, 26 Jul 2024 06:29:05 GMT, SendaoYan 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

Integrated: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment

2024-08-18 Thread SendaoYan
On Wed, 26 Jun 2024 12:15:33 GMT, SendaoYan 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

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-08-14 Thread SendaoYan
On Wed, 14 Aug 2024 13:52:11 GMT, Alan Bateman wrote: > The testing scenario is very unusual but I think it's okay to skip when POSIX > permissions aren't supported. Thanks. /integrate - PR Comment: https://git.openjdk.org/jdk/pull/19905#issuecomment-2289149517

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-08-14 Thread SendaoYan
On Thu, 25 Jul 2024 13:23:37 GMT, Alan Bateman wrote: >>> Okay, but doesn't mean that lots of other tests will fail too, esp. tests >>> in jdk_nio test group. >> >> Currently we observer only this test fails of tier1. > >> > Okay, but doesn't mean that lots of other tests will fail too, esp. te

Re: RFR: 8337720: Test com/sun/jndi/dns/ConfigTests/Timeout.java fails with C1 mode by fastdebug binary

2024-08-02 Thread SendaoYan
On Fri, 2 Aug 2024 08:43:41 GMT, Alan Bateman wrote: > I assume it would be better to re-examine the timeout + retry used in the > test to make it more robust when running with a debug build and different > compilation modes. Okey, I will re-examine the timeout value in linux x64/linux aarch64

RFR: 8337720: Test com/sun/jndi/dns/ConfigTests/Timeout.java fails with C1 mode by fastdebug binary

2024-08-02 Thread SendaoYan
Hi all, The test `com/sun/jndi/dns/ConfigTests/Timeout.java` fails with `-Xcomp -XX:TieredStopAtLevel=1` jvm options by fastdebug binary. In C1 mode and with debug binary, the JIT comple time longger than -Xmixed and release binary is accatable. So this should not report fails with `-Xcomp -XX

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v4]

2024-07-26 Thread SendaoYan
On Fri, 26 Jul 2024 06:29:18 GMT, Jaikiran Pai wrote: > The latest change looks OK to me. Please wait for Alan to decide if this is > OK to integrate. Okey, thanks. - PR Comment: https://git.openjdk.org/jdk/pull/19905#issuecomment-2252123786

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-07-25 Thread SendaoYan
On Fri, 26 Jul 2024 04:30:16 GMT, Jaikiran Pai wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 1. Just catch the IOException here when getting the FileStore and skip the >> test in

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v4]

2024-07-25 Thread SendaoYan
ase, the change has been verified locally, no risk. SendaoYan has updated the pull request incrementally with one additional commit since the last revision: add the exception's toString() into SkipException - Changes: - all: https://git.openjdk.org/jdk/pull/19905/files - new

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-07-25 Thread SendaoYan
On Thu, 25 Jul 2024 13:23:37 GMT, Alan Bateman wrote: > Is this because you only run tier1 or do you mean this is the only test that > fails? We only run tier1 on rpmbuild mock enviroment. - PR Comment: https://git.openjdk.org/jdk/pull/19905#issuecomment-2250369276

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-07-25 Thread SendaoYan
On Thu, 25 Jul 2024 12:48:20 GMT, Alan Bateman wrote: > Okay, but doesn't mean that lots of other tests will fail too, esp. tests in > jdk_nio test group. Currently we observer only this test fails of tier1. - PR Comment: https://git.openjdk.org/jdk/pull/19905#issuecomment-2250252

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-07-25 Thread SendaoYan
On Thu, 25 Jul 2024 09:50:10 GMT, SendaoYan 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

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-07-25 Thread SendaoYan
On Thu, 25 Jul 2024 10:23:29 GMT, Alan Bateman wrote: > Would it possible to provide a summary on how Mock works and how we end up > with the current directory in a location that doesn't have a mount point? The rpmbuild mock enviroment is like a sandbox, which created by `chroot` shell command

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v2]

2024-07-25 Thread SendaoYan
On Thu, 25 Jul 2024 04:53:33 GMT, Jaikiran Pai wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add a word throw > > test/jdk/java/lang/invoke/lambda/LogGeneratedClassesTest.java line 2

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v3]

2024-07-25 Thread SendaoYan
I think it's a environmental issue, and the > environmental issue should not cause the test fails, it should skip the test. > > Only change the testcase, the change has been verified locally, no risk. SendaoYan has updated the pull request incrementally with one additional commit since

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v2]

2024-07-24 Thread SendaoYan
On Wed, 26 Jun 2024 15:40:36 GMT, SendaoYan 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

Re: RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-19 Thread SendaoYan
On Thu, 18 Jul 2024 11:42:17 GMT, SendaoYan wrote: >> Hi all, >> After [JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960), the >> footprint memory usage increased significantly when run the testcase with >> -Xcomp jvm options, then cause the testcase was

Integrated: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-19 Thread SendaoYan
On Mon, 24 Jun 2024 16:16:29 GMT, SendaoYan wrote: > Hi all, > After [JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960), the > footprint memory usage increased significantly when run the testcase with > -Xcomp jvm options, then cause the testcase was killed by d

Re: RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-19 Thread SendaoYan
On Mon, 24 Jun 2024 16:16:29 GMT, SendaoYan wrote: > Hi all, > After [JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960), the > footprint memory usage increased significantly when run the testcase with > -Xcomp jvm options, then cause the testcase was killed by d

Re: RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-18 Thread SendaoYan
On Mon, 24 Jun 2024 16:16:29 GMT, SendaoYan wrote: > Hi all, > After [JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960), the > footprint memory usage increased significantly when run the testcase with > -Xcomp jvm options, then cause the testcase was killed by d

Re: RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-18 Thread SendaoYan
On Thu, 18 Jul 2024 08:45:43 GMT, Serguei Spitsyn wrote: > Looks okay. I agree this needs to be reviewed by @asotona . Thanks for the review. I will wait reviewed by @asotona before integrate. - PR Comment: https://git.openjdk.org/jdk/pull/19864#issuecomment-2236003849

Re: RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-17 Thread SendaoYan
On Thu, 18 Jul 2024 05:52:51 GMT, Jaikiran Pai wrote: > So I think we should have this increase in memory reviewed by @asotona or > someone familiar in that area, before deciding whether these tests should be > changed. Okey. - PR Comment: https://git.openjdk.org/jdk/pull/19864#i

Re: RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-07-17 Thread SendaoYan
On Mon, 24 Jun 2024 16:16:29 GMT, SendaoYan wrote: > Hi all, > After [JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960), the > footprint memory usage increased significantly when run the testcase with > -Xcomp jvm options, then cause the testcase was killed by d

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts [v2]

2024-07-15 Thread SendaoYan
On Fri, 12 Jul 2024 07:39:11 GMT, SendaoYan wrote: >> Hi all, >> Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` >> doesn't receive jvm options from jtreg. >> I think it's necessory to receive jvm options from jtreg. >> Fix sol

Integrated: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-07-15 Thread SendaoYan
On Wed, 12 Jun 2024 02:00:41 GMT, SendaoYan wrote: > Hi all, > Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` > doesn't receive jvm options from jtreg. > I think it's necessory to receive jvm options from jtreg. > Fix solution similar

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts [v2]

2024-07-15 Thread SendaoYan
On Mon, 15 Jul 2024 16:02:49 GMT, Jaikiran Pai wrote: > > Does this PR need 2rd reviewer. > > core-libs area doesn't mandate 2 reviews. The current PR is a test > infrastructure change and doesn't impact the functionality of the test. The > change has been tested in our CI and appears to work

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-07-15 Thread SendaoYan
On Fri, 12 Jul 2024 07:04:33 GMT, Jaikiran Pai wrote: > What you propose in this PR looks fine to me and matches some other tests > which do a similar thing. Maybe we should do the same thing in some other > tests in this directory, to keep them consistent. For now though, I think > what you h

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts [v2]

2024-07-15 Thread SendaoYan
On Fri, 12 Jul 2024 07:39:11 GMT, SendaoYan wrote: >> Hi all, >> Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` >> doesn't receive jvm options from jtreg. >> I think it's necessory to receive jvm options from jtreg. >> Fix sol

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts [v2]

2024-07-13 Thread SendaoYan
On Fri, 12 Jul 2024 07:39:11 GMT, SendaoYan wrote: >> Hi all, >> Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` >> doesn't receive jvm options from jtreg. >> I think it's necessory to receive jvm options from jtreg. >> Fix sol

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts [v2]

2024-07-12 Thread SendaoYan
On Fri, 12 Jul 2024 07:05:58 GMT, Jaikiran Pai wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> make variable TOOL_VM_OPTIONS to private > > test/jdk/tools/jlink/JLinkReproducibleTest.

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts [v2]

2024-07-12 Thread SendaoYan
JDK-8157850), the change has > been verified, only change the testacase, the risk is low. SendaoYan has updated the pull request incrementally with one additional commit since the last revision: make variable TOOL_VM_OPTIONS to private - Changes: - all: https://git.openjdk.o

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-07-12 Thread SendaoYan
On Fri, 12 Jul 2024 07:05:34 GMT, Jaikiran Pai wrote: > I'll run this change against our CI instance just to be sure this doesn't > cause unexpected issues. I'll approve the PR once those runs complete. Thanks. - PR Comment: https://git.openjdk.org/jdk/pull/19669#issuecomment-2224

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-07-11 Thread SendaoYan
On Wed, 12 Jun 2024 02:00:41 GMT, SendaoYan wrote: > Hi all, > Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` > doesn't receive jvm options from jtreg. > I think it's necessory to receive jvm options from jtreg. > Fix solution similar

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-07-10 Thread SendaoYan
On Wed, 10 Jul 2024 06:12:56 GMT, SendaoYan wrote: >> Hi all, >> Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` >> doesn't receive jvm options from jtreg. >> I think it's necessory to receive jvm options from jtreg. >> The c

Re: RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-07-09 Thread SendaoYan
On Wed, 12 Jun 2024 02:00:41 GMT, SendaoYan wrote: > Hi all, > Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` > doesn't receive jvm options from jtreg. > I think it's necessory to receive jvm options from jtreg. > The change has been

Re: RFR: 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed [v3]

2024-07-02 Thread SendaoYan
On Tue, 2 Jul 2024 20:49:05 GMT, Dean Long wrote: > Why does 8M trigger the OOM Killer, but 1M does not? 8M trigger the OOM killer on some environments, maybe there are some test machines that 8M trigger the OOM exception rather than OOM killer. The intention of change `8M chunks per iteration`

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment [v2]

2024-06-26 Thread SendaoYan
I think it's a environmental issue, and the > environmental issue should not cause the test fails, it should skip the test. > > Only change the testcase, the change has been verified locally, no risk. SendaoYan has updated the pull request incrementally with one additional commit since the

Re: RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment

2024-06-26 Thread SendaoYan
On Wed, 26 Jun 2024 12:15:33 GMT, SendaoYan 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

RFR: 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment

2024-06-26 Thread SendaoYan
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,

RFR: 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137

2024-06-24 Thread SendaoYan
Hi all, After [JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960), the footprint memory usage increased significantly when run the testcase with -Xcomp jvm options, then cause the testcase was killed by docker by OOM. Maybe the footprint memory usage increased was inevitable, so I thin

Re: [jdk23] RFR: 8333358: java/io/IO/IO.java test fails intermittently

2024-06-24 Thread SendaoYan
On Sun, 23 Jun 2024 15:11:52 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [1b1dba80](https://github.com/openjdk/jdk/commit/1b1dba8082969244effa86ac03c6053b3b0ddc43) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

[jdk23] Integrated: 8333358: java/io/IO/IO.java test fails intermittently

2024-06-24 Thread SendaoYan
On Sun, 23 Jun 2024 15:11:52 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [1b1dba80](https://github.com/openjdk/jdk/commit/1b1dba8082969244effa86ac03c6053b3b0ddc43) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

Re: [jdk23] RFR: 8333358: java/io/IO/IO.java test fails intermittently

2024-06-24 Thread SendaoYan
On Sun, 23 Jun 2024 15:11:52 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [1b1dba80](https://github.com/openjdk/jdk/commit/1b1dba8082969244effa86ac03c6053b3b0ddc43) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

Re: [jdk23] RFR: 8334441: Mark tests in jdk_security_infra group as manual

2024-06-23 Thread SendaoYan
On Sat, 22 Jun 2024 08:07:54 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [8e1d2b09](https://github.com/openjdk/jdk/commit/8e1d2b091c9a311d98a0b886a803fb18d4405d8a) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

[jdk23] Integrated: 8334441: Mark tests in jdk_security_infra group as manual

2024-06-23 Thread SendaoYan
On Sat, 22 Jun 2024 08:07:54 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [8e1d2b09](https://github.com/openjdk/jdk/commit/8e1d2b091c9a311d98a0b886a803fb18d4405d8a) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

[jdk23] RFR: 8333358: java/io/IO/IO.java test fails intermittently

2024-06-23 Thread SendaoYan
Hi all, This pull request contains a backport of commit [1b1dba80](https://github.com/openjdk/jdk/commit/1b1dba8082969244effa86ac03c6053b3b0ddc43) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. The commit being backported was authored by Pavel Rappo on 20 Jun 2024 and was revi

Re: [jdk23] RFR: 8334441: Mark tests in jdk_security_infra group as manual

2024-06-22 Thread SendaoYan
On Sat, 22 Jun 2024 08:07:54 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [8e1d2b09](https://github.com/openjdk/jdk/commit/8e1d2b091c9a311d98a0b886a803fb18d4405d8a) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

[jdk23] RFR: 8334441: Mark tests in jdk_security_infra group as manual

2024-06-22 Thread SendaoYan
Hi all, This pull request contains a backport of commit [8e1d2b09](https://github.com/openjdk/jdk/commit/8e1d2b091c9a311d98a0b886a803fb18d4405d8a) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. The commit being backported was authored by Rajan Halade on 21 Jun 2024 and was rev

[jdk23] Integrated: 8334333: MissingResourceCauseTestRun.java fails if run by root

2024-06-21 Thread SendaoYan
On Fri, 21 Jun 2024 00:49:33 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [de8ee977](https://github.com/openjdk/jdk/commit/de8ee97718d7e12b541b310cf5b67f3e10e91ad9) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

Re: [jdk23] RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root

2024-06-21 Thread SendaoYan
On Fri, 21 Jun 2024 00:49:33 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [de8ee977](https://github.com/openjdk/jdk/commit/de8ee97718d7e12b541b310cf5b67f3e10e91ad9) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

Re: [jdk23] RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root

2024-06-21 Thread SendaoYan
On Fri, 21 Jun 2024 00:49:33 GMT, SendaoYan wrote: > Hi all, > > This pull request contains a backport of commit > [de8ee977](https://github.com/openjdk/jdk/commit/de8ee97718d7e12b541b310cf5b67f3e10e91ad9) > from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. >

[jdk23] RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root

2024-06-20 Thread SendaoYan
Hi all, This pull request contains a backport of commit [de8ee977](https://github.com/openjdk/jdk/commit/de8ee97718d7e12b541b310cf5b67f3e10e91ad9) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. The commit being backported was authored by SendaoYan on 20 Jun 2024 and was

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v4]

2024-06-20 Thread SendaoYan
On Tue, 18 Jun 2024 07:41:35 GMT, SendaoYan wrote: >> Hi all, >> Testcase >> `test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java` >> run fails with root user privileged. I think it's necessary to skip this >> testcase when user is

Integrated: 8334333: MissingResourceCauseTestRun.java fails if run by root

2024-06-20 Thread SendaoYan
On Sat, 15 Jun 2024 09:56:53 GMT, SendaoYan wrote: > Hi all, > Testcase > `test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java` > run fails with root user privileged. I think it's necessary to skip this > testcase when user is root. > Why run the

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v4]

2024-06-18 Thread SendaoYan
On Tue, 18 Jun 2024 07:41:35 GMT, SendaoYan wrote: >> Hi all, >> Testcase >> `test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java` >> run fails with root user privileged. I think it's necessary to skip this >> testcase when user is

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v3]

2024-06-18 Thread SendaoYan
On Tue, 18 Jun 2024 07:31:59 GMT, Justin Lu wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add a whitespace before if > > test/jdk/java/util/ResourceBundle/Control/MissingResour

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v4]

2024-06-18 Thread SendaoYan
pmbuild process for > linux distribution of JDK, root user is the default user to build the > openjdk, also is the default user to run the `make test-tier1`, this PR make > this testcase more robustness. > The change has been verified, only change the testcase, no risk. SendaoYan ha

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v3]

2024-06-17 Thread SendaoYan
pmbuild process for > linux distribution of JDK, root user is the default user to build the > openjdk, also is the default user to run the `make test-tier1`, this PR make > this testcase more robustness. > The change has been verified, only change the testcase, no risk. SendaoYan ha

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v2]

2024-06-17 Thread SendaoYan
On Tue, 18 Jun 2024 06:18:48 GMT, Andrey Turbanov wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> change the excption meassges to: Unable to create an unreadable properties >&g

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v2]

2024-06-17 Thread SendaoYan
On Mon, 17 Jun 2024 18:46:34 GMT, Naoto Sato wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> change the excption meassges to: Unable to create an unreadable properties >> file > &g

Re: RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v2]

2024-06-17 Thread SendaoYan
pmbuild process for > linux distribution of JDK, root user is the default user to build the > openjdk, also is the default user to run the `make test-tier1`, this PR make > this testcase more robustness. > The change has been verified, only change the testcase, no risk. SendaoYan ha

RFR: 8334333: Run test MissingResourceCauseTestRun.java with root user fails

2024-06-15 Thread SendaoYan
Hi all, Testcase `test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java` run fails with root user privileged. I think it's necessary to skip this testcase when user is root. The change has been verified, only change the testcase, no risk. - Commit messages: -

RFR: 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts

2024-06-11 Thread SendaoYan
Hi all, Currently, the testcase `test/jdk/tools/jlink/JLinkReproducibleTest.java` doesn't receive jvm options from jtreg. I think it's necessory to receive jvm options from jtreg. The change has been verified, only change the testacase, the risk is low. - Commit messages: - 8334057:

Re: RFR: 8333477: Delete extra empty spaces in Makefiles [v2]

2024-06-07 Thread SendaoYan
On Fri, 7 Jun 2024 07:29:39 GMT, SendaoYan wrote: >> Hi all, >> This PR several extra empty spaces and extra empty lines in several >> Makefiles. It's trivial fix, no risk. >> >> Thanks. > > SendaoYan has updated the pull request incrementally wit

Integrated: 8333477: Delete extra empty spaces in Makefiles

2024-06-07 Thread SendaoYan
On Tue, 4 Jun 2024 07:47:46 GMT, SendaoYan wrote: > Hi all, > This PR several extra empty spaces and extra empty lines in several > Makefiles. It's trivial fix, no risk. > > Thanks. This pull request has now been integrated. Changeset: d130d2f4 Author:SendaoYa

Re: RFR: 8333477: Delete extra empty spaces in Makefiles [v2]

2024-06-07 Thread SendaoYan
On Fri, 7 Jun 2024 12:53:46 GMT, Chen Liang wrote: >> No, it's an extra newline. A file should end with a newline but one is >> enough. > > As confusing as they are, unfortunately GitHub UI does not render extra > trailing newlines. This is the only one I could find with grepWin. I find the ex

Re: RFR: 8333477: Delete extra empty spaces in Makefiles [v2]

2024-06-07 Thread SendaoYan
On Fri, 7 Jun 2024 07:29:39 GMT, SendaoYan wrote: >> Hi all, >> This PR several extra empty spaces and extra empty lines in several >> Makefiles. It's trivial fix, no risk. >> >> Thanks. > > SendaoYan has updated the pull request incrementally wit

Re: RFR: 8333477: Delete extra empty spaces in Makefiles [v2]

2024-06-07 Thread SendaoYan
On Thu, 6 Jun 2024 17:49:08 GMT, Chen Liang wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> delete extra empty trailing blank line in >> test/jdk/java/rmi/reliability/benchmark/bench/

Re: RFR: 8333477: Delete extra empty spaces in Makefiles [v2]

2024-06-07 Thread SendaoYan
> Hi all, > This PR several extra empty spaces and extra empty lines in several > Makefiles. It's trivial fix, no risk. > > Thanks. SendaoYan has updated the pull request incrementally with one additional commit since the last revision: delete extra empty trailing bla

Re: RFR: 8333477: Delete extra empty spaces in Makefiles

2024-06-04 Thread SendaoYan
On Tue, 4 Jun 2024 07:47:46 GMT, SendaoYan wrote: > Hi all, > This PR several extra empty spaces and extra empty lines in several > Makefiles. It's trivial fix, no risk. > > Thanks. Thanks for the review. Thanks all for the review. - PR Comment: https:/

Re: RFR: 8333477: Delete extra empty spaces in Makefiles

2024-06-04 Thread SendaoYan
On Tue, 4 Jun 2024 07:47:46 GMT, SendaoYan wrote: > Hi all, > This PR several extra empty spaces and extra empty lines in several > Makefiles. It's trivial fix, no risk. > > Thanks. > /label build Thanks. - PR Comment: https://git.openjdk.org/jdk/

  1   2   >