Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-mime-types.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024592.106361/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.ox8hvfzx:/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.ox8hvfzx:/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', 'ad6a3c4535764bf1abacdcd3f396f3f5', '-D', '/var/lib/mock/epel-8-x86_64-1589024592.106361/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ox8hvfzx:/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-mime-types.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-mime-types-2.1.17-6.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-mime-types.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1589024592.106361/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.ox8hvfzx:/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.ox8hvfzx:/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', '7ad64af565be442aa823a3508fb65863', '-D', '/var/lib/mock/epel-8-x86_64-1589024592.106361/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ox8hvfzx:/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-mime-types.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.eDwvxb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mime-types-2.1.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/2.1.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mime-types-2.1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/nodejs-fixdep mime-db '^1.19.0' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LnG6xN + umask 022 + cd /builddir/build/BUILD + cd mime-types-2.1.17 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o515yp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64 + cd mime-types-2.1.17 + mkdir -p /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/lib/node_modules/mime-types + cp -pr package.json index.js /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/lib/node_modules/mime-types + /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 2.1.17-6.el8 --unique-debug-suffix -2.1.17-6.el8.x86_64 --unique-debug-src-base nodejs-mime-types-2.1.17-6.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mime-types-2.1.17 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.KepvS1 + umask 022 + cd /builddir/build/BUILD + cd mime-types-2.1.17 + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/mocha -R spec mimeTypes .charset(type) ✓ should return "UTF-8" for "application/json" ✓ should return "UTF-8" for "application/json; foo=bar" ✓ should return "UTF-8" for "application/javascript" ✓ should return "UTF-8" for "application/JavaScript" ✓ should return "UTF-8" for "text/html" ✓ should return "UTF-8" for "TEXT/HTML" ✓ should return "UTF-8" for any text/* ✓ should return false for unknown types ✓ should return false for any application/octet-stream ✓ should return false for invalid arguments .contentType(extension) ✓ should return content-type for "html" ✓ should return content-type for ".html" ✓ should return content-type for "jade" ✓ should return content-type for "json" ✓ should return false for unknown extensions ✓ should return false for invalid arguments .contentType(type) ✓ should attach charset to "application/json" ✓ should attach charset to "application/json; foo=bar" ✓ should attach charset to "TEXT/HTML" ✓ should attach charset to "text/html" ✓ should not alter "text/html; charset=iso-8859-1" ✓ should return type for unknown types .extension(type) ✓ should return extension for mime type ✓ should return false for unknown type ✓ should return false for non-type string ✓ should return false for non-strings ✓ should return extension for mime type with parameters .lookup(extension) ✓ should return mime type for ".html" ✓ should return mime type for ".js" ✓ should return mime type for ".json" ✓ should return mime type for ".rtf" ✓ should return mime type for ".txt" ✓ should return mime type for ".xml" ✓ should work without the leading dot ✓ should be case insensitive ✓ should return false for unknown extension ✓ should return false for non-strings .lookup(path) ✓ should return mime type for file name ✓ should return mime type for relative path ✓ should return mime type for absolute path ✓ should be case insensitive ✓ should return false for unknown extension ✓ should return false for path without extension path with dotfile ✓ should return false when extension-less ✓ should return mime type when there is extension ✓ should return mime type when there is extension, but no path 46 passing (30ms) + exit 0 Processing files: nodejs-mime-types-2.1.17-6.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cMeOTE + umask 022 + cd /builddir/build/BUILD + cd mime-types-2.1.17 + DOCDIR=/builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/doc/nodejs-mime-types + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/doc/nodejs-mime-types + cp -pr README.md /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/doc/nodejs-mime-types + cp -pr HISTORY.md /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/doc/nodejs-mime-types + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2HjjWh + umask 022 + cd /builddir/build/BUILD + cd mime-types-2.1.17 + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/licenses/nodejs-mime-types + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/licenses/nodejs-mime-types + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64/usr/share/licenses/nodejs-mime-types + exit 0 Provides: nodejs-mime-types = 2.1.17-6.el8 npm(mime-types) = 2.1.17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (npm(mime-db) >= 1.19.0 with npm(mime-db) < 2) nodejs(engine) >= 0.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64 Wrote: /builddir/build/RPMS/nodejs-mime-types-2.1.17-6.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gG5YlV + umask 022 + cd /builddir/build/BUILD + cd mime-types-2.1.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-mime-types-2.1.17-6.el8.x86_64 + exit 0 Child return code was: 0