Giter Site home page Giter Site logo

Comments (11)

jculverwell avatar jculverwell commented on September 12, 2024 2

Can also confirm that adding the ENV variable (DOTNET_CLI_TELEMETRY_OPTOUT: 1) to the github action fixed the issue

from runner-images.

baronfel avatar baronfel commented on September 12, 2024 2

This is a dotnet SDK regression - we will have a 401 hotfix SDK out in the next day or so that fixes this. In the meantime the most consistent workaround is using the latest 30x SDK instead. Details about the issue can be found at dotnet/sdk#42719 (comment).

from runner-images.

baronfel avatar baronfel commented on September 12, 2024 2

The 8.0.401 hotfix SDK has been released on all channels and contains a fix for this issue.

from runner-images.

bgrainger avatar bgrainger commented on September 12, 2024 1

Since this appears to be happening from telemetry, try setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1.

from runner-images.

bgrainger avatar bgrainger commented on September 12, 2024

We're getting this exception on some of our self-hosted runners, but not all. It seems to only happen with SDK 8.0.400 but not 8.0.304; try using a global.json to explicitly use the older SDK:

{
  "sdk": {
    "version": "8.0.304"
  }
}

(That is, I suspect it's an issue in the SDK, not in https://github.com/actions/runner.)

from runner-images.

joacar avatar joacar commented on September 12, 2024

This happens in Azure Devops with self-hosted agents as well. Agent version 2.206.1 running Linux

Update: Setting the environment resolves the issue

Update2: Other applications can build and published using 8.0.400 on the very same agent..

from runner-images.

jculverwell avatar jculverwell commented on September 12, 2024

Getting the same issue, looks like something broke today. Github action is failing whilst building a .net 8.0 C# project....

MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "/tmp/MSBuildTemprunner/" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: /tmp/MSBuildTemprunner/MSBuild_pid-2168_97623965aa194746ac7549b455b86573.failure.txt:
MSBUILD : error MSB4166: UNHANDLED EXCEPTIONS FROM PROCESS 2168:
MSBUILD : error MSB4166: =====================
MSBUILD : error MSB4166: 08/14/2024 07:07:10
MSBUILD : error MSB4166: System.ArgumentNullException: Value cannot be null. (Parameter 'value')
MSBUILD : error MSB4166: at System.ArgumentNullException.Throw(String paramName)
MSBUILD : error MSB4166: at System.IO.BinaryWriter.Write(String value)
MSBUILD : error MSB4166: at Microsoft.Build.Framework.TelemetryEventArgs.WriteToStream(BinaryWriter writer)
MSBUILD : error MSB4166: at Microsoft.Build.Shared.LogMessagePacketBase.WriteToStream(ITranslator translator)
MSBUILD : error MSB4166: at Microsoft.Build.Shared.LogMessagePacketBase.Translate(ITranslator translator)
MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
MSBUILD : error MSB4166: ===================
MSBUILD : error MSB4166:
MSBUILD : error MSB4166:
Error: Process completed with exit code 1.

from runner-images.

hemanthmanga avatar hemanthmanga commented on September 12, 2024

@lancelind We are currently investigating the issue and will provide an update as soon as we have more information. Thank you.

from runner-images.

bgrainger avatar bgrainger commented on September 12, 2024

Duplicate issues filed:

Authoritative issue: dotnet/sdk#42731

from runner-images.

onionhammer avatar onionhammer commented on September 12, 2024

This started happening for me as well

from runner-images.

ivan-84 avatar ivan-84 commented on September 12, 2024

Apparently the same regression has been introduced in .NET 9 preview (9.0.100-preview.7.24407.12) which is now installed with the latest VS, because even after installing 8.0.401 whenever I'm trying to run azd deploy MyService it fails with the error above. When running azd deploy with --debug flag I can see that it appears to be using the latest available .NET version which in my case is the .NET 9 preview. The only way how I could make it work (setting DOTNET_CLI_TELEMETRY_OPTOUT to 1 did nothing) is to add in the root folder of my solution "global.json" with this content:

{
    "sdk": {
        "version": "8.0.401"
    }
}

from runner-images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.