[CRIU] [PATCH v4 5/5] zdtm: add loginuid restore test

Dmitry Safonov dsafonov at odin.com
Thu Dec 17 02:18:01 PST 2015


On 12/17/2015 01:06 PM, Pavel Emelyanov wrote:
> On 12/16/2015 09:00 PM, Dmitry Safonov wrote:
>> On 12/16/2015 07:46 PM, Pavel Emelyanov wrote:
>>> That's launch in host environment. Try this
>>>
>>> zdtm.py run -t zdtm/live/static/unlink_mmap01 -f uns
>>>
>>> it will put the test into user-namespace context (and a little bit more)
>> Thanks. Excuse me for a noise, but seems like I can only reproduce some
>> other problem
>> (and it's on all tests):
>>> [root at localhost test]# ./zdtm.py run -t zdtm/live/static/unlink_mmap01
>>> -f uns
>>> === Run 1/1 ================
>>>
>>> ================== Run zdtm/live/static/unlink_mmap01 in uns
>>> ===================
>>> Start test
>>> ./unlink_mmap01 --pidfile=unlink_mmap01.pid
>>> --outfile=unlink_mmap01.out --filename=unlink_mmap01.test
>>> Run criu dump
>>> =[log]=> dump/zdtm/live/static/unlink_mmap01/78/1/dump.log
>>> ------------------------ grep Error ------------------------
>>> (00.044700) Error (files-reg.c:995): Can't lookup mount=22 for fd=5
>>> path=/dev/urandom
> Wow. Would you research this issue then? Some people see it, but
> not reliably. Looks like you have the good set up for such thing :)
Sure thing. I thought, I have done something wrong, but as it's the real 
issue,
I will check it.
>
>>> (00.044718) Error (cr-dump.c:1302): Dump files (pid: 78) failed with -1
>>> (00.058594) Error (cr-dump.c:1673): Dumping FAILED.
>>> ------------------------ ERROR OVER ------------------------
>>> ############ Test zdtm/live/static/unlink_mmap01 FAIL at CRIU dump
>>> #############
>>> Wait for zdtm/live/static/unlink_mmap01 to die for 0.100000
>>> ##################################### FAIL
>>> #####################################
>>> [root at localhost test]# git describe
>>> v1.8-91-gd58f6b7
>>


-- 
Regards,
Dmitry Safonov



More information about the CRIU mailing list