Mock Version: 2.3 Mock Version: 2.3 Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli.spec'], chrootPath='/var/lib/mock/f33-build-side-26280-21993250-1829048/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1596491609 Wrote: /builddir/build/SRPMS/golang-github-urfave-cli-1.22.4-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/golang-github-urfave-cli.spec'], chrootPath='/var/lib/mock/f33-build-side-26280-21993250-1829048/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-urfave-cli.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1596491609 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6ddvZe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cli-1.22.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/cli-1.22.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cli-1.22.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/cli-1.22.4/vendor + [[ ! -e /builddir/build/BUILD/cli-1.22.4/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/cli-1.22.4/_build/bin install: creating directory '/builddir/build/BUILD/cli-1.22.4/_build' install: creating directory '/builddir/build/BUILD/cli-1.22.4/_build/bin' + export GOPATH=/builddir/build/BUILD/cli-1.22.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/cli-1.22.4/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave/cli ]] ++ dirname /builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave/cli + install -m 0755 -vd /builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave install: creating directory '/builddir/build/BUILD/cli-1.22.4/_build/src' install: creating directory '/builddir/build/BUILD/cli-1.22.4/_build/src/github.com' install: creating directory '/builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave' + ln -fs /builddir/build/BUILD/cli-1.22.4 /builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave/cli + cd /builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave/cli + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZK11Xf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 + cd cli-1.22.4 + cd /builddir/build/BUILD/cli-1.22.4/_build/src/github.com/urfave/cli + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/urfave/cli -b /builddir/build/BUILD/cli-1.22.4/_build/bin -s /builddir/build/BUILD/cli-1.22.4/_build -o golang-github-urfave-cli-devel.file-list -O /builddir/build/BUILD/cli-1.22.4 -V 1.22.4-1.fc33 -p /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/urfave/cli + IFS= +++ realpath -e --relative-base=. docs/CONTRIBUTING.md docs/v1 README.md CODE_OF_CONDUCT.md +++ sort -u ++ listfiles_include='CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1' ++ echo 'CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1' + godocs='CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1' + [[ -n CODE_OF_CONDUCT.md README.md docs/CONTRIBUTING.md docs/v1 ]] + IFS= + read -r f + echo %doc '"CODE_OF_CONDUCT.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"docs/CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"docs/v1"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/gocode/src/gopkg.in/urfave + ln -rs /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/gocode/src/github.com/urfave/cli /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/gocode/src/gopkg.in/urfave/cli.v1 + echo /usr/share/gocode/src/gopkg.in/urfave/cli.v1 + echo '%dir "/usr/share/gocode/src/gopkg.in/urfave"' + echo '%dir "/usr/share/gocode/src/gopkg.in"' + install -m 0755 -d /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/gocode/src/github.com/codegangsta + ln -rs /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/gocode/src/github.com/urfave/cli /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/gocode/src/github.com/codegangsta/cli + echo /usr/share/gocode/src/github.com/codegangsta/cli + echo '%dir "/usr/share/gocode/src/github.com/codegangsta"' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.O0XUjf + umask 022 + cd /builddir/build/BUILD + cd cli-1.22.4 + LDFLAGS='-X github.com/urfave/cli/version=1.22.4' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/urfave/cli -b /builddir/build/BUILD/cli-1.22.4/_build/bin -s /builddir/build/BUILD/cli-1.22.4/_build -V 1.22.4-1.fc33 -p /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/cli-1.22.4/_build/src PATH: /builddir/build/BUILD/cli-1.22.4/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/cli-1.22.4/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X github.com/urfave/cli/version=1.22.4 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/urfave/cli github.com/urfave/cli Incorrect Usage. flag needs an argument: -n NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --name value, -n value --help, -h show help Incorrect Usage: flag needs an argument: -n NAME: cli.test cmd - USAGE: cli.test cmd [command options] [arguments...] OPTIONS: --name value, -n value Incorrect Usage: flag needs an argument: -n NAME: cli.test cmd sub - USAGE: cli.test cmd sub [command options] [arguments...] OPTIONS: --name value, -n value fail NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: sub help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --opt value --help, -h show help fail NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: sub help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --opt value --help, -h show help NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --requiredFlag value --help, -h show help NAME: cli.test myCommand - USAGE: cli.test myCommand [command options] [arguments...] OPTIONS: --requiredFlag value NAME: cli.test myCommand mySubCommand - USAGE: cli.test myCommand mySubCommand [command options] [arguments...] OPTIONS: --requiredFlag value NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --requiredFlag value --help, -h show help NAME: cli.test myCommand - USAGE: cli.test myCommand [command options] [arguments...] OPTIONS: --requiredFlag value NAME: cli.test myCommand mySubCommand - USAGE: cli.test myCommand mySubCommand [command options] [arguments...] OPTIONS: --requiredFlag value NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --requiredFlag value --optional value --help, -h show help NAME: cli.test myCommand - USAGE: cli.test myCommand [command options] [arguments...] OPTIONS: --requiredFlag value --optional value NAME: cli.test myCommand mySubCommand - USAGE: cli.test myCommand mySubCommand [command options] [arguments...] OPTIONS: --requiredFlag value --optional value NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --requiredFlag value --help, -h show help NAME: cli.test myCommand - USAGE: cli.test myCommand [command options] [arguments...] OPTIONS: --requiredFlag value NAME: cli.test myCommand mySubCommand - USAGE: cli.test myCommand mySubCommand [command options] [arguments...] OPTIONS: --requiredFlag value Incorrect Usage. flag provided but not defined: -nope NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: bar help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help hay Before NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: bar help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help before error NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: ***custom*** --help, -h show help NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: ***custom*** --help, -h show help NAME: cli.test - A new cli application USAGE: cli.test [global options] command [command options] [arguments...] COMMANDS: help, h Shows a list of commands or help for one command GLOBAL OPTIONS: ***help-custom*** help h --test-completion --help -h Incorrect Usage: flag provided but not defined: -acf NAME: cli.test test - this is for testing USAGE: cli.test test [command options] [arguments...] DESCRIPTION: testing OPTIONS: --abc, -a --cde, -c --fgh, -f --ijk value, -i value Incorrect Usage: flag provided but not defined: -invalid NAME: cli.test test - this is for testing USAGE: cli.test test [command options] [arguments...] DESCRIPTION: testing OPTIONS: --abc, -a --cde, -c --fgh, -f --ijk value, -i value Incorrect Usage: flag provided but not defined: -invalid NAME: cli.test test - this is for testing USAGE: cli.test test [command options] [arguments...] DESCRIPTION: testing OPTIONS: --abc, -a --cde, -c --fgh, -f --ijk value, -i value Incorrect Usage: flag provided but not defined: -invalid NAME: cli.test test - this is for testing USAGE: cli.test test [command options] [arguments...] DESCRIPTION: testing OPTIONS: --abc, -a --cde, -c --fgh, -f --ijk value, -i value Incorrect Usage: flag provided but not defined: -invalid NAME: cli.test test - this is for testing USAGE: cli.test test [command options] [arguments...] DESCRIPTION: testing OPTIONS: --abc, -a --cde, -c --fgh, -f --ijk value, -i value Incorrect Usage: flag needs an argument: -i NAME: cli.test test - this is for testing USAGE: cli.test test [command options] [arguments...] DESCRIPTION: testing OPTIONS: --abc, -a --cde, -c --fgh, -f --ijk value, -i value NAME: cli.test bar - USAGE: cli.test bar [arguments...] foo foo foo PASS ok github.com/urfave/cli 0.048s github.com/urfave/cli/altsrc PASS ok github.com/urfave/cli/altsrc 0.014s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-urfave-cli-devel-1.22.4-1.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fPcRoe + umask 022 + cd /builddir/build/BUILD + cd cli-1.22.4 + DOCDIR=/builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/doc/golang-github-urfave-cli-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/doc/golang-github-urfave-cli-devel + cp -pr CODE_OF_CONDUCT.md /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/doc/golang-github-urfave-cli-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/doc/golang-github-urfave-cli-devel + cp -pr docs/CONTRIBUTING.md /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/doc/golang-github-urfave-cli-devel + cp -pr docs/v1 /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/doc/golang-github-urfave-cli-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.f1cHKg + umask 022 + cd /builddir/build/BUILD + cd cli-1.22.4 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/licenses/golang-github-urfave-cli-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/licenses/golang-github-urfave-cli-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64/usr/share/licenses/golang-github-urfave-cli-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: golang(github.com/urfave/cli) = 1.22.4-1.fc33 golang(github.com/urfave/cli/altsrc) = 1.22.4-1.fc33 golang-github-urfave-cli-devel = 1.22.4-1.fc33 golang-ipath(github.com/urfave/cli) = 1.22.4-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/BurntSushi/toml) golang(github.com/cpuguy83/go-md2man/v2/md2man) golang(gopkg.in/yaml.v2) Processing files: compat-golang-gopkg-urfave-cli-1-devel-1.22.4-1.fc33.noarch Provides: compat-golang-gopkg-urfave-cli-1-devel = 1.22.4-1.fc33 golang(gopkg.in/urfave/cli.v1) = 1.22.4-1.fc33 golang(gopkg.in/urfave/cli.v1/altsrc) = 1.22.4-1.fc33 golang-symlink(gopkg.in/urfave/cli.v1) = 1.22.4-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(github.com/urfave/cli) = 1.22.4-1.fc33 Obsoletes: golang-gopkg-urfave-cli-1-devel < 1.22.4-1.fc33 Processing files: compat-golang-github-codegangsta-cli-devel-1.22.4-1.fc33.noarch Provides: compat-golang-github-codegangsta-cli-devel = 1.22.4-1.fc33 golang(github.com/codegangsta/cli) = 1.22.4-1.fc33 golang(github.com/codegangsta/cli/altsrc) = 1.22.4-1.fc33 golang-symlink(github.com/codegangsta/cli) = 1.22.4-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(github.com/urfave/cli) = 1.22.4-1.fc33 Obsoletes: golang-github-codegangsta-cli-devel < 1.22.4-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 Wrote: /builddir/build/RPMS/compat-golang-github-codegangsta-cli-devel-1.22.4-1.fc33.noarch.rpm Wrote: /builddir/build/RPMS/compat-golang-gopkg-urfave-cli-1-devel-1.22.4-1.fc33.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-urfave-cli-devel-1.22.4-1.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fHWO0c + umask 022 + cd /builddir/build/BUILD + cd cli-1.22.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-urfave-cli-1.22.4-1.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0