Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomChecks unit tests getting possible concurency issue with bootstrap #11090

Closed
JanKrivanek opened this issue Dec 5, 2024 · 2 comments
Closed
Assignees
Labels
Area: BuildCheck Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. Priority:2 Work that is important, but not critical for the release triaged

Comments

@JanKrivanek
Copy link
Member

Context

stage1\bin\bootstrap\core\sdk\9.0.200-preview.0.24603.3\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(221,5): error : (NETCORE_ENGINEERING_TELEMETRY=Build) The process cannot access the file 'D:\a\1\s\artifacts\bin\Microsoft.Build.BuildCheck.UnitTests\CustomChecks\Microsoft.Build.Framework.17.13.0-ci-24605-01.nupkg' because it is being used by another process.

https://dev.azure.com/dnceng-public/public/_build/results?buildId=887302&view=logs&j=20125c81-7edb-551b-693a-61efae016b74&t=7ce25265-aabe-59d3-d73c-06619cfcc3c4&l=256

@JanKrivanek JanKrivanek added the Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. label Dec 5, 2024
@YuliiaKovalova
Copy link
Member

I don't get it why it even happens, since we generate packages when build is done.
Or I misunderstand it

<Import Project=".\TestAssets.targets" />

@ViktorHofer
Copy link
Member

This affects the VMR stability significantly as it fails every ~70-100th build. The VMR pipeline builds ~70 legs per run which means that this is causing every second pipeline run to fail. I would appreciate if someone could take a look at this as soon as possible. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BuildCheck Area: Our Own Build Problems affecting the build or build infrastructure of the MSBuild repo itself. Priority:2 Work that is important, but not critical for the release triaged
Projects
None yet
Development

No branches or pull requests

4 participants