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 <s...@hackerrank.com> 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 > > -- > > <https://www.hackerrank.com/> > > Shiv Deepak▌ > Engineering Manager > > HackerRank > > Blog <https://blog.hackerrank.com/> / Twitter > <https://twitter.com/hackerrank> / Linkedin > <https://www.linkedin.com/company/hackerrank/> / Facebook > <https://www.facebook.com/hackerrank/> > >