Skip to content

Could not write lines to file Microsoft.NET.HostModel.ComHost.Tests #70969

@jkotas

Description

@jkotas

Intermittent build error hit by Installer Build and Test coreclr windows_x64 Release in CI:

022-06-19T18:00:25.9981639Z   Running tests: D:\a\_work\1\s\artifacts\bin\AppHost.Bundle.Tests\Release\net7.0\AppHost.Bundle.Tests.dll [net7.0|x64]
2022-06-19T18:00:26.8040811Z   Running tests: D:\a\_work\1\s\artifacts\bin\Microsoft.NET.HostModel.AppHost.Tests\Release\net7.0\Microsoft.NET.HostModel.AppHost.Tests.dll [net7.0|x64]
2022-06-19T18:00:27.0021440Z   Running tests: D:\a\_work\1\s\artifacts\bin\Microsoft.NET.HostModel.ComHost.Tests\Release\net7.0\Microsoft.NET.HostModel.ComHost.Tests.dll [net7.0|x64]
2022-06-19T18:00:41.7216702Z   Tests succeeded: D:\a\_work\1\s\artifacts\bin\Microsoft.NET.HostModel.AppHost.Tests\Release\net7.0\Microsoft.NET.HostModel.AppHost.Tests.dll [net7.0|x64]
2022-06-19T18:01:10.6831061Z D:\a\_work\1\s\.packages\microsoft.dotnet.arcade.sdk\7.0.0-beta.22310.1\tools\VSTest.targets(55,5): error MSB3491: Could not write lines to file "D:\a\_work\1\s\artifacts\log\Release\Microsoft.NET.HostModel.ComHost.Tests_net7.0_x64.log". The process cannot access the file 'D:\a\_work\1\s\artifacts\log\Release\Microsoft.NET.HostModel.ComHost.Tests_net7.0_x64.log' because it is being used by another process. [D:\a\_work\1\s\src\installer\tests\Microsoft.NET.HostModel.Tests\Microsoft.NET.HostModel.ComHost.Tests\Microsoft.NET.HostModel.ComHost.Tests.csproj]
2022-06-19T18:01:10.7438162Z ##[error].packages\microsoft.dotnet.arcade.sdk\7.0.0-beta.22310.1\tools\VSTest.targets(55,5): error MSB3491: (NETCORE_ENGINEERING_TELEMETRY=Build) Could not write lines to file "D:\a\_work\1\s\artifacts\log\Release\Microsoft.NET.HostModel.ComHost.Tests_net7.0_x64.log". The process cannot access the file 'D:\a\_work\1\s\artifacts\log\Release\Microsoft.NET.HostModel.ComHost.Tests_net7.0_x64.log' because it is being used by another process.
2022-06-19T18:01:10.7456526Z   Running tests: D:\a\_work\1\s\artifacts\bin\Microsoft.NET.HostModel.Bundle.Tests\Release\net7.0\Microsoft.NET.HostModel.Bundle.Tests.dll [net7.0|x64]
2022-06-19T18:12:12.3099944Z   Tests succeeded: D:\a\_work\1\s\artifacts\bin\Microsoft.NET.HostModel.Bundle.Tests\Release\net7.0\Microsoft.NET.HostModel.Bundle.Tests.dll [net7.0|x64]
{
  "ErrorMessage": "error MSB3491: Could not write lines to file \"D:\\a\\_work\\1\\s\\artifacts\\log\\Release\\Microsoft.NET.HostModel.ComHost.Tests_net7.0_x64.log\"",
  "BuildRetry": false
}

Report

Build Definition Step Name Console log
1896046 dotnet/runtime Build Log
1894514 dotnet/runtime Build Log
1893340 dotnet/runtime Build Log
1891752 dotnet/runtime Build Log
1890865 dotnet/runtime Build Log
1886297 dotnet/runtime Build Log
1886561 dotnet/runtime Build Log
1886741 dotnet/runtime Build Log
1886981 dotnet/runtime Build Log
1892083 dotnet/runtime Build Log
1892899 dotnet/runtime Build Log
1892886 dotnet/runtime Build Log
1893235 dotnet/runtime Build Log
1893112 dotnet/runtime Build Log
1893373 dotnet/runtime Build Log
1894291 dotnet/runtime Build Log
1894338 dotnet/runtime Build Log
1894384 dotnet/runtime Build Log
1894521 dotnet/runtime Build Log
1894760 dotnet/runtime Build Log
1895037 dotnet/runtime Build Log
1895247 dotnet/runtime Build Log
1895305 dotnet/runtime Build Log
1896134 dotnet/runtime Build Log
1896006 dotnet/runtime Build Log
1896299 dotnet/runtime Build Log
1885715 dotnet/runtime Build Log
1884639 dotnet/runtime Build Log
1884836 dotnet/runtime Build Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 22 29

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-HostModelMicrosoft.NET.HostModel issuesblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions