mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ci: disable glibc rseq support
This patch sets the glibc.pthread.rseq tunable [1] to disable rseq support in glibc as a temporary solution for the problem described in [2]. This would allow us to run CI tests until CRIU has rseq support. This commit also disables the rpc tests as they fail even when GLIBC_TUNABLES is set. [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=e3e589829d16af9f7e73c7b70f74f3c5d5003e45 [2] https://github.com/checkpoint-restore/criu/issues/1696 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
9fd000c58d
commit
119a798856
2 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
ARG CC=gcc
|
||||
|
||||
# FIXME: Temporary solution for https://github.com/checkpoint-restore/criu/issues/1696
|
||||
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
|
||||
|
||||
COPY scripts/ci/prepare-for-fedora-rawhide.sh /bin/prepare-for-fedora-rawhide.sh
|
||||
RUN /bin/prepare-for-fedora-rawhide.sh
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,12 @@ if [ -n "$TRAVIS" ] || [ -n "$CIRCLECI" ]; then
|
|||
# Error (criu/tty.c:1014): tty: Don't have tty to inherit session from, aborting
|
||||
make -C test/others/shell-job/ run
|
||||
fi
|
||||
make -C test/others/rpc/ run
|
||||
|
||||
# FIXME: rpc tests fail even with set glibc tunable
|
||||
# https://github.com/checkpoint-restore/criu/issues/1696
|
||||
if [ "$GLIBC_TUNABLES" != "glibc.pthread.rseq=0" ]; then
|
||||
make -C test/others/rpc/ run
|
||||
fi
|
||||
|
||||
./test/zdtm.py run -t zdtm/static/env00 --sibling
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue