Skip to content
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

CI/GHA: Run Windows tests on windows-2019 instead of windows-2022 #12344

Closed
wants to merge 1 commit into from

Conversation

amotl
Copy link
Member

@amotl amotl commented Apr 11, 2022

Hi,

the windows-latest image label on GHA effectively switched to windows-2022 1 only recently on February 2, 2022 2. The original announcement happened on January 11, 2022: https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/

On the crash repository, performance regressions have been observed with that. With crate/crash@11d77dcca8 in place, switching back to windows-2019, the runtime of an individual test job on Windows decreased from 12 minutes to 6 minutes. It would be sweet to see corresponding improvements here as well.

With kind regards,
Andreas.

Footnotes

  1. https://github.com/actions/virtual-environments/issues/4856, see also Windows Server 2022 (20220330 update).

  2. Officially announced to have happened due March 6, 2022, it might well have been delayed and concluded only 12 days ago, as mentioned at https://github.com/actions/virtual-environments/issues/4856#issuecomment-1083192716.

`windows-latest` switched to `windows-2022` around March 6, 2022. On
another project, performance regressions have been observed with that.
@amotl
Copy link
Member Author

amotl commented Apr 11, 2022

Further research

Our repository

I retrospectively scanned the job results to see when the transition from windows-2019 to windows-2022 happened on this repository. Apparently, it was on February 2, 2022. The duration just increased slightly from 41m to 43m.

The current GHA Virtual Environment software version is 20220330.1.

Insights

actions/runner-images#3577 (comment) mentions that

Ubuntu agents have slightly higher IOPS disk performance configuration [than other runners].

That could well be the reason that builds on Windows runners are in general slower on GHA?

Other reports

All those report about potential regressions with the windows-2022 image.

@amotl
Copy link
Member Author

amotl commented Apr 12, 2022

Running a few jobs on windows-2019 does not show any significant improvements here. Closing again.

@amotl amotl closed this Apr 12, 2022
@amotl amotl deleted the amo/ci-windows-2019 branch April 12, 2022 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant