Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test_openjdk8_hs_sanity.openjdk_x86-64_linux unstable everynight #1750

Closed
M-Davies opened this issue Apr 24, 2020 · 14 comments
Closed

Test_openjdk8_hs_sanity.openjdk_x86-64_linux unstable everynight #1750

M-Davies opened this issue Apr 24, 2020 · 14 comments
Labels
Projects
Milestone

Comments

@M-Davies
Copy link
Contributor

Describe the bug
https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_linux has been failing on a near nightly basis with various test failures that seem to differ everynight and between machines. The purpose of this issue is to document these failures and identify a pattern across machines and nightly versions.

22/04/2020
https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_linux/324/ on test-godaddy-ubuntu1604-x64-4

com/sun/jdi/BadHandshakeTest.java.BadHandshakeTest
com/sun/jdi/ExclusiveBind.java.ExclusiveBind
com/sun/jdi/JITDebug.sh.JITDebug
com/sun/jdi/ProcessAttachTest.sh.ProcessAttachTest
com/sun/jdi/RunToExit.java.RunToExit

23/04/2020
https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_linux/325/ on test-godaddy-ubuntu1604-x64-4

com/sun/jdi/BadHandshakeTest.java.BadHandshakeTest
com/sun/jdi/ExclusiveBind.java.ExclusiveBind
com/sun/jdi/JITDebug.sh.JITDebug
com/sun/jdi/ProcessAttachTest.sh.ProcessAttachTest
com/sun/jdi/RunToExit.java.RunToExit

24/04/2020
https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_linux/326/ on test-godaddy-centos7-x64-2

java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java.FieldSetAccessibleTest
java/lang/ProcessBuilder/Basic.java.Basic
java/lang/SecurityManager/CheckPackageAccess.java.CheckPackageAccess
sun/misc/IOUtils/ReadAllBytes.java.ReadAllBytes
sun/misc/IOUtils/ReadNBytes.java.ReadNBytes
sun/misc/URLClassPath/JarClassPathFileEntry.java.JarClassPathFileEntry
java/util/Locale/Bug8040211.java.Bug8040211
java/util/Objects/CheckIndex.java.CheckIndex
java/util/TimeZone/TimeZoneTest.java.TimeZoneTest
@M-Davies
Copy link
Contributor Author

I kicked off a set of grinders to see if I could get a baseline for the failures we've been seeing above but it looks like most of them passed?!

Grinder Machine Result
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2921/ test-godaddy-centos7-x64-3 PASSED
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2922/ test-packet-ubuntu1604-x64-2 PASSED
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2923/ test-godaddy-ubuntu1604-x64-4 FAILURES: com/sun/jdi/BadHandshakeTest.java, com/sun/jdi/ExclusiveBind.java, com/sun/jdi/JITDebug.sh, com/sun/jdi/ProcessAttachTest.sh, com/sun/jdi/RunToExit.java
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2924/ test-godaddy-centos7-x64-1 PASSED
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2925/ test-packet-ubuntu1604-x64-3 PASSED
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2926/ test-packet-ubuntu1604-x64-1 PASSED
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2927/ test-godaddy-centos7-x64-2 PASSED

@M-Davies
Copy link
Contributor Author

Only test-godaddy-ubuntu1604-x64-4 seemed to have reproducible errors attached to it. Running a new grinder to confirm https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2936/

@M-Davies
Copy link
Contributor Author

M-Davies commented Apr 27, 2020

Last night's x-linux run was on test-godaddy-ubuntu1604-x64-4 so I'll start diagnosing with that:

Regarding,

com/sun/jdi/BadHandshakeTest.java
com/sun/jdi/ExclusiveBind.java
com/sun/jdi/RunToExit.java
com/sun/jdi/ProcessAttachTest.sh
com/sun/jdi/JITDebug.sh

test-godaddy-ubuntu1604-x64-4 appears to be missing a net dependancy. All the tests are failing with a similar error to

