It's sad that we fail at runtime like this when certain utilities aren't installed. We're currently working to replace the extraction logic with libarchive instead, so we'll no longer implicitly require unzip/gunzip/tar/7z etc. I think it will probably make it into 1.6.0.
On 03/19/2018 4:38 pm, Shiv Deepak wrote: > Thanks. I installed unzip. That worked. > > On Mon, Mar 19, 2018 at 3:48 PM, Tomek Janiszewski <[email protected]> wrote: > Do you have unzip installed? Can you try unzipping file like it's done in the > test? > > pon., 19.03.2018, 22:53 użytkownik Shiv Deepak <[email protected]> napisał: > Hello, > > I am trying to build Mesos 1.5.0 from source on Ubuntu 16.04. > > I tried on Docker, VM, and EC2. Three test cases are failing no matter what. > > Here is the list. > > [ PASSED ] 1904 TESTS. > [ FAILED ] 3 TESTS, LISTED BELOW: > [ FAILED ] FETCHERTEST.UNZIP_EXTRACTFILE > [ FAILED ] FETCHERTEST.UNZIP_EXTRACTINVALIDFILE > [ FAILED ] FETCHERTEST.UNZIP_EXTRACTFILEWITHDUPLICATEDENTRIES > > Here is the test output: > > [ RUN ] FETCHERTEST.UNZIP_EXTRACTFILE > ../../SRC/TESTS/FETCHER_TESTS.CPP:870: FAILURE > (FETCH).FAILURE(): FAILED TO FETCH ALL URIS FOR CONTAINER > '709DE28F-5F71-439D-A032-072DF865090F': EXITED WITH STATUS 1 > [ FAILED ] FETCHERTEST.UNZIP_EXTRACTFILE (297 MS) > [ RUN ] FETCHERTEST.UNZIP_EXTRACTINVALIDFILE > ../../SRC/TESTS/FETCHER_TESTS.CPP:936: FAILURE > VALUE OF: OS::EXISTS(EXTRACTEDFILE) > ACTUAL: FALSE > EXPECTED: TRUE > [ FAILED ] FETCHERTEST.UNZIP_EXTRACTINVALIDFILE (201 MS) > [ RUN ] FETCHERTEST.UNZIP_EXTRACTFILEWITHDUPLICATEDENTRIES > ../../SRC/TESTS/FETCHER_TESTS.CPP:997: FAILURE > (FETCH).FAILURE(): FAILED TO FETCH ALL URIS FOR CONTAINER > 'DD749015-3D16-4926-B7F3-E1C96211A461': EXITED WITH STATUS 1 > [ FAILED ] FETCHERTEST.UNZIP_EXTRACTFILEWITHDUPLICATEDENTRIES (201 MS) > > Is this expected or do I need to fix something? Can someone please point me > in the right direction? > > Thank you > > -- > > [1] > > Shiv Deepak▌ > Engineering Manager > > HackerRank > > Blog [2] / Twitter [3] / Linkedin [4] / Facebook [5] -- [1] Shiv Deepak▌ Engineering Manager HackerRank Blog [2] / Twitter [3] / Linkedin [4] / Facebook [5] Links: ------ [1] https://www.hackerrank.com/ [2] https://blog.hackerrank.com/ [3] https://twitter.com/hackerrank [4] https://www.linkedin.com/company/hackerrank/ [5] https://www.facebook.com/hackerrank/

