-
Notifications
You must be signed in to change notification settings - Fork 116
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
[epic] Integrations can be tested on windows both locally and on CI #1527
Comments
Some additional observations after some testing:
I can think of several paths that can be taken to achieve what we want here, in no particular order:
Is there any preferred path towards this from ecosystem standpoint? Do you have additional ideas about how this could be faced? |
Hey @marc-gr, If we only want to run the agent in Windows, some way to run custom agents would be a good option, yes. These custom agents could be run natively. We would need to check if we can run multiple agents in the same host, with custom data dirs and so on. If we want to run the whole stack in Windows, we could implement a new "native" stack provider, that would use the native tar.gz/zip artifacts instead of docker. This would allow to use native artifacts on each platform. We would also need some way to run multiple agents in the same host. If we want to be able to test windows on linux or the other way around we would need some kind of virtualization, yes. Maybe we can do it based on terraform as you mention. This may be also useful in other use cases, as when testing the system package. I think we had some issues about this. In general for these cases it would also help to move agent management from the stack providers to the test runners, this way each test could manage its own agent, and we could offer different mechanisms to do that. The kubernetes service deployer already does something like this. Apart of helping on providing agents with different configurations, runnings on different platforms and so on, this would also help on running tests on isolation, avoiding issues like #405. |
This issue is to discuss and track the work required to implement the ability to define and run system tests on windows hosts for integrations.
Prior context:
Problem
Some integrations can run, or run exclusively on windows systems. Currently we lack the ability to run automated tests on windows platforms, neither locally or in CI. This leaves us blind under any possible problems that we may introduce, and we would only find out either performing tedious manual testing or once they are released.
Some of the integrations affected by this are (but maybe not limited to):
Even if the number of affected integrations seems low compared to our total, this effort is still needed for both completeness and the fact that some of these are very widely used integrations.
Requirements
elastic-package
"officially" supports windowselastic-package
supports running windows images for system tests on windows hosts (related to [system tests] Add support to deploy custom elastic-agents in VMs #829)This is a general overview and might be incomplete, would be interesting to gather feedback and ideas to be able to define a specific course of actions towards this.
The text was updated successfully, but these errors were encountered: