Skip to content

.Net 10 RC2 seems to ignore NODEREUSE under LinuxΒ #12710

@mbenedykconfigit

Description

@mbenedykconfigit

Describe the bug

On a 3 out of 5 builds in linux CI env, build is failing with:
error MSB4166: Child node "5" exited prematurely. Shutting down. Diagnostic information may be found in files in "/tmp/msbuild-debug" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.

No MSBuild_*.failure.txt is being created.

This issue started to occur when I started using Net 10 RC2, no problems with Net 9.

/property:UseSharedCompilation=false /nodeReuse:fals /maxcpucount:1 arguments doesn't help as well,
MSBUILDDISABLENODEREUSE=1 doesn't work either

To Reproduce

Hard to define reproductions steps when everythink works so far and right after Net 10 RC2 update it started failing....

dotnet build XXX.sln --configuration LinuxRelease --framework net10.0 /property:UseSharedCompilation=false /nodeReuse:false /maxcpucount:1

Exceptions (if any)

error MSB4166: Child node "5" exited prematurely. Shutting down. Diagnostic information may be found in files in "/tmp/msbuild-debug" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.

Further technical details

details of dotnet --info

.NET SDK: Version: 10.0.100-rc.2.25502.107 Commit: 89c8f6a112 Workload version: 10.0.100-manifests.8798a653 MSBuild version: 18.0.0-preview-25502-107+89c8f6a11

Runtime Environment:
OS Name: ubuntu
OS Version: 24.04
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/10.0.100-rc.2.25502.107/

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 10.0.0-rc.2.25502.107
Architecture: x64
Commit: 89c8f6a112

.NET SDKs installed:
8.0.120 [/usr/share/dotnet/sdk]
8.0.206 [/usr/share/dotnet/sdk]
8.0.317 [/usr/share/dotnet/sdk]
8.0.414 [/usr/share/dotnet/sdk]
8.0.415 [/usr/share/dotnet/sdk]
9.0.110 [/usr/share/dotnet/sdk]
9.0.205 [/usr/share/dotnet/sdk]
9.0.305 [/usr/share/dotnet/sdk]
10.0.100-rc.2.25502.107 [/usr/share/dotnet/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.20 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.21 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.6 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-rc.2.25502.107 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.20 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.21 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.6 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-rc.2.25502.107 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
DOTNET_MULTILEVEL_LOOKUP [0]
DOTNET_NOLOGO [1]
DOTNET_ROOT [/usr/share/dotnet]
DOTNET_SKIP_FIRST_TIME_EXPERIENCE [1]
DOTNET_VERSION [10.0.x]
DOTNET_VERSION_RAVEN [8.0.x]

- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version: GithubActions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ApplicationIssues with `msbuild.exe` or the CLI experience.Area: EngineIssues impacting the core execution of targets and tasks.untriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions