-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Modernize system test native makefile scripts #413
Comments
The problem is working out whether to build 32 or 64 bit, wihich is dependent on the jdk being tested. |
@lumpfish - I have been trying to run the compilation without passing the |
You mean you tested both a 32 an 64 bit jdk without using the flags and the tests ran OK on both? |
Tested successfully on all 64 bit platforms. Among 32 bits, tested on Question is, what is the full set of 32 bit platforms that we support ? A quick chat with @AdamBrousseau revealed that we support 32 bit on Java 7 and 8 only; and OpenJ9 Win32 JDK8. TKG based system tests do not support Java 7 (yet). So, that leaves us with Java 8 only. A not-so-graceful way of course would be to deliver the change and fix any issue after. @llxia : would you know if there is a way to test using Java 8 on 32 bit AIX, z/OS, Mac and Linux flavours? Currently the PLATFORM options on Grinder doesn't support these (it only has 32 bit Windows and ARM). |
While we currently focus on jdk8+, I know there was some discussion of attempting to cover jdk7 testing requirements as well. After our initial investigation of this (and seeing what additional work would be required), we decided we would not do this. I think it is a fair approach to ensure we work well on the existing set of platforms listed in the PLATFORM_MAP which I believe was created with actual example builds in mind. The platform map currently contains 6 32-bit platforms, arm_linux, x86-32_windows (which are openly built and supported), and ppc32_aix, ppc32_linux, s390_linux, x86-32_linux. For those last 4 cases, can you check espresso builds for IBM Java 8 builds for SDKs that you could use for testing? I would not want to remove support for those, if they still exist and given that there was an effort made to move to use AQA tests for those internal to IBM builds. One other thing to note, there are 2 statements, "they compile fine" and "there are no newly introduced weird test failures because of compiler arg changes" to consider. So, for the 2 currently supported 32-bit platforms, as part of a PR check, a full set of tests should be run pre/post this change to check all things look sane. (and if the other 4 internal platform builds can be verified, even better, though not required from my perspective). |
|
As the changes affect JCK too,
|
The common The failure occurs with test materials from master too (see: internal/Grinder/14210). @JasonFengJ9 - could you please check if is this a known JCK failure? (A quick look up in OpenJ9 and Backlog repo doesn't reveal any obvious issue that may be related to this). |
This is a known failure as per RTC |
@JasonFengJ9 - Thanks for the information. Since it's a known failure, we can ignore it as far as verifying the PRs related to this issue is concerned. That said,
All the above Grinders were run on March 13, 2021 and used OpenJ9 "nightlies" from Adopt. e.g.
It appears that the fix didn't make it into the above SDK and such (yet). |
The JVM in question was built on March 11th which has |
3 PRs related to this issue are now merged: @Mesbah-Alam - thanks for the large amount of testing you did to get to this point. Believe this issue can now be closed. |
Thanks for reviewing @smlambert and @llxia . A good use case would now be to add a new platform (e.g. Alpine Linux) and see how seamlessly the system tests behave. Also, the code block we left intact for Solaris need testing too; something we can do once we have Solaris machines available. |
New-ish platforms to verify: solaris_sparcv9 alpine-linux: risc-v: FYI @sxa |
We have 3 native makefile scripts in system test:
Each of these makefiles need to be updated every time we have a new platform to support.
We should modernize these scripts and see if they can figure out the platform (and the compiler to use) by themselves instead of PLATFORM being passed in.
FYI @llxia
The text was updated successfully, but these errors were encountered: