Skip to content
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 Windows Support #158

Closed
2 tasks done
Tracked by #95
peterzhuamazon opened this issue Sep 29, 2022 · 3 comments
Closed
2 tasks done
Tracked by #95

Add Windows Support #158

peterzhuamazon opened this issue Sep 29, 2022 · 3 comments
Assignees
Labels

Comments

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Sep 29, 2022

Coming from opensearch-project/opensearch-plugins#95, add Windows support.

  • Passing CI on Windows
  • Documentation
@heemin32
Copy link
Collaborator

heemin32 commented Oct 16, 2022

Build on Window for main branch does not work with following error. The issue could be related with OpenSearch 3.0.0-SNAPSHOT as a build with OpenSearch 2.4.0-SNAPSHOT works.

�    ? errors and warnings from D:\a\geospatial\geospatial\build\testclusters\integTest-0\logs\opensearch.stdout.log ?
=== Standard error of node `node{::integTest-0}` ===
� ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [integTest-0] uncaught exception in thread [main]
�  org.opensearch.bootstrap.StartupException: java.lang.RuntimeException: can not run opensearch as root
�  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:184) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:171) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138) ~[opensearch-cli-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.cli.Command.main(Command.java:101) ~[opensearch-cli-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:137) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:103) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  Caused by: java.lang.RuntimeException: can not run opensearch as root
�  	at org.opensearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:124) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:191) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:[404](https://github.com/heemin32/geospatial/actions/runs/3253777954/jobs/5341360413#step:4:405)) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:180) ~[opensearch-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
�  	... 6 more
�   ? last 40 non error or warning messages from D:\a\geospatial\geospatial\build\testclusters\integTest-0\logs\opensearch.stdout.log ?

https://github.com/heemin32/geospatial/actions/runs/3253361449/jobs/5340559789#step:4:462

Sample commit: heemin32@9a84798

@dblock
Copy link
Member

dblock commented Nov 3, 2022

Are integration/cypress tests also running? If not please reopen this issue. Close when there's no gap between testing on Linux and Windows.

@heemin32
Copy link
Collaborator

heemin32 commented Nov 3, 2022

integration tests are running in all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants