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

rseq00 test fails on 6.12.0-35.el10.x86_64 #2548

Closed
adrianreber opened this issue Dec 16, 2024 · 2 comments
Closed

rseq00 test fails on 6.12.0-35.el10.x86_64 #2548

adrianreber opened this issue Dec 16, 2024 · 2 comments

Comments

@adrianreber
Copy link
Member

adrianreber commented Dec 16, 2024

Hello @mihalicyn,

I see following error with both rseq tests on 6.12.0-35.el10.x86_64:

# ./zdtm.py run -t zdtm/static/rseq00
userns is supported
Checking feature get_rseq_conf
get_rseq_conf is supported
=== Run 1/1 ================ zdtm/static/rseq00
========================= Run zdtm/static/rseq00 in h ==========================
Start test
./rseq00 --pidfile=rseq00.pid --outfile=rseq00.out
make: *** [Makefile:492: rseq00.pid] Error 1
 Test zdtm/static/rseq00 FAIL at ['make', '--no-print-directory', '-C', 'zdtm/static', 'rseq00.pid'] 
Test output: ================================
19:36:17.812:    56: FAIL: rseq00.c:101: Failed to register rseq (errno = 22 (Invalid argument))
19:36:17.812:    55: ERR: test.c:320: Test exited unexpectedly with code 1
# rpm -q glibc
glibc-2.39-23.el10.x86_64

This is confusing. Any idea why the test fails to run the rseq syscall. This is CentOS Stream 10.

I see that rseq seems to be checkpointed and restored correctly for everything else according to the log. Just these two tests are failing.

@rst0git
Copy link
Member

rst0git commented Dec 16, 2024

@adrianreber I was not able to replicate this error in CentOS Stream 10:

# uname -a
Linux kvm-04-guest27.lab.eng.rdu2.dc.redhat.com 6.12.0-35.el10.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Dec 13 19:20:16 UTC 2024 x86_64 GNU/Linux

# rpm -q glibc
glibc-2.39-23.el10.x86_64

# python3 ./zdtm.py run -t zdtm/static/rseq00
userns is supported
Checking feature get_rseq_conf
get_rseq_conf is supported
=== Run 1/1 ================ zdtm/static/rseq00
========================= Run zdtm/static/rseq00 in h ==========================
Start test
./rseq00 --pidfile=rseq00.pid --outfile=rseq00.out
Run criu dump
Run criu restore
Send the 15 signal to  56
Wait for zdtm/static/rseq00(56) to die for 0.100000
Removing dump/zdtm/static/rseq00/56
========================= Test zdtm/static/rseq00 PASS =========================

@adrianreber
Copy link
Member Author

Thanks. I was using a 3.19 checkout. With the corresponding patch from criu-dev it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants