Till Toenshoff created MESOS-3966:
-------------------------------------

             Summary: 
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: Joris Van Remoortere


{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