runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

[WinError 5] Access is denied when doing a shutil.copytree

Open Namburger opened this issue 2 years ago • 0 comments

Description

Not sure if this is the right place for it, and my usage is a little convoluted :D

Anyhow, I'm trying to run a bash script in the windows ci. The bash script setup toolchains and call a python script to package some artifacts. The issue is that I'm now getting a [WinError 5] Access is denied on a call to shutil.copytree: https://github.com/Namburger/coralmicro/actions/runs/3252938515/jobs/5339704593#step:5:9933

Platforms affected

  • [ ] Azure DevOps
  • [X] GitHub Actions - Standard Runners
  • [ ] GitHub Actions - Larger Runners

Runner images affected

  • [ ] Ubuntu 18.04
  • [ ] Ubuntu 20.04
  • [ ] Ubuntu 22.04
  • [ ] macOS 10.15
  • [ ] macOS 11
  • [ ] macOS 12
  • [X] Windows Server 2019
  • [X] Windows Server 2022

Image version and build link

https://github.com/Namburger/coralmicro/actions/runs/3252938515/jobs/5339704593#step:5:9933

Is it regression?

no

Expected behavior

It should build

Actual behavior

it failed

Repro steps

Run the CI on my repo.

Namburger avatar Oct 14 '22 22:10 Namburger