Native tools bootstrapping failing with access denied
See original GitHub issueBuild
Build leg reported
Plain_Build_Windows, EndToEndBuildTests
Action required for the engineering services team
To triage this issue (First Responder / @dotnet/dnceng):
- Open the failing build above and investigate
- Add a comment explaining your findings
If this is an issue that is causing build breaks across multiple builds and would get benefit from being listed on the build analysis check, follow the next steps:
- Add the label “Known Build Error”
- Edit this issue and add an error string in the Json below that can help us match this issue with future build breaks. You should use the known issues documentation
{
"errorMessage" : "CommonLibrary.psm1:382 char:5"
}
Additional information about the issue reported
Error is occurring in the 1ES hosted pools. Possibly antivirus related?
Processing D:\a\_work\1\s\global.json
Move-Item : Access to the path 'C:\Users\cloudtest\.netcoreeng\native\bin\perl\5.32.1.1.tmp' is denied.
At D:\a\_work\1\s\eng\common\native\CommonLibrary.psm1:382 char:5
+ Move-Item -Path $TempOutputDirectory -Destination $OutputDirector ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (C:\Users\cloudt...rl\5.32.1.1.tmp:DirectoryInfo) [Move-Item], IOException
+ FullyQualifiedErrorId : MoveDirectoryItemIOError,Microsoft.PowerShell.Commands.MoveItemCommand
at <ScriptBlock>, D:\a\_work\1\s\eng\common\native\install-tool.ps1: line 103
at <ScriptBlock>, D:\a\_work\1\s\eng\common\init-tools-native.ps1: line 103
at <ScriptBlock>, D:\a\_work\1\s\eng\common\init-tools-native.ps1: line 80
cc/ @KevinRansom
Report
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
0 | 0 | 0 |
Report
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
0 | 0 | 0 |
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
cdk bootstrap fails with AccessDenied · Issue #17405
What is the problem? A bootstrap fails. My IAM user has Cloud Formation Full access. ⏳ Bootstrapping environment aws://123/us-west-2.
Read more >npm install permission denied (macOS) - node.js
To install a Bootstrap theme I want to run npm install. However I always receive a permission denied error. I already tried nvm...
Read more >Random problem (Access is denied) while startin...
Hi I have strange random problem when JBOSS-4.2.2.GA is starting. Jboss randomly has problem with writing TMP files - on almost every start ......
Read more >Access denied issue when running the IBM Rational ...
Hi, I try to setup config for IBM rational Insight 1.1.1.1 but when I try to Start the IBM Rational Reporting Setup Server...
Read more >Bootstrapping a minion in the web-UI results in error " ...
Cause. Wrong ownership of the subdirectory, that together with reduced file permissions prevented the access to some needed files. Changing the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It appears that this is still occurring. @MattGal can you please follow up?
https://dev.azure.com/dnceng/public/_build/results?buildId=1778417&view=logs&j=119f12ab-97c9-53f0-7ea6-00e6f97fda11&t=d2e57700-e144-5940-d919-9fe6f85bd854
With fsharp taking the latest arcade update, this should be resolved.