You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jeff Coffler (JIRA)" <ji...@apache.org> on 2017/06/29 17:36:00 UTC

[jira] [Created] (MESOS-7740) Powershell doesn't catch CRC errors when unzipping a file (fetcher)

Jeff Coffler created MESOS-7740:
-----------------------------------

             Summary: 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
         Environment: Windows
            Reporter: Jeff Coffler
            Priority: Minor


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
(v6.4.14#64029)