Open lumpfish opened 3 years ago
@tajila we should investigate this.
@JasonFengJ9 can you please take a look at this
@lumpfish Did this just start failing? or was the test recently enabled?
Will look into this.
Here is the relevant code, https://github.com/jython/jython/blob/0a58cc26566d2b2334e80b2b3f2f42f6c738db2d/src/org/python/core/Py.java#L1358. Although its not the same version of jython that is being used in the tests so the line numbers are off.
Failing job link: https://ci.adoptopenjdk.net/job/Test_openjdk16_hs_extended.perf_x86-64_windows/4/consoleFull
This link is for hotspot, @lumpfish pls update it with OpenJ9 one.
This link is for hotspot, @lumpfish pls update it with OpenJ9 one.
Whoops - an OpenJ9 link: https://ci.adoptopenjdk.net/job/Test_openjdk16_j9_extended.perf_x86-64_linux/5/consoleFull
@lumpfish Did this just start failing? or was the test recently enabled?
It's part of the 'extended.perf' test suite which has recently been added on a weekly test cycle at AdoptOpenJDK (note the build number of only number 5). I think this is the first time this failure has been investigated. (Note there are a number of other failures in the test jobs which are not openj9 specific where the tests appear to be trying to access packages they are no longer allowed to.) So it's probably been there for some time.
This is same issue as https://github.com/eclipse/openj9/issues/6920, detail analysis is at https://github.com/eclipse/openj9/issues/6920#issuecomment-528062028.
It is not a JVM problem. The issue is within Jython
code and has been fixed in latest release v2.7.2
[1]. This test uses latest dacapo.jar
[2] however it contains an outdated jython.jar
(v2.5.2), replacing it with latest v2.7.2
causes NoSuchMethodException: org.python.core.PySystemState.setArgv([Ljava.lang.String;)
. I back-ported the fix [3] into v2.5.2
, and this dacapo-jython_0
test passes.
Additional notes:
OpenJ9 JDK11
passes (probably different code path executed);OpenJ9 JDK15/16
failed since JDK15
GA version;RI JDK16
passesI would suggest disable this test for OpenJ9 JDK16+
before the DaCapo Benchmark Suite updates its jython.jar
.
[1] https://search.maven.org/artifact/org.python/jython-standalone [2] https://sourceforge.net/projects/dacapobench/files/latest/download [3] https://github.com/jython/frozen-mirror/blob/b8d7aa4cee50c0c0fe2f4b235dd62922dd0f3f99/src/org/python/core/PyJavaType.java#L246-L248
Test is excluded in https://github.com/AdoptOpenJDK/openjdk-tests/pull/2269/
jdk16 openj9 extended.perf test target dacapo-jython_0 fails with
java.lang.NullPointerException
.The test fails with openj9 build, passes with hotspot build. The test fails on all openj9 platforms.
Failing job link: https://ci.adoptopenjdk.net/job/Test_openjdk16_hs_extended.perf_x86-64_windows/4/consoleFull
Failing build:
Test output:
To rerun: https://ci.adoptopenjdk.net/job/Grinder/parambuild/?JDK_VERSION=16&JDK_IMPL=openj9&JDK_VENDOR=adoptopenjdk&BUILD_LIST=perf&PLATFORM=x86-64_windows&TARGET=dacapo-jython_0