[CRIU] ✗ travis-ci: failure for criu: Allow uids/gids being different

Cyrill Gorcunov gorcunov at gmail.com
Sat Sep 30 09:59:08 MSK 2017


On Fri, Sep 29, 2017 at 05:59:55PM -0700, Andrei Vagin wrote:
> 
> Cyrill, pls take a look at this.

================ Run zdtm/static/thread_different_uid_gid in h =================
Start test
Test is SUID
./thread_different_uid_gid --pidfile=thread_different_uid_gid.pid --outfile=thread_different_uid_gid.out
Run criu dump
Run criu restore
Send the 15 signal to  38
Wait for zdtm/static/thread_different_uid_gid(38) to die for 0.100000
Removing dump/zdtm/static/thread_different_uid_gid/38
================ Test zdtm/static/thread_different_uid_gid PASS ================

================ Run zdtm/static/thread_different_uid_gid in ns ================
Start test
Test is SUID
./thread_different_uid_gid --pidfile=thread_different_uid_gid.pid --outfile=thread_different_uid_gid.out
Traceback (most recent call last):
  File "zdtm.py", line 2027, in <module>
    do_run_test(tinfo[0], tinfo[1], tinfo[2], tinfo[3])
  File "zdtm.py", line 1446, in do_run_test
    s = get_visible_state(t)
  File "zdtm.py", line 1210, in get_visible_state
    pids = filter(lambda p: r.match(p), os.listdir("/proc/%s/root/proc/" % test.getpid()))
OSError: [Errno 2] No such file or directory: '/proc/86/root/proc/'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "zdtm.py", line 61, in clean_tests_root
    os.rmdir(tests_root[1])
OSError: [Errno 16] Device or resource busy: '/tmp/criu-root-7Ek1xO'
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "zdtm.py", line 61, in clean_tests_root
    os.rmdir(tests_root[1])
OSError: [Errno 16] Device or resource busy: '/tmp/criu-root-7Ek1xO'

It is failed on zdtm level (becase actually the changes in criu are simply
code removing). Will take a look more precisely.


More information about the CRIU mailing list