Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore a thread to a correct v1 cgroup #2347

Closed

zdtm/static: check that cgroup layout of threads is preserved

48c95f6
Select commit
Loading
Failed to load commit list.
Closed

Restore a thread to a correct v1 cgroup #2347

zdtm/static: check that cgroup layout of threads is preserved
48c95f6
Select commit
Loading
Failed to load commit list.
Cirrus CI / CentOS Stream 8 based test failed Feb 14, 2024 in 21m 20s

Task Summary

Instruction build failed in 19:33

Details

✅ 00:05 clone
✅ 01:39 setup
❌ 19:33 build

./run.sh: line 21: 1940312 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 1940312
+ 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 59571
make: *** [Makefile:2: local] Error 2
make: Leaving directory '/tmp/criu/scripts/ci'

Exit status: 2