-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add MacOS build support #2423
Comments
Hmm, maybe we need to clean up that readme documentation, Creating a pull request / draft PR is the best way to run the tests if you want to make sure things are in working order. Speaking only for myself, I don't mind PRs while you are still building out tests/components. |
Hm I tried to run the testsuite on macos arm arch, but out of the box the tests failed and I saw it try to connect to ldap/OS. With very little confidence in my Java-abilities I was trying to get the tests running to try to solve: |
Could you post the error, maybe a summary here and the full output to a gist? |
@ict-one-nl What version of Java are you using? I would recommend using Java 11 or 17 to match the version of java run at build time in the Github Actions (GHA). See https://github.com/opensearch-project/security/blob/main/.github/workflows/ci.yml#L9-L37 for details on the command run via GHA. I recommend SDKMan for managing local Java installations: https://sdkman.io/ |
Used the latest openjdk through homebrew, forced openjdk17 now, but - from eyeballing it - got the same errors. Ora19 JDK produces the same errors. Will try the Oracle JDK 17 tomorrow, thanks for the hints :) |
[Triage] Hi @ict-one-nl, thank you for filing this issue. Did trying the different JDK version fix anything? I know that we do not currently support MacOS though this is something in the works. I would be interested in hearing if you found any results or have any notes as we continue to develop platform support. |
This issue is being tracked here #1475 |
👍👍 |
Is your feature request related to a problem?
I tried to run the gradle tests per the readme.md file, but part of the tests failed because it tried to talk to either a LDAP-server or an opensearch cluster. It would be nice that these requirements could be met easilly (and documented how this is done). One option is to include a docker-compose file.
What solution would you like?
docker-compose file?
What alternatives have you considered?
Setting up stuff myself, but wasn't exactly clear how.
Do you have any additional context?
Ran the master branch tests last week
The text was updated successfully, but these errors were encountered: