Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-safe-buffer.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589060339.145239/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12g5t9pd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12g5t9pd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '426f84f3a1d24737b3619855e8b726a4', '-D', '/var/lib/mock/epel-8-x86_64-1589060339.145239/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12g5t9pd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-safe-buffer.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-safe-buffer-5.1.2-3.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-safe-buffer.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589060339.145239/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12g5t9pd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12g5t9pd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '98ba51a823784d2393ff772ae76e7bf3', '-D', '/var/lib/mock/epel-8-x86_64-1589060339.145239/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12g5t9pd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-safe-buffer.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Rt4adf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf safe-buffer-5.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/nodejs-safe-buffer-5.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd safe-buffer-5.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf node_modules + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GrZFk3 + umask 022 + cd /builddir/build/BUILD + cd safe-buffer-5.1.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1VzusR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64 + cd safe-buffer-5.1.2 + mkdir -p /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/lib/node_modules/safe-buffer + cp -pr package.json index.js /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/lib/node_modules/safe-buffer + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 5.1.2-3.el8 --unique-debug-suffix -5.1.2-3.el8.x86_64 --unique-debug-src-base nodejs-safe-buffer-5.1.2-3.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/safe-buffer-5.1.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eYbFRF + umask 022 + cd /builddir/build/BUILD + cd safe-buffer-5.1.2 + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node -e 'require("./")' + tape test/basic.js TAP version 13 # new SafeBuffer(value) works just like Buffer ok 1 should be equivalent ok 2 should be equivalent ok 3 should be equivalent ok 4 should be equivalent ok 5 should be equivalent ok 6 should be equal ok 7 should be equal ok 8 should be equal ok 9 should be falsy # SafeBuffer.from(value) converts to a Buffer ok 10 should be equivalent ok 11 should be equivalent ok 12 should be equivalent ok 13 should be equivalent ok 14 should be equivalent # SafeBuffer.alloc(number) returns zeroed-out memory ok 15 should be equivalent ok 16 should be equivalent ok 17 should be equivalent ok 18 should be equivalent ok 19 should be equivalent ok 20 should be equivalent ok 21 should be equivalent ok 22 should be equivalent ok 23 should be equivalent ok 24 should be equivalent ok 25 should be equivalent ok 26 should be equivalent ok 27 should be equivalent ok 28 should be equivalent ok 29 should be equivalent ok 30 should be equivalent ok 31 should be equivalent ok 32 should be equivalent ok 33 should be equivalent ok 34 should be equivalent # SafeBuffer.allocUnsafe(number) ok 35 should be equal ok 36 should be equal ok 37 should be equal # SafeBuffer.from() throws with number types ok 38 should throw ok 39 should throw ok 40 should throw ok 41 should throw ok 42 should throw (node:105) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. # SafeBuffer.allocUnsafe() throws with non-number types ok 43 should throw ok 44 should throw ok 45 should throw ok 46 should throw # SafeBuffer.alloc() throws with non-number types ok 47 should throw ok 48 should throw ok 49 should throw ok 50 should throw 1..50 # tests 50 # pass 50 # ok + exit 0 Processing files: nodejs-safe-buffer-5.1.2-3.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wRQ0Yu + umask 022 + cd /builddir/build/BUILD + cd safe-buffer-5.1.2 + DOCDIR=/builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/share/doc/nodejs-safe-buffer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/share/doc/nodejs-safe-buffer + cp -pr README.md /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/share/doc/nodejs-safe-buffer + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ywwg7j + umask 022 + cd /builddir/build/BUILD + cd safe-buffer-5.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/share/licenses/nodejs-safe-buffer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/share/licenses/nodejs-safe-buffer + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64/usr/share/licenses/nodejs-safe-buffer + exit 0 Provides: nodejs-safe-buffer = 5.1.2-3.el8 npm(safe-buffer) = 5.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: nodejs(engine) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64 Wrote: /builddir/build/RPMS/nodejs-safe-buffer-5.1.2-3.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wpINA9 + umask 022 + cd /builddir/build/BUILD + cd safe-buffer-5.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-safe-buffer-5.1.2-3.el8.x86_64 + exit 0 Child return code was: 0