Skip to content

Correctness CI failing with roslyn-analyzers documentation errors #78414

@dibarbet

Description

@dibarbet

Started randomly failing with errors similar to

Missing entry in D:\a\_work\1\s\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers\RulesMissingDocumentation.md
  RS2000 | <https://github.com/dotnet/roslyn/blob/main/src/RoslynAnalyzers/Microsoft.CodeAnalysis.Analyzers/ReleaseTrackingAnalyzers.Help.md> | Add analyzer diagnostic IDs to analyzer release |
  One or more auto-generated documentation files were either edited manually, or not updated. Please revert changes made to the following files (if manually edited) and run `dotnet msbuild /t:pack` at the root of the repo to automatically update them:
      D:\a\_work\1\s\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers\RulesMissingDocumentation.md
D:\a\_work\1\s\eng\targets\GenerateAnalyzerNuspec.targets(115,5): error MSB3073: The command ""D:\a\_work\1\s\.dotnet\dotnet.exe" --roll-forward major "D:\a\_work\1\s\artifacts\bin\GenerateDocumentationAndConfigFiles\Release\net9.0\GenerateDocumentationAndConfigFiles.dll" "-validateOnly:true" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Rulesets" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Editorconfig" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\GlobalAnalyzerConfigs" "D:\a\_work\1\s\artifacts\bin\\" "Release" "netstandard2.0" "Microsoft.CodeAnalysis.Analyzers.dll;Microsoft.CodeAnalysis.CSharp.Analyzers.dll;Microsoft.CodeAnalysis.VisualBasic.Analyzers.dll" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Build" "Microsoft.CodeAnalysis.Analyzers.props" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Build" "Microsoft.CodeAnalysis.Analyzers.targets" "" "D:\a\_work\1\s\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers" "Microsoft.CodeAnalysis.Analyzers.md" "D:\a\_work\1\s\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers" "Microsoft.CodeAnalysis.Analyzers.sarif" "3.12.0" Microsoft.CodeAnalysis.Analyzers false true true false" exited with code 1. [D:\a\_work\1\s\src\RoslynAnalyzers\NuGet\Microsoft.CodeAnalysis.Analyzers\Microsoft.CodeAnalysis.Analyzers.Package.csproj]
##[error]eng\targets\GenerateAnalyzerNuspec.targets(115,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\.dotnet\dotnet.exe" --roll-forward major "D:\a\_work\1\s\artifacts\bin\GenerateDocumentationAndConfigFiles\Release\net9.0\GenerateDocumentationAndConfigFiles.dll" "-validateOnly:true" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Rulesets" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Editorconfig" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\GlobalAnalyzerConfigs" "D:\a\_work\1\s\artifacts\bin\\" "Release" "netstandard2.0" "Microsoft.CodeAnalysis.Analyzers.dll;Microsoft.CodeAnalysis.CSharp.Analyzers.dll;Microsoft.CodeAnalysis.VisualBasic.Analyzers.dll" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Build" "Microsoft.CodeAnalysis.Analyzers.props" "D:\a\_work\1\s\artifacts\obj\Microsoft.CodeAnalysis.Analyzers.Package\Release\netstandard2.0\Build" "Microsoft.CodeAnalysis.Analyzers.targets" "" "D:\a\_work\1\s\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers" "Microsoft.CodeAnalysis.Analyzers.md" "D:\a\_work\1\s\src\RoslynAnalyzers\Microsoft.CodeAnalysis.Analyzers" "Microsoft.CodeAnalysis.Analyzers.sarif" "3.12.0" Microsoft.CodeAnalysis.Analyzers false true true false" exited with code 1.

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1031753

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions