[CRIU] Running tests on NFS mount

Stanislav Kinsburskiy sighted at mail.ru
Fri Jan 15 04:12:14 PST 2016


Hi,

I'm trying to run tests via test/zdtm.py on NFS file system.
They are failing with the following python exception:

[root at skinsbursky-vz7 criu]#  python test//zdtm.py run -t 
zdtm/live/static/file_attr
=== Run 1/1 ================

===================== Run zdtm/live/static/file_attr in h 
======================
Start test
Traceback (most recent call last):
   File "zdtm.py", line 1327, in <module>
     do_run_test(tinfo[0], tinfo[1], tinfo[2], tinfo[3])
   File "zdtm.py", line 923, in do_run_test
     t.start()
   File "zdtm.py", line 337, in start
     self.__add_wperms()
   File "zdtm.py", line 321, in __add_wperms
     os.chmod(p, os.stat(p).st_mode | 0222)
OSError: [Errno 1] Operation not permitted: 'zdtm/live/static'
##################################### FAIL 
#####################################

Could you advice, how to solve the problem?


More information about the CRIU mailing list