Conversation
|
Huzzah added a commit to trigger GHA lets see if it works :) |
Thank you. I see it fails, and before fixing I wanted to hear from you. The reason it fails is that the exclusions I added for JDK17 are not for ADOPT but for a different distribution... Do we want to align the distributions with the one used to build Spark on JDK17? |
|
I double checked and it is using temurin here https://github.com/apache/spark/blob/master/.github/workflows/build_and_test.yml#L233, so I am aligning the java distros with ebd2232, however it's still fail! But I am sure I had tested it locally, and I just confirmed it As you see from the following log, on my machine, using Java 17.0.3, the tests pass on commit ebd2232. Is there something special happening in the CI/CD pipeline that I should be aware of @holdenk ? |
We've already got java17 options up at the top of the build file.
Apologies for breaking the build with pull #380. This should work, can you run the workflows before approving?
The fix involved passing a distribution to the setup-java action, see 0c787ce
From the distributions at https://github.com/actions/setup-java#supported-distributions Adopt seem a good one, however the Ubuntu runner uses Temurin from Eclipse: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md