Skip to content

Sourcelink verification fails due to generated runtime intermediates in PDB #5487

@ellahathaway

Description

@ellahathaway

Sourcelink verification is failing for the main branch in SB_CentOSStream10_Offline_CurrentSourceBuiltSdk_Validation_x64. The PDB for System.Diagnostics.Process contains SourceLink entries for build-generated intermediate sources under src/runtime/artifacts/obj/.... sourcelink test maps these to raw.githubusercontent.com/dotnet/dotnet/<sha>/..., but those files aren’t in the repo, so the URLs 404.

Failing PDB:

  • .../SourcelinkTests/symbols/runtime/obj/System.Diagnostics.Process/Release/net11.0-linux/System.Diagnostics.Process.pdb

Error:

dnx sourcelink test ...System.Diagnostics.Process.pdb
2 Documents with errors:
... /_/src/runtime/artifacts/obj/.../.NETCoreApp,Version=v11.0.AssemblyAttributes.cs
https://raw.githubusercontent.com/dotnet/dotnet/a6dd645cee9a1f6d40c3b151f80fb82bcbb87a4d/src/runtime/artifacts/obj/.../.NETCoreApp,Version=v11.0.AssemblyAttributes.cs
error: url failed NotFound: Not Found
... /_/src/runtime/artifacts/obj/.../System.Diagnostics.Process.AssemblyInfo.cs
https://raw.githubusercontent.com/dotnet/dotnet/a6dd645cee9a1f6d40c3b151f80fb82bcbb87a4d/src/runtime/artifacts/obj/.../System.Diagnostics.Process.AssemblyInfo.cs
error: url failed NotFound: Not Found
sourcelink test failed

Link to failing run (internal Microsoft link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-buildImprovements in source-build's own build processops-monitorIssues created/handled by the source build monitor role

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions