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.

Extract files task fails on clean destination

See original GitHub issue

Every once in a while the Extract files task with the clean destination enabled fails after clean. I could not find a pattern. Whenever this happens, the target folder is going missing (is deleted in this task).

2016-11-17T20:45:44.8977942Z Cleaning destination folder before extraction: C:\inetpub\wwwroot_INT-fe
2016-11-17T20:45:45.0384251Z Error: EPERM: operation not permitted, stat 'C:\inetpub\wwwroot_INT-fe'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ericsciplecommented, Feb 16, 2017

@renatotkr if you want to build the repo (contribute instructions in readme.md), then you can use tfx to upload the copy files task layout that is produced under _build\tasks\copyfiles. you would want to build a release branch, releases/m112. i added a change in m112 so that if you select “clean”, then it only cleans the contents and doesnt drop the folder. that may solve the problem you are running into.

0reactions
renatotkrcommented, Feb 17, 2017

@ericsciple Thanks for the info, I managed to install the latest version following your steps

Did couple of tests and it appears to be working fine

I would like to suggest to automatically update all the in the box tasks more often, 4 months is a long time (if I understood correctly, only for on premise TFS)

Thanks for the help

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extract Files Task Fails - Visual Studio Feedback
Unable to use Extract Files because the files being extracted are a ... file is updated), so the 'Clean destination folder before extracting'...
Read more >
Why does Azure task ExtractFiles sometimes fail?
Cleaning destination folder before extraction: my folder path. Error: Failed rmRF: EPERM: operation not permitted, unlink 'my folder path'.
Read more >
ExtractFiles@1 - Extract files v1 task | Microsoft Learn
Extract a variety of archive and compression files such as .7z, .rar, .tar.gz, and .zip. ... Clean destination folder before extracting.
Read more >
Chapter 4 - Adding Test to Azure Pipelines
We'll use the "Extract files" task for that. For the "Destination folder", we'll set it as $(System.DefaultWorkingDirectory)/abs - System.
Read more >
Extract files task, preserve multiple project artifact hierarchy?
I have server artifacts in *.7z format artifact1.7z artifact2.7z artifact3.7z I have one extract files task setup to a destination folder, ...
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