-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[ci] Skip Arrow tests on AppVeyor, use Intel macOS runners, upgrade to XCode 14.3 on macOS jobs, disable MacOS MPI jobs #6425
Conversation
This is still WIP, I just want to get CI running. |
At least for compiler MSVC, using Visual Studio 2019 would fix the issue. I'm also trying an older |
Thanks for investigating this! In case it helps, I searched this error message:
And found this relevant-looking discussion that's also about re: some of the comments you got on conda-forge/arrow-cpp-feedstock#1374 ... here's the main script that runs for Appveyor jobs in this repo: (edit: wrong link, use this one) https://github.com/microsoft/LightGBM/blob/master/.ci/test_windows.ps1 You can add any commands you want (like You should also be able to log in with your GitHub account at https://ci.appveyor.com/project/guolinke/lightgbm/history and cancel / restart any builds. If that doesn't work for you, let me know and we can get you that access. |
All right, two observations:
|
Thank you! Could you try keeping visual studio 2015 and just skipping the arrow tests on appveyor, to see if that helps? Testing on visual studio 2015 is a main motivation for having appveyor here. We get coverage of newer versions on GitHub Actions and Azure DevOps windows jobs. |
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.
Thank you SO MUCH for working through these issues! I really really appreciate it.
It looks to me like this is working great... I see the arrow tests running where we expect them to (e.g. on Azure DevOps) and being skipped on AppVeyor (build link).
In the future when you work through these issues that are blocking all CI, feel free to kill any CI jobs that are blocking you. For example, #6426 came in while you were working on this, and I suspect you might have waited the 30-ish minutes for its AppVeyor jobs to run. Just wanted to say that it's totally fine to do that. My approach to that is like "those other PRs aren't going to be mergeable until I fix CI anyway, so they'll have to re-run anyway".
Since CI still doesn't work: I noticed that, very recently, |
Thanks for the investigation! 100% agree with changest all the GitHub not having arm64 mac support for YEARS and then giving us just 3 months before making it the default is.... sigh 😫 |
Unfortunately, |
I see this from
And then this later on
LightGBM is relying on the I see you're trying the brew link open-mpi ref: https://github.com/Homebrew/brew/blob/master/docs/FAQ.md#what-does-keg-only-mean Sorry, will have more time to help later. |
ugh that still didn't work. I vote we just remove the MPI jobs on macOS for now. Delete the job definitions from the GitHub Actions config and document the need to get them working again in a new issue, linking back to this PR. MPI jobs are working on Linux (build link), that's enough to cover most of the relevant code in the library. Let's not let these MPI macOS tests block CI for the whole project. |
@shiyu1994 can you please fix the VM where the CUDA tests run? All CUDA CI jobs have been failing for the last 2 days. They hit something like this:
Then hang until GitHub Actions kills them for hitting the 60 minute timeout. |
Thanks to @shiyu1994 for fixing the CUDA CI! I've retriggered it here. I'll merge this once it passes. After that, let's get #6274 updated and merged. Then let's do a release 😁 . I'll put up a release PR in the next day or 2. |
@@ -17,7 +17,9 @@ if [[ $OS_NAME == "macos" ]]; then | |||
sudo xcode-select -s /Applications/Xcode_11.7.app/Contents/Developer || exit 1 | |||
fi | |||
else # gcc | |||
sudo xcode-select -s /Applications/Xcode_14.1.app/Contents/Developer || exit 1 | |||
# Check https://github.com/actions/runner-images/tree/main/images/macos for available | |||
# versions of Xcode |
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.
forgot to say earlier... thanks very much for adding this comment on an otherwise kind of magical hard-coded string here 😁
Motivation
Fix failing CI on
main
.This PR does two things:
pyarrow
only works with newer versions of Visual Studio comes from this comment in thepyarrow
feedstock:macOS-latest
seems to have been updated recently).