Skip to content

[dotnet watch] Cannot open project Lib.fsproj because extension fsproj is not associated with a language #46378

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

Open
carlossanlop opened this issue Jan 28, 2025 · 16 comments
Labels
Area-Watch Known Build Error untriaged Request triage from a team member

Comments

@carlossanlop
Copy link
Contributor

carlossanlop commented Jan 28, 2025

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=932408
Build error leg or test failing: dotnet-sdk-public-ci

Error Message

{
  "ErrorMessage" : "because the file extension '.fsproj' is not associated with a language",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
 dotnet watch ⚠ msbuild: [Failure] Cannot open project 
'C:\h\w\B34E099A\t\dotnetSdkTests\geksol2n.pb2\RenameSourceF---5F6BBE1E\FSharp\Lib.fsproj' 
because the file extension '.fsproj' is not associated with a language.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=932408
Error message validated: [because the file extension '.fsproj' is not associated with a language]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/28/2025 10:53:09 PM UTC

Report

Build Definition Test Pull Request
2719688 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution
1053802 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49194
1053750 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1053677 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.BrowserLaunchTests.Microsoft.DotNet.Watch.UnitTests.BrowserLaunchTests.LaunchesBrowserOnStart #49191
1053685 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49119
1053309 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49150
1052880 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1051629 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1051594 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1051050 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1050197 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49119
2714659 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50200
2714660 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #50201
1048044 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49097
1047665 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49055
1047515 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49086
1047138 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49079
1047254 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1047112 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
2713321 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50200
2713322 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50201
1045987 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1045951 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
2712819 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50200
2712820 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50201
1045311 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49059
1045302 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48956
1045296 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49057
1044972 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1044734 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48964
1044931 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48910
1044918 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49047
2711792 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50176
2711793 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #50177
2711714 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50177
2711716 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #50176
2711332 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #50169
2711331 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50167
2710971 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #50127
2710972 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49770
2710822 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #50127
2710771 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49770
1043560 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49012
1043554 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48919
1043298 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49001
1043238 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48977
1042570 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48982
1042686 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48984
1042252 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48977
1041088 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48925
1041013 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48935
1040634 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48909
2707961 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49771
2707868 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49771
1039826 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48907
1037623 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48883
2705215 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49771
2705076 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49771
1036710 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48737
1036717 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48858
1036711 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48751
1036716 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48859
1035705 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48696
2704494 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49771
1035704 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48697
2703565 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49771
1035212 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48832
1035154 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48609
1034753 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48696
1034754 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48697
2702675 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49771
1033821 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48697
1033729 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48813

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 10 73
@carlossanlop carlossanlop added Area-Watch Known Build Error untriaged Request triage from a team member labels Jan 28, 2025
@baronfel
Copy link
Member

I thought @tmat already fixed this with a servicing fix to the 9.0.1xx releases? It should be in 102 or 103?

@tmat
Copy link
Member

tmat commented Jan 28, 2025

The warning is not the reason why the test failed.

@tmat
Copy link
Member

tmat commented Jan 28, 2025

This commit hasn't been integrated to main yet: 3cd7c65

@Forgind
Copy link
Contributor

Forgind commented Feb 12, 2025

@tmat, just hit this issue in #45419, which is targeting release/9.0.3xx. I don't think this worked.

@tmat
Copy link
Member

tmat commented Feb 12, 2025

@Forgind You can ignore Mac ARM64 failures. The machines are slow and the tests time out.

@Forgind
Copy link
Contributor

Forgind commented Feb 13, 2025

@Forgind You can ignore Mac ARM64 failures. The machines are slow and the tests time out.

Can you explain that a bit further? @marcpopMSFT told me that those machines should actually be faster than the x64 machines. That said, we've also had a lot of timeouts and are actively working on figuring out why (without success as of yet, hence the PR I linked). It may be that we've just misunderstood where the issue is on that leg, and we should just increase the timeout across the board.

@tmat
Copy link
Member

tmat commented Feb 13, 2025

@Forgind Not sure what the status is right now, but the Mac ARM64 CI leg has been optional for a while.

@Forgind
Copy link
Contributor

Forgind commented Feb 13, 2025

It's optional right now because it's been timing out, but we've been trying to figure out why it keeps timing out so we can turn it back on. I don't know that it's just automatically slow.

@tmat
Copy link
Member

tmat commented Feb 13, 2025

Oh, I see. So in this specific case the logs show that dotnet build is taking very long time. Not sure where it gets stuck:

Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.AddSourceFile [OUTPUT] dotnet watch 🚀 Launched '/private/tmp/helix/working/B2910953/p/d/dotnet' with arguments 'build /private/tmp/helix/working/B2910953/w/A696090A/e/testExecutionDirectory/AddSourceFile---E93D266F/AppWithDeps/App.WithDeps.csproj -consoleLoggerParameters:NoSummary;Verbosity=minimal': process id 96065

Seems like memory dumps were saved but I don't see them in the artifact list.

@marcpopMSFT
Copy link
Member

To clarify, forgind was trying to get context on your comment that the arm64 machines are slow. Ever since we added that leg, it has been fairly consistently timing out. When I asked the codeflow chat, they indicated that arm64 should be faster than x64 so it wasn't a machine issue and we should dig further. That's when we made them optional, later turned them off, and have been trying to find out why they are timing out ever since. Do you have a reason to believe the mac arm64 machines are slower than the x64 ones?

@tmat
Copy link
Member

tmat commented Feb 13, 2025

Do you have a reason to believe the mac arm64 machines are slower than the x64 ones?

No specific reason. I didn't know forgind is trying to figure out why. Just stating that we have been skipping the CI leg because it's been timing out.

@Forgind
Copy link
Contributor

Forgind commented Feb 26, 2025

@tmat, hit this again in #47110

Please fix this.

@tmat
Copy link
Member

tmat commented Feb 26, 2025

This fixes a potential race condition: #47117
It looks like this race is hit by #47110 based on the test logs.

@Forgind
Copy link
Contributor

Forgind commented Apr 1, 2025

@tmat, hit this again in #48081

@tmat
Copy link
Member

tmat commented Apr 1, 2025

@Forgind I don't see dotnet-watch failure in that PR.

Found this though:

xUnit.net 00:00:31.22]       System.TypeLoadException : Could not load type 'FluentAssertions.Execution.Execute' from assembly 'FluentAssertions, Version=8.0.2.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a'.
projecttoolscommandresolver: invalid commandResolverArguments
[xUnit.net 00:00:31.22]       Stack Trace:
[xUnit.net 00:00:31.22]            at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass()
[xUnit.net 00:00:31.22]            at Microsoft.NET.TestFramework.Assertions.CommandResultAssertions.Pass()
[xUnit.net 00:00:31.22]         /_/test/Microsoft.NET.TestFramework/TestAsset.cs(268,0): at Microsoft.NET.TestFramework.TestAsset.Restore(ITestOutputHelper log, String relativePath, String[] args)
[xUnit.net 00:00:31.22]         D:\a\_work\1\s\test\Microsoft.DotNet.CommandFactory.Tests\GivenAProjectToolsCommandResolver.cs(170,0): at Microsoft.DotNet.Tests.GivenAProjectToolsCommandResolver.ItReturnsACommandSpecWithArgsContainingCommandPathWhenReturningACommandSpecAndCommandArgumentsAreNull()
[xUnit.net 00:00:31.22]            at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
[xUnit.net 00:00:31.22]            at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:00:31.22]            at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Watch Known Build Error untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

5 participants