[
https://issues.apache.org/jira/browse/MESOS-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031536#comment-15031536
]
Benjamin Bannier commented on MESOS-2512:
-----------------------------------------
This appears to have the identical cause as MESOS-3579: {{mesos-fetcher}} can
sometimes fail to unpack a compressed tar archive since {{tar}} fails to
recognize it as actually compressed. We implemented a work-around for this test
there as well.
> FetcherTest.ExtractNotExecutable is flaky
> -----------------------------------------
>
> Key: MESOS-2512
> URL: https://issues.apache.org/jira/browse/MESOS-2512
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Vinod Kone
> Assignee: Bernd Mathiske
> Labels: mesosphere
>
> Observed in our internal CI.
> {code}
> [ RUN ] FetcherTest.ExtractNotExecutable
> Using temporary directory '/tmp/FetcherTest_ExtractNotExecutable_R5R7Cn'
> tar: Removing leading `/' from member names
> I0316 18:55:48.509306 14678 fetcher.cpp:155] Starting to fetch URIs for
> container: de1e5165-82b4-434b-9149-8667cf652c64, directory:
> /tmp/FetcherTest_ExtractNotExecutable_R5R7Cn
> I0316 18:55:48.509845 14678 fetcher.cpp:238] Fetching URIs using command
> '/var/jenkins/workspace/mesos-fedora-20-gcc/src/mesos-fetcher'
> I0316 18:55:48.568611 15028 logging.cpp:177] Logging to STDERR
> I0316 18:55:48.574928 15028 fetcher.cpp:214] Fetching URI '/tmp/DIjmjV.tar.gz'
> I0316 18:55:48.575166 15028 fetcher.cpp:194] Copying resource from
> '/tmp/DIjmjV.tar.gz' to '/tmp/FetcherTest_ExtractNotExecutable_R5R7Cn'
> tar: This does not look like a tar archive
> tar: Exiting with failure status due to previous errors
> Failed to extract
> /tmp/FetcherTest_ExtractNotExecutable_R5R7Cn/DIjmjV.tar.gz:Failed to extract:
> command tar -C '/tmp/FetcherTest_ExtractNotExecutable_R5R7Cn' -xf
> '/tmp/FetcherTest_ExtractNotExecutable_R5R7Cn/DIjmjV.tar.gz' exited with
> status: 512
> tests/fetcher_tests.cpp:686: Failure
> (fetch).failure(): Failed to fetch URIs for container
> 'de1e5165-82b4-434b-9149-8667cf652c64'with exit status: 256
> [ FAILED ] FetcherTest.ExtractNotExecutable (208 ms)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)