[ 
https://issues.apache.org/jira/browse/MESOS-5139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16706044#comment-16706044
 ] 

Till Toenshoff commented on MESOS-5139:
---------------------------------------

The problem persists it seems; observed it on Ubuntu 16.04 (internal CI):
{noformat}
17:05:08 [ RUN ] ProvisionerDockerLocalStoreTest.LocalStoreTestWithTar
17:05:08 sh: 1: hadoop: not found
17:05:08 I1201 17:05:08.887616 5218 fetcher.cpp:66] Skipping URI fetcher plugin 
'hadoop' as it could not be created: Failed to create HDFS client: Hadoop 
client is not available, exit status: 32512
17:05:08 I1201 17:05:08.887815 5218 image_tar_puller.cpp:128] Creating image 
tar puller with docker registry '/tmp/STXHAi/images'
17:05:08 I1201 17:05:08.888629 31183 metadata_manager.cpp:179] Looking for 
image 'abc'
17:05:08 I1201 17:05:08.888867 31185 image_tar_puller.cpp:210] Untarring image 
'abc' from '/tmp/STXHAi/images/abc.tar' to '/tmp/STXHAi/store/staging/94yLVT'
17:05:09 I1201 17:05:08.988723 31189 image_tar_puller.cpp:231] The repositories 
JSON file for image 'abc' is '{"abc":{"latest":"456"}}'
17:05:09 I1201 17:05:08.988894 31189 image_tar_puller.cpp:375] Extracting layer 
tar ball '/tmp/STXHAi/store/staging/94yLVT/123/layer.tar to rootfs 
'/tmp/STXHAi/store/staging/94yLVT/123/rootfs'
17:05:09 I1201 17:05:08.992475 31189 image_tar_puller.cpp:375] Extracting layer 
tar ball '/tmp/STXHAi/store/staging/94yLVT/456/layer.tar to rootfs 
'/tmp/STXHAi/store/staging/94yLVT/456/rootfs'
17:05:09 ../../src/tests/containerizer/provisioner_docker_tests.cpp:210: Failure
17:05:09 (imageInfo).failure(): Collect failed: Subprocess 'tar, tar, -x, -f, 
/tmp/STXHAi/store/staging/94yLVT/456/layer.tar, -C, 
/tmp/STXHAi/store/staging/94yLVT/456/rootfs' failed: tar: This does not look 
like a tar archive
17:05:09 tar: Exiting with failure status due to previous errors
17:05:09 
17:05:09 [ FAILED ] ProvisionerDockerLocalStoreTest.LocalStoreTestWithTar (303 
ms){noformat}

> Some ProvisionerDockerLocalStoreTest.* are flaky due to tar issue.
> ------------------------------------------------------------------
>
>                 Key: MESOS-5139
>                 URL: https://issues.apache.org/jira/browse/MESOS-5139
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.28.0, 1.0.4, 1.1.3, 1.2.3, 1.3.1, 1.4.1, 1.8.0
>         Environment: Ubuntu 14.04
> Ubuntu 16.04
>            Reporter: Vinod Kone
>            Priority: Major
>              Labels: containerizer, flaky, flaky-test, mesosphere
>
> These tests are still occasionally fail as of Mesos 1.5.0-wip:
> {code}
> ProvisionerDockerLocalStoreTest.LocalStoreTestWithTar
> ProvisionerDockerLocalStoreTest.MetadataManagerInitialization
> ProvisionerDockerLocalStoreTest.MissingLayer
> {code}
> Found this on ASF CI while testing 0.28.1-rc2
> {code}
> [ RUN      ] ProvisionerDockerLocalStoreTest.LocalStoreTestWithTar
> E0406 18:29:30.870481   520 shell.hpp:93] Command 'hadoop version 2>&1' 
> failed; this is the output:
> sh: 1: hadoop: not found
> E0406 18:29:30.870576   520 fetcher.cpp:59] Failed to create URI fetcher 
> plugin 'hadoop': Failed to create HDFS client: Failed to execute 'hadoop 
> version 2>&1'; the command was either not found or exited with a non-zero 
> exit status: 127
> I0406 18:29:30.871052   520 local_puller.cpp:90] Creating local puller with 
> docker registry '/tmp/3l8ZBv/images'
> I0406 18:29:30.873325   539 metadata_manager.cpp:159] Looking for image 'abc'
> I0406 18:29:30.874438   539 local_puller.cpp:142] Untarring image 'abc' from 
> '/tmp/3l8ZBv/images/abc.tar' to '/tmp/3l8ZBv/store/staging/5tw8bD'
> I0406 18:29:30.901916   547 local_puller.cpp:162] The repositories JSON file 
> for image 'abc' is '{"abc":{"latest":"456"}}'
> I0406 18:29:30.902304   547 local_puller.cpp:290] Extracting layer tar ball 
> '/tmp/3l8ZBv/store/staging/5tw8bD/123/layer.tar to rootfs 
> '/tmp/3l8ZBv/store/staging/5tw8bD/123/rootfs'
> I0406 18:29:30.909144   547 local_puller.cpp:290] Extracting layer tar ball 
> '/tmp/3l8ZBv/store/staging/5tw8bD/456/layer.tar to rootfs 
> '/tmp/3l8ZBv/store/staging/5tw8bD/456/rootfs'
> ../../src/tests/containerizer/provisioner_docker_tests.cpp:183: Failure
> (imageInfo).failure(): Collect failed: Subprocess 'tar, tar, -x, -f, 
> /tmp/3l8ZBv/store/staging/5tw8bD/456/layer.tar, -C, 
> /tmp/3l8ZBv/store/staging/5tw8bD/456/rootfs' failed: tar: This does not look 
> like a tar archive
> tar: Exiting with failure status due to previous errors
> [  FAILED  ] ProvisionerDockerLocalStoreTest.LocalStoreTestWithTar (243 ms)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to