java.net.UnknownHostException: test-godaddy-ubuntu1604-x64-4.adoptopenjdk.net: test-godaddy-ubuntu1604-x64-4.adoptopenjdk.net: Name or service not known
	at java.net.InetAddress.getLocalHost(InetAddress.java:1506)
	at com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:201)
	at com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:116)
	at com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:90)
	at RunToExit.main(RunToExit.java:164)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.UnknownHostException: test-godaddy-ubuntu1604-x64-4.adoptopenjdk.net: Name or service not known
	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
	at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
	at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
	at java.net.InetAddress.getLocalHost(InetAddress.java:1501)
	... 10 more

This is basically the same issue as adoptium/infrastructure#1145.

@M-Davies
Copy link
Contributor Author

As for the intermittents, I'm not 100% sure what's going on here. For one, the tests I'm seeing in the nightlies seem pretty consistant. Example:

java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java.FieldSetAccessibleTest
java/lang/ProcessBuilder/Basic.java.Basic
java/lang/SecurityManager/CheckPackageAccess.java.CheckPackageAccess
sun/misc/IOUtils/ReadAllBytes.java.ReadAllBytes
sun/misc/IOUtils/ReadNBytes.java.ReadNBytes
sun/misc/URLClassPath/JarClassPathFileEntry.java.JarClassPathFileEntry
java/util/Locale/Bug8040211.java.Bug8040211
java/util/Objects/CheckIndex.java.CheckIndex
java/util/TimeZone/TimeZoneTest.java.TimeZoneTest

But this doesn't seem reproducible in Grinders, even when running on the same machine:

I will running another grinder, matching the same JDK version from https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk8_hs_sanity.openjdk_x86-64_linux/331/consoleFull to see if I can get a result from that

@M-Davies
Copy link
Contributor Author

M-Davies commented Apr 27, 2020

Ok so I managed to reproduce the other errors. https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/2945/

The reason I wasn't able to reproduce this before was because I was just running these tests against the normal nightly builds, where these tests are passing.

However, the cause of these failures is from the https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-x64-hotspot-jfr/ job.
Screenshot 2020-04-27 at 17 12 59

@smlambert
Copy link
Contributor

smlambert commented Apr 27, 2020

