Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-yargs-parser.spec'], gid=135printOutput=Falseuser='mockbuild'logger=chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5978/root'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'}nspawn_args=[]uid=1001timeout=0shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nodejs-yargs-parser.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/nodejs-yargs-parser-5.0.0-1.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-yargs-parser.spec'], gid=135printOutput=Falseuser='mockbuild'logger=chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5978/root'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'}nspawn_args=[]uid=1001timeout=0shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nodejs-yargs-parser.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ioJk4K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/gzip -dc /builddir/build/SOURCES/yargs-parser-5.0.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd package + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd package + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tests-5.0.0.tar.bz2 + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2017-04-14 23:24 test/ drwxrwxr-x root/root 0 2017-04-14 23:24 test/fixtures/ -rw-rw-r-- root/root 98 2017-04-14 23:24 test/fixtures/config.json -rw-rw-r-- root/root 29 2017-04-14 23:24 test/fixtures/config.txt -rw-rw-r-- root/root 80 2017-04-14 23:24 test/fixtures/nested_config.json -rw-rw-r-- root/root 87 2017-04-14 23:24 test/fixtures/settings.js -rw-rw-r-- root/root 1293 2017-04-14 23:24 test/tokenize-arg-string.js -rw-rw-r-- root/root 71552 2017-04-14 23:24 test/yargs-parser.js + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.huim5d + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o2MR6G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64 + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/lib/node_modules/yargs-parser + cp -pr package.json index.js lib/ /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/lib/node_modules/yargs-parser + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --ver-rel 5.0.0-1.fc27 --unique-debug-arch x86_64 --unique-debug-src-base nodejs-yargs-parser --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/package find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.r04Fua + umask 022 + cd /builddir/build/BUILD + cd package + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check + /usr/bin/node -e 'require("./")' + /usr/bin/mocha -R spec TokenizeArgString ✓ handles unquoted string ✓ handles quoted string with no spaces ✓ handles single quoted string with spaces ✓ handles double quoted string with spaces ✓ handles quoted string with embeded quotes yargs-parser ✓ should parse a "short boolean" ✓ should parse a "long boolean" ✓ should place bare options in the _ array ✓ should set the value of the final option in a group to the next supplied value ✓ should set the value of a single long option to the next supplied value ✓ should set the value of a single long option to the next supplied value, even if the value is empty ✓ should set the value of a single long option if an = was used ✓ should set the value of multiple long options to the next supplied values relative to each ✓ should set the value of multiple long options if = signs were used ✓ should still set values appropriately if a mix of short, long, and grouped short options are specified ✓ should still set values appropriately if a mix of short and long options are specified ✓ should explicitly set a boolean option to false if preceeded by "--no-" ✓ should still set values appropriately if we supply a comprehensive list of various types of options ✓ should parse numbers appropriately ✓ should handle parsing negative #s ✓ should set the value of a single short option to the next supplied value, even if the value is empty ✓ should not set the next value as the value of a short option if that option is explicitly defined as a boolean ✓ should set boolean options values if the next value is "true" or "false" ✓ should not set boolean options values if the next value only contains the words "true" or "false" ✓ should allow defining options as boolean in groups ✓ should correctly parse dot-notation boolean flags ✓ should preserve newlines in option values ✓ should not convert numbers to type number if explicitly defined as strings ✓ should default numbers to undefined ✓ should default number to NaN if value is not a valid number ✓ should parse flag arguments with no right-hand-value as strings, if defined as strings ✓ should leave all non-hyphenated values as strings if _ is defined as a string ✓ should assign data after forward slash to the option before the slash ✓ should set boolean and alias using explicit true ✓ should set boolean and --x=true ✓ should set boolean options values if next value is "true" or "false" with = as separator ✓ defaults to empty array if array option is provided no values ✓ normalizes all paths in array when provided via config object normalize ✓ should normalize redundant paths ✓ should normalize redundant paths when a value is later assigned ✓ should normalize when key is also an array alias ✓ should set alias value to the same value as the full option ✓ should allow multiple aliases to be specified ✓ should not add the same key to argv multiple times, when creating camel-case aliases ✓ should allow transitive aliases to be specified ✓ should merge two lists of aliases if they collide config ✓ should load options and values from default config if specified ✓ should use value from config file, if argv value is using default value ✓ should use value from config file, if argv key is a boolean ✓ should use value from cli, if cli overrides boolean argv key ✓ should use cli value, if cli value is set and both cli and default value match ✓ should allow config to be set as flag in 'option' ✓ should load options and values from a JS file when config has .js extention ✓ should raise an appropriate error if JSON file is not found ✓ should not raise an exception if config file is set as default argument value ✓ should load nested options from config file ✓ should use nested value from config file, if argv value is using default value ✓ allows a custom parsing function to be provided ✓ allows a custom parsing function to be provided as an alias ✓ outputs an error returned by the parsing function ✓ outputs an error if thrown by the parsing function config objects ✓ should load options from config object ✓ should use value from config object, if argv value is using default value ✓ should use value from config object to all aliases ✓ should load nested options from config object ✓ should use nested value from config object, if argv value is using default value dot notation ✓ should allow object graph traversal via dot notation ✓ should apply defaults to dot notation arguments ✓ should allow default to be overridden when an alias is provided ✓ should also override alias ✓ should not set an undefined dot notation key ✓ should respect .string() for dot notation arguments ✓ should populate aliases when dot notation is used ✓ should populate aliases when nested dot notation is used ✓ should allow flags to use dot notation, when seperated by '=' ✓ should allow flags to use dot notation, when seperated by ' ' ✓ should allow flags to use dot notation when no right-hand-side is given short options ✓ should set the value of multiple single short options to the next supplied values relative to each ✓ should set the value of a single short option to the next supplied value ✓ should expand grouped short options to a hash with a key for each ✓ should set n to the numeric value 123 ✓ should set n to the numeric value 123, with n at the end of a group ✓ should set n to the numeric value 123, with = as separator ✓ should set n to the numeric value 123, with n at the end of a group and = as separator whitespace ✓ should be whitespace boolean modifier function ✓ should prevent yargs from sucking in the next option as the value of the first option defaults ✓ should define option as boolean and set default to true ✓ should define option as boolean and set default to false ✓ should set boolean options to false by default for options with aliases ✓ should set defaults if no args ✓ should set defaults if one extra arg for typed options without aliases ✓ should set defaults if no args ✓ should set defaults if one extra arg ✓ should set defaults even if arg looks like a string for typed options with aliases ✓ should set defaults if no args ✓ should set defaults if one extra arg ✓ should set defaults even if arg looks like a string for boolean options ✓ should apply defaults to camel-case form of argument with explicit true default ✓ should set true if --flag in arg ✓ should set false if --no-flag in arg ✓ should set true if no flag in arg with explicit false default ✓ should set true if --flag in arg ✓ should set false if --no-flag in arg ✓ should set false if no flag in arg with explicit undefined default ✓ should set true if --flag in arg ✓ should set false if --no-flag in arg ✓ should set undefined if no flag in arg with explicit null default ✓ should set true if --flag in arg ✓ should set false if --no-flag in arg ✓ should set null if no flag in arg with implied false default ✓ should set true if --flag in arg ✓ should set false if --no-flag in arg ✓ should set false if no flag in arg camelCase dashes and camelCase ✓ should provide options with dashes as camelCase properties ✓ should provide count options with dashes as camelCase properties ✓ should provide options with dashes and aliases as camelCase properties ✓ should provide defaults of options with dashes as camelCase properties ✓ should provide aliases of options with dashes as camelCase properties ✓ should provide aliases of options with dashes as camelCase properties ✓ should provide aliases with dashes as camelCase properties dashes and camelCase (strict) ✓ should provide count options with dashes as camelCase properties ✓ should provide options with dashes and aliases as camelCase properties ✓ should provide defaults of options with dashes as camelCase properties ✓ should provide aliases of options with dashes as camelCase properties ✓ should provide aliases of options with dashes as camelCase properties ✓ should provide aliases with dashes as camelCase properties - ✓ should set - as value of n ✓ should set - as a non-hyphenated value ✓ should set - as a value of f ✓ should set b to true and set - as a non-hyphenated value when b is set as a boolean ✓ should set - as the value of s when s is set as a string count ✓ should count the number of times a boolean is present ✓ should not consume the next argument ✓ should use a default value as is when no arg given ✓ should ignore a default value when arg given ✓ should increment regardless of arg value array ✓ should group values into an array if the same option is specified multiple times (duplicate-arguments-array=true) ✓ should keep only the last value if the same option is specified multiple times (duplicate-arguments-false) ✓ should default an array to an empty array if passed as first option followed by another ✓ should not attempt to default array if an element has already been populated ✓ should default argument to empty array if no value given ✓ should place value of argument in array, when one argument provided ✓ should add multiple argument values to the array ✓ should allow array: true, to be set inside an option block ✓ should default camel-case alias to array type ✓ should default alias to array type ✓ should eat non-hyphenated arguments until hyphenated option is hit ✓ should support array for --foo= format when the key is a number nargs ✓ should allow the number of arguments following a key to be specified ✓ should raise an exception if there are not enough arguments following key ✓ nargs is applied to aliases ✓ should apply nargs to flag arguments ✓ should support nargs for -f= and --bar= format arguments ✓ should not modify the input args if an = was used ✓ allows multiple nargs to be set at the same time ✓ should support nargs for --foo= format when the key is a number env vars ✓ should apply all env vars if prefix is empty ✓ should apply only env vars matching prefix if prefix is valid string ✓ should set aliases for options defined by env var ✓ should prefer command line value over env var ✓ should respect type for args defined by env var ✓ should set option from aliased env var ✓ should prefer env var value over configured default ✓ should prefer environment variables over config file ✓ should support an env var value as config file option ✓ should prefer cli config file option over env var config file option ✓ should apply all nested env vars ✓ should apply nested env var if argv value is using default value configuration short option groups ✓ allows short-option-groups to be disabled camel-case expansion ✓ does not expand camel-case aliases ✓ does not expand camel-case keys dot notation ✓ does not expand dot notation defaults ✓ does not expand dot notation arguments ✓ should use value from cli, if cli overrides dot notation default ✓ should also override dot notation alias ✓ does not expand alias of first element of dot notation arguments ✓ does not append nested-object keys from config to top-level key parse numbers ✓ does not coerce defaults into numbers ✓ does not coerce arguments into numbers ✓ does not coerce positional arguments into numbers boolean negation ✓ does not negate arguments prefixed with --no- duplicate arguments array ✓ adds duplicate argument to array ✓ keeps only last argument flatten duplicate arrays ✓ flattens duplicate array type ✓ nests duplicate array types ✓ doesn't nests single arrays duplicate-arguments-array VS flatten-duplicate-arrays duplicate=false, flatten=false, type=array ✓ [-x 1 2 3] => [1, 2, 3] ✓ [-x 1 2 3 -x 2 3 4] => [2, 3, 4] type=number ✓ [-x 1 -x 2 -x 3] => 3 duplicate=false, flatten=true, type=array ✓ [-x 1 2 3] => [1, 2, 3] ✓ [-x 1 2 3 -x 2 3 4] => [2, 3, 4] type=number ✓ [-x 1 -x 2 -x 3] => 3 duplicate=true, flatten=true, type=array ✓ [-x 1 2 3] => [1, 2, 3] ✓ [-x 1 2 3 -x 2 3 4] => [1, 2, 3, 2, 3, 4] type=number ✓ [-x 1 -x 2 -x 3] => [1, 2, 3] duplicate=true, flatten=false, type=array ✓ [-x 1 -x 2 -x 3] => [1, 2, 3] ✓ [-x 1 2 3 -x 2 3 4] => [[1, 2, 3], [ 2, 3, 4]] type=number ✓ [-x 1 -x 2 -x 3] => [1, 2, 3] coerce ✓ applies coercion function to simple arguments ✓ applies coercion function to aliases ✓ applies coercion function to all dot options ✓ applies coercion to defaults ✓ applies coercion function to an implicit array ✓ applies coercion function to an explicit array ✓ applies coercion function to _ ✓ coercion function can be used to parse large #s ✓ populates argv.error, if an error is thrown ✓ populates argv.error, if an error is thrown for an explicit array 208 passing (195ms) + exit 0 Processing files: nodejs-yargs-parser-5.0.0-1.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kTm8TF + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/share/doc/nodejs-yargs-parser + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/share/doc/nodejs-yargs-parser + cp -pr README.md /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/share/doc/nodejs-yargs-parser + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jK6blb + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/share/licenses/nodejs-yargs-parser + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/share/licenses/nodejs-yargs-parser + cp -pr LICENSE.txt /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64/usr/share/licenses/nodejs-yargs-parser + exit 0 Provides: nodejs-yargs-parser = 5.0.0-1.fc27 npm(yargs-parser) = 5.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: nodejs(engine) npm(camelcase) >= 3.0.0 npm(camelcase) < 4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64 Wrote: /builddir/build/RPMS/nodejs-yargs-parser-5.0.0-1.fc27.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QGdS5G + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-yargs-parser-5.0.0-1.fc27.x86_64 + exit 0 Child return code was: 0