mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Song <songzihao1...@gmail.com>
Subject Re: Review Request 61123: Added regression test for host volume ownership issue.
Date Fri, 28 Jul 2017 01:46:12 GMT


> On July 26, 2017, 11:08 a.m., Ilya Pronin wrote:
> > src/tests/containerizer/linux_filesystem_isolator_tests.cpp
> > Lines 252-255 (patched)
> > <https://reviews.apache.org/r/61123/diff/1/?file=1782381#file1782381line252>
> >
> >     Why do we need Docker for this test? The problem should be reproducible without
it.
> 
> Ilya Pronin wrote:
>     I meant an image. Not Docker itself :)

We don't allow `host_path` and `container_path` to be both relative.

https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L453~#L460


- Gilbert


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61123/#review181467
-----------------------------------------------------------


On July 25, 2017, 4:05 p.m., Gilbert Song wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61123/
> -----------------------------------------------------------
> 
> (Updated July 25, 2017, 4:05 p.m.)
> 
> 
> Review request for mesos, Ilya Pronin, Jie Yu, James Peach, Stephan Erb, Vinod Kone,
and Jiang Yan Xu.
> 
> 
> Bugs: MESOS-5187
>     https://issues.apache.org/jira/browse/MESOS-5187
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added regression test for host volume ownership issue.
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/linux_filesystem_isolator_tests.cpp 457311e23a0c848ef3ed69c8be4396e6a01f3b95

> 
> 
> Diff: https://reviews.apache.org/r/61123/diff/1/
> 
> 
> Testing
> -------
> 
> make check
> 
> Verified that this test failed if we don't have the bugfix patch.
> 
> 
> Thanks,
> 
> Gilbert Song
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message