Integrated: 8326529: JFR: Test for CompilerCompile events fails due to time out

Robert Toyonaga duke at openjdk.org
Wed Feb 28 00:52:55 UTC 2024


On Mon, 26 Feb 2024 16:32:04 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

> The test `jdk\jfr\event\compiler\TestCompilerCompile.java` times-out waiting for the compilation of the test methods.
> 
> #-----testresult-----
> description=file:/C:/cygwin64/home/rtoyonag/jdk8u/jdk/test/jdk/jfr/event/compiler/TestCompilerCompile.java
> elapsed=121659 0:02:01.659
> end=Thu Feb 22 18:52:04 UTC 2024
> environment=regtest
> execStatus=Error. Program `C:\\cygwin64\\home\\rtoyonag\\jdk8u\\build\\windows-x86-normal-server-release\\images\\j2sdk-image\\bin\\java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 120404ms).
> harnessLoaderMode=Classpath Loader
> harnessVariety=Full Bundle
> hostname=TEST-WIN2016-1.2nnkwmsaofoerpj2hhoaq1ahee.bx.internal.cloudapp.net
> javatestOS=Windows Server 2016 10.0 (amd64)
> javatestVersion=6.0-ea+b24-2024-02-01-${BUILT_FROM_COMMIT}
> jtregVersion=jtreg 7.3.1 dev 0
> script=com.sun.javatest.regtest.exec.RegressionScript
> sections=script_messages build build main build main
> start=Thu Feb 22 18:50:02 UTC 2024
> test=jdk/jfr/event/compiler/TestCompilerCompile.java
> testJDK=C:\\cygwin64\\home\\rtoyonag\\jdk8u\\build\\windows-x86-normal-server-release\\images\\j2sdk-image
> testJDK_OS=[name:Windows Server 2016,arch:x86,version:10.0,family:windows,simple_arch:i586,simple_version:10.0,processors:2,maxMemory:8589463552,maxSwap:13622628352]
> testJDK_os.arch=x86
> testJDK_os.name=Windows Server 2016
> testJDK_os.version=10.0
> totalTime=121662
> user.name=rtoyonag
> work=C:\\cygwin64\\home\\rtoyonag\\jdk8u\\JTwork\\jdk\\jfr\\event\\compiler
> ...
> Timeout signalled after 120 seconds
> result: Error. Program `C:\cygwin64\home\rtoyonag\jdk8u\build\windows-x86-normal-server-release\images\j2sdk-image\bin\java' timed out (timeout set to 120000ms, elapsed time including timeout handling was 120404ms).
> 
> 
> This PR limits compilation only to the test methods we care about ([similar to what `jdk\jfr\event\compiler\TestCompilerPhases.java` does](https://github.com/openjdk/jdk/blob/master/test/jdk/jdk/jfr/event/compiler/TestCompilerPhase.java#L46)).
> 
> This problem is seen in [Adoptium automated tests](https://github.com/adoptium/aqa-tests/issues/3046) for windows 32 bit. I've only been able to reproduce the issue with JDK8, but the test code has not changed since JDK8 so I think it makes sense to make the change here and backport it.  Although I haven't seen the problem in later JDK versions, it shouldn't hurt to limit compilation to the specific test methods we care about.

This pull request has now been integrated.

Changeset: 4dd6c44c
Author:    Robert Toyonaga <rtoyonag at redhat.com>
Committer: Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4dd6c44cbdb0b5957414fa87b6c559fa4d6f2fa8
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8326529: JFR: Test for CompilerCompile events fails due to time out

Reviewed-by: egahlin

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

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


More information about the hotspot-jfr-dev mailing list