Mock Version: 1.4.19 Mock Version: 1.4.19 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/reptyr.spec'], chrootPath='/var/lib/mock/f32-build-18047883-1291395/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --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: armv7hl Building for target armv7hl setting SOURCE_DATE_EPOCH=1570406400 Wrote: /builddir/build/SRPMS/reptyr-0.7.0-1.fc32.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/reptyr.spec'], chrootPath='/var/lib/mock/f32-build-18047883-1291395/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --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: armv7hl Building for target armv7hl setting SOURCE_DATE_EPOCH=1570406400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8KZTq3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf reptyr-reptyr-0.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/reptyr-0.7.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd reptyr-reptyr-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/sys.stdout/sys.stdout.buffer/g test/tty-steal.py test/basic.py + sed -i '/child.expect(pexpect.EOF)/d' test/tty-steal.py test/basic.py + sed -i s/python2/python3/g Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kIbDu5 + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.7.0 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' cc -Wall -Werror -D_GNU_SOURCE -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o reptyr.o reptyr.c cc -Wall -Werror -D_GNU_SOURCE -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o reallocarray.o reallocarray.c cc -Wall -Werror -D_GNU_SOURCE -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o attach.o attach.c cc -Wall -Werror -D_GNU_SOURCE -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o platform/linux/linux_ptrace.o platform/linux/linux_ptrace.c cc -Wall -Werror -D_GNU_SOURCE -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o platform/linux/linux.o platform/linux/linux.c cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 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.PNLAo3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm ++ dirname /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm + cd reptyr-reptyr-0.7.0 + rm -rf /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/bin install -m 755 reptyr /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/bin/reptyr install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/man/man1 install -m 644 reptyr.1 /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/man/man1/reptyr.1 install -d -m 755 /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/man/fr/man1 install -m 644 reptyr.fr.1 /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/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.7.0-1.fc32.arm$bashcompdir ; \ install -m 644 reptyr.bash /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm$bashcompdir/reptyr + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm reptyr --with-man + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.0-1.fc32 --unique-debug-suffix -0.7.0-1.fc32.arm --unique-debug-src-base reptyr-0.7.0-1.fc32.arm --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/reptyr-reptyr-0.7.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/bin/reptyr extracting debug info from /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/bin/reptyr original debug info size: 140kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 129 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yqczD4 + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.7.0 + make test 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' cc -Wall -Werror -D_GNU_SOURCE -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -c -o test/victim.o test/victim.c cc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 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: b6f16000 [+] 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 23110 = 23110 [+] found terminal emulator process: 23109 [+] Listening on socket: /tmp/reptyr.YlbdUL/reptyr.sock [+] Attaching terminal emulator pid=23109 [+] Allocated scratch page: b6f0d000 [+] Attached to terminal emulator (pid 23109) [+] 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, 16 control [+] Got tty fd: 5 [+] Allocated scratch page: b6fce000 ECHO: world Unable to find `prctl.set_ptracer`, skipping `PR_SET_PTRACER`. spawned children: me=23109 victim=23110 reptyr=23111 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: reptyr-0.7.0-1.fc32.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ke4lj5 + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.7.0 + DOCDIR=/builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/doc/reptyr + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/doc/reptyr + cp -pr ChangeLog /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/doc/reptyr + cp -pr NOTES /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/doc/reptyr + cp -pr README.md /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/doc/reptyr + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.laNt85 + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/licenses/reptyr + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/licenses/reptyr + cp -pr COPYING /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm/usr/share/licenses/reptyr + RPM_EC=0 ++ jobs -p + exit 0 Provides: reptyr = 0.7.0-1.fc32 reptyr(armv7hl-32) = 0.7.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: reptyr-debugsource-0.7.0-1.fc32.armv7hl Provides: reptyr-debugsource = 0.7.0-1.fc32 reptyr-debugsource(armv7hl-32) = 0.7.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: reptyr-debuginfo-0.7.0-1.fc32.armv7hl Provides: debuginfo(build-id) = 5bf13f72d0f6fe8df59e3f0a69227885a9cb440c reptyr-debuginfo = 0.7.0-1.fc32 reptyr-debuginfo(armv7hl-32) = 0.7.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: reptyr-debugsource(armv7hl-32) = 0.7.0-1.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm Wrote: /builddir/build/RPMS/reptyr-0.7.0-1.fc32.armv7hl.rpm Wrote: /builddir/build/RPMS/reptyr-debugsource-0.7.0-1.fc32.armv7hl.rpm Wrote: /builddir/build/RPMS/reptyr-debuginfo-0.7.0-1.fc32.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iwrP35 + umask 022 + cd /builddir/build/BUILD + cd reptyr-reptyr-0.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/reptyr-0.7.0-1.fc32.arm + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0