runtime: System.IO.Compression.ZipFile tests failing on iOS / tvOS

System.IO.Compression.Tests.ZipFile_ZipArchive_Extract.ExtractToDirectoryExtension_Unicode

https://github.com/dotnet/runtime/blob/d3a72e51641c0bc935bbb3e313df33fe1d9a839a/src/libraries/System.IO.Compression.ZipFile/tests/ZipFileExtensions.ZipArchive.Extract.cs#L24-L33

Assert.True() Failure
Expected: True
Actual:   False

System.IO.Compression.Tests.ZipFile_Extract.ExtractToDirectoryUnicode

https://github.com/dotnet/runtime/blob/d3a72e51641c0bc935bbb3e313df33fe1d9a839a/src/libraries/System.IO.Compression.ZipFile/tests/ZipFile.Extract.cs#L36-L46

Assert.True() Failure
Expected: True
Actual:   False

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 32 (32 by maintainers)

Most upvoted comments

Have you considered xcrun simctl uninstall ... for the affected apps?

For what it’s worth, cleaning the simulator with --reset-simulator after every individual test app execution in my draft PR for the runtime tests adds like 30-40+ minutes to the lane’s end-to-end time. (EDIT: but an individual test execution is not the same as an aggregate run for the entire test suite, so I may have misinterpreted)

I connected to Helix and checked the files belonging to a simulator there. There was 12 GB worth of files there (251 app bundles).

I checked folder belonging to System.IO.Compression.Tests.app and it’s 108 MB large with all the files produced during testing: image

We should think about some regular cleaning or maybe we can tag few of the bundles to reset the simulator state and hope they will eventually be built on every machine.