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

Different build issues #896

Closed
FalkWinkler opened this issue Feb 18, 2022 · 18 comments
Closed

Different build issues #896

FalkWinkler opened this issue Feb 18, 2022 · 18 comments

Comments

@FalkWinkler
Copy link

Describe the Bug

We use a Docker container as Jenkins Slave based on mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019, it worked with .net core 2.0,2.1,3.1 and .net 5 Sdk. We have many over 250 projects being built.

Each container has 16 cores and 25gb of ram.

We had various errors during the trials.

  • MSBUILD : error MSB4166: Child node "6" exited prematurely.
  • C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): warning MSB5021: Terminating the task executable "dotnet" and its child processes because the build was canceled. [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4181: The "Csc" task returned false but did not log an error. [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: The "Csc" task failed unexpectedly. [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: System.AggregateException: One or more errors occurred. (One or more errors occurred. (Cannot access a closed pipe.)) [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: ---> System.AggregateException: One or more errors occurred. (Cannot access a closed pipe.) [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: ---> System.ObjectDisposedException: Cannot access a closed pipe. [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: at System.IO.Pipes.PipeStream.get_SafePipeHandle() [C:\jenkins- slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: at System.IO.Pipes.PipeStream.PipeValueTaskSource.<>c. b__17_0(Object s, CancellationToken token) [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: at System.Threading.CancellationTokenSource.Invoke(Delegate d, Object state, CancellationTokenSource source) [C:\jenkins-slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: at System.Threading.CancellationTokenSource.CallbackNode.ExecuteCallback() [C:\jenkins- slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
    C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error MSB4018: at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException) [C:\jenkins- slave\workspace\test_develop\Backend\FrameworkLegacy\LibBase\src\LibBase.csproj]
  • OutOfMemory
  • Stackoverflow

currently it is:
C:\Program Files\dotnet\sdk\6.0.102\Roslyn\Microsoft.CSharp.Core.targets(75,5): error : Failed to create CoreCLR, HRESULT: 0x8007000E

Steps to Reproduce

Other Information

This works fine on physical or virtual machines

Output of docker version

Client: Mirantis Container Runtime
Version: 20.10.7
API version: 1.41
Go version: go1.13.15
Git commit: 40ef3b6
Built: 08/19/2021 18:54:26
OS/Arch: windows/amd64
Context: default
Experimental: true

Server: Mirantis Container Runtime
Engine:
Version: 20.10.7
API version: 1.41 (minimum version 1.24)
Go version: go1.13.15
Git commit: e1bf5b9c13
Built: 08/19/2021 18:53:20
OS/Arch: windows/amd64
Experimental: true

Output of docker info

Client:
Context: default
Debug Mode: false
Plugins:
app: Docker Application (Docker Inc., v0.8.0)
cluster: Manage Mirantis Container Cloud clusters (Mirantis Inc., v1.9.0)
registry: Manage Docker registries (Docker Inc., 0.1.0)

Server:
Containers: 19
Running: 19
Paused: 0
Stopped: 0
Images: 3497
Server Version: 20.10.7
Storage Driver: windowsfilter (windows) lcow (linux)
Windows:
LCOW:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
Operating System: Windows Server 2019 Standard Version 1809 (OS Build 17763.2452)
OSType: windows
Architecture: x86_64
CPUs: 64
Total Memory: 511.9GiB
Name: buildserv1
ID: TPMC:243Q:XE5U:DZYD:RXXN:NC3O:6WBG:WU5Q:OJDA:YGS6:5G4M:NXAS
Docker Root Dir: D:\dockerdata
Debug Mode: true
File Descriptors: -1
Goroutines: 180
System Time: 2022-02-18T15:24:06.9936252+01:00
EventsListeners: 0
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
registry:5001
registry:5003
127.0.0.0/8
Registry Mirrors:
https://registry:5002/
Live Restore Enabled: false

WARNING: API is accessible on http://0.0.0.0:2375 without encryption.
Access to the remote API is equivalent to root access on the host. Refer
to the 'Docker daemon attack surface' section in the documentation for
more information: https://docs.docker.com/go/attack-surface/

@mthalman
Copy link
Member

Can you share your Dockerfile?

@FalkWinkler
Copy link
Author

FalkWinkler commented Feb 18, 2022

Here is the Dockerfile:

# escape=`
FROM registry:5003/node:16.13.1-nanoserver as node
FROM library/openjdk:11-jdk-windowsservercore-1809 AS openjdk
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS installer

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

# SDK image	
FROM mcr.microsoft.com/dotnet/framework/sdk:4.8


# In order to set system PATH, ContainerAdministrator must be used
USER ContainerAdministrator

# enabled ms-dtc
RUN Stop-Service MSDTC ; `
  Uninstall-Dtc -Confirm:$false ; `
  Install-Dtc ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name LuTransactions -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcAccess -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcAccessInbound -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcAccessOutbound -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcClients -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcAccessTransactions -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcAccessAdmin -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC\Security' -Name NetworkDtcAccessClients -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC' -Name AllowOnlySecureRpcCalls -Value 1 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC' -Name FallbackToUnsecureRPCIfNecessary -Value 0 ; `
  Set-ItemProperty -Path 'HKLM:\Software\Microsoft\MSDTC' -Name TurnOffRpcSecurity -Value 0 ; `
  Set-Service MSDTC -StartupType Automatic ; `
  Restart-Service MSDTC -Force ;


RUN sc.exe config NetTcpPortSharing start=demand

WORKDIR TEMP

#get git and set it up
ENV GIT_VERSION=2.25.1
ENV GIT_DOWNLOAD_URL=https://github.com/git-for-windows/git/releases/download/v$GIT_VERSION.windows.1/Git-$GIT_VERSION-64-bit.exe

RUN Invoke-WebRequest -Uri $env:GIT_DOWNLOAD_URL -OutFile git.exe; `
    Start-Process git.exe -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS /DIR=C:\git\' -Wait; `
    Remove-Item -Force git.exe; `
    $env:PATH = 'C:\git\bin;C:\git\cmd;{0}' -f $env:PATH; `
    Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $env:PATH; `
    Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name GIT_ASKPASS -Value "C:\git\mingw64\libexec\git-core\git-askpass.exe"; `
    # configure git to use ssl and the plano cert within the cert-store (could not be here til this line, but needs to be there in this image)
    git config --system http.sslVerify 'false'; `
    git config --system core.longpaths 'true' ; `
    #git config --system http.sslCAInfo 'Cert:/LocalMachine/CA/rootca.cer'; `
    git config --global user.email "buildy@planopunkt.de"; `
    git config --global user.name "Buildy"

    

WORKDIR /

# install sonar scanner for msbuild. this installs also the standard sonar qube scanner but it needs java to run (the image is later installed)
ENV SONAR_QUBE_VERSION=3.3.0.1492
ENV SONAR_QUBE_FOLDER=sonar-scanner-$SONAR_QUBE_VERSION `
    SONAR_MSBUILD_VERSION=4.8.0.12008 `
    SONAR_MSBUILD_ENV=netcoreapp2.0
ENV SONAR_MSBUILD_DOWNLOAD_URL=https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/$SONAR_MSBUILD_VERSION/sonar-scanner-msbuild-$SONAR_MSBUILD_VERSION-$SONAR_MSBUILD_ENV.zip

RUN Invoke-WebRequest $env:SONAR_MSBUILD_DOWNLOAD_URL -OutFile sonar-msbuild.zip; `
    Expand-Archive sonar-msbuild.zip -DestinationPath SonarQubeScanner; `
    Remove-Item -Force sonar-msbuild.zip

# define common environment variables
# registering the SonarQube.MSBuild.dll as a variable to be able to call it more simply from a cake/yml file
ENV SonarQubeMSBuildDll=C:\SonarQubeScanner\SonarScanner.MSBuild.dll `
    JAVA_HOME=C:\\openjdk-11

# workaround for gitlab runner: https://gitlab.com/gitlab-org/gitlab-runner/issues/2550
RUN net accounts /MaxPWAge:unlimited; `
    net user build_user /add; `
    net localgroup Administrators /add build_user
USER build_user

# the New-Item under the build_user needs to run BEFORE a copy into this path (maybe it is not created when the user is created)
# setting ALL path related directories at once
RUN New-Item $($env:APPDATA + '\npm'); `
    $env:PATH = 'C:\nodejs;C:\SonarQubeScanner\{0}\bin;C:\SonarQubeScanner;{1}\npm;{2}\dotnet;{3}\bin;{4}' -f $env:SONAR_QUBE_FOLDER, $env:APPDATA, $env:ProgramFiles, $env:JAVA_HOME, $env:PATH; `
    Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $env:PATH; `
    # workaround im Roming Ordner Datei npm löschen
    if (Test-Path $env:USERPROFILE/AppData/Roaming/npm) { `
      Remove-Item -Force $env:USERPROFILE/AppData/Roaming/npm `
    };


#Enable Long Paths in Windows 10, Version 1607, and Later
RUN Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value '1' -Type DWord


# install chocolatey, docker client and docker-compose
ENV chocolateyUseWindowsCompression false
RUN Invoke-WebRequest -Uri 'https://chocolatey.org/install.ps1' -OutFile 'install.ps1' -UseBasicParsing; `
    .\install.ps1; `
    choco install docker -y; `
    choco install docker-compose -y; `
	choco install octopustools -y;

VOLUME c:/certificates/

COPY --from=node /nodejs /nodejs
COPY --from=node /yarn /yarn
COPY --from=openjdk $JAVA_HOME $JAVA_HOME
COPY .npmrc 'C:\Users\build_user\.npmrc'
COPY sonar-scanner.properties /SonarQubeScanner/$SONAR_QUBE_FOLDER/conf/
COPY SonarQube.Analysis.xml /SonarQubeScanner/

### Set an environment variable using the System.Environment .NET class
 ENV DOCKER_HOST='\\.\pipe\docker_engine'

# JENKINS Install

ENV JENKINS_SWARM_VERSION 3.25
ENV HOME /jenkins-slave

RUN mkdir \jenkins-slave

RUN Invoke-WebRequest $('https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/{0}/swarm-client-{0}.jar' -f $env:JENKINS_SWARM_VERSION) -OutFile 'swarm-client.jar' -UseBasicParsing 

COPY jenkins-slave.cmd /jenkins-slave.cmd

VOLUME C:\jenkins-slave

ENTRYPOINT [ "cmd", "/C", "C:\\jenkins-slave.cmd" ]

@FalkWinkler
Copy link
Author

FalkWinkler commented Feb 21, 2022

We tested again, this time only with the "mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2019" .

DockerHost with AMD Ryzen 7, 8 cores and 32 GB Ram
The container: 10 cores and 15gb ram

The command:

dotnet msbuild -nodeReuse:false -maxcpucount -restore -t:Build -p:Configuration=Debug -p:VersionPrefix="$Version$Suffix+$Revision" -p:BuildProjectReferences=false -graph  C:\dev\Backend\Buildtools\build.proj

image

\test\plano.Schedule.IntegrationTests\plano.Schedule.IntegrationTests.csproj]
C:\dev\Backend\Services\Schedule\test\plano.Schedule.IntegrationTests\MiscTests.cs(94,27): warning xUnit1013: Public method 'Misc_Test' on test class 'MiscTests'no.Schedule.IntegrationTests\plano.Schedule.IntegrationTests.csproj]
  plano.Schedule.UnitTests -> C:\dev\Backend\Services\Schedule\test\plano.Schedule.UnitTests\bin\Debug\net6.0\plano.Schedule.UnitTests.dll
  plano.Schedule.IntegrationTests -> C:\dev\Backend\Services\Schedule\test\plano.Schedule.IntegrationTests\bin\Debug\net6.0\plano.Schedule.IntegrationTests.dll
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "3" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
C:\Program Files\dotnet\sdk\6.0.200\Roslyn\Microsoft.CSharp.Core.targets(75,5): warning MSB5021: Terminating the task executable "dotnet" and its child processesc\plano.MasterData.Service.csproj]
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\ContainerAdministrator\AppDa
can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
build finish

The main memory is full and will not be released again.
The cpu had a maximum utilization of 60%

Oh, that was my laptop running Docker Desktop.

@FalkWinkler
Copy link
Author

Now the rigth server

AMD EPYC 7502P 32-Core with 512gb Ram
The container: 10 cores and 15gb ram

plano.Evaluation.Service.UnitTests -> C:\dev\Backend\Services\Evaluation\test\plano.Evaluation.Service.UnitTests\bin\Debug\net6.0\plano.Evaluation.Service.UnitTests.dll
CSC : error CS0006: Metadata file 'C:\dev\Backend\Services\MasterData\test\plano.MasterData.Service.AppServer.IntegrationTests\obj\Debug\net6.0\ref\plano.MasterData.Service.AppServer.IntegrationTests.dll' could not be found [C:\dev\Backend\Services\MasterData\test\plano.MasterData.Service.IntegrationTests\plano.MasterData.Service.IntegrationTests.csproj]
CSC : error CS0006: Metadata file 'C:\dev\Backend\Services\MasterData\src\obj\Debug\net6.0\ref\plano.MasterData.Service.dll' could not be found [C:\dev\Backend\Services\MasterData\test\plano.MasterData.Service.IntegrationTests\plano.MasterData.Service.IntegrationTests.csproj]
CSC : error CS0006: Metadata file 'C:\dev\Backend\Services\MasterData\test\plano.MasterData.Service.UnitTests\obj\Debug\net6.0\ref\plano.MasterData.Service.UnitTests.dll' could not be found [C:\dev\Backend\Services\MasterData\test\plano.MasterData.Service.IntegrationTests\plano.MasterData.Service.IntegrationTests.csproj]
  plano.Identity.Service -> C:\dev\Backend\Services\Identity\src\bin\Debug\net6.0\plano.Identity.Service.dll
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(37,24): warning CS0168: The variable 'm' is declared but never used [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerExtensionsTest.cs(28,13): warning xUnit2002: Do not use Assert.NotNull() on value type '(RsaSecurityKey, RsaSecurityKey)'. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(53,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(54,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(55,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(73,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(98,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(125,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(151,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\KeyMananagment\KeyManagerTests.cs(200,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\plano.Identity.Service.UnitTests.csproj]
  plano.Identity.Service.UnitTests -> C:\dev\Backend\Services\Identity\test\plano.Identity.Service.UnitTests\bin\Debug\net6.0\plano.Identity.Service.UnitTests.dll
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\DbContexts\DatabaseProviderFixture.cs(35,38): warning CS0168: The variable 'e' is declared but never used [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\plano.Identity.Service.IntegrationTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\Bugs\Bug_29745_Test.cs(168,21): warning xUnit1013: Public method 'Dispose' on test class 'Bug_29745_Test' should be marked as a Fact. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\plano.Identity.Service.IntegrationTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\DbContexts\DatabaseProviderFixture.cs(48,25): warning CA2200: Re-throwing caught exception changes stack information [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\plano.Identity.Service.IntegrationTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\SessionManagement\SessionManagementService\PersitSessionStoreTest.cs(84,54): warning xUnit1026: Theory method 'Remove_Is_False' on test class 'PersitSessionStoreTest' does not use parameter 'sessionInfo'. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\plano.Identity.Service.IntegrationTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\DbContexts\DeviceFlowStoreTests.cs(156,71): warning EF1001: Microsoft.EntityFrameworkCore.InMemory.Infrastructure.Internal.InMemoryOptionsExtension is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\plano.Identity.Service.IntegrationTests.csproj]
C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\DbContexts\DeviceFlowStoreTests.cs(199,71): warning EF1001: Microsoft.EntityFrameworkCore.InMemory.Infrastructure.Internal.InMemoryOptionsExtension is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. [C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\plano.Identity.Service.IntegrationTests.csproj]
  plano.Identity.Service.IntegrationTests -> C:\dev\Backend\Services\Identity\test\plano.Identity.Service.IntegrationTests\bin\Debug\net6.0\plano.Identity.Service.IntegrationTests.dll
build finish
Stack overflow. 
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
Stack overflow.
   at System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1[[System.Char, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Trim()   at System.SR.GetResourceString(System.String)
   at System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1[[System.Byte, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Trim()

   at System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1+<>c[[System.Byte, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<InitializeTlsBucketsAndTrimming>b__13_0(System.Object)
   at System.Gen2GcCallback.Finalize()   at System.SR.GetResourceString(System.String)

   at System.TypeInitializationException..ctor(System.String, System.Exception)
   at Microsoft.Build.Shared.FileUtilities.HasExtension(System.String, System.String)   at System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1+<>c[[System.Char, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<InitializeTlsBucketsAndTrimming>b__13_0(System.Object)   at System.TypeInitializationException..ctor(System.String, System.Exception)    
   at Microsoft.Build.Shared.FileUtilities.HasExtension(System.String, System.String)

   at Microsoft.Build.Construction.ProjectRootElement.CreateProjectFromPath(System.String, Microsoft.Build.Evaluation.ProjectRootElementCacheBase, Boolean)
   at Microsoft.Build.Construction.ProjectRootElement+<>c.<OpenProjectOrSolution>b__208_0(System.String, Microsoft.Build.Evaluation.ProjectRootElementCacheBase)
   at Microsoft.Build.Construction.ProjectRootElement.CreateProjectFromPath(System.String, Microsoft.Build.Evaluation.ProjectRootElementCacheBase, Boolean)
   at Microsoft.Build.Execution.BuildManager.ProcessPacket(Int32, Microsoft.Build.BackEnd.INodePacket)

   at Microsoft.Build.Evaluation.ProjectRootElementCache.Get(System.String, OpenProjectRootElement, Boolean, System.Nullable`1<Boolean>)
   at Microsoft.Build.Execution.BuildManager+<>c__DisplayClass76_0.<Microsoft.Build.BackEnd.INodePacketHandler.PacketReceived>b__0()
   at System.Gen2GcCallback.Finalize()
   at Microsoft.Build.Construction.ProjectRootElement.OpenProjectOrSolution(System.String, System.Collections.Generic.IDictionary`2<System.String,System.String>, System.String, Microsoft.Build.Evaluation.ProjectRootElementCacheBase, Boolean)
   at Microsoft.Build.Execution.BuildManager.ProcessWorkQueue(System.Action)
C:\dev\Backend\Directory.Build.props(12,9): error MSB4184: The expression "[System.Text.RegularExpressions.Regex]::Replace(37.0.0-local+96d586405, (\d+\.\d+(\.\d+){0,2}).*, $1)" cannot be evaluated. The type initializer for 'System.Buffers.ArrayPool`1' threw an exception. [C:\dev\Backend\Libs\Api.Client\src\plano.Api.Client.csproj]
   at Microsoft.Build.Execution.ProjectInstance..ctor(System.String, System.Collections.Generic.IDictionary`2<System.String,System.String>, System.String, Microsoft.Build.Execution.BuildParameters, Microsoft.Build.BackEnd.Logging.ILoggingService, Microsoft.Build.Framework.BuildEventContext, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService, Int32, System.Nullable`1<Microsoft.Build.Evaluation.ProjectLoadSettings>)
   at Microsoft.Build.Execution.BuildManager.<BeginBuild>b__60_3(System.Action)
   at Microsoft.Build.Construction.ProjectRootElement+<>c.<OpenProjectOrSolution>b__208_0(System.String, Microsoft.Build.Evaluation.ProjectRootElementCacheBase)
   at Microsoft.Build.BackEnd.BuildRequestConfiguration+<>c__DisplayClass60_0.<LoadProjectIntoConfiguration>b__0()
   at System.Threading.Tasks.Dataflow.ActionBlock`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ProcessMessage(System.Action`1<System.__Canon>, System.Collections.Generic.KeyValuePair`2<System.__Canon,Int64>)
   at Microsoft.Build.Evaluation.ProjectRootElementCache.Get(System.String, OpenProjectRootElement, Boolean, System.Nullable`1<Boolean>)   at Microsoft.Build.BackEnd.BuildRequestConfiguration.InitializeProject(Microsoft.Build.Execution.BuildParameters, System.Func`1<Microsoft.Build.Execution.ProjectInstance>)
   at System.Threading.Tasks.Dataflow.ActionBlock`1+<>c__DisplayClass6_0[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<.ctor>b__0(System.Collections.Generic.KeyValuePair`2<System.__Canon,Int64>)

   at System.Threading.Tasks.Dataflow.Internal.TargetCore`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ProcessMessagesLoopCore()  
   at Microsoft.Build.Construction.ProjectRootElement.OpenProjectOrSolution(System.String, System.Collections.Generic.IDictionary`2<System.String,System.String>, System.String, Microsoft.Build.Evaluation.ProjectRootElementCacheBase, Boolean)
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.LoadProjectIntoConfiguration(Microsoft.Build.BackEnd.IBuildComponentHost, Microsoft.Build.Execution.BuildRequestDataFlags, Int32, Int32)    
   at System.Threading.Tasks.Dataflow.Internal.TargetCore`1+<>c[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<ProcessAsyncIfNecessary_Slow>b__34_0(System.Object)
   at Microsoft.Build.Execution.ProjectInstance..ctor(System.String, System.Collections.Generic.IDictionary`2<System.String,System.String>, System.String, Microsoft.Build.Execution.BuildParameters, Microsoft.Build.BackEnd.Logging.ILoggingService, Microsoft.Build.Framework.BuildEventContext, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService, Int32, System.Nullable`1<Microsoft.Build.Evaluation.ProjectLoadSettings>)
   at Microsoft.Build.BackEnd.RequestBuilder+<BuildProject>d__67.MoveNext()
   at System.Threading.Tasks.Task.InnerInvoke()
C:\dev\Backend\Directory.Build.props(12,9): error MSB4184: The expression "[System.Text.RegularExpressions.Regex]::Replace(37.0.0-local+96d586405, (\d+\.\d+(\.\d+){0,2}).*, $1)" cannot be evaluated. Exception of type 'System.OutOfMemoryException' was throw   at Microsoft.Build.BackEnd.BuildRequestConfiguration+<>c__DisplayClass60_0.<LoadProjectIntoConfiguration>b__0()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildProject>d__67, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildProject>d__67 ByRef)
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.InitializeProject(Microsoft.Build.Execution.BuildParameters, System.Func`1<Microsoft.Build.Execution.ProjectInstance>)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildProject>d__67, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildProject>d__67 ByRef)n. [C:\dev\Backend\Libs\Acl\src\plano.Acl.csproj]
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.LoadProjectIntoConfiguration(Microsoft.Build.BackEnd.IBuildComponentHost, Microsoft.Build.Execution.BuildRequestDataFlags, Int32, Int32)    
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at Microsoft.Build.BackEnd.RequestBuilder.BuildProject()
   at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
   at Microsoft.Build.BackEnd.RequestBuilder+<BuildProject>d__67.MoveNext()
   at System.Threading.Thread.StartCallback()
   at Microsoft.Build.BackEnd.RequestBuilder+<BuildAndReport>d__58.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildProject>d__67, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildProject>d__67 ByRef)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildAndReport>d__58, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildAndReport>d__58 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildProject>d__67, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildProject>d__67 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildAndReport>d__58, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildAndReport>d__58 ByRef)
   at Microsoft.Build.BackEnd.RequestBuilder.BuildProject()
   at Microsoft.Build.BackEnd.RequestBuilder.BuildAndReport()
   at Microsoft.Build.BackEnd.RequestBuilder+<BuildAndReport>d__58.MoveNext()
   at Microsoft.Build.BackEnd.RequestBuilder+<RequestThreadProc>d__57.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildAndReport>d__58, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildAndReport>d__58 ByRef)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.Build.BackEnd.RequestBuilder+<RequestThreadProc>d__57, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<RequestThreadProc>d__57 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.Build.BackEnd.RequestBuilder+<BuildAndReport>d__58, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<BuildAndReport>d__58 ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.Build.BackEnd.RequestBuilder+<RequestThreadProc>d__57, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<RequestThreadProc>d__57 ByRef)
   at Microsoft.Build.BackEnd.RequestBuilder.BuildAndReport()
   at Microsoft.Build.BackEnd.RequestBuilder.RequestThreadProc(Boolean)
   at Microsoft.Build.BackEnd.RequestBuilder+<RequestThreadProc>d__57.MoveNext()
   at Microsoft.Build.BackEnd.RequestBuilder.<StartBuilderThread>b__52_2()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.Build.BackEnd.RequestBuilder+<RequestThreadProc>d__57, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<RequestThreadProc>d__57 ByRef)
   at System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.Build.BackEnd.RequestBuilder+<RequestThreadProc>d__57, Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<RequestThreadProc>d__57 ByRef)
   at System.Threading.Tasks.Task+<>c.<.cctor>b__272_0(System.Object)
   at Microsoft.Build.BackEnd.RequestBuilder.RequestThreadProc(Boolean)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at Microsoft.Build.BackEnd.RequestBuilder.<StartBuilderThread>b__52_2()
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
   at System.Threading.Tasks.Task`1[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
   at System.Threading.Tasks.Task.ExecuteEntry()
   at System.Threading.Tasks.Task+<>c.<.cctor>b__272_0(System.Object)
   at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at Microsoft.Build.BackEnd.RequestBuilder+DedicatedThreadsTaskScheduler.<InjectThread>b__6_0()
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
   at System.Threading.Thread+StartHelper.Callback(System.Object)
   at System.Threading.Tasks.Task.ExecuteEntry()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task)
   at System.Threading.Thread.StartCallback()
C:\dev\Backend\Directory.Build.props(12,9): error MSB4184: The expression "[System.Text.RegularExpressions.Regex]::Replace(37.0.0-local+96d586405, (\d+\.\d+(\.\d+){0,2}).*, $1)" cannot be evaluated. The type initializer for 'System.Buffers.ArrayPool`1' thr   at Microsoft.Build.BackEnd.RequestBuilder+DedicatedThreadsTaskScheduler.<InjectThread>b__6_0()
ew an exception. [C:\dev\Backend\Libs\Bus.Nats\src\plano.Bus.Nats.csproj]
   at System.Threading.Thread+StartHelper.Callback(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.Thread.StartCallback()
C:\dev\Backend\Libs\EventSourcing\src\plano.EventSourcing.csproj : error MSB4025: The project file could not be loaded. Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The paging file is too small for this operation to complete. (0x800705AF)
C:\dev\Backend\Libs\Configuration.Dto\src\plano.Configuration.Dto.csproj : error MSB4025: The project file could not be loaded. Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The paging file is too small for this operation to complete. (0x800705AF)
C:\dev\Backend\FrameworkLegacy\Database\src\plano.Database.csproj : error MSB4025: The project file could not be loaded. Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The paging file is too small for this operation to complete. (0x800705AF)
MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. 
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean MSBUILD : error MSB1025:MSBUILD : error MSB1025:MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.MSBUILD : error MSB1025:growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurationMSBUILD : error MSB1025: An internal failure occurred while running MSBuild.MSBUILD : error MSB1025:MSBUILD : error MSB1025:MSBUILD : error MSB1025:
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
 An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.Bu An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsof An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
 An internal failure occurred while running MSBuild.MSBUILD : error MSB1025:Unhandled exception. MSBUILD : error MSB1025:MSBUILD : error MSB1025:MSBUILD : error MSB1025:MSBUILD : error MSB1025: An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsof An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean t.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurationUnhandled exception.  An internal failure occurred while running MSBuild. An internal failure occurred while running MSBuild. An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.BuSystem.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.   
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
ild.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean t.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfiguration
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& sgrowLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsofs()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& s An internal failure occurred while running MSBuild.
System.TypeInitializationException: The type initializer for 'Microsoft.Bu
System.TypeInitializationException: The type initializer for 'Microsoft.Bus()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& sild.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean s()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& s An internal failure occurred while running MSBuild.hutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
ild.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
t.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurationhutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSw
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReue 
, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
Unhandled exception. itches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReusUnhandled exception. hutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwgrowLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at MicrosofUnhandled exception. hutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSw
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsofitches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, 
List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
e, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
ild.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
itches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReust.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurationUnhandled exception. s()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
Unhandled exception. e, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& 
outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
t.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwSystem.TypeInitializationException: The type initializer for 
'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
Unhandled exception. itches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReusSystem.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
Unhandled exception.e, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
s()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& sUnhandled exception. Unhandled exception. Unhandled exception. hutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwSystem.TypeInitializationException: The type initializer for 
'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
Unhandled exception.  System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)itches switchesNotFromAutoResponseFile, String& projectFile, String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReus

System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)

e, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2&System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile, 
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args) restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)

Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.Build.Shared.FileUtilities' threw an exception.
 ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(Int32 concurrencyLevel, Int32 capacity, Boolean growLockArray, IEqualityComparer`1 comparer)
   at System.Collections.Concurrent.ConcurrentDictionary`2..ctor(IEqualityComparer`1 comparer)
   at Microsoft.Build.Shared.FileUtilities.GetCacheDirectory()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.GetCacheFile()
   at Microsoft.Build.BackEnd.BuildRequestConfiguration.ClearCacheFile()
   at Microsoft.Build.BackEnd.ConfigCache.ClearConfigurations()
   at Microsoft.Build.Execution.OutOfProcNode.CleanupCaches()
   at Microsoft.Build.Execution.OutOfProcNode.HandleShutdown(Exception& exception)
   at Microsoft.Build.Execution.OutOfProcNode.Run(Boolean enableReuse, Boolean lowPriority, Exception& shutdownException)
   at Microsoft.Build.CommandLine.MSBuildApp.StartLocalNode(CommandLineSwitches commandLineSwitches)
   at Microsoft.Build.CommandLine.MSBuildApp.ProcessCommandLineSwitches(CommandLineSwitches switchesFromAutoResponseFile, CommandLineSwitches switchesNotFromAutoResponseFile, String& projectFile,
String[]& targets, String& toolsVersion, Dictionary`2& globalProperties, ILogger[]& loggers, LoggerVerbosity& verbosity, List`1& distributedLoggerRecords, Int32& cpuCount, Boolean& enableNodeReuse, TextWriter& preprocessWriter, TextWriter& targetsWriter, Boolean& detailedSummary, ISet`1& warningsAsErrors, ISet`1& warningsAsMessages, Boolean& enableRestore, Boolean& interactive, ProfilerLogger& profilerLogger, Boolean& enableProfiler, Dictionary`2& restoreProperties, Boolean& isolateProjects, GraphBuildOptions& graphBuild, String[]& inputResultsCaches, String& outputResultsCache, Boolean& lowPriority, Boolean recursing)
   at Microsoft.Build.CommandLine.MSBuildApp.Execute(String[] commandLine)
   at Microsoft.Build.CommandLine.MSBuildApp.Main(String[] args)
C:\dev\Backend\Buildtools\scripts\run-tests.ps1 : A parameter cannot be found that matches parameter name 'FilePath'.
At line:1 char:1
+ .\Backend\Buildtools\scripts\run-tests.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [run-tests.ps1], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,run-tests.ps1



PS C:\dev> time="2022-02-22T12:47:56+01:00" level=error msg="error waiting for container: read tcp 192.168.254.19:55657->10.128.9.10:2375: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
read tcp 192.168.254.19:55658->10.128.9.10:2375: wsarecv: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
ERROR: Couldn't connect to Docker daemon at http://buildserv1:2375 - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

image

The process never needed more than 8gb of ram.

@mthalman
Copy link
Member

I'm just guessing here but the memory issues only seems like a symptom of there being an infinite loop due to the stack overflow messages I see.

Can we narrow this down to just one project/solution? In the initial post you were building Backend\FrameworkLegacy\LibBase and in this latest post it's building Backend\Services\Evaluation. Are your build results not consistent? Can you attach an MSBuild log file to this issue that has the full build output including the MSBuild command you're using that demonstrates the issue? I'm interested in knowing the first error that shows up in the output.

@FalkWinkler
Copy link
Author

I always build the same thing. This is due to dotnet msbuild in which order.is built. What I find strange is OutOfMemmory Exception, "paging file to small" but it was never used more like 8 of 15gb Ram. There are currently 250 projects being build. That has always built up to inclusive.net 5 sdk. The problem is only in the container, on virtual machines and physical machines there is no problem.

The build command is:

dotnet msbuild -nodeReuse:false -maxcpucount -restore -t:Build -p:Configuration=Debug -p:VersionPrefix="$Version$Suffix+$Revision" -p:BuildProjectReferences=false  -graph ..\build.proj

The log is coming.

@FalkWinkler
Copy link
Author

Jeder Build schlägt mit einer anderen Fehlermeldung fehl.

buildlog.zip

@FalkWinkler
Copy link
Author

Now i have a new error:

e.App.Ref\6.0.2\ref\net6.0\System.Xml.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.XmlDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.XmlSerializer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.XPath.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\System.Xml.XPath.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\6.0.2\ref\net6.0\WindowsBase.dll" /delaysign- /keyfile:C:\dev\Backend\Buildtools\Key.snk /optimize- /out:obj\Debug\net6.0\nl\plano.Calendar.Service.resources.dll /resource:obj\Debug\net6.0\plano.Calendar.Service.Resources.Calendar.nl.resources /target:library /deterministic+ obj\Debug\net6.0\nl\plano.Calendar.Service.resources.cs /warnaserror+:NU1605
CompilerServer: server - server processed compilation - 6738d558-2758-4590-883a-f26e258ac8a7

Process is terminated due to StackOverflowException.
127>CoreCompile:
CompilerServer: server failed - server rejected the request 'Error reading response: Reached end of stream before end of read.' - 6e9b0d8a-d26b-40a5-9463-f72501b90cac
ERROR: 3221225725

@mthalman
Copy link
Member

Yeah, I saw the CompilerServer: server failed - server rejected the request 'Error reading response: Reached end of stream before end of read.' error in the previous log file as well. That comes from Roslyn. This is a similar issue to https://stackoverflow.com/questions/69195544/building-net-framework-4-8-project-in-docker-fails-with-reached-end-of-stream. Have you tried allocating more memory to container as suggested here: https://stackoverflow.com/a/69383755/3174766?

@FalkWinkler
Copy link
Author

We had similar issues with the dotnet 5 sdk and older.
The container has e.g. 15 CPU permanently assigned, but the 64 from the host are displayed in the container with the environment variable 'NUMBER_OF_PROCESSORS'. In this case we were able to fix the problem by setting the maxCpuCount parameter to 15.
This does not help with the dotnet 6 sdk. Now I had read that the cpu number was fixed with the .net 6 and container. It is true that the System.Environment.ProcessorCount now shows 15 CPUs, but the environment variable 'NUMBER_OF_PROCESSORS' is still 64. I have monitored how many dotnet.exe processes are running. When the problem with stackoverflow and whatever happened, there were 64 dotnet.exe processes. I have now tested Hyperv again in isolation mode. Here the environment variable 'NUMBER_OF_PROCESSORS' was displayed as 15 and I was able to build. The execution of the unit tests afterwards failed again, but I'll take a look at that.

@FalkWinkler
Copy link
Author

The containers have a memory limit of 25GB Ram.

@FalkWinkler
Copy link
Author

With isolationmode hyper only worked once. Now have similar errors.

@mthalman
Copy link
Member

Have you tried providing more memory to the container?

@FalkWinkler
Copy link
Author

Yes, I tested with 50 gb, the same.

@mthalman
Copy link
Member

mthalman commented Mar 2, 2022

[Triage]: @rainersigwald - can you help investigate this issue? It seems specific to MSBuild. It looks to be only happening in a container environment and not on physical or virtual machine. Not sure if it's resource-limited or not.

@FalkWinkler
Copy link
Author

Hello, I haven't had the error on physical or virtual computers yet.
There are OutOfMemory errors although there is still enough memory free, up to container crashes, restarts.

@FalkWinkler
Copy link
Author

Hi, my colleague sent me the post. This shows exactly the same behavior as when I build it.
dotnet/runtime#58974

@mthalman
Copy link
Member

Closing this as a duplicate of dotnet/runtime#58974.

Repository owner moved this from Backlog to Done in .NET Fx Docker Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants