Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-logform.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1588094160.926875/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.u4cc2yfj:/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.u4cc2yfj:/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', 'ac9e987b29194f9dab207b84fbdeb55d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1588094160.926875/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u4cc2yfj:/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-logform.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 setting SOURCE_DATE_EPOCH=1588032000 Wrote: /builddir/build/SRPMS/nodejs-logform-2.1.2-1.fc33.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-logform.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1588094160.926875/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.u4cc2yfj:/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.u4cc2yfj:/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', 'ecb289ae0b45467c967a6e890e81c6d2', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1588094160.926875/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u4cc2yfj:/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-logform.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 setting SOURCE_DATE_EPOCH=1588032000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P7KBCv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf logform-2.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/nodejs-logform-2.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd logform-2.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/nodejs-logform-no-transpiled-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/lib/rpm/nodejs-fixdep ms + /usr/lib/rpm/nodejs-fixdep fecha + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ficoPv + umask 022 + cd /builddir/build/BUILD + cd logform-2.1.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8BvGMw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64 + cd logform-2.1.2 + mkdir -p /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/lib/node_modules/logform + cp -a align.js browser.js cli.js colorize.js combine.js errors.js format.js index.js json.js label.js levels.js logstash.js metadata.js ms.js pad-levels.js pretty-print.js printf.js simple.js splat.js timestamp.js uncolorize.js /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/lib/node_modules/logform/ + cp -a package.json /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/lib/node_modules/logform/ + /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.2-1.fc33 --unique-debug-suffix -2.1.2-1.fc33.x86_64 --unique-debug-src-base nodejs-logform-2.1.2-1.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/logform-2.1.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /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.SYFsou + umask 022 + cd /builddir/build/BUILD + cd logform-2.1.2 + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node -e 'require("./")' + mocha test/cli.test.js test/colorize.test.js test/combine.test.js test/errors.test.js test/format.test.js test/index.test.js test/json.test.js test/label.test.js test/logstash.test.js test/metadata.test.js test/ms.test.js test/pad-levels.test.js test/pretty-print.test.js test/printf.test.js test/simple.test.js test/splat.test.js test/timestamp.test.js test/uncolorize.test.js cli ✓ cli() (default) sets info[MESSAGE] ✓ exposes the Format prototype colorize ✓ colorize() (default) ✓ colorize({ level: true }) ✓ colorize{ message: true }) ✓ colorize({ level: true, message: true }) ✓ colorize({ all: true }) ✓ colorize({ all: true }) [custom message] ✓ colorizes when LEVEL !== level Colorizer ✓ exposes the Format prototype ✓ Colorizer.addColors({ string: string }) ✓ Colorizer.addColors({ string: [Array] }) ✓ Colorizer.addColors({ string: "(w+)/s(w+)" }) #colorize(LEVEL, level, message) ✓ colorize(level) [single color] ✓ colorize(level) [multiple colors] ✓ colorize(level, message) [single color] ✓ colorize(level, message) [multiple colors] combine ✓ exposes the cascade function combine(...formats) ✓ returns a function ✓ exposes the Format prototype ✓ throws an error when provided a non-format .transform(info, opts) ✓ invokes all intermediary formats ✓ return the result of the transformation chain ✓ { false } when formats yield [false, obj, obj] ✓ { false } when formats yield [obj, false, obj] ✓ { false } when formats yield [obj, obj, false] errors()({ object }) ✓ errors() returns the original info ✓ errors() (default) sets info[MESSAGE] ✓ errors({ stack: true }) sets info.stack ✓ errors() sets custom error properties errors()(Error) ✓ errors() (default) sets info[MESSAGE] ✓ errors({ space: 2 }) sets info.stack format ✓ has the expected default logform.formats format(fn) ✓ returns a function ✓ exposes the Format prototype ✓ throws if provided a function of invalid length ✓ throws an error including the bad function signature ✓ format(fn)() ✓ format(fn)(opts) logform (node) ✓ exposes format as a function ✓ exposes levels as a function ✓ exposes align as a function ✓ exposes cli as a function ✓ exposes combine as a function ✓ exposes colorize as a function ✓ exposes json as a function ✓ exposes label as a function ✓ exposes logstash as a function ✓ exposes metadata as a function ✓ exposes padLevels as a function ✓ exposes prettyPrint as a function ✓ exposes printf as a function ✓ exposes simple as a function ✓ exposes splat as a function ✓ exposes timestamp as a function ✓ exposes uncolorize as a function logform (browser) ✓ exposes format as a function ✓ exposes levels as a function ✓ exposes align as a function ✓ exposes cli as a function ✓ exposes combine as a function ✓ exposes colorize as a function ✓ exposes json as a function ✓ exposes label as a function ✓ exposes logstash as a function ✓ exposes metadata as a function ✓ exposes padLevels as a function ✓ exposes prettyPrint as a function ✓ exposes printf as a function ✓ exposes simple as a function ✓ exposes splat as a function ✓ exposes timestamp as a function ✓ exposes uncolorize as a function json ✓ json() (default) sets info[MESSAGE] ✓ json({ space: 2 }) sets info[MESSAGE] ✓ json({ replacer }) sets info[MESSAGE] ✓ json() can handle circular JSON objects ✓ exposes the Format prototype label ✓ label({ label }) set the label to info.label ✓ label({ label, message }) adds the label to info.message logstash ✓ default { @message, @fields } sets info[MESSAGE] ✓ with timestamp { @message, @timestamp, @fields } sets info[MESSAGE] metadata ✓ metadata() (default) removes message and level and puts everything else into metadata ✓ metadata({ fillWith: [keys] }) only adds specified keys to the metadata object ✓ metadata({ fillExcept: [keys] }) fills all but the specified keys in the metadata object ✓ metadata({ fillWith: [keys], fillExcept: [keys] }) should only fillExcept the specified keys ✓ metadata({ key: someString }) should return an object with `someString` instead of `metadata` as the key ms ✓ ms() set the ms to info.ms padLevels ✓ padLevels({ levels }) set the padding to info.padding ✓ padLevels({ levels }) set the padding to info.padding ✓ padLevels({ levels, filler }) set the padding to info.padding with a custom filler ✓ exposes the Format prototype Padder ✓ Padder.paddingForLevels({ string: number }) ✓ Padder.paddingForLevels({ string: number }, string) prettyPrint ✓ prettyPrint() (default) sets info[MESSAGE] ✓ prettyPrint() (default) strips info[SPLAT] printf ✓ printf(info => `${template}`) sets info[MESSAGE] simple ✓ simple() (default) sets info[MESSAGE] ✓ simple() strips { splat } ✓ simple() shows { rest } splat ✓ basic string ✓ %s | string placeholder sets info.message ✓ %d | number placeholder sets info.message ✓ %j | json placeholder sets info.message ✓ balanced number of arguments to % | does not have "meta" ✓ more arguments than % | multiple "meta" ✓ %% | escaped % sets info.message ✓ no % and one object | returns the message and properties ✓ no % and two objects | returns the string and all properties ✓ no % and no splat | returns the same info ✓ no % but some splat | returns the same message with new properties ✓ Splat overflow (too many arguments) sets info.message ✓ No [SPLAT] does not crash ✓ tests info.splat as passed in with an object timestamp ✓ timestamp() (default) sets info[timestamp] ✓ timestamp({ format: () => { return 'test timestamp'; } }) sets info[timestamp] ✓ timestamp({ format: 'YYYY-MM-DD' }) sets info[timestamp] ✓ exposes the Format prototype uncolorize ✓ uncolorize() (default) removes all colors ✓ uncolorize() (default) preserves mutable level formatting ✓ uncolorize({ level: false }) removes color from { message, [MESSAGE] } ✓ uncolorize({ message: false }) removes color from { level, [MESSAGE] } ✓ uncolorize({ raw: false }) removes color from { level, message } ✓ uncolorize({ level: false, message: false }) removes color from [MESSAGE] 124 passing (131ms) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: nodejs-logform-2.1.2-1.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wXhdmw + umask 022 + cd /builddir/build/BUILD + cd logform-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/doc/nodejs-logform + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/doc/nodejs-logform + cp -pr README.md /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/doc/nodejs-logform + cp -pr examples/ /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/doc/nodejs-logform + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TAdiFu + umask 022 + cd /builddir/build/BUILD + cd logform-2.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/licenses/nodejs-logform + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/licenses/nodejs-logform + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64/usr/share/licenses/nodejs-logform + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/lib/node_modules/logform/node_modules/colors -> /usr/lib/node_modules/colors warning: absolute symlink: /usr/lib/node_modules/logform/node_modules/fast-safe-stringify -> /usr/lib/node_modules/fast-safe-stringify warning: absolute symlink: /usr/lib/node_modules/logform/node_modules/fecha -> /usr/lib/node_modules/fecha warning: absolute symlink: /usr/lib/node_modules/logform/node_modules/ms -> /usr/lib/node_modules/ms warning: absolute symlink: /usr/lib/node_modules/logform/node_modules/triple-beam -> /usr/lib/node_modules/triple-beam Provides: nodejs-logform = 2.1.2-1.fc33 npm(logform) = 2.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (npm(colors) >= 1.2.1 with npm(colors) < 2) (npm(fast-safe-stringify) >= 2.0.4 with npm(fast-safe-stringify) < 3) (npm(triple-beam) >= 1.3.0 with npm(triple-beam) < 2) nodejs(engine) npm(fecha) npm(ms) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64 Wrote: /builddir/build/RPMS/nodejs-logform-2.1.2-1.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KgndSv + umask 022 + cd /builddir/build/BUILD + cd logform-2.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-logform-2.1.2-1.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0