Issues with windows runner - windows-latest
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 27
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 8
Description
windows-2016 is not supported any more. We'd like to update to windows-latests.
The issue with windows-latests:
- Originally openjdk, system tests will fail at the beginning part of the build with message `C:\cygwin64\bin\make.exe' failed with exit code 2` with all jdk_version , which suggests it might be an issue related with cygwin on windows-latest.
```
make[1]: *** [compile.mk:45: compile] Error 1
make[1]: Leaving directory '/cygdrive/d/a/run-aqa/run-aqa/aqa-tests/TKG'
make: *** [makefile:67: compile] Error 2
Error: The process 'C:\cygwin64\bin\make.exe' failed with exit code 2
```
https://github.com/adoptium/run-aqa/actions/runs/3016813951/jobs/4849941896
- Checked recent nightly run: system tests are good with window-latest. openjdk tests with jdk17 failed with specific tests. openjdk test with jdk8 and jdk11 failed at the beginning part of build with different error message. https://github.com/adoptium/run-aqa/actions/runs/3185357794/jobs/5194843504
```
C:\cygwin64\bin\git.exe clone --depth 1 -q --reference-if-able D:\a\run-aqa\run-aqa/openjdk_cache https://github.com/adoptium/jdk11.git openjdk-jdk
info: Could not add alternate for 'D:\a\run-aqa\run-aqa/openjdk_cache': reference repository 'D:\a\run-aqa\run-aqa/openjdk_cache' is not a local repository.
Username for 'https://github.com/':
Error: The operation was canceled.
```
Feels like it's not a cygwin with windows-latest issue any more.
Contributor guide
Research direction
Start by reviewing the GitHub Actions runs linked in the issue and the Windows build path involving aqa-tests/TKG/compile.mk:45 and makefile:67. Reproduce the windows-latest failures for the listed JDK versions, including the clone/cache error, then verify that the runner update allows the relevant system and OpenJDK tests to complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100