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

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

That is exactly what I tried, but since even on supported platforms like 
ubuntu-14 we try to add non-existant making this case fatal requires fixing the 
fallout (for some reason the existing test suite seems to run successfully even 
though some files are missing from the rootfs though :/).

Maybe [~gilbert] knowns if we can throw out stuff we don't need; otherwise we'd 
need to wait for the proper solution for MESOS-6011.

> 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)

Reply via email to