-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Enable reproducible comparing tests on jdk21+ macos #3844
base: master
Are you sure you want to change the base?
Conversation
5dd3e43
to
4e6a29f
Compare
I have tried both static mac and orka. Both no jq installed. https://ci.adoptium.net/view/Test_grinder/job/Grinder/10327/console
Might be easy to install jq on static mac and orka? |
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10427/
Does this mean we can't do reproducing on this environment https://ci.adoptium.net/computer/test-macstadium-macos1014-x64-1/ due to the Xcode version not matching. @steelhead31 ? |
Yup, that machines OS I think is too old for Xcode 15.2, and I think it has to be the same version of Xcode for reproducibility to work, @andrew-m-leonard can confirm this I think :) |
Yes, correct Xcode 15.2 requires MacOS 13.5 minimum : https://developer.apple.com/support/xcode/ |
So we need extra label for macos to ensure the reproducing tests run on correct environment. Ether xcode15.2 or sw.os.osx.13_5. Two Mac static agents wont work for reproducing tests. https://ci.adoptium.net/label/ci.role.test&&hw.arch.x86&&%28sw.os.osx%7C%7Csw.os.mac%29/ Current orka ones are label as xcode15.0.1&&build&&mac&&x64 so can't work for reproducing either. Should we open an issue in infra to see if it's possible to update orka's os version? |
Interesting orka ones with label |
@sophia-guo so the Orka nodes are using Xcode 15.2, the 15.0.1 label has not been changed just because of the hassle involved! should have been called Xcode15 ! |
orka updated with jq rerun adoptium/infrastructure#3593 https://ci.adoptium.net/view/Test_grinder/job/Grinder/10470/console |
parsing issue as SBOM --configure-args value format updated with double quotes. Parsing in mac script also need to update. |
a8cf660
to
524ffcb
Compare
New grinder with latest and label https://ci.adoptium.net/label/ci.role.test&&sw.os.osx&&orka&&hw.arch.x86/ to make sure running on orka https://ci.adoptium.net/view/Test_grinder/job/Grinder/10769/ - waiting |
0bc4005
to
3132741
Compare
Running with orka, issue message complains the Xcode can't be found. Test is running on orka node , which should have Xcode 15.2 available #3844 (comment)
|
@steelhead31 If it's related with how the Xcode installation is checked? #3844 (comment) |
rerun on build orka node https://ci.adoptium.net/label/xcode15.0.1&&build&&mac&&x64/ got different error from running on test orka node https://ci.adoptium.net/label/ci.role.test&&sw.os.osx&&orka&&hw.arch.x86/ https://ci.adoptium.net/view/Test_grinder/job/Grinder/10775/console
|
@sophia-guo I've put some debugging in, and it does appear the script is checking correctly, but not finding an Xcode installation on that Orka node..
|
@sophia-guo I've run a grinder here https://ci.adoptium.net/view/Test_grinder/job/Grinder/10782/console with these labels.. ( borrowed from a build job )
So this issue is down to the orka test nodes not having Xcode installed... I'll take a look at the other issue now |
@sophia-guo I've fixed the issue with the repro script, and it now attempts to build, but its complaining about a missing SPEC.mk file..
@andrew-m-leonard may also be able to help in my absence. See the grinder https://ci.adoptium.net/view/Test_grinder/job/Grinder/10791/console |
@steelhead31 so it does mean orka test nodes https://ci.adoptium.net/label/xcode15.0.1&&build&&mac&&x64/ are configured different from orka build nodes https://ci.adoptium.net/label/ci.role.test&&sw.os.osx&&orka&&hw.arch.x86/ ? So we will need to open an infra issue to have orka test nodes installed right xcode. |
Yes definitely, Im not sure how to do this though :) |
There are xcode related check error message even with build orka node. Are those the reasons of the failure build? https://ci.adoptium.net/view/Test_grinder/job/Grinder/10775/console
|
Yes, they can be ignored, in addition to the xcode15.2 there is also an old Xcode11.7 installation, the script attempts to check the version and fails, but then switches to the correct 15.2 version, I'll see if I can tidy up the output, but its safe to ignore in the meantime. |
Just realized it's rebuilding x64mac on aarch64mac if using build label https://ci.adoptium.net/label/xcode15.0.1&&build&&mac&&x64/ , not sure if that's the reason for themissing SPEC.mk file? |
@steelhead31 what's the fix? I did some force push and lost the changes you did, could you redo it so I can do a rebase? @andrew-m-leonard any idea about the
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10791/console Another question @andrew-m-leonard would be for mac64 build from temurin ( on aarch64) reproduced comparing jdk should be built on x64 or aarch64? Or it doesn't matter there should be no difference. @sxa has the same question adoptium/infrastructure#3720 (comment) |
@sophia-guo it's not clear what's wrong there, it's building on a mac arm64 node, so that is good. The "configure" has completed successfully, so it must be the "make" step that is failing, will need some extra debug there to work out why |
4bc0f37
to
fdeec62
Compare
@sophia-guo The problem I think is due to the TKG setting the "SPEC" make variable. I can see from the
We need to ensure SPEC is "unset" before calling the mac repro compare build.... If I try this I get the same error:
|
abc7b38
to
b6c0af0
Compare
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
No description provided.