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
Switch OpenJ9 builds on JDK11 to mixedref specs #2441
Conversation
Note: I don't like the way I have tested a version of this change on my own farm but I encourage a proper test be done here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why we're adding in a suffix for this as opposed to just leaving the original one named as-is? This could have knock on effects elsewhere (API, installer) etc. and it would superficially seem easier to just keep the existing names.
We're probably fine with making the "default" mixed on jdk11 right away. Which is why I reused the default specs. But we'll have to ensure we can support XL for other versions for the time being and that means launching *_mixed test builds. Agree it would be easier to change everything over all at once to cut down on temporary changes and additional work for other repos. I'm not sure if we want to wait. cc @pshipton Edit: I guess I didn't directly answer your question. We need the suffix (filename addition) in order to call the right test job name. |
My understanding is that once Adopt switches to mixed refs builds for jdk11, we can modify the jdk11 extensions to make mixed refs the default, and concurrently @llxia can help modify the testing for jdk11 so it always runs mixed ref testing. Then for jdk11 we won't need We don't want to wait until all versions are ready, at OpenJ9 the plan is to build mixed refs asap, and enable the remaining platforms as they are fixed. This exposes any problems earlier. OpenJ9 current status: |
If the test auto detect could be configured to not fail we could continue to call the regular spec jobs. |
run tests |
🟠 PR TESTER RESULT 🟠❎ Some pipelines failed or the job was aborted! ❎ |
@smlambert @andrew-m-leonard @karianna Need an approval for the PR tester |
PR tester approved. Regarding testing, Lan and team already have a plan in place, with the understanding that we need to support all 3 types of builds for a while, and then at some point when we can drop the 2 and move completely to mixed it becomes the nonSuffix default (some of this to happen via TKG with a modes and spec cleanup). |
What Lan and I discussed today is dropping the 2 and moving completely to mixed on a version by version basis. Once this PR is merged we could do this for jdk11, which will help PR testing at the OpenJ9 project. |
I forgot about z/OS, which doesn't use mixed, but perhaps that platform can be accommodated. |
run tests |
🟠 PR TESTER RESULT 🟠❎ Some pipelines failed or the job was aborted! ❎ |
run tests |
🟠 PR TESTER RESULT 🟠❎ Some pipelines failed or the job was aborted! ❎ |
PR tester failed due to unrelated causes. Lets merge this and see how they go? |
|
Superficially that sounds like a preferable option if it can be done, the only question being whether if we switched a release over without the |
@AdamBrousseau needs re-basing on master now that parameterized generation PR has merged, which is why the "pipeline-build-check" is failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs rebasing on master so we can "run tests"
🟠 PR TESTER RESULT 🟠❎ Some pipelines failed or the job was aborted! ❎ |
What Pete is talking about sounds like the end goal. I was under the impression we would have a temporary state of 3 build types. If we're going full change-over, even it's its one version at a time, I'm not sure we need this PR. I think it would only be an extensions change and a test change. |
aaeacff
to
c5597e0
Compare
That's the other option I suppose and it wouldn't need a PR from us, other than to remove the XL ones later. I'd possibly be a little more comfortable than putting a PR in to switch them on for now until we're certain it doesn't cause any side effects (ie.e. it's easy to revert) |
So the options are:
|
Correction to my previous comment. Although |
Mixed refs combines the regular and XL package into one sdk. Also remove the deprecated XL specs from jdk11. Once this is default across all versions there will be more code that can be cleaned up I presume. Issue adoptium#2426 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
c5597e0
to
a834cd8
Compare
I don't think this works as-is. It seems additionalFileNameTag is expected to be a string only and doesn't support map. I will see if I can add the required changes. |
Current code assumes it can only be a string. Extend it so it can me a map of strings. Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Updated change to allow additionalFileNameTag to be a map of strings. There are still 2 more pieces to fix (See TODO). |
I think it needs inpiut from test as to what the implications are for each opytion - it's like;ly a matter of whether the "end game" of "move completly to mixed" in @smlambert 's statement (repeated below) can be done on a release-by-release basis.
|
Maybe you could try reading the Sidenote, you should also implement the changes you have made to |
@AdamBrousseau are you happy to move this PR over to ci-jenkins-pipelines? I can move it over if you prefer? |
Can it be moved with the comments? I think the discussion is important. |
From the testing perspective, if we want to leave the original test build named as-is and switch to JDK11 mixedref SDKs, I think we can simply set And in the build script, we should remove @smlambert what do you think about this approach? |
re: #2441 (comment) and the discussion in the OpenJ9 community call today, I think that approach makes sense. |
Given that the amended code change will be a different approach and we're moving repos I'll open a new PR on the ci repo and link to this one for tracking purposes. |
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Extracted from adoptium/temurin-build#2441 Resolves #2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau@ca.ibm.com>
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Extracted from adoptium/temurin-build#2441 Resolves #2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Extracted from adoptium/temurin-build#2441 Resolves adoptium/temurin-build#2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Extracted from adoptium/temurin-build#2441 Resolves adoptium/temurin-build#2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Extracted from adoptium/temurin-build#2441 Resolves adoptium/temurin-build#2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Add exception for 32bit (Windows JDK8) as these builds are not mixed. Extracted from adoptium/temurin-build#2441 Resolves adoptium/temurin-build#2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Change the platform on OpenJ9 tests to be mixed. This will run mixed testing using the existing test jobs. This can be reverted once the default test specs are mixed. Add exception for 32bit (Windows JDK8) as these builds are not mixed. Extracted from adoptium/temurin-build#2441 Resolves adoptium/temurin-build#2426 Depends ibmruntimes/openj9-openjdk-jdk8#477 Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
Mixed refs combines the regular and XL package
into one sdk. Also remove the deprecated XL
specs from jdk11. Once this is default across
all versions there will be more code that can
be cleaned up I presume.
Issue #2426
Signed-off-by: Adam Brousseau adam.brousseau88@gmail.com