Restore a thread to a correct v1 cgroup #2347
Closed
Cirrus CI / CentOS Stream 9 based test
failed
Feb 14, 2024 in 21m 6s
Task Summary
Instruction build failed in 18:59
Details
✅ 00:05 clone
✅ 01:59 setup
❌ 18:59 build
./run.sh: line 21: 2231775 Killed bash -c 'exec 3<testfile; while :; do sleep 1; done'
+ chmod -w testfile
+ /tmp/criu/criu/criu restore --restore-detached --shell-job --verbosity=4 --log-file=restore-expected-fail.log
+ /tmp/criu/criu/criu restore --skip-file-rwx-check --restore-detached --shell-job --verbosity=4 --log-file=restore.log
+ kill 2231775
+ echo PASS
PASS
make[1]: Leaving directory '/tmp/criu/test/others/skip-file-rwx-check'
+ make -C test/others/rpc/ run
make[1]: Entering directory '/tmp/criu/test/others/rpc'
protoc-c --proto_path=. --c_out=. rpc.proto
gcc -g -Werror -Wall -I. -c -o test-c.o test-c.c
gcc -g -Werror -Wall -I. -c -o rpc.pb-c.o rpc.pb-c.c
gcc test-c.o rpc.pb-c.o -lprotobuf-c -o test-c
protoc --proto_path=. --python_out=. rpc.proto
cp ../../../criu/criu criu
chmod u+s criu
make[2]: Entering directory '/tmp/criu/test/others'
gcc -Wall loop.c -o loop
make[2]: Leaving directory '/tmp/criu/test/others'
mkdir -p build
chmod a+rwx build
rm -f build/status
sudo -g '#1000' -u '#1000' mkfifo build/status
sudo -g '#1000' -u '#1000' -- bash -c "exec 200<>build/status; \
./criu service -v4 -W build --address criu_service.socket \
-d --pidfile pidfile -o service.log --status-fd 200; \
python3 read.py build/status"
rm -f build/status
chmod a+rw build/pidfile
sudo -g '#1000' -u '#1000' ./run.sh
/tmp/criu/test/protobuf
**************************************************
Run test-c
**************************************************
**************************************************
Restore test-c
**************************************************
FAIL
**************************************************
Shutdown service server
**************************************************
make[1]: *** [Makefile:22: run] Error 1
make[1]: Leaving directory '/tmp/criu/test/others/rpc'
+ cleanup_cgroup
+ ./test/zdtm_umount_cgroups 11384
make: *** [Makefile:2: local] Error 2
make: Leaving directory '/tmp/criu/scripts/ci'
Exit status: 2
Loading