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

dotnet workload is broken on windows-latest runner image 20250113.1.0 when using SDK version 8.0.x #11402

Open
2 of 16 tasks
bdach opened this issue Jan 16, 2025 · 23 comments
Open
2 of 16 tasks

Comments

@bdach
Copy link

bdach commented Jan 16, 2025

Description

First noticed via android builds starting to fail intermittently out of nowhere after no changes on our behalf.

Upon throwing several workarounds at the problem and failing every one (which was made even more difficult by the fact that the build is half-rolled-out, therefore the failure only occurs in ~15% of builds queued, and this is not the first time this sort of thing has happened, by the way), I can't come to a conclusion other than just say that dotnet workload has become terminally broken somehow, because even a bare dotnet workload search fails with the exact same error.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

  Image: windows-2022
  Version: 20250113.1.0
  Included Software: https://github.com/actions/runner-images/blob/win22/20250113.1/images/windows/Windows2022-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20250113.1

Is it regression?

Yes, last working version was 20250105.1.0

Expected behavior

Run dotnet workload search
  dotnet workload search
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    JAVA_HOME: C:\hostedtoolcache\windows\Java_Microsoft_jdk\11.0.19\x64
    JAVA_HOME_11_X64: C:\hostedtoolcache\windows\Java_Microsoft_jdk\11.0.19\x64
    DOTNET_ROOT: C:\Program Files\dotnet

Workload ID                Description                                             
-----------------------------------------------------------------------------------
android                    .NET SDK Workload for building Android applications.    
aspire                     .NET Aspire SDK                                         
ios                        .NET SDK Workload for building iOS applications.        
maccatalyst                .NET SDK Workload for building MacCatalyst applications.
macos                      .NET SDK Workload for building macOS applications.      
maui                       .NET MAUI SDK for all platforms                         
maui-android               .NET MAUI SDK for Android                               
maui-desktop               .NET MAUI SDK for Desktop                               
maui-ios                   .NET MAUI SDK for iOS                                   
maui-maccatalyst           .NET MAUI SDK for Mac Catalyst                          
maui-mobile                .NET MAUI SDK for Mobile                                
maui-tizen                 .NET MAUI SDK for Tizen                                 
maui-windows               .NET MAUI SDK for Windows                               
runtimes-windows           workloads/runtimes-windows/description                  
runtimes-windows-net6      workloads/runtimes-windows-net6/description             
tvos                       .NET SDK Workload for building tvOS applications.       
wasm-experimental          workloads/wasm-experimental/description                 
wasm-tools                 .NET WebAssembly build tools                            
wasm-tools-net6            .NET WebAssembly build tools     

