Enable support for an LSP client to open source generated files #68771
Build Analysis / Build Analysis
failed
Feb 17, 2024 in 0s
.NET Result Analysis
Details
Test Failures (9 tests failed)
🔹 [All failing tests from roslyn-CI]
- Exception Message
Assert.Contains() Failure Not found: "uri":"source-generated:///Microsoft.CodeAnalysis.Test.Utilities/Roslyn.Test.Utilities.TestGenerators.SingleFileTestGenerator/Test1.cs" In value: {"hoverProvider":true,"declarationProvider":false,"definitionProvider":true,"referencesProvider":true,"typeDefinitionProvider":false,"documentSymbolProvider":true,"foldingRangeProvider":true,"diagnosticProvider":false,"semanticTokensProvider":{"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","class name","constant name","delegate name","enum member name","enum name","event name","excluded code","extension method name","field name","interface name","json - array","json - comment","json - constructor name","json - keyword","json - number","json - object","json - operator","json - property name","json - punctuation","json - string","json - text","keyword - control","label name","local name","method name","module name","namespace name","operator - overloaded","parameter name","preprocessor keyword","preprocessor text","property name","punctuation","record class name","record struct name","regex - alternation","regex - anchor","regex - character class","regex - comment","regex - grouping","regex - other escape","regex - quantifier","regex - self escaped character","regex - text","roslyn test code markdown","string - escape character","string - verbatim","struct name","text","type parameter name","whitespace","xml doc comment - attribute name","xml doc comment - attribute quotes","xml doc comment - attribute value","xml doc comment - cdata section","xml doc comment - comment","xml doc comment - delimiter","xml doc comment - entity reference","xml doc comment - name","xml doc comment - processing instruction","xml doc comment - text","xml literal - attribute name","xml literal - attribute quotes","xml literal - attribute value","xml literal - cdata section","xml literal - comment","xml literal - delimiter","xml literal - embedded expression","xml literal - entity reference","xml literal - name","xml literal - processing instruction","xml literal - text"],"tokenModifiers":["static"]},"id":1,"type":"vertex","label":"capabilities"} {"kind":"csharp","resource":"file:///Z:/TestProject.csproj","name":"TestProject","id":2,"type":"vertex","label":"project"} {"kind":"begin","scope":"project","data":2,"id":3,"type":"vertex","label":"$event"} {"uri":"roslyn-source-generated://0c533cb0-b72c-46de-a59e-b12d235050e1/Test1.cs?documentId=3468d5f5-4136-150b-8c84-908a8dc28fb8&hintName=Test1.cs&assemblyName=Microsoft.CodeAnalysis.Test.Utilities&assemblyVersion=42.42.42.42&typeName=Roslyn.Test.Utilities.TestGenerators.SingleFileTestGenerator","languageId":"csharp","contents":"","id":4,"type":"vertex","label":"document"} {"kind":"begin","scope":"document","data":4,"id":5,"type":"vertex","label":"$event"} {"outV":4,"inVs":[],"id":6,"type":"edge","label":"contains"} {"result":[],"id":7,"type":"vertex","label":"foldingRangeResult"} {"outV":4,"inV":7,"id":8,"type":"edge","label":"textDocument/foldingRange"} {"result":{"data":[]},"id":9,"type":"vertex","label":"semanticTokensResult"} {"outV":4,"inV":9,"id":10,"type":"edge","label":"textDocument/semanticTokens/full"} {"result":[],"id":11,"type":"vertex","label":"documentSymbolResult"} {"outV":4,"inV":11,"id":12,"type":"edge","label":"textDocument/documentSymbol"} {"kind":"end","scope":"document","data":4,"id":13,"type":"vertex","label":"$event"} {"outV":2,"inVs":[4],"id":14,"type":"edge","label":"contains"} {"kind":"end","scope":"project","data":2,"id":15,"type":"vertex","label":"$event"}
- CallStack
at Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests.ProjectStructureTests.VB$StateMachine_3_SourceGeneratedDocumentHasUriInJson.MoveNext() in /_/src/Features/Lsif/GeneratorTest/ProjectStructureTests.vb:line 81 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
- Exception Message
The collection was expected to contain a single element, but it was empty.
- CallStack
at Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests.ProjectStructureTests.VB$StateMachine_2_SourceGeneratedDocumentsIncludeContent.MoveNext() in /_/src/Features/Lsif/GeneratorTest/ProjectStructureTests.vb:line 61 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
❌ Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests_Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests_Microsoft.CodeAnalysis.R..._34.WorkItemExecution [Console] [Details] [Artifacts] [1.35% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
❌ Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests_Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests_Microsoft.CodeAnalysis.R..._46.WorkItemExecution [Console] [Details] [Artifacts] [1.77% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
❌ Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests_Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests_Microsoft.CodeAnalysis.R..._60.WorkItemExecution [Console] [Details] [Artifacts] [2.80% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
❌ Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests.ProjectStructureTests.SourceGeneratedDocumentHasUriInJson [Console] [Details] [Artifacts] [0.20% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (3)
❌ Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests.ProjectStructureTests.SourceGeneratedDocumentsIncludeContent [Console] [Details] [Artifacts] [0.20% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configurations (3)
Loading