Frequent `hcs::CreateComputeSystem: Incorrect function` errors on Windows 2025 builds
- Dominant language
- PowerShell
- Stars
- 7.6k
- Forks
- 4.6k
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 15
Description
### Jenkins and plugins versions report
N/A
### What Operating System are you using (both controller, and any agents involved in the problem)?
CI
### Reproduction steps
1. Notice how a majority of Windows 2025 images are failing with `hcs::CreateComputeSystem: Incorrect function` on the following (first) `RUN` instruction of the Windows Dockerfile: https://github.com/jenkinsci/docker/blob/acd600d64db3823b7d1dd4aa798754fb1a4d60a7/windows/windowsservercore/hotspot/Dockerfile#L14-L20
### Expected Results
No `hcs::CreateComputeSystem: Incorrect function` errors.
### Actual Results
`hcs::CreateComputeSystem: Incorrect function` on a majority of builds (few are passing)
### Anything else?
_No response_
### Are you interested in contributing a fix?
_No response_
Contributor guide
Research direction
Start with the Windows Dockerfile at the linked lines 14-20 and the Jenkins builds that fail on their first RUN instruction. Compare the Windows 2025 images that pass and fail while investigating the hcs::CreateComputeSystem error; done means the affected builds complete without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- ci-cd, devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100