Skip to content

Windows: Get Integration CLI running#15992

Merged
jessfraz merged 1 commit intomoby:masterfrom
microsoft:10662-cli
Sep 4, 2015
Merged

Windows: Get Integration CLI running#15992
jessfraz merged 1 commit intomoby:masterfrom
microsoft:10662-cli

Conversation

@lowenna
Copy link
Member

@lowenna lowenna commented Sep 1, 2015

Signed-off-by: John Howard jhoward@microsoft.com

@jfrazelle @swernli. This is an initial swag at getting the integration-cli tests running in Windows to Windows (TP3). This is mainly done by adding requirement DaemonIsLinux to tests which use base images which don't exist on Windows, or can't be supported on Windows yet (eg scratch, busybox). This is in preparation for a Windows to Windows CI.

We have a new hire who is going to look into how to start enabling chunks of tests on Windows to get better coverage over time.

Local results:

OK: 39 passed, 761 skipped --- PASS: Test (118.43s) PASS ok github.com/docker/docker/integration-cli 118.560s

@cpuguy83
Copy link
Member

cpuguy83 commented Sep 1, 2015

Oh man, this does not scale well.

@jessfraz
Copy link
Contributor

jessfraz commented Sep 1, 2015

I'll have a server up by EOD

@lowenna
Copy link
Member Author

lowenna commented Sep 1, 2015

@cpuguy83 Yeah, things will get better soon, and hopefully rapidly. This also gives the starting point to adding tests for Windows-specific functionality which are sorely still missing. A step in the right direction is certainly better than nothing :)

@jessfraz
Copy link
Contributor

jessfraz commented Sep 2, 2015

this is missing changes to start and stop the daemon via the hack/make scripts

@lowenna
Copy link
Member Author

lowenna commented Sep 2, 2015

@jfrazelle This wasn't intended (yet) to run in Jenkins. This was the precursor to that - just to get to the point where the tests would pass cleanly locally. Changes to hack/make should be in a follow-on PR.

@jessfraz
Copy link
Contributor

jessfraz commented Sep 2, 2015

oh sorry i get excite

@lowenna
Copy link
Member Author

lowenna commented Sep 3, 2015

@cpuguy83 - to appease your feelings, I have a busybox Windows image now. Not perfect, but good enough for now to run some of the CI tests on against a Windows daemon (well around 25 so far and increasing). This will dramatically reduce the number of commenting out of tests, or modifications to tests - essentially reversing much of this PR, but in a controlled manner. However, it will come a number of future PRs, there's still some logistics to work out. Trust me, I know what I'm doing - everything is heading in the right direction. Getting this one merged will allow me to progress with Jess to get the CI server up and running with just a few tests. Others will come online very soon.

@tiborvass
Copy link
Contributor

@jhowardmsft why not create a Linux-specific testsuite that includes the testRequires line?

@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

Because (as you'll see in future PRs), ultimately many of the tests will run with zero or reasonably little change. This is just a starting point to get to a clean slate.

@tiborvass
Copy link
Contributor

Fine, LGTM

@jessfraz
Copy link
Contributor

jessfraz commented Sep 4, 2015

ah needs rebase so sorry!

@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

@jfrazelle np, rebased.

@jessfraz
Copy link
Contributor

jessfraz commented Sep 4, 2015

cool LGTM, just waiting on janky for the merge ;)

@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

Also did another local run against a Windows daemon and it's clean.

@jessfraz
Copy link
Contributor

jessfraz commented Sep 4, 2015

\o/

@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

Hmm. These Windows test failures look related to #16039 which never passed Windows CI before merge. @icecrime - any ideas?

@jessfraz
Copy link
Contributor

jessfraz commented Sep 4, 2015

no that was jenkins being annoying, the servers are being weird im working on it

@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

OK, I'll keep watching it

@jessfraz
Copy link
Contributor

jessfraz commented Sep 4, 2015

ok maybe it was.... :(

@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

Yeah, was watching 16086 which was ahead of this one and just failed in the same way.

Signed-off-by: John Howard <jhoward@microsoft.com>
@lowenna
Copy link
Member Author

lowenna commented Sep 4, 2015

Rebased now 16087 merged. Windows CI should pass.

@jessfraz
Copy link
Contributor

jessfraz commented Sep 4, 2015

LGTM

jessfraz pushed a commit that referenced this pull request Sep 4, 2015
Windows: Get Integration CLI running
@jessfraz jessfraz merged commit 835acd9 into moby:master Sep 4, 2015
@lowenna lowenna deleted the 10662-cli branch September 4, 2015 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants