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

haosdent commented on MESOS-3966:
---------------------------------

The success log after increase await_ready timeout
{noformat}
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from LinuxFilesystemIsolatorTest
[ RUN      ] LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem
I1124 21:14:11.123080  4974 linux.cpp:81] Making 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w' 
a shared mount
I1124 21:14:11.136381  4974 linux_launcher.cpp:101] Using 
/sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
I1124 21:14:11.140123  4974 systemd.cpp:126] systemd version `208` detected
W1124 21:14:11.140149  4974 systemd.cpp:134] Required functionality `Delegate` 
was introduced in Version `218`. Your system may not function properly; however 
since some distributions have patched systemd packages, your system may still 
be functional. This is why we keep running. See MESOS-3352 for more information
I1124 21:14:11.146225  4974 systemd.cpp:208] Started systemd slice 
`mesos_executors.slice`
I1124 21:14:11.147725  4992 containerizer.cpp:617] Starting container 
'a5645a24-5c3f-4108-9292-5aaea1957415' for executor 'test_executor' of 
framework ''
I1124 21:14:11.150281  4989 provisioner.cpp:287] Provisioning image rootfs 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6'
 for container a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:11.151124  4993 copy.cpp:127] Copying layer path 
'/tmp/9rIY9c/test_image_rootfs' to rootfs 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6'
I1124 21:14:39.070953  4991 provisioner.cpp:287] Provisioning image rootfs 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e2f98f17-269c-49f5-85e3-54bef736852a'
 for container a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:39.071646  4994 copy.cpp:127] Copying layer path 
'/tmp/9rIY9c/test_image_volume' to rootfs 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e2f98f17-269c-49f5-85e3-54bef736852a'
I1124 21:14:41.280971  4991 linux.cpp:390] Bind mounting work directory from 
'/tmp/9rIY9c/sandbox' to 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6/mnt/mesos/sandbox'
 for container a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:41.286027  4988 linux_launcher.cpp:363] Cloning child process with 
flags = CLONE_NEWNS
I1124 21:14:41.289008  4988 linux_launcher.cpp:420] Assigned child process 
'5053' to 'mesos_executors.slice'
+ /home/ld-sgdev/huangh/mesos/build/src/mesos-containerizer mount --help=false 
--operation=make-rslave --path=/
+ grep -E 
/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/.+ 
/proc/self/mountinfo
+ grep -v a5645a24-5c3f-4108-9292-5aaea1957415
+ cut '-d ' -f5
+ xargs --no-run-if-empty umount -l
+ mount -n --rbind 
/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e2f98f17-269c-49f5-85e3-54bef736852a
 
/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6/mnt/mesos/sandbox/rootfs
Changing root to 
/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6
I1124 21:14:42.789233  4988 containerizer.cpp:1256] Executor for container 
'a5645a24-5c3f-4108-9292-5aaea1957415' has exited
I1124 21:14:42.789325  4988 containerizer.cpp:1073] Destroying container 
'a5645a24-5c3f-4108-9292-5aaea1957415'
I1124 21:14:42.793495  4993 cgroups.cpp:2427] Freezing cgroup 
/sys/fs/cgroup/freezer/mesos/a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:42.796504  4989 cgroups.cpp:1409] Successfully froze cgroup 
/sys/fs/cgroup/freezer/mesos/a5645a24-5c3f-4108-9292-5aaea1957415 after 
2.916864ms
I1124 21:14:42.800067  4994 cgroups.cpp:2444] Thawing cgroup 
/sys/fs/cgroup/freezer/mesos/a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:42.803014  4988 cgroups.cpp:1438] Successfullly thawed cgroup 
/sys/fs/cgroup/freezer/mesos/a5645a24-5c3f-4108-9292-5aaea1957415 after 
2.862848ms
I1124 21:14:42.806551  4993 linux.cpp:852] Unmounting sandbox/work directory 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6/mnt/mesos/sandbox'
 for container a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:42.806854  4995 provisioner.cpp:330] Destroying container rootfs at 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e2f98f17-269c-49f5-85e3-54bef736852a'
 for container a5645a24-5c3f-4108-9292-5aaea1957415
I1124 21:14:42.806988  4995 provisioner.cpp:330] Destroying container rootfs at 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_NvYS1w/provisioner/containers/a5645a24-5c3f-4108-9292-5aaea1957415/backends/copy/rootfses/e831d1fe-d204-4970-9b77-dd8fdb29bcb6'
 for container a5645a24-5c3f-4108-9292-5aaea1957415
[       OK ] LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem 
(62442 ms)
{noformat}

> LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem fails on 
> Centos 7.1
> ------------------------------------------------------------------------------------
>
>                 Key: MESOS-3966
>                 URL: https://issues.apache.org/jira/browse/MESOS-3966
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.26.0
>         Environment: centos 7.1, gcc 4.8.3, docker 1.8.2
>            Reporter: Till Toenshoff
>            Assignee: Jan Schlicht
>              Labels: mesosphere
>
> {noformat}
> [ RUN      ] LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem
> I1120 11:39:37.862926 29944 linux.cpp:82] Making 
> '/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_ZBw23E'
>  a shared mount
> I1120 11:39:37.876965 29944 linux_launcher.cpp:103] Using 
> /sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
> I1120 11:39:37.930881 29944 systemd.cpp:128] systemd version `208` detected
> W1120 11:39:37.930913 29944 systemd.cpp:136] Required functionality 
> `Delegate` was introduced in Version `218`. Your system may not function 
> properly; however since some distributions have patched systemd packages, 
> your system may still be functional. This is why we keep running. See 
> MESOS-3352 for more information
> I1120 11:39:37.938351 29944 systemd.cpp:210] Started systemd slice 
> `mesos_executors.slice`
> I1120 11:39:37.940218 29962 containerizer.cpp:618] Starting container 
> '1ea741a9-5edf-4910-ae64-f8d53f74e31e' for executor 'test_executor' of 
> framework ''
> I1120 11:39:37.943042 29959 provisioner.cpp:289] Provisioning image rootfs 
> '/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_ZBw23E/provisioner/containers/1ea741a9-5edf-4910-ae64-f8d53f74e31e/backends/copy/rootfses/7d97f8ac-ee57-4c83-b2d1-4332e25c89ae'
>  for container 1ea741a9-5edf-4910-ae64-f8d53f74e31e
> I1120 11:39:49.571781 29958 provisioner.cpp:289] Provisioning image rootfs 
> '/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_ZBw23E/provisioner/containers/1ea741a9-5edf-4910-ae64-f8d53f74e31e/backends/copy/rootfses/0256b892-e737-4d3d-89ea-74cf0e96eaf6'
>  for container 1ea741a9-5edf-4910-ae64-f8d53f74e31e
> ../../src/tests/containerizer/filesystem_isolator_tests.cpp:806: Failure
> Failed to wait 15secs for launch
> [  FAILED  ] LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem 
> (55076 ms)
> [----------] 1 test from LinuxFilesystemIsolatorTest (55076 ms total)
> {noformat}
> The following vagrant generator was used:
> {noformat}
> cat << EOF > Vagrantfile
> # -*- mode: ruby -*-" >
> # vi: set ft=ruby :
> Vagrant.configure(2) do |config|
>   # Disable shared folder to prevent certain kernel module dependencies.
>   config.vm.synced_folder ".", "/vagrant", disabled: true
>   config.vm.hostname = "centos71"
>   config.vm.box = "bento/centos-7.1"
>   config.vm.provider "virtualbox" do |vb|
>     vb.memory = 16384
>     vb.cpus = 8
>   end
>   config.vm.provider "vmware_fusion" do |vb|
>     vb.memory = 9216
>     vb.cpus = 4
>   end
>   config.vm.provision "shell", inline: <<-SHELL
>      sudo yum -y update systemd
>      sudo yum install -y tar wget
>      sudo wget 
> http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo 
> -O /etc/yum.repos.d/epel-apache-maven.repo
>      sudo yum groupinstall -y "Development Tools"
>      sudo yum install -y apache-maven python-devel java-1.7.0-openjdk-devel 
> zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 
> apr-devel subversion-devel apr-util-devel
>      sudo yum install -y git
>      sudo yum install -y docker
>      sudo service docker start
>      sudo docker info
>      #sudo wget -qO- https://get.docker.com/ | sh
>   SHELL
> end
> EOF
> vagrant up
> vagrant reload
> vagrant ssh -c "
> git clone  https://github.com/apache/mesos.git mesos
> cd mesos
> git checkout -b 0.26.0-rc1 0.26.0-rc1
> ./bootstrap
> mkdir build
> cd build
> ../configure
> make -j4 check
> #make -j4 distcheck
> sudo ./bin/mesos-tests.sh
> #make clean
> #../configure --enable-libevent --enable-ssl
> #GTEST_FILTER="" make check
> #sudo ./bin/mesos-tests.sh
> "
> {noformat}
> Additionally, {{/etc/hosts}} was edited to contain hostname and IP (allowing 
> a pass of the bridged docker executor tests).
> {noformat}
> 127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
> 192.168.218.135 centos71
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to