(https://github.com/bdach/osu/actions/runs/12805144936/job/35700930330#step:5:1)

Actual behavior

Run dotnet workload search
  dotnet workload search
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    JAVA_HOME: C:\hostedtoolcache\windows\Java_Microsoft_jdk\11.0.19\x64
    JAVA_HOME_11_X64: C:\hostedtoolcache\windows\Java_Microsoft_jdk\11.0.19\x64
    DOTNET_ROOT: C:\Program Files\dotnet

Unhandled exception: Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadManifestCompositionException: Could not find workload 'microsoft-net-runtime-android' extended by workload 'android' in manifest 'microsoft.net.sdk.android' [C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.sdk.android\WorkloadManifest.json]
   at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.<>c__DisplayClass29_0.<<EnumerateWorkloadWithExtends>g__EnumerateWorkloadWithExtendsRec|0>d.MoveNext()
   at System.Linq.Enumerable.AppendPrependIterator`1.LoadFromEnumerator()
   at System.Linq.Enumerable.AppendPrepend1Iterator`1.MoveNext()
   at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
   at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.GetAvailableWorkloadDefinitions()+MoveNext()
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.GetEnumerator()+MoveNext()
   at Microsoft.DotNet.Cli.PrintableTable`1.<>c__DisplayClass9_0.<CalculateColumnWidths>b__0(Column c)
   at System.Linq.Enumerable.SelectListIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
   at System.Linq.Enumerable.SelectListIterator`2.ToArray()
   at Microsoft.DotNet.Cli.PrintableTable`1.PrintRows(IEnumerable`1 rows, Action`1 writeLine)
   at Microsoft.DotNet.Workloads.Workload.Search.WorkloadSearchCommand.Execute()
   at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
Error: Process completed with exit code 1.

(https://github.com/bdach/osu/actions/runs/12805144936/job/35701092126#step:5:1)

Repro steps

I believe this job definition should be sufficient to reproduce and minimal enough to not require testing on the original project:

  build-only-android:
    name: Build only (Android)
    runs-on: windows-latest
    timeout-minutes: 60
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Setup JDK 11
        uses: actions/setup-java@v4
        with:
          distribution: microsoft
          java-version: 11

      - name: Install .NET 8.0.x
        uses: actions/setup-dotnet@v4
        with:
          dotnet-version: "8.0.x"

      - name: wtf
        run: dotnet workload search

As long as you actually get lucky enough to run on the correct runner image version, that is.

@bdach
Copy link
Author

bdach commented Jan 16, 2025

Possibly also affects Azure DevOps if dotnet/sdk#45931 is anything to go by, but I have no means to verify.

@Prabhatkumar59 Prabhatkumar59 self-assigned this Jan 16, 2025
@corentinvds
Copy link

All our dotnet builds are failing now with windows-latest.

A simple way to reproduce it is to run dotnet --info.

jobs:
      - job: MyJob
        pool:
          vmImage: 'windows-2022'
        steps:
          - checkout: self
          - script: 'dotnet --info'

Here is an extract of the logs:

2025-01-16T10:50:30.1416750Z ==============================================================================
2025-01-16T10:50:30.1416886Z Task         : Command line
2025-01-16T10:50:30.1416971Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2025-01-16T10:50:30.1417088Z Version      : 2.246.1
2025-01-16T10:50:30.1417154Z Author       : Microsoft Corporation
2025-01-16T10:50:30.1417236Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2025-01-16T10:50:30.1417341Z ==============================================================================
2025-01-16T10:50:31.4628343Z Generating script.
2025-01-16T10:50:31.4722167Z Script contents: shell
2025-01-16T10:50:31.4729057Z dotnet --info
2025-01-16T10:50:31.5033576Z ========================== Starting Command Output ===========================
2025-01-16T10:50:31.5321872Z ##[command]"C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\01ac4fda-3db1-4768-aa21-8d79322a3875.cmd""
2025-01-16T10:50:44.8563532Z .NET SDK:
2025-01-16T10:50:44.8564133Z  Version:           8.0.404
2025-01-16T10:50:44.8564861Z  Commit:            7b190310f2
2025-01-16T10:50:47.9899656Z  Workload version:  8.0.400-manifests.95994a6b
2025-01-16T10:50:49.1252370Z  MSBuild version:   17.11.9+a69bbaaf5
2025-01-16T10:50:49.1252997Z 
2025-01-16T10:50:49.1253267Z Runtime Environment:
2025-01-16T10:50:49.1269200Z  OS Name:     Windows
2025-01-16T10:50:49.1269606Z  OS Version:  10.0.20348
2025-01-16T10:50:49.1288090Z  OS Platform: Windows
2025-01-16T10:50:49.2298987Z  RID:         win-x64
2025-01-16T10:50:49.2299734Z  Base Path:   C:\Program Files\dotnet\sdk\8.0.404\
2025-01-16T10:50:49.2299919Z 
2025-01-16T10:50:49.2300181Z .NET workloads installed:
2025-01-16T10:50:51.3425337Z Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadManifestCompositionException: Could not find workload 'microsoft-net-runtime-android' extended by workload 'android' in manifest 'microsoft.net.sdk.android' [C:\Program Files\dotnet\sdk-manifests\6.0.300\microsoft.net.sdk.android\WorkloadManifest.json]
2025-01-16T10:50:51.3426005Z    at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.<>c__DisplayClass29_0.<<EnumerateWorkloadWithExtends>g__EnumerateWorkloadWithExtendsRec|0>d.MoveNext()
2025-01-16T10:50:51.3426332Z    at System.Linq.Enumerable.AppendPrependIterator`1.LoadFromEnumerator()
2025-01-16T10:50:51.3427002Z    at System.Linq.Enumerable.AppendPrepend1Iterator`1.MoveNext()
2025-01-16T10:50:51.3427345Z    at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
2025-01-16T10:50:51.3427689Z    at Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadResolver.GetAvailableWorkloadDefinitions()+MoveNext()
2025-01-16T10:50:51.3427989Z    at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
2025-01-16T10:50:51.3428622Z    at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer)
2025-01-16T10:50:51.3429295Z    at Microsoft.DotNet.Workloads.Workload.VisualStudioWorkloads.GetInstalledWorkloads(IWorkloadResolver workloadResolver, InstalledWorkloadsCollection installedWorkloads, Nullable`1 sdkFeatureBand)
2025-01-16T10:50:51.3429935Z    at Microsoft.DotNet.Workloads.Workload.List.WorkloadInfoHelper.AddInstalledVsWorkloads(IEnumerable`1 sdkWorkloadIds)
2025-01-16T10:50:51.3430714Z    at Microsoft.DotNet.Cli.WorkloadCommandParser.ShowWorkloadsInfo(ParseResult parseResult, WorkloadInfoHelper workloadInfoHelper, IReporter reporter, String dotnetDir, Boolean showVersion)
2025-01-16T10:50:51.3431115Z    at Microsoft.DotNet.Cli.CommandLineInfo.PrintWorkloadsInfo()
2025-01-16T10:50:51.3431491Z    at Microsoft.DotNet.Cli.CommandLineInfo.PrintInfo()
2025-01-16T10:50:51.3431873Z    at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
2025-01-16T10:50:51.3432210Z    at Microsoft.DotNet.Cli.Program.Main(String[] args)
2025-01-16T10:50:53.3659460Z 
2025-01-16T10:50:53.3668659Z Host:
2025-01-16T10:50:53.3688141Z   Version:      9.0.0
2025-01-16T10:50:53.3694852Z   Architecture: x64
2025-01-16T10:50:53.3695199Z   Commit:       9d5a6a9aa4
2025-01-16T10:50:53.3695583Z   RID:          win-x64
2025-01-16T10:50:53.3695856Z 
2025-01-16T10:50:53.3704224Z .NET SDKs installed:
2025-01-16T10:50:53.3704868Z   6.0.136 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3705143Z   6.0.203 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3705443Z   6.0.321 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3705820Z   6.0.428 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3706408Z   8.0.111 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3706709Z   8.0.206 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3707054Z   8.0.307 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3707361Z   8.0.404 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3707654Z   9.0.101 [C:\Program Files\dotnet\sdk]
2025-01-16T10:50:53.3707807Z 
2025-01-16T10:50:53.3708088Z .NET runtimes installed:
2025-01-16T10:50:53.3708424Z   Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3708812Z   Microsoft.AspNetCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3709193Z   Microsoft.AspNetCore.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3709572Z   Microsoft.AspNetCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3709970Z   Microsoft.AspNetCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3710606Z   Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3711057Z   Microsoft.AspNetCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2025-01-16T10:50:53.3711493Z   Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3711989Z   Microsoft.NETCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3712416Z   Microsoft.NETCore.App 6.0.35 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3712843Z   Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3713303Z   Microsoft.NETCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3720562Z   Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3733196Z   Microsoft.NETCore.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
2025-01-16T10:50:53.3733737Z   Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
2025-01-16T10:50:53.3734138Z   Microsoft.WindowsDesktop.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
2025-01-16T10:50:53.3734532Z   Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
2025-01-16T10:50:53.3734982Z   Microsoft.WindowsDesktop.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
2025-01-16T10:50:53.3743440Z   Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
2025-01-16T10:50:53.3743917Z   Microsoft.WindowsDesktop.App 9.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
2025-01-16T10:50:53.3744142Z 
2025-01-16T10:50:53.3744458Z Other architectures found:
2025-01-16T10:50:53.3744765Z   x86   [C:\Program Files (x86)\dotnet]
2025-01-16T10:50:53.3745099Z     registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
2025-01-16T10:50:53.3745316Z 
2025-01-16T10:50:53.3745584Z Environment variables:
2025-01-16T10:50:53.3745850Z   Not set
2025-01-16T10:50:53.3746034Z 
2025-01-16T10:50:53.3746257Z global.json file:
2025-01-16T10:50:53.3746537Z   D:\a\1\s\XXXXXXXX\global.json
2025-01-16T10:50:53.3746727Z 
2025-01-16T10:50:53.3747886Z Learn more:
2025-01-16T10:50:53.3748344Z   https://aka.ms/dotnet/info
2025-01-16T10:50:53.3748513Z 
2025-01-16T10:50:53.3748766Z Download .NET:
2025-01-16T10:50:53.3749045Z   https://aka.ms/dotnet/download
2025-01-16T10:50:53.4608882Z ##[error]Cmd.exe exited with code '1'.

@Prabhatkumar59
Copy link
Contributor

Hi @bdach - Thank you for bringing this issue to our attention. We will look into this issue closely and will update you after investigating. Additionally, latest windows image version is going to roll out. Will update you on this.

@thomasbach-dk
Copy link

Any news here? We are stuck aswell..

@ksidirop-laerdal
Copy link

ksidirop-laerdal commented Jan 16, 2025

Indeed the 2022 vmimage is broken all of a sudden. But the windows-2019 vmimage works.

PS: I do use a global.json file to target the latest version of dotnet 8.x available in the windows-2022 image.

@fuzzzerd
Copy link

All our dotnet builds are failing now with windows-latest.

A simple way to reproduce it is to run dotnet --info.

jobs:
- job: MyJob
pool:
vmImage: 'windows-2022'
steps:
- checkout: self
- script: 'dotnet --info'

I am seeing the same thing on a few private repositories as well. The dotnet --info step is the fastest way to trigger the failure. In my case, disabling the dotnet --info step in the action allowed the app to build, so the SDK seems to be installed, though the error notes the Android workload which my app isn't using.

@Prabhatkumar59
Copy link
Contributor

Prabhatkumar59 commented Jan 20, 2025

Hi @bdach - We are looking into this issue closely and will update you on this. Appreciate your patience!

cc: @fuzzzerd , @thomasbach-dk , @corentinvds , @ksidirop-laerdal

@thomasbach-dk
Copy link

Hi @bdach - We are looking into this issue closely and will update you on this. Appreciate your patience!

cc: @fuzzzerd , @thomasbach-dk , @corentinvds , @ksidirop-laerdal

Still no update?

@kishorekumar-anchala
Copy link
Contributor

Hi @thomasbach-dk - We're not encountering the issue with the windows-latest. we'll keep you updated by monitoring for two days. Thank you for your support !

  Image: windows-2022
  Version: 20250113.1.0
  Included Software: https://github.com/actions/runner-images/blob/win22/20250113.1/images/windows/Windows2022-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20250113.1
Image

@thomasbach-dk
Copy link

Hi @thomasbach-dk - We're not encountering the issue with the windows-latest. we'll keep you updated by monitoring for two days. Thank you for your support !

  Image: windows-2022
  Version: 20250113.1.0
  Included Software: https://github.com/actions/runner-images/blob/win22/20250113.1/images/windows/Windows2022-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/win22%2F20250113.1
Image

Well. I do.

Image

@bdach
Copy link
Author

bdach commented Jan 22, 2025

@kishorekumar-anchala I can't see what you're doing precisely, but I suspect that your attempt at reproduction may be accidentally using dotnet sdk 9.0 which appears to be unaffected. It's the 8.0 version that is broken here.

Please find minimal reproducer at https://github.com/bdach/dotnet-breakage-reproducer. In particular the global.json file in the repository root, as well as the actions/checkout steps in the workflow definition are instrumental to reproduction. See latest failing job for confirmation of reproduction.

@bdach bdach changed the title dotnet workload is broken on windows-latest runner image 20250113.1.0 dotnet workload is broken on windows-latest runner image 20250113.1.0 when using SDK version 8.0.x Jan 22, 2025
@kishorekumar-anchala
Copy link
Contributor

Hi @bdach -

I tried with same workflow which is given in the repro steps , Kindly check the below workflow. thank you !

https://github.com/kishorekumar-anchala/runner-images-kishore/actions/runs/12906689108/workflow

@bdach
Copy link
Author

bdach commented Jan 22, 2025

I tried with same workflow which is given in the repro steps , Kindly check the below workflow. thank you !

As stated above, that workflow used sdk 9.0 as seen in the output of dotnet --info: https://github.com/kishorekumar-anchala/runner-images-kishore/actions/runs/12906689108/job/35988544986#step:5:39

It is required to create a global.json file like this one in the repository root. Maybe there are other ways to force dotnet to use sdk version 8.0, but that one should 100% work.

@kishorekumar-anchala
Copy link
Contributor

Hi @bdach - tried with your code and did a small change it works , please try with below workaround. thank you !

{
  "sdk": {
    "version": "8.0.*",
    "rollForward": "latestFeature",
    "allowPrerelease": false
  }
}

Workflow URL : https://github.com/kishorekumar-anchala/dotnet-breakage-reproducer/actions/runs/12910058468/job/35999210886

@bdach
Copy link
Author

bdach commented Jan 22, 2025

The SDK version in global.json does not support wildcard specifications. In fact what specifying that does is turn off the specification to use .NET 8 entirely, which is evident from the dotnet --info portion of the run you linked.

While yes we could consider just cutting losses and changing things to run on sdk 9, it is a bit strange to see that the default windows runner apparently is not able to correctly run the current LTS version of the sdk.

bdach added a commit to bdach/osu that referenced this issue Jan 23, 2025
Per workaround suggested in
actions/runner-images#11402 (comment).

Applying this now as my hopes for a swift resolution without changes on
our side are slim to none (read thread linked above in full to learn
why).
@kishorekumar-anchala
Copy link
Contributor

Hi @bdach -

it seems the issue with dotnet , i request you please submit a bug issue with the dotnet-sdk team .

link : https://github.com/dotnet/sdk/issues

Thank you !

@bdach
Copy link
Author

bdach commented Jan 23, 2025

I came here from a dotnet/sdk report (dotnet/sdk#45931 (comment)). Therein it is claimed that "something is wrong with [the] windows install". So I'm not really sure how this is going to proceed to a resolution at this stage.

@thomasbach-dk
Copy link

thomasbach-dk commented Jan 23, 2025

Hi @bdach -

it seems the issue with dotnet , i request you please submit a bug issue with the dotnet-sdk team .

link : https://github.com/dotnet/sdk/issues

Thank you !

Everything worked fine until the release of window-2022 runner version 20250113.1.0. Since you did not introduce any new .NET SDKs in this version it´s hard to believe that it should be a .NET issue only. You did remove .NET 7 though, but that seems to have left the preinstalled workloads broken.

@bdach
Copy link
Author

bdach commented Jan 23, 2025

I will also say that windows-2019 works completely fine as a workaround with no further changes required on our side (thanks @ksidirop-laerdal for the heads up!)

@thomasbach-dk
Copy link

thomasbach-dk commented Jan 23, 2025

I will also say that windows-2019 works completely fine as a workaround with no further changes required on our side (thanks @ksidirop-laerdal for the heads up!)

I am trying with windows-2019 as well. But my experience is that the runner is unbelievably slow. Did you experience anything like that?

I also tried with windows-2025, but I´m struggling with installation of the maui workload:
Image

@bdach
Copy link
Author

bdach commented Jan 23, 2025

I am trying with windows-2019 as well. But my experience is that the runner is unbelievably slow. Did you experience anyting like that?

My sample size is very low and I generally mostly care about seeing green at all rather than how fast I see green, but from what low sample size I have I don't seem to notice it being that much slower than what we used to have before the build broke.

I also tried with windows-2025, but I´m struggling with installation of the maui workload:

Yeah I also tried windows-2025 and it seems broken in other ways as you said, but I sorta gave up on reporting it since I figured it was early beta and it was probably not worth the hassle. Wouldn't be surprised if this had something in common with the 2022 issue though.

peppy pushed a commit to ppy/osu that referenced this issue Jan 24, 2025
Per workaround suggested in
actions/runner-images#11402 (comment).

Applying this now as my hopes for a swift resolution without changes on
our side are slim to none (read thread linked above in full to learn
why).
@thomasbach-dk
Copy link

Installing .NET SDK 7.0.x before installing workloads seems to fix the issue.

- name: Install .NET SDK
  uses: actions/setup-dotnet@v4
  with:
    dotnet-version: 7.0.x

 - name: Install .NET MAUI workloads
...

@tuck5tar
Copy link

@fuzzzerd trying to get back to where i started i just want best setup for Iracing and watching YouTube. i also stream a few sites to buy stuff like eBay. i have a p870dmg-3 Clevo Euroccom Evoc with i7 6700k and dual GTX1080's in SLI and i have the premamod unlocked bios those are my specs if that helps any. I need the best possible Iracing setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants