question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Native tools bootstrapping failing with access denied

See original GitHub issue

Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1671390&view=logs&jobId=987e5851-59ff-5ad3-0c32-2d9d35c2807b&j=987e5851-59ff-5ad3-0c32-2d9d35c2807b&t=05844f13-4ab9-56d6-865f-18cd26ce6550

https://dev.azure.com/dnceng/public/_build/results?buildId=1671851&view=logs&j=119f12ab-97c9-53f0-7ea6-00e6f97fda11&t=d2e57700-e144-5940-d919-9fe6f85bd854&s=6884a131-87da-5381-61f3-d7acc3b91d76

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:

  1. Add the label “Known Build Error”
  2. 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:closed
  • Created 2 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

0reactions
jonfortescuecommented, Jul 26, 2022

With fsharp taking the latest arcade update, this should be resolved.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found