[
https://issues.apache.org/jira/browse/MESOS-3410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103728#comment-15103728
]
Jingang Li commented on MESOS-3410:
-----------------------------------
Instead of adding /usr/lib64 in the rootfs creation, I add the below in
TEST_F(MesosContainerizerLaunchTest, ROOT_ChangeRootfs). I think it is a
temporary solution, so far it works for me. I haven't been blocked by other
cases.
...
ASSERT_SOME(rootfs.get()->add("/usr/lib64/libpcre.so.1.2.1"));
ASSERT_SOME(rootfs.get()->add("/usr/lib64/libpcre.so.1"));
...
> MesosContainerizerLaunchTest.ROOT_ChangeRootfs is broken/flaky
> --------------------------------------------------------------
>
> Key: MESOS-3410
> URL: https://issues.apache.org/jira/browse/MESOS-3410
> Project: Mesos
> Issue Type: Bug
> Components: containerization, test
> Reporter: Kapil Arya
>
> `sudo make check` failed with the following error on my OpenSUSE Tumbleweed
> box (Linux 4.1, gcc 5.1):
> {code}
> [----------] 1 test from MesosContainerizerLaunchTest
> [ RUN ] MesosContainerizerLaunchTest.ROOT_ChangeRootfs
> Changing root to
> /tmp/MesosContainerizerLaunchTest_ROOT_ChangeRootfs_4hGV7G/rootfs
> /usr/bin/stat: error while loading shared libraries: libpcre.so.1: cannot
> open shared object file: No such file or directory
> ../../src/tests/containerizer/launch_tests.cpp:143: Failure
> Value of: ((((*(int *) &(status))) & 0xff00) >> 8)
> Actual: 127
> Expected: 0
> [ FAILED ] MesosContainerizerLaunchTest.ROOT_ChangeRootfs (1171 ms)
> {code}
> Here is the output of ldd:
> {code}
> $> ldd /usr/bin/stat
> linux-vdso.so.1 (0x00007fffd83fc000)
> libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f80748b3000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f807450e000)
> libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f807429f000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007f807409b000)
> /lib64/ld-linux-x86-64.so.2 (0x00005602eb941000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8073e7d000)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)