Skip to content

Test build error: The process cannot access the file '[...]\Managed\GC\Stress\Tests\StressAllocator\StressAllocator.exe' because it is being used by another process. #6867

@swgillespie

Description

@swgillespie

For example:

https://ci.dot.net/job/dotnet_coreclr/job/master/job/x64_release_windows_nt_pri1_prtest/1152/console

15:52:41 D:\j\workspace\x64_release_w---0575cb46\Tools\sign.targets(70,5): error : 
D:\j\workspace\x64_release_w--
-0575cb46\bin\int\Managed\GC\Stress\Tests\StressAllocator\StressAllocator.exe: I/O error reading or 
writing PE file: The process cannot access the file 'D:\j\workspace\x64_release_w--
-0575cb46\bin\int\Managed\GC\Stress\Tests\StressAllocator\StressAllocator.exe' because it is being used by another process. [D:\j\workspace\x64_release_w--
-0575cb46\tests\src\GC\Stress\Tests\StressAllocator.csproj]

Also seen as:

16:39:01 D:\j\workspace\x64_release_w---0575cb46\Tools\sign.targets(70,5): error : 
D:\j\workspace\x64_release_w--
-0575cb46\bin\int\Managed\GC\Stress\Tests\ThdTreeGrowingObj\ThdTreeGrowingObj.exe: PE file is 
already strong-name signed. [D:\j\workspace\x64_release_w--
-0575cb46\tests\src\GC\Stress\Tests\ThdTreeGrowingObj.csproj]

Perhaps there's some sort of race condition when building these tests.

Metadata

Metadata

Assignees

Labels

area-Infrastructure-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions