Skip to content

VerifySourcelinks fails, passes on rerun #5259

@ericstj

Description

@ericstj

Official build failing with:

[xUnit.net 00:02:18.25]     Microsoft.DotNet.SourceBuild.Tests.SourcelinkTests.VerifySourcelinks [FAIL]
[xUnit.net 00:02:18.25]       Assert.True() Failure
[xUnit.net 00:02:18.25]       Expected: True
[xUnit.net 00:02:18.25]       Actual:   False
[xUnit.net 00:02:18.25]       Stack Trace:
[xUnit.net 00:02:18.25]         /_/test/Microsoft.DotNet.SourceBuild.Tests/SourcelinkTests.cs(68,0): at Microsoft.DotNet.SourceBuild.Tests.SourcelinkTests.VerifySourcelinks()
[xUnit.net 00:02:18.25]            at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:02:18.25]            at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[xUnit.net 00:02:18.25]       Output:
[xUnit.net 00:02:18.25]         Executing: tar xzf /__w/1/s/artifacts/assets/Release/dotnet-symbols-all-11.0.100-preview.3.26154.118-centos.10-x64.tar.gz -C /__w/1/s/artifacts/bin/Microsoft.DotNet.SourceBuild.Tests/Release/SourcelinkTests/symbols
[xUnit.net 00:02:18.25]         Sourcelink verification failed for the following files:
[xUnit.net 00:02:18.25]         /__w/1/s/artifacts/bin/Microsoft.DotNet.SourceBuild.Tests/Release/SourcelinkTests/symbols/runtime/obj/System.Composition.Convention/Release/net11.0/System.Composition.Convention.pdb

Given the isolated and disconnected failure, I think it might be flaky. Rerunning.

#5206 made it through phase1 so I think this change is good from a completeness perspective.

Originally posted by @ericstj in #5187 (comment)

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions