Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6011

Tests relying on LinuxRootfs::create fail with Fedora 24 (and probably others)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • containerization, test

    Description

      Tests like AppcProvisionerIntegrationTest.ROOT_SimpleLinuxImageTest and ProvisionerDockerPullerTest.ROOT_LocalPullerSimpleCommand will fail with Fedora 24 because LinuxRootFs::create, used in these tests, assumes that the binaries provided by the rootfs link to certain versions of shared libraries. Because Fedora 24 has newer versions of some of these libraries, tests using the binaries will fail. E.g.

      $ ldd /bin/sh
      	linux-vdso.so.1 (0x00007ffc98bfb000)
      	libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fcd59df6000)
      	libdl.so.2 => /lib64/libdl.so.2 (0x00007fcd59bf2000)
      	libc.so.6 => /lib64/libc.so.6 (0x00007fcd5982f000)
      	/lib64/ld-linux-x86-64.so.2 (0x000055fb8e6ea000)
      

      but LinuxRootFs::create will try to copy /lib64/libtinfo.so.5 into the rootfs.

      Attachments

        Issue Links

          Activity

            People

              gilbert Gilbert Song
              nfnt Jan Schlicht
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: