You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Bannier (JIRA)" <ji...@apache.org> on 2016/09/16 12:56:21 UTC

[jira] [Commented] (MESOS-6182) LinuxRootfs::create ignores failures from adding non-existing files

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

Benjamin Bannier commented on MESOS-6182:
-----------------------------------------

Linking MESOS-6011 as an example of tests failing because {{LinuxRootfs::create}} does not create a deterministic rootfs.

> LinuxRootfs::create ignores failures from adding non-existing files
> -------------------------------------------------------------------
>
>                 Key: MESOS-6182
>                 URL: https://issues.apache.org/jira/browse/MESOS-6182
>             Project: Mesos
>          Issue Type: Bug
>          Components: test
>            Reporter: Benjamin Bannier
>            Assignee: Benjamin Bannier
>
> {{LinuxRootfs::create}} attempts to add a hardcoded list of files to the created rootfs. However, if a file does not exist no failure is created, but the file will be missing from the rootfs.
> This can then lead to failures in tests using the rootfs and relying on files in it.
> We should make failures to compose the planned rootfs explicit so users of this test code know what they can rely on.



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