-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update x64 Mac build jobs to use macos11 label #825
Conversation
Thank you for creating a pull request!Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work). Code Quality and Contributing GuidelinesIf you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before. TestsGithub actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation. In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post |
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.
I don't think this will work - it'll look for macos11&&build&&mac&&x64 (which we don't have any of) instead of selecting an aarch64 build machine
Take a look at the |
I have added |
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.
While it's not ideal having that label on a machine that is of a different architecture I'll approve this on the basis that this is an interim solution for next week's release and we will look at doing it properly for the next release. Let's also make sure that when we merge this we take the build label OFF the x64 ones (and log here which machines that's been done on) to ensure that we don't end up with a random selection of x64 or aarch64 systems used for builds which could affect reproducibility
I think we might be able to use the crossCompile option, eg: ci-jenkins-pipelines/pipelines/jobs/configurations/jdk21u_pipeline_config.groovy Line 179 in 633cb3d
? |
@andrew-m-leonard Right now ive labelled our build-arm-mac machines with ci-jenkins-pipelines/pipelines/jobs/configurations/jdk21u_pipeline_config.groovy Line 179 in 633cb3d
(in a separate pr after the release) You should know that with this pr merged only build-macstadium-macos11-arm64-1 and build-macstadium-macos11-arm64-2 will be used for building arm and x64 mac for the major jdk versions. I believe testing will still be done on both the x64 and arm64 test machines |
I just remembered, for cross compiling jdk11+ the |
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.
A block has been put on this Pull Request as this repository is temporarily under a code freeze due to an ongoing release cycle.
If this pull request needs to be merged during the release cycle then please comment /merge
and a PMC member will be able to remove the block.
If the code freeze is over you can remove this block by commenting /thaw
.
Oh https://github.com/adoptium/temurin-build/pull/3492/files was only doing the change for JDK8 - ok in that case I guess we'll need another temurin-build PR for 11+.
Should that be "can't"? |
Havent had my coffee this morning 😅
On it |
adoptium/temurin-build#3502 is ready to review |
/merge |
Approval to merge during the lockdown cycle Please can two Adoptium PMC members comment |
/approve |
1 similar comment
/approve |
Thank you @sxa and @andrew-m-leonard for your approvals, this pull request is now approved to merge during release.
* update x64 mac build jobs to use macos11 label * typo
* update x64 mac build jobs to use macos11 label * typo
In light of adoptium/infrastructure#2536 (comment) and adoptium/temurin-build#3354, and now that adoptium/temurin-build#3492 is in we can force the builds to run on Macos11 machines only.
I am positive I have updated the correct files, but feel free to correct me if I have not.
There is one problem. This line,
ci-jenkins-pipelines/pipelines/build/common/config_regeneration.groovy
Line 465 in 5fcae13
NODE_LABEL
contains the architecture of the binary to build, in this casex64
. So the final label will be"NODE_LABEL": "macos11&&build&&mac&&x64"
which will prevent it from running on our arm mac build machines.An easy solution is to add
x64
labels to our build arm mac machines. A harder solution is to modifyci-jenkins-pipelines/pipelines/build/common/config_regeneration.groovy
Line 465 in 5fcae13
@sxa @andrew-m-leonard thoughts?
I'm in favour of this