security-dashboards-plugin icon indicating copy to clipboard operation
security-dashboards-plugin copied to clipboard

Improve stability and speed of the integration tests running on the Windows runner

Open cwperks opened this issue 2 years ago • 0 comments

The integration tests have lately been failing due to lack of disk space on the Github runners.

In https://github.com/opensearch-project/security-dashboards-plugin/pull/1613, new steps were added for both the Linux runner and Windows runner to remove pre-installed software to free up some space. The new step in the windows pipeline can take between 15 and 20 minutes which significantly slows down the CI just to free up some disk space. In addition, while it is more stable it is still prone to failures that require the check to be restarted.

There may be other ways to obtain more space that should be looked into:

  1. Use of larger runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners
  2. Use a drive with more space: https://github.com/actions/runner-images/issues/1341#issuecomment-667478747
  3. Disable watermarking?

Acceptance criteria:

  • [ ] Windows integration test runs on avg under 30 min
  • [ ] 10 consecutive runs of integration test on Windows should produce no failures

cwperks avatar Oct 19 '23 13:10 cwperks