re: #1750 (comment) leads me to ask a couple of questions:

  • is the jfr job building from a different jdk-jdk8u repo than the nightly builds? (this is also tangentially related to the corretto build/test issue Triage corretto jdk8u/jdk11u xlinux sanity.openjdk test failures temurin-build#1674, where that job seems to be building from a slightly different version of jdk-jdk11u than nightlies... if this is the case, then builds that are not using tip for nightly builds, then they need to pass the tag or SHA to the test pipeline, much like we do for release builds)

  • what amount of testing should we be running against this build? (related: Disable hotspot-jfr build trigger sanity.external test job temurin-build#1469 we have already disabled some testing, due to amount of resources consumed, time required to triage)

  • are jfr builds part of the overall nightly/release build pipeline?

@M-Davies
Copy link
Contributor Author

M-Davies commented Apr 28, 2020

  • is the jfr job building from a different jdk-jdk8u repo than the nightly builds? (this is also tangentially related to the corretto build/test issue AdoptOpenJDK/openjdk-build#1674, where that job seems to be building from a slightly different version of jdk-jdk11u than nightlies... if this is the case, then builds that are not using tip for nightly builds, then they need to pass the tag or SHA to the test pipeline, much like we do for release builds)

The set up configuration for jfr on jdk8 is here which points to our jfr repo (makes sense).
https://github.com/AdoptOpenJDK/openjdk-build/blob/9a784eb0622e9156ea2a86ee99730fa95a938d42/build-farm/platform-specific-configurations/linux.sh#L144
This is also shown in the logs:

Retrieving cacerts file if needed
origin	https://github.com/AdoptOpenJDK/openjdk-jdk8u-jfr-incubator.git (fetch)
origin	https://github.com/AdoptOpenJDK/openjdk-jdk8u-jfr-incubator.git (push)
jdk8
Removing current git repo as it is the wrong type
git clone --depth=1 https://github.com/AdoptOpenJDK/openjdk-jdk8u-jfr-incubator.git /home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-linux-x64-hotspot-jfr/workspace/./build//src

It's wise to assume that we are not using tip to build this, especially since the last commit was back in September 😬.

  • what amount of testing should we be running against this build? (related: AdoptOpenJDK/openjdk-build#1469 we have already disabled some testing, due to amount of resources consumed, time required to triage)

That depends on our machine capacity, manpower able to triage and amount of experts with jfr I guess. sanity.openjdk seems appropriate to continue running for AQA reasons but the rest of the suites could probably be disabled seeing as we don't appear to release it anyway (see below).

  • are jfr builds part of the overall nightly/release build pipeline?

Nightly builds yes. They are passed in as one of our xlinux builds, the same way as openj9 and correto are.

As for release, I don't think so. Looking at a recent April release, I don't see any reference to jfr. Nor can I see any reference to enabling it by default in the build-scripts. It's odd that we build it in the nightlies but don't appear to regularly release it.
@gdams would probably be best to shed some more light on this.

@M-Davies
Copy link
Contributor Author

M-Davies commented Apr 28, 2020

Kicking off some more grinders with a jfr url attached reveals a lot more light on the issues seen above.

On both ubuntu and centos machines, I'm seeing 9 failures:

java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java
java/lang/ProcessBuilder/Basic.java
java/lang/SecurityManager/CheckPackageAccess.java
sun/misc/IOUtils/ReadAllBytes.java
sun/misc/IOUtils/ReadNBytes.java
sun/misc/URLClassPath/JarClassPathFileEntry.java
java/util/Locale/Bug8040211.java
java/util/Objects/CheckIndex.java
java/util/TimeZone/TimeZoneTest.java

and on ubuntu machines only, I'm seeing an additional failure to those 9: NOW PASSING

java/math/BigInteger/ModInvTime.java => Timeout

These failures at the very least should be triaged seeing as they're sanity tests.

@karianna karianna moved this from TODO to In Progress in aqa-tests Apr 28, 2020
@M-Davies
Copy link
Contributor Author

PR to exclude tests affected by UnknownHostExceptions
#1785

@M-Davies
Copy link
Contributor Author

Summary of JFR failures

  • java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java => Can't find a JDK/jfr class
Stacktrace

Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed for the following classes: [jdk/jfr/events/SocketReadEvent.class, jdk/jfr/events/FileWriteEvent.class, jdk/jfr/events/ActiveSettingEvent.class, jdk/jfr/events/ErrorThrownEvent.class, jdk/jfr/events/FileReadEvent.class, jdk/jfr/events/ExceptionStatisticsEvent.class, jdk/jfr/events/SocketWriteEvent.class, jdk/jfr/events/FileForceEvent.class, jdk/jfr/events/ActiveRecordingEvent.class, jdk/jfr/events/ExceptionThrownEvent.class] 
 
Standard Output
Running test case: UNSECURE
Testing UNSECURE
Unreadable path elements: [/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/jre/lib/sunrsasign.jar, /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/jre/classes]
Skipped path elements: []
Failed path elements: [jdk/jfr/events/SocketReadEvent.class, jdk/jfr/events/FileWriteEvent.class, jdk/jfr/events/ActiveSettingEvent.class, jdk/jfr/events/ErrorThrownEvent.class, jdk/jfr/events/FileReadEvent.class, jdk/jfr/events/ExceptionStatisticsEvent.class, jdk/jfr/events/SocketWriteEvent.class, jdk/jfr/events/FileForceEvent.class, jdk/jfr/events/ActiveRecordingEvent.class, jdk/jfr/events/ExceptionThrownEvent.class]
Tested 84845 fields of 20489 classes in 2s 924ms 395539ns
    
Standard Error
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
java.lang.RuntimeException: Test failed for the following classes: [jdk/jfr/events/SocketReadEvent.class, jdk/jfr/events/FileWriteEvent.class, jdk/jfr/events/ActiveSettingEvent.class, jdk/jfr/events/ErrorThrownEvent.class, jdk/jfr/events/FileReadEvent.class, jdk/jfr/events/ExceptionStatisticsEvent.class, jdk/jfr/events/SocketWriteEvent.class, jdk/jfr/events/FileForceEvent.class, jdk/jfr/events/ActiveRecordingEvent.class, jdk/jfr/events/ExceptionThrownEvent.class]
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:177)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed for the following classes: [jdk/jfr/events/SocketReadEvent.class, jdk/jfr/events/FileWriteEvent.class, jdk/jfr/events/ActiveSettingEvent.class, jdk/jfr/events/ErrorThrownEvent.class, jdk/jfr/events/FileReadEvent.class, jdk/jfr/events/ExceptionStatisticsEvent.class, jdk/jfr/events/SocketWriteEvent.class, jdk/jfr/events/FileForceEvent.class, jdk/jfr/events/ActiveRecordingEvent.class, jdk/jfr/events/ExceptionThrownEvent.class]
  • java/lang/ProcessBuilder/Basic.java => Negative timeout, testing if it's jfr or machine related.
Standard Output
This appears to be a Unix system.
Testing ASCII environment values
Testing Latin1 environment values
Testing Unicode environment values
Testing directory .
Testing directory ..
Testing directory /
Testing directory /bin
cmdp
cmdp 0: /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/jre/bin/java
cmdp 1: -XX:+DisplayVMOutputToStderr
cmdp 2: -classpath
cmdp 3: /home/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15893634085431/jdk_lang_0/work/classes/0/java/lang/ProcessBuilder:/home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/ProcessBuilder:/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/jtreg.jar
cmdp 4: Basic$JavaChild
cmdp 5: System.getenv()
envp
envp 0: LC_ALL=C\u0000\u0000
envp 1: FO\u0000=B\u0000R
 waitFor process: delta: 49743

Passed = 8952, failed = 1

    
Standard Error
java.lang.IllegalArgumentException: timeout value is negative
	at java.lang.Object.wait(Native Method)
	at java.lang.UNIXProcess.waitFor(UNIXProcess.java:412)
	at Basic$75.run(Basic.java:2352)
java.lang.AssertionError: Some tests failed
	at Basic.main(Basic.java:2578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
  • java/lang/SecurityManager/CheckPackageAccess.java => Security error, it shouldn't be able to access that package.
Stacktrace
Execution failed: `main' threw exception: java.lang.RuntimeException: Able to define class in jdk.jfr.events. package    
Standard Output
    
Standard Error
java.lang.RuntimeException: Able to define class in jdk.jfr.events. package
	at CheckPackageAccess.main(CheckPackageAccess.java:152)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)
  • sun/misc/IOUtils/ReadAllBytes.java.ReadAllBytes => Fails to compile due to missing (I assume, jfr) symbols.
10:53:35  direct:
10:53:35  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/sun/misc/IOUtils/ReadAllBytes.java:63: error: cannot find symbol
10:53:35          byte[] readBytes = IOUtils.readAllBytes(in);
10:53:35                                    ^
10:53:35    symbol:   method readAllBytes(WrapperInputStream)
10:53:35    location: class IOUtils
10:53:35  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/sun/misc/IOUtils/ReadAllBytes.java:73: error: cannot find symbol
10:53:35          check(IOUtils.readAllBytes(in).length == 0,
10:53:35                       ^
10:53:35    symbol:   method readAllBytes(WrapperInputStream)
10:53:35    location: class IOUtils
10:53:35  2 errors
  • sun/misc/IOUtils/ReadNBytes.java.ReadNBytes => Fails to compile due to method type errors
10:53:35  direct:
10:53:35  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/sun/misc/IOUtils/ReadNBytes.java:70: error: method readNBytes in class IOUtils cannot be applied to given types;
10:53:35          int nread = IOUtils.readNBytes(in, readBytes, 0, readBytes.length);
10:53:35                             ^
10:53:35    required: InputStream,int
10:53:35    found: WrapperInputStream,byte[],int,int
10:53:35    reason: actual and formal argument lists differ in length
10:53:35  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/sun/misc/IOUtils/ReadNBytes.java:81: error: method readNBytes in class IOUtils cannot be applied to given types;
10:53:35          nread = IOUtils.readNBytes(in, readBytes, 0, readBytes.length);
10:53:35                         ^
10:53:35    required: InputStream,int
10:53:35    found: WrapperInputStream,byte[],int,int
10:53:35    reason: actual and formal argument lists differ in length
10:53:35  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/sun/misc/IOUtils/ReadNBytes.java:95: error: method readNBytes in class IOUtils cannot be applied to given types;
10:53:35          check((x = IOUtils.readNBytes(in, tmp, 0, tmp.length)) == 0,
10:53:35                            ^
10:53:35    required: InputStream,int
10:53:35    found: WrapperInputStream,byte[],int,int
10:53:35    reason: actual and formal argument lists differ in length
10:53:35  3 errors
  • sun/misc/URLClassPath/JarClassPathFileEntry.java => Class not found. Probably similar to FieldSetAccessibleTest
Stacktrace
Execution failed: `main' threw exception: java.lang.ClassNotFoundException: Other
   
Standard Output
Creating Context.jar with Class-Path: file:/home/jenkins/workspace/Grinder/openjdk-tests/TKG/test_output_15893634085431/jdk_lang_0/work/classes/0/sun/misc/URLClassPath/OTHER/Other.jar
Loaded: class Other

10:53:35  STDERR:
10:53:35  java.lang.ClassNotFoundException: Other
10:53:35  	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
10:53:35  	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
10:53:35  	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
10:53:35  	at java.lang.Class.forName0(Native Method)
10:53:35  	at java.lang.Class.forName(Class.java:348)
10:53:35  	at JarClassPathFileEntry.main(JarClassPathFileEntry.java:89)
10:53:35  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
10:53:35  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
10:53:35  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:53:35  	at java.lang.reflect.Method.invoke(Method.java:498)
10:53:35  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
10:53:35  	at java.lang.Thread.run(Thread.java:748)
  • java/util/Locale/Bug8040211.java => Language failure. Not sure if this is JFR related.
Standard Output
Test LanguageRange class parse method...
  Actual size=52
Test Locale class methods...

Incorrect #1 filter(EXTENDED_FILTERING) result.
  Priority list  :  mtm-RU, en-gb-oed, coy, ar-HY
  Language tags  :  de-DE, en, mtm-RU, ymt-RU, en-gb-oxendict, ja-JP, pij, nts, ar-arevela
  Expected value : mtm-RU, ymt-RU, en-GB-oxendict, nts, pij
  Actual value   : mtm-RU, ymt-RU, en-GB-oxendict, nts, pij, ar-arevela
  test_filter() failed.
  test_filterTags() passed.
  test_lookup() passed.
  test_lookupTag() passed.
    
Standard Error
  Expected size=51
    range=aam, weight=1.0
    range=aas, weight=1.0
    range=adp, weight=1.0
    range=dz, weight=1.0
    range=aue, weight=1.0
    range=ktz, weight=1.0
    range=bcg, weight=1.0
    range=bgm, weight=1.0
    range=cqu, weight=1.0
    range=quh, weight=1.0
    range=ema, weight=1.0
    range=uok, weight=1.0
    range=en-gb-oed, weight=1.0
    range=en-gb-oxendict, weight=1.0
    range=gti, weight=1.0
    range=nyc, weight=1.0
    range=kdz, weight=1.0
    range=ncp, weight=1.0
    range=koj, weight=1.0
    range=kwv, weight=1.0
    range=kwq, weight=1.0
    range=yam, weight=1.0
    range=kxe, weight=1.0
    range=tvd, weight=1.0
    range=lii, weight=1.0
    range=raq, weight=1.0
    range=lmm, weight=1.0
    range=rmx, weight=1.0
    range=mtm, weight=1.0
    range=ymt, weight=1.0
    range=ngv, weight=1.0
    range=nnx, weight=1.0
    range=oyb, weight=1.0
    range=thx, weight=1.0
    range=skk, weight=1.0
    range=jeg, weight=1.0
    range=phr, weight=1.0
    range=pmu, weight=1.0
    range=pub, weight=1.0
    range=puz, weight=1.0
    range=suj, weight=1.0
    range=xsj, weight=1.0
    range=taj, weight=0.9
    range=tsf, weight=0.9
    range=ar-hyw, weight=0.8
    range=yug, weight=0.5
    range=yuu, weight=0.5
    range=gfx, weight=0.4
    range=oun, weight=0.4
    range=mwj, weight=0.4
    range=vaj, weight=0.4
    range=aam, weight=1.0
    range=aas, weight=1.0
    range=adp, weight=1.0
    range=dz, weight=1.0
    range=aue, weight=1.0
    range=ktz, weight=1.0
    range=bcg, weight=1.0
    range=bgm, weight=1.0
    range=cqu, weight=1.0
    range=quh, weight=1.0
    range=ema, weight=1.0
    range=uok, weight=1.0
    range=en-gb-oed, weight=1.0
    range=en-gb-oxendict, weight=1.0
    range=gti, weight=1.0
    range=nyc, weight=1.0
    range=kdz, weight=1.0
    range=ncp, weight=1.0
    range=koj, weight=1.0
    range=kwv, weight=1.0
    range=kwq, weight=1.0
    range=yam, weight=1.0
    range=kxe, weight=1.0
    range=tvd, weight=1.0
    range=lii, weight=1.0
    range=raq, weight=1.0
    range=lmm, weight=1.0
    range=rmx, weight=1.0
    range=mtm, weight=1.0
    range=ymt, weight=1.0
    range=ngv, weight=1.0
    range=nnx, weight=1.0
    range=oyb, weight=1.0
    range=thx, weight=1.0
    range=skk, weight=1.0
    range=jeg, weight=1.0
    range=phr, weight=1.0
    range=pmu, weight=1.0
    range=pub, weight=1.0
    range=puz, weight=1.0
    range=suj, weight=1.0
    range=xsj, weight=1.0
    range=taj, weight=0.9
    range=tsf, weight=0.9
    range=ar-hyw, weight=0.8
    range=ar-arevmda, weight=0.8
    range=yug, weight=0.5
    range=yuu, weight=0.5
    range=gfx, weight=0.4
    range=oun, weight=0.4
    range=mwj, weight=0.4
    range=vaj, weight=0.4
    language parse() test failed.
  test_parse() failed.
java.lang.RuntimeException: Failed.
	at Bug8040211.main(Bug8040211.java:50)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.lang.Thread.run(Thread.java:748)
  • java/util/Objects/CheckIndex.java => Compilation failed with symbol failures
11:09:18  direct:
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:31: error: cannot find symbol
11:09:18  import com.sun.crypto.provider.Preconditions;
11:09:18                                ^
11:09:18    symbol:   class Preconditions
11:09:18    location: package com.sun.crypto.provider
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:102: error: cannot find symbol
11:09:18                                   : Preconditions.outOfBoundsExceptionFormatter(IndexOutOfBoundsException::new).
11:09:18                                     ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:124: error: cannot find symbol
11:09:18                       () -> Preconditions.checkIndex(index, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:127: error: cannot find symbol
11:09:18                       () -> Preconditions.checkIndex(index, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:130: error: cannot find symbol
11:09:18                       () -> Preconditions.checkIndex(index, length, null));
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:133: error: cannot find symbol
11:09:18                                                      Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
11:09:18                                                      ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:132: error: cannot find symbol
11:09:18                       () -> Preconditions.checkIndex(index, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:136: error: cannot find symbol
11:09:18                                                      Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
11:09:18                                                      ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:135: error: cannot find symbol
11:09:18                       () -> Preconditions.checkIndex(index, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:163: error: cannot find symbol
11:09:18                                   : Preconditions.outOfBoundsExceptionFormatter(IndexOutOfBoundsException::new).
11:09:18                                     ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:185: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromToIndex(fromIndex, toIndex, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:188: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromToIndex(fromIndex, toIndex, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:191: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromToIndex(fromIndex, toIndex, length, null));
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:194: error: cannot find symbol
11:09:18                                                            Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
11:09:18                                                            ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:193: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromToIndex(fromIndex, toIndex, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:197: error: cannot find symbol
11:09:18                                                            Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
11:09:18                                                            ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:196: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromToIndex(fromIndex, toIndex, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:231: error: cannot find symbol
11:09:18                                   : Preconditions.outOfBoundsExceptionFormatter(IndexOutOfBoundsException::new).
11:09:18                                     ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:253: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromIndexSize(fromIndex, size, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:256: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromIndexSize(fromIndex, size, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:259: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromIndexSize(fromIndex, size, length, null));
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:262: error: cannot find symbol
11:09:18                                                              Preconditions.outOfBoundsExceptionFormatter(ArrayIndexOutOfBoundsException::new)));
11:09:18                                                              ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:261: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromIndexSize(fromIndex, size, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:265: error: cannot find symbol
11:09:18                                                              Preconditions.outOfBoundsExceptionFormatter(StringIndexOutOfBoundsException::new)));
11:09:18                                                              ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:264: error: cannot find symbol
11:09:18                       () -> Preconditions.checkFromIndexSize(fromIndex, size, length,
11:09:18                             ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  /home/jenkins/workspace/Grinder/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/util/Objects/CheckIndex.java:271: error: cannot find symbol
11:09:18                  Preconditions.outOfBoundsExceptionFormatter(IndexOutOfBoundsException::new);
11:09:18                  ^
11:09:18    symbol:   variable Preconditions
11:09:18    location: class CheckIndex
11:09:18  26 errors
  • java/util/TimeZone/TimeZoneTest.java => Mismatched time id's
Standard Output
TimeZoneTest {
  TestShortZoneIDs {
    Fail: Expected Zone["BET", GMT-3:00, Standard]; got Zone["BET", GMT-3:00, Daylight]
    Uncaught exception thrown in test method TestShortZoneIDs
    
Standard Error
java.lang.RuntimeException: Uncaught exception thrown in test method TestShortZoneIDs
	at IntlTest.errImpl(IntlTest.java:190)
	at IntlTest.errln(IntlTest.java:177)
	at IntlTest.run(IntlTest.java:123)
	at TimeZoneTest.main(TimeZoneTest.java:42)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.lang.Thread.run(Thread.java:748)

@smlambert Since it's possible that some of these failures are not jfr related and maybe machine related, would you prefer if I opened up a separate issue for each testcase or thrown them all into one issue and work through them one by one?

@smlambert
Copy link
Contributor

Let's keep it as one issue and go through each, if its discovered as part of that exercise that there is unique/separate issue causing a subset of the failures, we can spawn off separate issues as they are discovered.

@M-Davies
Copy link
Contributor Author

Ok, starting with java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java then...

@M-Davies
Copy link
Contributor Author

java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java

  • The primary failure for this is the test failing to find various jfr classes:
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed for the following classes: [jdk/jfr/events/SocketReadEvent.class, jdk/jfr/events/FileWriteEvent.class, jdk/jfr/events/ActiveSettingEvent.class, jdk/jfr/events/ErrorThrownEvent.class, jdk/jfr/events/FileReadEvent.class, jdk/jfr/events/ExceptionStatisticsEvent.class, jdk/jfr/events/SocketWriteEvent.class, jdk/jfr/events/FileForceEvent.class, jdk/jfr/events/ActiveRecordingEvent.class, jdk/jfr/events/ExceptionThrownEvent.class]
  • Each of these fail the test because the test tries to pull fields from each of them. However, the test can't find or see the classes themselves, let alone the fields!
java.lang.NoClassDefFoundError: Ljdk/jfr/proxy/internal/EventHandlerProxy;
	at java.lang.Class.getDeclaredFields0(Native Method)
	at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
	at java.lang.Class.getDeclaredFields(Class.java:1916)
	at FieldSetAccessibleTest.testSetFieldsAccessible(FieldSetAccessibleTest.java:76)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:90)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:199)
	at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
	at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
	at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
	at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.lang.Thread.run(Thread.java:748)

The affected classes are all from the jdk/jfr/events directory. However, if you look at the NoClassDefFoundError messages, the failing class name is always
Ljdk/jfr/proxy/internal/EventHandlerProxy

Output from recent Grinder: openjdk_test_output.tar.gz

@smlambert
Copy link
Contributor

To summarize, I believe many of the failures listed above are a result of test material mismatched (as the jfr build was not passing its repo info to the test pipeline, so we would assume to pull test material from jdk8u, which is not matched to the jfr mirror.

Seeing as AdoptOpenJDK/TSC#166 has been approved, triaging tests for builds that will be removed is an activity that is no longer needed.

aqa-tests automation moved this from In Progress to Done Oct 7, 2020
@karianna karianna added this to the October 2020 milestone Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
aqa-tests
  
Done
Development

No branches or pull requests

3 participants