Skip to content

Many test failures with System.IO.InvalidDataException : End of Central Directory record could not be found. #7662

Description

@tarekgh

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1512421
Build error leg or test failing: Microsoft.ML.TensorFlow.Scenarios.TensorFlowScenariosTests.TensorFlowGettingSchemaMultipleTimes
Pull request: https://github.com/dotnet/machinelearning.git/pull/7661

System.IO.InvalidDataException : End of Central Directory record could not be found

   at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
   at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding)
   at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
   at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding, Boolean overwriteFiles)
   at Microsoft.ML.TensorFlow.Scenarios.TensorFlowScenariosTests.UnZip(String gzArchiveName, String destFolder) in D:\a\_work\1\s\test\Microsoft.ML.TensorFlow.Tests\TensorflowTests.cs:line 2015
   at Microsoft.ML.TensorFlow.Scenarios.TensorFlowScenariosTests.DownloadImageSet(String imagesDownloadFolder) in D:\a\_work\1\s\test\Microsoft.ML.TensorFlow.Tests\TensorflowTests.cs:line 1958
   at Microsoft.ML.TensorFlow.Scenarios.TensorFlowScenariosTests..ctor(ITestOutputHelper output) in D:\a\_work\1\s\test\Microsoft.ML.TensorFlow.Tests\TensorflowTests.cs:line 73
   at InvokeStub_TensorFlowScenariosTests..ctor(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.IO.InvalidDataException : End of Central Directory record could not be found",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1512421
Error message validated: [System.IO.InvalidDataException : End of Central Directory record could not be found]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/16/2026 3:25:44 PM UTC

Report

Build Repository Test Pull Request
1513035 dotnet/machinelearning Microsoft.ML.AutoML.Test.AutoFitTests.AutoFitMultiClassification_Image_CV
1513034 dotnet/machinelearning Microsoft.ML.AutoML.Test.AutoFeaturizerTests.AutoFeaturizer_image_test
1512779 dotnet/machinelearning Microsoft.ML.AutoML.Test.AutoFitTests.AutoFitMultiClassification_Image_CV
1512778 dotnet/machinelearning Microsoft.ML.AutoML.Test.AutoFeaturizerTests.AutoFeaturizer_image_test
1512421 dotnet/machinelearning Microsoft.ML.AutoML.Test.AutoFeaturizerTests.AutoFeaturizer_image_test #7661

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 5 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabblocking-clean-ciBlocking PR or rolling buildsuntriagedNew issue has not been triaged

    Type

    No type

    Fields

    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