-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Openjdk 11+ build need also build test-image #248
Comments
#263 should resolve this. |
#263 build test-image, which is under same folder level of |
Given it a second thought we probably need to tar the JDK and TestImage separately as TestImage should not be part of released sdk? The story would be like: SDK build create SDK and testImage , test build consume SDK and testImage, and then if test build is good SDK itself will be published (testImage is ignored as it should not be part of releases) ? |
@sophia-guo Is this needed for Java 11? If not then we'll close as we're no longer supporting Java 10. |
yes, this is also required for Java11. It is required for 10+. |
I am working on Corretto11 regression test. I am very interested in this issue and its resolution. So far, I have identified 10 test failures due to 'Error. Use -nativepath to specify the location of native code' java/nio/channels/FileChannel/directio/DirectIOTest.java |
IMO this isn't entirely a openjdk-build issue only. What if somebody has a build with test libs already? I'd imagine the test framework should allow for a path to be set via some environment variable which is then passed to jtreg via |
Agreed @jerboaa - as discussed in Slack, you can leverage JTREG_EXTRA_OPTIONS for the use case of having your own build, and a path to the native test libs. This issue is more for us to be able to automate native testing in the AdoptOpenJDK pipelines. |
@smlambert @sophia-guo: This job has the testimage artifact as well for early testing. Let me know if that'll work for you: |
Thanks @jerboaa. I will try today or tomorrow and let you know. |
@jerboaa the prtestbuid https://ci.adoptopenjdk.net/job/build-scripts-pr-tester/job/build-test/job/jobs/job/jdk11u/job/jdk11u-linux-x64-hotspot/133/ doesn't have any /*.tar.gz,/.tgz,**/.zip,**/*.jar artifacts. Is there any other way that I can download the test image you have built and archived? Ideally it should be available same as other build artifacts, e.t.c. jre|jdk iamge artifacts. |
@jerboaa it's great! thanks. |
@sophia-guo Glad to hear that. Just need to get the PR merged then ;-) |
- eclipse-openj9/openj9#14079 is a duplicate of adoptium/temurin-build#248. - eclipse-openj9/openj9#14091 is a duplicate of adoptium#1297. - eclipse-openj9/openj9#14095 is a duplicate of eclipse-openj9/openj9#11930. - Individual sub-tests of StringBuilder/HugeCapacity are excluded. Closes: eclipse-openj9/openj9#14079 Closes: eclipse-openj9/openj9#14091 Closes: eclipse-openj9/openj9#14095 Signed-off-by: Babneet Singh <[email protected]>
adoptium/temurin-build#248 has been closed. All tests disabled for adoptium/temurin-build#248 have been re-enabled. Signed-off-by: Babneet Singh <[email protected]>
adoptium/temurin-build#248 has been closed. All tests disabled for adoptium/temurin-build#248 have been re-enabled. Signed-off-by: Babneet Singh <[email protected]>
Fixed by ibmruntimes/openj9-openjdk-jdk18#4. Also, adoptium/temurin-build#248 has been closed. Now, exeCallerAccessTest/CallerAccessTest passes with OpenJ9 JDK18. Signed-off-by: Babneet Singh <[email protected]>
* [JDK18] Remove duplicates and exclude sub-tests - eclipse-openj9/openj9#14091 is a duplicate of #1297. - eclipse-openj9/openj9#14095 is a duplicate of eclipse-openj9/openj9#11930. - Individual sub-tests of StringBuilder/HugeCapacity are excluded. Closes: eclipse-openj9/openj9#14091 Closes: eclipse-openj9/openj9#14095 Signed-off-by: Babneet Singh <[email protected]> * [JDK18] Re-enable exeCallerAccessTest/CallerAccessTest Fixed by ibmruntimes/openj9-openjdk-jdk18#4. Also, adoptium/temurin-build#248 has been closed. Now, exeCallerAccessTest/CallerAccessTest passes with OpenJ9 JDK18. Signed-off-by: Babneet Singh <[email protected]>
Some tests of test/jdk and test/hotspot need jdk test native library, which has to be generated at build time of the test jdk by invoking "make test-image"
It appears as though the native test libraries are currently not being built as part of the Java10 builds at AdoptOpenJDK, as we do not find libraries under images/test/jdk/jtreg/native for those builds.
https://download.java.net/openjdk/testresults/10/docs/howtoruntests.html
-nativepath:{location of the jdk test native library}: This has to be generated at build time of the test jdk by invoking "make test-image". These libraries are located in the build directory under "images/test/jdk/jtreg/native/"
The text was updated successfully, but these errors were encountered: