Replace SharpCompress with System.Formats.Tar in tests #7049
Azure Pipelines / dotnet-docker-nightly-pr
succeeded
Feb 20, 2026 in 41m 55s
Build #20260220.8 had test failures
Details
- Failed: 1 (0.01%)
- Passed: 5,603 (71.95%)
- Other: 2,183 (28.03%)
- Total: 7,787
Annotations
Check failure on line 1 in Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyDotnetFolderContents
azure-pipelines / dotnet-docker-nightly-pr
Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyDotnetFolderContents
System.IO.InvalidDataException : The archive entry was compressed using an unsupported compression method.
Raw output
at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
at System.IO.Compression.Inflater.ReadOutput(Byte* bufPtr, Int32 length, Int32& bytesRead)
at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
at System.IO.Compression.DeflateStream.ReadCore(Span`1 buffer)
at System.IO.Stream.ReadAtLeastCore(Span`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream)
at System.IO.Stream.ReadExactly(Span`1 buffer)
at System.Formats.Tar.TarHeader.TryGetNextHeader(Stream archiveStream, Boolean copyData, TarEntryFormat initialFormat, Boolean processDataBlock)
at System.Formats.Tar.TarReader.TryGetNextEntryHeader(Boolean copyData)
at System.Formats.Tar.TarReader.GetNextEntry(Boolean copyData)
at Microsoft.DotNet.Docker.Tests.SdkImageTests.EnumerateArchiveContents(String path)+MoveNext() in D:\a\_work\1\s\dotnet-docker\tests\Microsoft.DotNet.Docker.Tests\SdkImageTests.cs:line 290
at System.Linq.Enumerable.<ToArray>g__EnumerableToArray|314_0[TSource](IEnumerable`1 source)
at System.Linq.Enumerable.OrderedIterator`1.ToArray()
at Microsoft.DotNet.Docker.Tests.SdkImageTests.GetExpectedSdkContentsAsync(ProductImageData imageData) in D:\a\_work\1\s\dotnet-docker\tests\Microsoft.DotNet.Docker.Tests\SdkImageTests.cs:line 329
at Microsoft.DotNet.Docker.Tests.SdkImageTests.VerifyDotnetFolderContents(ProductImageData imageData) in D:\a\_work\1\s\dotnet-docker\tests\Microsoft.DotNet.Docker.Tests\SdkImageTests.cs:line 149
--- End of stack trace from previous location ---
Loading