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
WIP: Enable swarm integration tests for Windows #38432
Conversation
ae49254
to
77318d0
Compare
Codecov Report
@@ Coverage Diff @@
## master #38432 +/- ##
=========================================
Coverage ? 36.54%
=========================================
Files ? 608
Lines ? 45040
Branches ? 0
=========================================
Hits ? 16458
Misses ? 26300
Partials ? 2282 |
77318d0
to
baaf87e
Compare
0c9ed1a
to
32fd8ad
Compare
Closing this now because #38469 need to be finalized first and that cannot be done before build scripts are updated |
Fingers crossed 🤞 |
a07faee
to
3ec6bcf
Compare
@StefanScherer for some reason win-RS5 is missing from pipeline time to time. I see it with this one too https://ci-next.docker.com/public/blue/organizations/jenkins/moby/detail/PR-38432/12/pipeline |
Hi @olljanat This is how the Jenkins blue ocean plugin draws the current pipeline. |
Short status update: Looks that I got needed logic implemented that on Windows we can run swarm tests against of daemon started by hack\ci\windows.ps1 but it looks to be that at least ingress removal from HNS during swarm leave is async which why Docker and HNS gets out of sync quite soon and tests starts failing. I included First then passes nicely:
But already second one fails because earlier swarm leave was most probably still running and swarm init failed:
Then after a while whole "Ethernet 3" adapter is missing as ingress creation on Windows will re-create it and it is middle of that process:
Now I'm using loopback adapter for swarm tests so tests does not cause Jenkins loosing access to server and increased As Linux tests are done differently by always starting new daemon it is very hard to say if this is just Windows specific or general issue but most probably need look Windows implementation on libnetwork is made... |
beac432
to
811d319
Compare
811d319
to
c3fd535
Compare
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
c3fd535
to
465541b
Compare
https://docs.docker.com/ee/ucp/admin/configure/join-nodes/join-windows-nodes-to-cluster/ says
but there looks to be some users who would like to use Swarm on Windows only environment (e.g. docker/for-win#1476 (comment) ) so let's try and see if we can get these integration tests working on Windows too.
Related to:
integration
package is not ran on the windowsRS1 CI #36748TODO: