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

Till Toenshoff commented on MESOS-3966:
---------------------------------------

After doing a kernel update to "kernel.x86_64 0:3.10.0-229.20.1.el7" via {{sudo 
yum update}} and reloading the VM, the problem manifested slightly different 
but still the test fails;

{noformat}
[ RUN      ] LinuxFilesystemIsolatorTest.ROOT_ImageInVolumeWithRootFilesystem
I1120 11:52:54.555380 12412 linux.cpp:82] Making 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_40kLiI' 
a shared mount
I1120 11:52:54.571110 12412 linux_launcher.cpp:103] Using 
/sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
I1120 11:52:54.578615 12412 systemd.cpp:128] systemd version `208` detected
W1120 11:52:54.578649 12412 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:52:54.579174 12412 systemd.cpp:189] Created systemd slice: 
`/run/systemd/system/mesos_executors.slice`
I1120 11:52:54.649775 12412 systemd.cpp:210] Started systemd slice 
`mesos_executors.slice`
I1120 11:52:54.652878 12429 containerizer.cpp:618] Starting container 
'02d25ea9-5b29-47a8-80f1-d5de569b3bba' for executor 'test_executor' of 
framework ''
I1120 11:52:54.657270 12433 provisioner.cpp:289] Provisioning image rootfs 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_40kLiI/provisioner/containers/02d25ea9-5b29-47a8-80f1-d5de569b3bba/backends/copy/rootfses/704aa4f7-f9dd-4ddc-bf03-8a88aa1dff4d'
 for container 02d25ea9-5b29-47a8-80f1-d5de569b3bba
I1120 11:53:03.168793 12427 provisioner.cpp:289] Provisioning image rootfs 
'/tmp/LinuxFilesystemIsolatorTest_ROOT_ImageInVolumeWithRootFilesystem_40kLiI/provisioner/containers/02d25ea9-5b29-47a8-80f1-d5de569b3bba/backends/copy/rootfses/7a220702-baa1-4368-a723-7d638c76364f'
 for container 02d25ea9-5b29-47a8-80f1-d5de569b3bba
../../src/tests/containerizer/filesystem_isolator_tests.cpp:806: Failure
Failed to wait 15secs for launch
F1120 11:53:10.446797 12429 linux.cpp:358] Check failed: 
infos.contains(containerId)
*** Check failure stack trace: ***
    @     0x7f36db6faafe  google::LogMessage::Fail()
    @     0x7f36db6faa5d  google::LogMessage::SendToLog()
    @     0x7f36db6fa46e  google::LogMessage::Flush()
    @     0x7f36db6fd1a2  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f36db1f9035  
mesos::internal::slave::LinuxFilesystemIsolatorProcess::__prepare()
    @     0x7f36db1f89a8  
_ZZN5mesos8internal5slave30LinuxFilesystemIsolatorProcess8_prepareERKNS_11ContainerIDERKNS_12ExecutorInfoERKSsRK6OptionISsESE_ENKUlvE0_clEv
    @     0x7f36db1fe604  
_ZNSt17_Function_handlerIFN7process6FutureI6OptionIN5mesos5slave20ContainerPrepareInfoEEEEvEZNS3_8internal5slave30LinuxFilesystemIsolatorProcess8_prepareERKNS3_11ContainerIDERKNS3_12ExecutorInfoERKSsRKS2_ISsESM_EUlvE0_E9_M_invokeERKSt9_Any_data
    @     0x7f36daf9731f  std::function<>::operator()()
    @     0x7f36db20b353  
_ZNSt5_BindIFSt8functionIFN7process6FutureI6OptionIN5mesos5slave20ContainerPrepareInfoEEEEvEEvEE6__callIS8_JRKSt4listI7NothingSaISF_EEEJEEET_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
    @     0x7f36db20a841  std::_Bind<>::operator()<>()
    @     0x7f36db2094ac  std::_Function_handler<>::_M_invoke()
    @     0x7f36db20bb55  std::function<>::operator()()
    @     0x7f36db20b3e7  process::internal::thenf<>()
    @     0x7f36db20c4c1  
_ZNSt5_BindIFPFvRKSt8functionIFN7process6FutureI6OptionIN5mesos5slave20ContainerPrepareInfoEEEERKSt4listI7NothingSaISA_EEEERKSt10shared_ptrINS1_7PromiseIS7_EEERKNS2_ISC_EEESG_SM_St12_PlaceholderILi1EEEE6__callIvISR_EILm0ELm1ELm2EEEET_OSt5tupleIIDpT0_EESt12_Index_tupleIIXspT1_EEE
    @     0x7f36db20c08b  std::_Bind<>::operator()<>()
    @     0x7f36db20bdec  std::_Function_handler<>::_M_invoke()
    @           0xba28eb  std::function<>::operator()()
    @     0x7f36dadda697  
_ZZNK7process6FutureISt4listI7NothingSaIS2_EEE5onAnyIRSt8functionIFvRKS5_EEvEES9_OT_NS5_6PreferEENUlS9_E_clES9_
    @     0x7f36dade7310  
_ZNSt17_Function_handlerIFvRKN7process6FutureISt4listI7NothingSaIS3_EEEEEZNKS6_5onAnyIRSt8functionIS9_EvEES8_OT_NS6_6PreferEEUlS8_E_E9_M_invokeERKSt9_Any_dataS8_
    @           0xba28eb  std::function<>::operator()()
    @           0xb9e979  
_ZN7process8internal3runISt8functionIFvRKNS_6FutureISt4listI7NothingSaIS5_EEEEEEJRS8_EEEvRKSt6vectorIT_SaISF_EEDpOT0_
    @           0xb999db  process::Future<>::set()
    @           0xbae714  process::Promise<>::set()
    @           0xbacf3c  process::internal::CollectProcess<>::waited()
    @           0xbafd1f  
_ZZN7process8dispatchINS_8internal14CollectProcessI7NothingEERKNS_6FutureIS3_EES6_EEvRKNS_3PIDIT_EEMSA_FvT0_ET1_ENKUlPNS_11ProcessBaseEE_clESJ_
    @           0xbb1974  
_ZNSt17_Function_handlerIFvPN7process11ProcessBaseEEZNS0_8dispatchINS0_8internal14CollectProcessI7NothingEERKNS0_6FutureIS7_EESA_EEvRKNS0_3PIDIT_EEMSE_FvT0_ET1_EUlS2_E_E9_M_invokeERKSt9_Any_dataS2_
    @     0x7f36db68121f  std::function<>::operator()()
    @     0x7f36db669039  process::ProcessBase::visit()
    @     0x7f36db66ce04  process::DispatchEvent::visit()
    @           0x9dae6e  process::ProcessBase::serve()
    @     0x7f36db665425  process::ProcessManager::resume()
    @     0x7f36db662656  
_ZZN7process14ProcessManager12init_threadsEvENKUlRKSt11atomic_boolE_clES3_
{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: 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