microsoft / microsoft/winget-pkgs

[Pipeline Issue]: The validation pipeline failed in the "Installers Scan" step because "it is being used by another process.."

Open
#162,756 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Validation-Pipeline Issue-Feature
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Description of the new feature/enhancement

When there are too many installers listed in the manifest, the validation pipeline may fail at the some installers in the "Installers Scan" step and report The process cannot access the file 'C:\local\Temp\WinGetSvc-Validation-395-162089-20240712-5\4c50d9fa-1d4d-4e62-be07-697db3281f87' because it is being used by another process..

Here are some examples:

https://dev.azure.com/ms/winget-pkgs/_build/results?buildId=594540&view=logs&j=68997d86-8ece-5ae8-3ac5-ccdbfa458731&t=a6d88639-1ba6-5d70-db6d-8e283a18f2b4&l=627

https://dev.azure.com/ms/winget-pkgs/_build/results?buildId=594495&view=logs&j=68997d86-8ece-5ae8-3ac5-ccdbfa458731&t=a6d88639-1ba6-5d70-db6d-8e283a18f2b4&l=657

Proposed technical implementation details (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the validation pipeline's "Installers Scan" step and review the two linked Azure DevOps logs, especially the reported file-in-use failures. Done means the pipeline no longer fails on installer scans because a temporary file is being used by another process when many installers are listed.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.