Mock Version: 1.4.14 Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.spec'], chrootPath='/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.spec'], chrootPath='/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0764a6f1e27542f5acf170364374cfb8', '-D', '/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0764a6f1e27542f5acf170364374cfb8', '-D', '/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-casbin-1.8.1-1.fc31.src.rpm Wrote: /builddir/build/SRPMS/golang-github-casbin-1.8.1-1.fc31.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.spec'], chrootPath='/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.spec'], chrootPath='/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3fc0f289b48c49d88f55eec49b3250d7', '-D', '/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.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': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3fc0f289b48c49d88f55eec49b3250d7', '-D', '/var/lib/mock/885437-custom-1-x86_64-1555684230.972182/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.856gl4d2:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-casbin.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qOuf2v Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qOuf2v + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf casbin-1.8.1 + rm -rf casbin-1.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/casbin-1.8.1.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/casbin-1.8.1.tar.gz + /usr/bin/tar -xof - + /usr/bin/tar -xof - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd casbin-1.8.1 + cd casbin-1.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/casbin-1.8.1/vendor + rm -fr /builddir/build/BUILD/casbin-1.8.1/vendor + [[ ! -e /builddir/build/BUILD/casbin-1.8.1/_build/bin ]] + [[ ! -e /builddir/build/BUILD/casbin-1.8.1/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/casbin-1.8.1/_build/bin + install -m 0755 -vd /builddir/build/BUILD/casbin-1.8.1/_build/bin install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/bin' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/bin' + export GOPATH=/builddir/build/BUILD/casbin-1.8.1/_build:/usr/share/gocode + export GOPATH=/builddir/build/BUILD/casbin-1.8.1/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/casbin-1.8.1/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/casbin-1.8.1/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin ]] + [[ ! -e /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin BUILDSTDERR: ++ dirname /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + install -m 0755 -vd /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin + install -m 0755 -vd /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/src' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/src' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/src/github.com' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/src/github.com' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin' install: creating directory '/builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin' + ln -fs /builddir/build/BUILD/casbin-1.8.1 /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + ln -fs /builddir/build/BUILD/casbin-1.8.1 /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + cd /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + cd /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W9EEVt Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W9EEVt + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 + rm -rf /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 + mkdir /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 + cd casbin-1.8.1 + cd casbin-1.8.1 + cd /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + cd /builddir/build/BUILD/casbin-1.8.1/_build/src/github.com/casbin/casbin + IFS= + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. BUILDSTDERR: +++ realpath -e --relative-base=. BUILDSTDERR: +++ sort -u BUILDSTDERR: +++ sort -u BUILDSTDERR: realpath: missing operand BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ grep -q '' BUILDSTDERR: ++ grep -q '' BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo '' BUILDSTDERR: ++ echo '' BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc + gosupfiles= + gosupfiles= + mapfile -t gosupfilesA + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/casbin/casbin -b /builddir/build/BUILD/casbin-1.8.1/_build/bin -s /builddir/build/BUILD/casbin-1.8.1/_build -o golang-github-casbin-devel.file-list -O /builddir/build/BUILD/casbin-1.8.1 -V 1.8.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' '' + go-rpm-integration install -i github.com/casbin/casbin -b /builddir/build/BUILD/casbin-1.8.1/_build/bin -s /builddir/build/BUILD/casbin-1.8.1/_build -o golang-github-casbin-devel.file-list -O /builddir/build/BUILD/casbin-1.8.1 -V 1.8.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' '' Installing: github.com/casbin/casbin Installing: github.com/casbin/casbin BUILDSTDERR: realpath: '': No such file or directory BUILDSTDERR: realpath: '': No such file or directory + IFS= + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. examples README.md BUILDSTDERR: +++ realpath -e --relative-base=. examples README.md BUILDSTDERR: +++ sort -u BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ grep -q README.md BUILDSTDERR: ++ grep -q README.md BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo README.md BUILDSTDERR: ++ echo README.md BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q examples BUILDSTDERR: ++ grep -q examples BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ echo examples BUILDSTDERR: ++ echo examples BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc + godocs='README.md + godocs='README.md BUILDSTDERR: examples' BUILDSTDERR: examples' + [[ -n README.md + [[ -n README.md BUILDSTDERR: examples ]] BUILDSTDERR: examples ]] + IFS= + IFS= + read -r f + read -r f + echo %doc '"README.md"' + echo %doc '"README.md"' + IFS= + IFS= + read -r f + read -r f + echo %doc '"examples"' + echo %doc '"examples"' + IFS= + IFS= + read -r f + read -r f + IFS= + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. LICENSE BUILDSTDERR: +++ realpath -e --relative-base=. LICENSE BUILDSTDERR: +++ sort -u BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ grep -q LICENSE BUILDSTDERR: ++ grep -q LICENSE BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo LICENSE BUILDSTDERR: ++ echo LICENSE BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ read -r finc + golicenses=LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + [[ -n LICENSE ]] + IFS= + IFS= + read -r f + read -r f + echo %license '"LICENSE"' + echo %license '"LICENSE"' + IFS= + IFS= + read -r f + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dB8a8u Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dB8a8u + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd casbin-1.8.1 + cd casbin-1.8.1 + LDFLAGS='-X github.com/casbin/casbin/version=1.8.1' + LDFLAGS='-X github.com/casbin/casbin/version=1.8.1' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + 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_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/casbin/casbin -b /builddir/build/BUILD/casbin-1.8.1/_build/bin -s /builddir/build/BUILD/casbin-1.8.1/_build -V 1.8.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' + go-rpm-integration check -i github.com/casbin/casbin -b /builddir/build/BUILD/casbin-1.8.1/_build/bin -s /builddir/build/BUILD/casbin-1.8.1/_build -V 1.8.1-1.fc31 -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/casbin-1.8.1/_build/src Testing in: /builddir/build/BUILD/casbin-1.8.1/_build/src PATH: /builddir/build/BUILD/casbin-1.8.1/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PATH: /builddir/build/BUILD/casbin-1.8.1/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/casbin-1.8.1/_build:/usr/share/gocode GOPATH: /builddir/build/BUILD/casbin-1.8.1/_build:/usr/share/gocode command: go test -buildmode pie -compiler gc -ldflags "-X github.com/casbin/casbin/version=1.8.1 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" command: go test -buildmode pie -compiler gc -ldflags "-X github.com/casbin/casbin/version=1.8.1 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/casbin/casbin testing: github.com/casbin/casbin github.com/casbin/casbin github.com/casbin/casbin 2019/04/19 14:31:02 Start automatically load policy 2019/04/19 14:31:02 Start automatically load policy 2019/04/19 14:31:02 Stop automatically load policy 2019/04/19 14:31:02 Stop automatically load policy 2019/04/19 14:31:02 Start automatically load policy 2019/04/19 14:31:02 Start automatically load policy 2019/04/19 14:31:02 Stop automatically load policy 2019/04/19 14:31:02 Stop automatically load policy 2019/04/19 14:31:02 Model: 2019/04/19 14:31:02 Model: 2019/04/19 14:31:02 r.r: sub, obj, act 2019/04/19 14:31:02 r.r: sub, obj, act 2019/04/19 14:31:02 p.p: sub, obj, act 2019/04/19 14:31:02 p.p: sub, obj, act 2019/04/19 14:31:02 e.e: some(where (p_eft == allow)) 2019/04/19 14:31:02 e.e: some(where (p_eft == allow)) 2019/04/19 14:31:02 m.m: r_sub == p_sub && r_obj == p_obj && r_act == p_act 2019/04/19 14:31:02 m.m: r_sub == p_sub && r_obj == p_obj && r_act == p_act 2019/04/19 14:31:02 Policy: 2019/04/19 14:31:02 Policy: 2019/04/19 14:31:02 p: sub, obj, act: [[alice data1 read] [bob data2 write]] 2019/04/19 14:31:02 p: sub, obj, act: [[alice data1 read] [bob data2 write]] 2019/04/19 14:31:02 Request: alice, data1, read ---> true 2019/04/19 14:31:02 Request: alice, data1, read ---> true 2019/04/19 14:31:02 Request: alice, data1, write ---> false 2019/04/19 14:31:02 Request: alice, data1, write ---> false 2019/04/19 14:31:02 Request: alice, data2, read ---> false 2019/04/19 14:31:02 Request: alice, data2, read ---> false 2019/04/19 14:31:02 Request: alice, data2, write ---> false 2019/04/19 14:31:02 Request: alice, data2, write ---> false 2019/04/19 14:31:02 Request: bob, data1, read ---> false 2019/04/19 14:31:02 Request: bob, data1, read ---> false 2019/04/19 14:31:02 Request: bob, data1, write ---> false 2019/04/19 14:31:02 Request: bob, data1, write ---> false 2019/04/19 14:31:02 Request: bob, data2, read ---> false 2019/04/19 14:31:02 Request: bob, data2, read ---> false 2019/04/19 14:31:02 Request: bob, data2, write ---> true 2019/04/19 14:31:02 Request: bob, data2, write ---> true PASS PASS ok github.com/casbin/casbin 0.078s ok github.com/casbin/casbin 0.078s github.com/casbin/casbin/config github.com/casbin/casbin/config PASS PASS ok github.com/casbin/casbin/config 0.004s ok github.com/casbin/casbin/config 0.004s github.com/casbin/casbin/log github.com/casbin/casbin/log PASS PASS ok github.com/casbin/casbin/log 0.004s ok github.com/casbin/casbin/log 0.004s github.com/casbin/casbin/model github.com/casbin/casbin/model PASS PASS ok github.com/casbin/casbin/model 0.009s ok github.com/casbin/casbin/model 0.009s github.com/casbin/casbin/persist github.com/casbin/casbin/persist PASS PASS ok github.com/casbin/casbin/persist 0.004s ok github.com/casbin/casbin/persist 0.004s github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/rbac/default-role-manager PASS PASS ok github.com/casbin/casbin/rbac/default-role-manager 0.006s ok github.com/casbin/casbin/rbac/default-role-manager 0.006s github.com/casbin/casbin/util github.com/casbin/casbin/util PASS PASS ok github.com/casbin/casbin/util 0.007s ok github.com/casbin/casbin/util 0.007s + exit 0 + exit 0 Processing files: golang-github-casbin-devel-1.8.1-1.fc31.noarch Processing files: golang-github-casbin-devel-1.8.1-1.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kalQzx Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kalQzx + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd casbin-1.8.1 + cd casbin-1.8.1 + DOCDIR=/builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + DOCDIR=/builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + cp -pr examples /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + cp -pr examples /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/doc/golang-github-casbin-devel + exit 0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.f1fdit Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.f1fdit + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd casbin-1.8.1 + cd casbin-1.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/licenses/golang-github-casbin-devel + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/licenses/golang-github-casbin-devel + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export LICENSEDIR + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/licenses/golang-github-casbin-devel + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/licenses/golang-github-casbin-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/licenses/golang-github-casbin-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64/usr/share/licenses/golang-github-casbin-devel + exit 0 + exit 0 Provides: golang(github.com/casbin/casbin) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/config) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/effect) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/log) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/model) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/persist) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/persist/file-adapter) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/rbac) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/rbac/default-role-manager) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/util) = 1.8.1-1.fc31 golang-github-casbin-devel = 1.8.1-1.fc31 golang-ipath(github.com/casbin/casbin) = 1.8.1-1.fc31 Provides: golang(github.com/casbin/casbin) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/config) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/effect) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/log) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/model) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/persist) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/persist/file-adapter) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/rbac) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/rbac/default-role-manager) = 1.8.1-1.fc31 golang(github.com/casbin/casbin/util) = 1.8.1-1.fc31 golang-github-casbin-devel = 1.8.1-1.fc31 golang-ipath(github.com/casbin/casbin) = 1.8.1-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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/Knetic/govaluate) Requires: go-filesystem golang(github.com/Knetic/govaluate) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 Wrote: /builddir/build/RPMS/golang-github-casbin-devel-1.8.1-1.fc31.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-casbin-devel-1.8.1-1.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kiD0Bu Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kiD0Bu + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd casbin-1.8.1 + cd casbin-1.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-casbin-1.8.1-1.fc31.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0