Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/reptyr.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78359-53017/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/reptyr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/reptyr-0.10.0-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/reptyr.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-78359-53017/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/reptyr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NJd99F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf reptyr-reptyr-0.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/reptyr-0.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd reptyr-reptyr-0.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/python2/python3/g Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PAtnna + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd reptyr-reptyr-0.10.0 + make -j8 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o reptyr.o reptyr.c gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o reallocarray.o reallocarray.c gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o attach.o attach.c gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o platform/linux/linux_ptrace.o platform/linux/linux_ptrace.c gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o platform/linux/linux.o platform/linux/linux.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 reptyr.o reallocarray.o attach.o platform/linux/linux_ptrace.o platform/linux/linux.o -o reptyr + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5LFaZ3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 + cd reptyr-reptyr-0.10.0 + rm -rf /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/bin install -m 755 reptyr /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/bin/reptyr install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/man/man1 install -m 644 reptyr.1 /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/man/man1/reptyr.1 install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/man/fr/man1 install -m 644 reptyr.fr.1 /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/man/fr/man1/reptyr.1 bashcompdir= ; \ test -z "$bashcompdir" && bashcompdir=/etc/bash_completion.d ; \ install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64$bashcompdir ; \ install -m 644 reptyr.bash /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64$bashcompdir/reptyr + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 reptyr --with-man + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.10.0-1.oc9 --unique-debug-suffix -0.10.0-1.oc9.aarch64 --unique-debug-src-base reptyr-0.10.0-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/reptyr-reptyr-0.10.0 extracting debug info from /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/bin/reptyr 130 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kqjvnM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd reptyr-reptyr-0.10.0 + make test 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' gcc -MD -Wall -Werror -D_GNU_SOURCE -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o test/victim.o test/victim.c gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 test/victim.o -o test/victim python3 test/basic.py hello ECHO: hello world [+] Checking for problematic process group members... [+] Making sure we have permission to attach... [+] Using tty: /dev/pts/2 world [-] Timed out waiting for child stop. [+] Allocated scratch page: fffce5f60000 [+] Looking up fds for tty in child. [+] Resolved child tty: 8800 [+] Found an alias for the tty: 0 [+] Found an alias for the tty: 1 [+] Found an alias for the tty: 2 [+] Opened the new tty in the child: 3 [+] Set the controlling tty ECHO: world final python3 test/tty-steal.py world [+] Making sure we have permission to attach... [+] session leader of pid 61580 = 61580 [+] found terminal emulator process: 61579 [+] Listening on socket: /tmp/reptyr.uMfPcZ/reptyr.sock [+] Attaching terminal emulator pid=61579 [+] Allocated scratch page: fffef5470000 [+] Attached to terminal emulator (pid 61579) [+] Checking fd: 0: st_dev=103 [+] Checking fd: 1: st_dev=0 [+] Checking fd: 2: st_dev=0 [+] Checking fd: 5: st_dev=502 [+] found a ptmx fd: 5 [+] found a master fd: 5 [+] Checking fd: 6: st_dev=502 [+] found a ptmx fd: 6 [+] Opened fd 3 in the child. [+] Connected to the shared socket. [+] Sent the pty fd, going to receive it. [+] Got a message: 0 bytes, 24 control [+] Got tty fd: 5 [+] Allocated scratch page: fffd921f0000 ECHO: world Unable to find `prctl.set_ptracer`, skipping `PR_SET_PTRACER`. spawned children: me=61579 victim=61580 reptyr=61581 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: reptyr-0.10.0-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eBdnVc + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.10.0 + DOCDIR=/builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/doc/reptyr + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/doc/reptyr + cp -pr ChangeLog /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/doc/reptyr + cp -pr NOTES /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/doc/reptyr + cp -pr README.md /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/doc/reptyr + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.u6mJSd + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/licenses/reptyr + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/licenses/reptyr + cp -pr COPYING /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64/usr/share/licenses/reptyr + RPM_EC=0 ++ jobs -p + exit 0 Provides: reptyr = 0.10.0-1.oc9 reptyr(aarch-64) = 0.10.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: reptyr-debugsource-0.10.0-1.oc9.aarch64 Provides: reptyr-debugsource = 0.10.0-1.oc9 reptyr-debugsource(aarch-64) = 0.10.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: reptyr-debuginfo-0.10.0-1.oc9.aarch64 Provides: debuginfo(build-id) = b9d4434c3358a5e7ff87932f75dfa2fb36d7cc1c reptyr-debuginfo = 0.10.0-1.oc9 reptyr-debuginfo(aarch-64) = 0.10.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: reptyr-debugsource(aarch-64) = 0.10.0-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/reptyr-0.10.0-1.oc9.aarch64 Wrote: /builddir/build/RPMS/reptyr-debugsource-0.10.0-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/reptyr-0.10.0-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/reptyr-debuginfo-0.10.0-1.oc9.aarch64.rpm Child return code was: 0