-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Windows tests not run automatically #11994
Comments
Seems like we only have ubuntu CI builds https://github.com/argoproj/argo-workflows/blob/master/.github/workflows/ci-build.yaml We do have a build on Windows though. https://github.com/argoproj/argo-workflows/blob/master/.github/workflows/release.yaml We should add Windows to CI builds. Would you like to help? |
Looks like, yeah. I might be able to allocate some time next week for this. What would be the best way to go on with this? Would it work by just adding a windows spec? |
That should be fine |
Hmm if this primarily needed for Executor unit tests, we could just add a second unit test run on Windows during CI. That would be a fairly simple addition E2E tests would be more complicated. Still simple to add another host in CI to the existing matrix, but it could make the test flake situation and test run-time situation worse 😕 |
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
See linked PR for a draft change. It's not ready yet since some tests are failing.
Yeah indeed. First I thought about testing only the executor related tests but that would exclude quite a few tests in packages which are used by the executor so I opted instead for testing all and excluding those which do not make sense.
From what I know about GitHub Actions it wouldn't even be that simple since we'd need to run k3s on a linux host and then run the e2e tests which make sense on windows, possibly rewriting them (or adding a few specific windows ones). Feels like an entirely separate and bigger task to me. Adding unit tests only will hopefully help avoid a whole bunch of issues. |
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
adjusts several tests to ensure it works with windows. adds build flags to exclude running in windows where it does not make sense. a few tests are flaky or not working yet and will need further tweaking. Signed-off-by: Michael Weibel <[email protected]>
Signed-off-by: Michael Weibel <[email protected]>
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting.
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting. Signed-off-by: Michael Weibel <[email protected]>
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting. Signed-off-by: Michael Weibel <[email protected]>
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting. Signed-off-by: Michael Weibel <[email protected]>
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting. Signed-off-by: Michael Weibel <[email protected]>
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting. Signed-off-by: Michael Weibel <[email protected]>
adjusts a few changes made in argoproj#12011 and clarifies why some tests are skipped, while re-enabling some others which seem to work after retesting. Signed-off-by: Michael Weibel <[email protected]>
Signed-off-by: Michael Weibel <[email protected]>
Signed-off-by: Michael Weibel <[email protected]>
Pre-requisites
:latest
What happened/what you expected to happen?
While working on reproducing #11810 and contributing the fix in #11993 I noticed a lot of failing tests for windows. Especially also the bug in question would've triggered a failed run when CI would run windows tests automatically.
However it seems that this is not done currently.
Running the tests on a windows machine, I get quite a lot of errors, see attached logs.txt.
What is the reason for not running them automatically?
Was it always like this or did that change recently?
What can be done (besides providing windows fixes for those failing tests) to improve this in the future?
Version
latest
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
not applicable
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: