Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-macaron-session.spec'], chrootPath='/var/lib/mock/920620-custom-1-x86_64-1559608043.835592/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.lh3a7h6n:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh3a7h6n:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '936c66f21aed49eea6bd94e8ebe7879a', '-D', '/var/lib/mock/920620-custom-1-x86_64-1559608043.835592/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh3a7h6n:/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-macaron-session.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 for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.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-macaron-session.spec'], chrootPath='/var/lib/mock/920620-custom-1-x86_64-1559608043.835592/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.lh3a7h6n:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh3a7h6n:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5b02aa2213bf41fcafe9d40cebfd85b7', '-D', '/var/lib/mock/920620-custom-1-x86_64-1559608043.835592/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lh3a7h6n:/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-macaron-session.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 for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SiQNZw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf session-0a0a789bf1934e55fde19629869caa015a40c525 + /usr/bin/gzip -dc /builddir/build/SOURCES/session-0a0a789bf1934e55fde19629869caa015a40c525.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd session-0a0a789bf1934e55fde19629869caa015a40c525 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/vendor + [[ ! -e /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/bin install: creating directory '/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build' install: creating directory '/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/bin' + export GOPATH=/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron/session ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron/session + install -m 0755 -vd /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron install: creating directory '/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src' install: creating directory '/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com' install: creating directory '/builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron' + ln -fs /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525 /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron/session + cd /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron/session + echo 'Patch #0 (drop-exotic-dbs.patch):' Patch #0 (drop-exotic-dbs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file couchbase/couchbase.go patching file ledis/ledis.go patching file ledis/ledis.goconvey patching file ledis/ledis_test.go patching file nodb/nodb.go patching file nodb/nodb.goconvey patching file nodb/nodb_test.go + echo 'Patch #1 (local-tests-dbs.patch):' Patch #1 (local-tests-dbs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file memcache/memcache_test.go patching file mysql/mysql_test.go patching file postgres/postgres_test.go patching file redis/redis_test.go + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oaR5mu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 + cd session-0a0a789bf1934e55fde19629869caa015a40c525 + cd /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src/github.com/go-macaron/session + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. BUILDSTDERR: +++ sort -u BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q '' BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ echo '' BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/go-macaron/session -b /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/bin -s /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build -o golang-github-macaron-session-devel.file-list -O /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525 -V 0-0.2.20190603git0a0a789.fc31 -C 0a0a789bf1934e55fde19629869caa015a40c525 -p /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' '' Installing: github.com/go-macaron/session BUILDSTDERR: realpath: '': No such file or directory BUILDSTDERR: realpath: go.mod: No such file or directory + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. README.md BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ grep -q README.md BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo README.md BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. LICENSE BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. '' BUILDSTDERR: ++ grep -q LICENSE BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ echo LICENSE BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/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.uZpvcu + umask 022 + cd /builddir/build/BUILD + cd session-0a0a789bf1934e55fde19629869caa015a40c525 + ncat localhost 8131 + printf 'shutdown\r\nquit\r\n' + true + redis-cli -p 8130 shutdown + true + memcached -A --port 8131 + sleep 0.5 + redis-server --port 8130 316:C 04 Jun 2019 00:28:22.173 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 316:C 04 Jun 2019 00:28:22.173 # Redis version=5.0.4, bits=64, commit=00000000, modified=0, pid=316, just started 316:C 04 Jun 2019 00:28:22.173 # Configuration loaded 316:M 04 Jun 2019 00:28:22.175 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 316:M 04 Jun 2019 00:28:22.175 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. 316:M 04 Jun 2019 00:28:22.175 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. 316:M 04 Jun 2019 00:28:22.176 * Running mode=standalone, port=8130. 316:M 04 Jun 2019 00:28:22.176 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 316:M 04 Jun 2019 00:28:22.177 # Server initialized 316:M 04 Jun 2019 00:28:22.177 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 316:M 04 Jun 2019 00:28:22.177 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 316:M 04 Jun 2019 00:28:22.177 * Ready to accept connections -- Server processes + echo '-- Server processes' + ps aux + egrep 'redis-server|memcached' mockbui+ 315 0.0 0.0 411692 4640 ? Sl 00:28 0:00 memcached -A --port 8131 mockbui+ 316 0.0 0.0 40388 4540 ? Sl 00:28 0:00 redis-server *:8130 mockbui+ 331 0.0 0.0 3048 904 ? S 00:28 0:00 grep -E redis-server|memcached + echo '-- Server ports' -- Server ports + netstat -tulnp + egrep '8130|8131' BUILDSTDERR: (Not all processes could be identified, non-owned process info BUILDSTDERR: will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:8130 0.0.0.0:* LISTEN 316/redis-server *: tcp 0 0 0.0.0.0:8131 0.0.0.0:* LISTEN 315/memcached tcp6 0 0 :::8130 :::* LISTEN 316/redis-server *: tcp6 0 0 :::8131 :::* LISTEN 315/memcached + echo '-- Run tests' -- Run tests + LDFLAGS='-X github.com/go-macaron/session/version=0 -X github.com/go-macaron/session/version.commit=0a0a789bf1934e55fde19629869caa015a40c525' + 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/go-macaron/session -b /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/bin -s /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build -V 0-0.2.20190603git0a0a789.fc31 -C 0a0a789bf1934e55fde19629869caa015a40c525 -p /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/src PATH: /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/session-0a0a789bf1934e55fde19629869caa015a40c525/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X github.com/go-macaron/session/version=0 -X github.com/go-macaron/session/version.commit=0a0a789bf1934e55fde19629869caa015a40c525 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/go-macaron/session github.com/go-macaron/session ............................ 28 total assertions .. 30 total assertions ............................ 58 total assertions . 59 total assertions . 60 total assertions ... 63 total assertions PASS ok github.com/go-macaron/session 4.038s github.com/go-macaron/session/memcache .................. 18 total assertions PASS ok github.com/go-macaron/session/memcache 0.020s github.com/go-macaron/session/redis .................. 18 total assertions PASS ok github.com/go-macaron/session/redis 0.019s -- Done + echo '-- Done' + printf 'shutdown\r\nquit\r\n' + ncat localhost 8131 Signal handled: Interrupt. + redis-cli -p 8130 shutdowm ERR unknown command `shutdowm`, with args beginning with: + exit 0 Processing files: golang-github-macaron-session-devel-0-0.2.20190603git0a0a789.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n8KCAv + umask 022 + cd /builddir/build/BUILD + cd session-0a0a789bf1934e55fde19629869caa015a40c525 + DOCDIR=/builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64/usr/share/doc/golang-github-macaron-session-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64/usr/share/doc/golang-github-macaron-session-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64/usr/share/doc/golang-github-macaron-session-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.W5k6xt + umask 022 + cd /builddir/build/BUILD + cd session-0a0a789bf1934e55fde19629869caa015a40c525 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64/usr/share/licenses/golang-github-macaron-session-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64/usr/share/licenses/golang-github-macaron-session-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64/usr/share/licenses/golang-github-macaron-session-devel + exit 0 Provides: golang(github.com/go-macaron/session) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session)(commit=0a0a789bf1934e55fde19629869caa015a40c525) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/memcache) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/memcache)(commit=0a0a789bf1934e55fde19629869caa015a40c525) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/mysql) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/mysql)(commit=0a0a789bf1934e55fde19629869caa015a40c525) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/postgres) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/postgres)(commit=0a0a789bf1934e55fde19629869caa015a40c525) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/redis) = 0-0.2.20190603git0a0a789.fc31 golang(github.com/go-macaron/session/redis)(commit=0a0a789bf1934e55fde19629869caa015a40c525) = 0-0.2.20190603git0a0a789.fc31 golang-github-macaron-session-devel = 0-0.2.20190603git0a0a789.fc31 golang-ipath(github.com/go-macaron/session) = 0-0.2.20190603git0a0a789.fc31 golang-ipath(github.com/go-macaron/session)(commit=0a0a789bf1934e55fde19629869caa015a40c525) = 0-0.2.20190603git0a0a789.fc31 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/Unknwon/com) golang(github.com/bradfitz/gomemcache/memcache) golang(github.com/go-sql-driver/mysql) golang(github.com/lib/pq) golang(gopkg.in/ini.v1) golang(gopkg.in/macaron.v1) golang(gopkg.in/redis.v2) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 Wrote: /builddir/build/RPMS/golang-github-macaron-session-devel-0-0.2.20190603git0a0a789.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HpFtZv + umask 022 + cd /builddir/build/BUILD + cd session-0a0a789bf1934e55fde19629869caa015a40c525 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-macaron-session-0-0.2.20190603git0a0a789.fc31.x86_64 + exit 0 Child return code was: 0