Skip to content

CI Failing on Windows RS5 due to missing C:\go #39402

Description

@thaJeztah

Looks like RS5 is currently broken, failing with this error (e.g. in https://jenkins.dockerproject.org/job/Docker-PRs-WoW-RS5-Process/2805/console):

15:20:17 INFO: Extracting git...
15:20:31 INFO: Expanding go...
15:20:36 Remove-Item : Cannot find path 'C:\go\' because it does not exist.
15:20:36 At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Arch
15:20:36 ive\Microsoft.PowerShell.Archive.psm1:411 char:46
15:20:36 + ...                 $expandedItems | % { Remove-Item $_ -Force -Recurse }
15:20:36 +                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15:20:36     + CategoryInfo          : ObjectNotFound: (C:\go\:String) [Remove-Item], I 
15:20:36    temNotFoundException
15:20:36     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Remov 
15:20:36    eItemCommand
15:20:36  

Looks like the failure is triggered by this line;

moby/Dockerfile.windows

Lines 214 to 215 in 6f446d0

Write-Host INFO: Downloading go...; `
Download-File $('https://golang.org/dl/go'+$Env:GO_VERSION+'.windows-amd64.zip') C:\go.zip; `

But the error is somewhere in a PowerShell module, which attempts to remove the target location (C:\go before extracting), but that location is not found?

Could it be there's a recent change in that PowerShell module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/builderBuildarea/testingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.platform/windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions