Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/nodejs-argparse.spec'], env={'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}chrootPath='/var/lib/mock/f27-build-9275150-772195/root'shell=Falsegid=425nspawn_args=[]logger=uid=1000user='mockbuild'timeout=172800printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/nodejs-argparse.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/nodejs-argparse-1.0.9-3.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/nodejs-argparse.spec'], env={'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}chrootPath='/var/lib/mock/f27-build-9275150-772195/root'shell=Falsegid=425nspawn_args=[]logger=uid=1000user='mockbuild'timeout=172800printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/nodejs-argparse.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EMnx9x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf package + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/argparse-1.0.9.tgz + 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/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tests-1.0.9.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /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/examples-1.0.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/nodejs-fixdep sprintf-js 1.x Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MaE2gd + exit 0 + umask 022 + cd /builddir/build/BUILD + cd package + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6IuCoS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch ++ dirname /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch + cd package + mkdir -p /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/lib/node_modules/argparse + cp -pr package.json index.js lib/ /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/lib/node_modules/argparse + /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m --build-id-seed 1.0.9-3.fc27 --unique-debug-suffix -1.0.9-3.fc27.noarch --unique-debug-src-base nodejs-argparse-1.0.9-3.fc27.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S /builddir/build/BUILD/package/debugsourcefiles.list /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.Q3wD0x + 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/lib/node_modules/mocha/bin/mocha -R spec base ✓ should parse argument in short form ✓ should parse argument in long form ✓ should parse multiple arguments ✓ should check argument type ✓ should not drop down with empty args (without positional arguments) ✓ should drop down with empty args (positional arguments) ✓ should support pseudo-argument ✓ should support #setDefaults ✓ should throw TypeError with conflicting options ✓ should parse negative arguments ✓ should parse arguments with '=' ✓ No negative number options; neg number is positional argument ✓ negative number options present, so any neg number is an option ✓ should infer option destination from long and short options ✓ should accept 0 defaultValue ✓ getDefault() should get defaults ✓ should handle mixed positional and optional args ✓ test empty and space containing arguments ✓ should support instantiation without new ✓ should accept a string as a positional argument name ✓ should accept a string as a short option name ✓ should accept a string as a long option name child group ✓ compare help parent and child ✓ child should throw error if an xclusive group member is missing ✓ child accepts an xgroup item and positional arg from parent ✓ child throws error if both xclusive options are given choices ✓ should store correct choice(choices defined as string) ✓ should drop down with 'Invalid choice' error for incorrect choices(choices defined as string) ✓ should store correct choice(choices defined as array) ✓ should drop down with 'Invalid choice' error for incorrect choices(choices defined as array) Argument conflict handling ✓ test_bad_type ✓ test_conflict_error ✓ test_resolve_error ✓ TypeError with multiple conflicts ✓ resolving multiple conflicts constant actions ✓ storeConst should store constant as given ✓ storeConst should give error if constant not given (or misspelled) ✓ appendConst should append constant as given ✓ appendConst should give error if constant not given (or misspelled) formatterClass alternatives ✓ ArgumentDefaultsHelpFormatter ✓ RawDescriptionHelpFormatter ✓ RawTextHelpFormatter ✓ should handle metavar as an array from file ✓ test reading arguments from a file ✓ test recursive reading arguments from files ✓ test reading arguments from an invalid file ✓ test reading arguments from an missing file ✓ test custom convertArgLineToArgs function group ✓ group test ✓ 2 groups test ✓ mutually exclusive group test ✓ mutually exclusive group test (2) ✓ mutually exclusive group test (3) ✓ mutually exclusive group usage ✓ mutually exclusive optional and positional ✓ two mutually exclusive groups ✓ suppressed and single action groups nargs ✓ test specifying the 1 arg for an Optional ✓ test specifying the 3 args for an Optional ✓ tests not specifying the number of args for an Optional ✓ test specifying an args for an Optional, that accepts one or more ✓ test specifying an Optional arg for an Optional ✓ test specifying an args for an Optional that accepts zero or more ✓ test a Positional that specifies an nargs of 1 ✓ test a Positional that specifies an nargs of 2 ✓ test a Positional with 2 nargs followed by one with none ✓ test a Positional with 2 nargs followed by one with one or more ✓ test a Positional with 2 nargs followed by one optional ✓ test a Positional with 2 nargs followed by one with unlimited ✓ test a Positional that doesn't specify nargs ✓ test a Positional with no nargs followed by one with 1 ✓ test two Positionals that don't specify nargs ✓ test a Positional with no nargs followed by one with one or more ✓ test three Positionals: no nargs, one or more nargs and 1 nargs ✓ test a Positional with no nargs followed by one with an Optional ✓ test three Positionals: no nargs, optional narg and 1 nargs ✓ test a Positional with no nargs followed by one with unlimited ✓ test three Positionals: no nargs, unlimited nargs and 1 nargs ✓ test a Positional that specifies one or more nargs ✓ test a Positional with one or more nargs followed by one with 1 ✓ test a Positional with one or more nargs followed by one with none ✓ tests an Optional Positional ✓ test a Positional with an Optional nargs followed by one with 1 ✓ test an Optional Positional with a default value (that needs to be converted to the appropriate type.) ✓ tests an Optional Positional with a default value ✓ test a Positional with an Optional nargs followed by one with none ✓ test an Optional narg followed by one or more nargs ✓ test two optional nargs ✓ test an Optional narg followed by unlimited nargs ✓ test a Positional that specifies unlimited nargs ✓ test a `nargs` + `append` combination. Not obvious result - nested array ✓ test a Positional with unlimited nargs followed by one with 1 ✓ test a Positional that specifies unlimited nargs and a default ✓ test a Positional with unlimited nargs followed by one with none ✓ test specifying a positional with nargs=REMAINDER ✓ test specifying an args for an Optional that accepts zero or more ✓ should accept defaultValue for nargs:'*' ✓ should accept negative scientific numbers as values optionals ✓ test options that may or may not be arguments ✓ test the append action for an Optional ✓ test the append_const action for an Optional ✓ test the append_const action for an Optional ✓ test the append action for an Optional ✓ test the count action for an Optional ✓ test the store action for an Optional ✓ test the store_const action for an Optional ✓ test the store_false action for an Optional ✓ test the store_true action for an Optional ✓ test negative number args when almost numeric options are present ✓ test specifying the choices for an Optional ✓ test specifying a default for an Optional ✓ test various means of setting destination ✓ test an Optional with a double-dash option string ✓ tests partial matching with a double-dash option string ✓ test an Optional with a short opt string ✓ test negative number args when numeric options are present ✓ tests the an optional action that is required ✓ test a combination of single- and double-dash option strings ✓ test an Optional with a single-dash option string ✓ test Optionals that partially match but are not subsets ✓ test an Optional with a single-dash option string ✓ test an Optional with a multi-character single-dash option string ✓ test Optionals where option strings are subsets of each other ✓ test an Optional with single- and double-dash option strings parents ✓ should parse args from parents parser ✓ should throw error if has same args as parent positionals ✓ test the 'append' action ✓ test a set of integer choices ✓ test a set of single-character choices prefix ✓ test an Optional with option strings with custom prefixes ✓ when "-" not in prefix_chars, default operators created for help should use the prefix_chars in use rather than - or -- ✓ verify that Optionals must be called with their defined prefixes ✓ test when one double-dash option string is a prefix of another ✓ test arguments from prefix chars only sub-commands ✓ should store command name ✓ should store command arguments ✓ should have same behavior for alias and original command ✓ should have different behavior for different commands ✓ should drop down with "Invalid choice" error if parse unrecognized command ✓ should drop down with empty args ('too few arguments' error) ✓ should support #setDefaults suppress defaults ✓ test actions with suppressed defaults ✓ test actions with a parser-level default of SUPPRESS user defined type ✓ should handle builtin types ✓ should handle user-defined type ✓ should give consistent type errors ✓ test a user-defined type by registering it ✓ test an anonymous user-defined type 148 passing (135ms) + exit 0 Processing files: nodejs-argparse-1.0.9-3.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zxkhve + umask 022 + cd /builddir/build/BUILD + cd package + DOCDIR=/builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/doc/nodejs-argparse + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/doc/nodejs-argparse + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/doc/nodejs-argparse + cp -pr README.md /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/doc/nodejs-argparse + cp -pr examples/ /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/doc/nodejs-argparse + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AUJ90U + umask 022 + cd /builddir/build/BUILD + cd package + LICENSEDIR=/builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/licenses/nodejs-argparse + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/licenses/nodejs-argparse + cp -pr LICENSE /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch/usr/share/licenses/nodejs-argparse + exit 0 Provides: nodejs-argparse = 1.0.9-3.fc27 npm(argparse) = 1.0.9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env nodejs(engine) npm(sprintf-js) >= 1 npm(sprintf-js) < 2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch Wrote: /builddir/build/RPMS/nodejs-argparse-1.0.9-3.fc27.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rgQdMB + umask 022 + cd /builddir/build/BUILD + cd package + /usr/bin/rm -rf /builddir/build/BUILDROOT/nodejs-argparse-1.0.9-3.fc27.noarch + exit 0 Child return code was: 0