[
https://issues.apache.org/jira/browse/MESOS-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16460466#comment-16460466
]
Andrew Schwartzmeyer commented on MESOS-7740:
---------------------------------------------
When MESOS-8064, PowerShell will no longer be used on Windows to deal with
archives, resolving this issue.
> Powershell doesn't catch CRC errors when unzipping a file (fetcher)
> -------------------------------------------------------------------
>
> Key: MESOS-7740
> URL: https://issues.apache.org/jira/browse/MESOS-7740
> Project: Mesos
> Issue Type: Bug
> Reporter: Jeff Coffler
> Priority: Minor
> Labels: fetcher, windows
>
> On Windows, Powershell is used to decompress zip files within the fetcher.
> In fetcher_tests.cpp, test FetcherTest.Unzip_ExtractInvalidFile, specifically
> tests for a .zip file with a bad CRC.
> On Linux, this is properly decoded, but considered an error since the 'unzip'
> utility returns 2.
> On Windows, this is properly decoded and a success code is returned.
> When we move to programmatically decoding container files (tar, gzip, zip,
> etc), then this issue should be resolved. The test is marked with
> TODO(jeffaco) for these changes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)