mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schwartzmeyer (JIRA)" <>
Subject [jira] [Commented] (MESOS-7740) Powershell doesn't catch CRC errors when unzipping a file (fetcher)
Date Tue, 30 Jan 2018 19:31:00 GMT


Andrew Schwartzmeyer commented on MESOS-7740:

Let's use

Reason: Microsoft is shipping it with the new bundled tar

> Powershell doesn't catch CRC errors when unzipping a file (fetcher)
> -------------------------------------------------------------------
>                 Key: MESOS-7740
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Jeff Coffler
>            Priority: Minor
>              Labels: 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

View raw message