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
Member

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 Step Name Console log Pull Request
2688169 dotnet-sdk Run dotnet-format on dotnet/aspnetcore AspNetCore.sln Log #49223
Build Definition Test Pull Request
1023289 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48611
1023178 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48587
1021108 dotnet/sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Aspire #48028
1020922 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48589
1020237 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48436
1019981 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48556
2689266 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49269
2689020 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #49252
1018194 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48477
1017988 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48494
2688317 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49223
2688152 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49128
1017353 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48486
1016809 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48472
1016293 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48447
2686950 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49128
1015325 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48430
1015239 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48393
1015036 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48425
2685339 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48918
2685332 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #49129
1014045 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48405
1013477 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48274
1012858 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48365
1012929 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48266
1012824 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48363
1012580 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48353
1012515 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48353
1012496 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48274
1012268 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48353
1012414 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48356
1011910 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48291
1011706 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48341
2683475 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48610
1010510 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48298
1010475 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48305
1010369 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48297
1010372 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48298
2682841 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48610
1010094 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48277
1009755 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
1009247 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48246
1009236 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48087
1008785 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
2681751 dotnet-sdk Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.Microsoft.DotNet.Watch.UnitTests.ApplyDeltaTests.MauiBlazor #48610
2681707 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48611
1008115 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #45520
1007537 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48149
1007531 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48151
1007356 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48185
1006402 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48196
1006419 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
1005844 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48181
1005741 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48180
1003629 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
2678133 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48610
1003249 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
2678053 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48918
2678012 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48611
2677925 dotnet-sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48626
1002556 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48028
1002021 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
1001451 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
1000507 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
1000375 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
999041 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48005
998918 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #48012
996348 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47691
996237 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47956
994847 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47873
994703 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47773
994049 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47900
993357 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47819
993281 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47833
992837 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47792
992300 dotnet/sdk dotnet-watch.Tests.dll.1.WorkItemExecution #47850

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 8 77
@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
Member

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
Member

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
Member

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
Member

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
Member

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