Comments (11)
Can also confirm that adding the ENV variable (DOTNET_CLI_TELEMETRY_OPTOUT: 1) to the github action fixed the issue
from runner-images.
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.
The 8.0.401 hotfix SDK has been released on all channels and contains a fix for this issue.
from runner-images.
Since this appears to be happening from telemetry, try setting the DOTNET_CLI_TELEMETRY_OPTOUT
environment variable to 1
.
from runner-images.
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.
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.
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.
@lancelind We are currently investigating the issue and will provide an update as soon as we have more information. Thank you.
from runner-images.
Duplicate issues filed:
Authoritative issue: dotnet/sdk#42731
from runner-images.
This started happening for me as well
from runner-images.
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)
- Ruiner Elixir HOT 1
- Please provide a ubuntu-minimal image for Standard Runners HOT 6
- Unable to start `Windows Search` service on `windows-latest` HOT 2
- Azure policy creation failure in windows-latest HOT 4
- nvm v0.40.0 introduced error if `.nvmrc` exists HOT 4
- Packer Build Ubuntu 24.04 on main branch is now failing on "Describing Nginx" HOT 4
- Sysprep Error from RegDeleteValueW for value senseGuid HOT 4
- [Request] Toolset Ubuntu 22.04 - set go version 1.22.* as default HOT 1
- Encounter error "AADSTS5000611: Symmetric Key Derivation Function version 'KDFV1' is invalid" HOT 6
- New-AzPolicySetDefinition not working in Latest Microsoft Hosted Devops Agent
- Flag an app or review on Google Play - Computer - Google Play Help
- ubuntu-24.04 Error during unshare(...): Operation not permitted HOT 3
- WDK installation fails during windows2022 image build HOT 14
- Update/Add [tool name] HOT 2
- Failed to Fetch https://azure.archive.ubuntu.com Not Found HOT 7
- Automated
- Update Visual Studio 2022 to 17.11 HOT 1
- Microsoft.Azure.DevOps.Pipelines.Agent v1.23 VM Extension does not start in Ubuntu 24.04 image HOT 2
- Docker-compose not actually installed HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runner-images.