-
Notifications
You must be signed in to change notification settings - Fork 25
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
[Bug]: Windows CI builds failing to find docker (Update to Run Windows inside docker containers) #281
Comments
Hi, @mch2 , could you let me know how do yor trigger the gradle_check in this case? if you had a PR that triggered it, can you send me the PR link? |
I will take care of this as I have talked to @mch2 offline. |
Able to get docker running on Windows with hyperv.
Needs @mch2 to confirm what are the exact images that windows docker is running with. On windows, if you use hyperv then windows host can only run windows container. Please let me know about this. |
Also, this can be a good start into these two issues to bring windows integTest with docker host and containers, even building the artifacts on windows docker containers.
Here is a chart showcasing the comparison between different offers of containers on Windows: Here's a chart comparing some of the key differences between Windows Server with Server Core installation and Windows Nano Server:
Will try to see if we can bring nanoserver in place to make Windows light wight in build, test, and check. Thanks. |
We will be better of with the servercore option rather than the nanoserver, as the latter lack of several core components, while the servercore is just a headless version of the normal server base of Windows. |
Issues in the windows docker that is currently not able to solve to make it the same as AMI: |
Just able to confirm that I am using |
Able to resolve the move issue by just using mingw and force the mv happens by bash.exe.
renamed 'C:\Windows\System32\find.exe' -> 'C:\Windows\System32\find_windows.exe' |
Seems like issue with volta on 1.1.1: volta-cli/volta#1435 Will revert to either the older 1.0.8 or 1.1.0 now. Thanks. |
Able to invoke bash.exe directly in the windows container and able to run test workflow:
|
git clone now on the windows host is instant on build repo. |
There is a bug right now that every time when we pull the image from fresh it will always fail once on the sh stage.
|
Add a docker image initialization step on Windows Docker Host to resolve above issues. |
Add new integTest support with Windows container now. |
Per opensearch-project/opensearch-build#3816 we have fixed the docker commands issues on Windows, but it only supports hyperv running windows on windows through docker. Per discussion with @mch2 the core team needs to disable the linux container related test on Windows. Thanks. |
Describe the bug
Windows CI builds are failing, example: https://build.ci.opensearch.org/job/gradle-check/14914/console
To reproduce
N/A
Expected behavior
Builds should pass and docker tests should run.
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: