aspnetcore: Test failure: StringSegment_ImplicitConvertToSpan

This test fails occasionally with the following error:

System.IO.FileLoadException : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.MemoryExtensions.AsSpan(String text, Int32 start, Int32 length)
   at Microsoft.Extensions.Primitives.StringSegmentTest.StringSegment_ImplicitConvertToSpan() in /_/test/Microsoft.Extensions.Primitives.Tests/StringSegmentTest.cs:line 48

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.

This test failed on master.

CC @Eilon (because the bot doesn’t know who else to pick)

This issue was made automatically. If there is a problem contact ryanbrandenburg.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 44 (42 by maintainers)

Commits related to this issue

Most upvoted comments

Taking this one because it appears to have the same root cause as aspnet/MusicStore#869 and other MusicStore and ServerComparison tests. But, these tests should have much left cruft in the way of finding that root cause.