Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/golang-github-macaron-session.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1674103070.938299/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6w2qkceg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6w2qkceg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b64ff52060d843939760e73235693d8e', '-D', '/var/lib/mock/fedora-rawhide-i686-1674103070.938299/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6w2qkceg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1660089600 Wrote: /builddir/build/SRPMS/golang-github-macaron-session-1.0.2-6.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/golang-github-macaron-session.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1674103070.938299/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6w2qkceg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6w2qkceg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd3fe14ae51494ce0b47590f80d24ab95', '-D', '/var/lib/mock/fedora-rawhide-i686-1674103070.938299/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6w2qkceg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1660089600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fgRBLE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf session-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/session-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd session-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/session-1.0.2/vendor + [[ ! -e /builddir/build/BUILD/session-1.0.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/session-1.0.2/_build/bin install: creating directory '/builddir/build/BUILD/session-1.0.2/_build' install: creating directory '/builddir/build/BUILD/session-1.0.2/_build/bin' + export GOPATH=/builddir/build/BUILD/session-1.0.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/session-1.0.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron/session ]] ++ dirname /builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron/session + install -m 0755 -vd /builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron install: creating directory '/builddir/build/BUILD/session-1.0.2/_build/src' install: creating directory '/builddir/build/BUILD/session-1.0.2/_build/src/github.com' install: creating directory '/builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron' + ln -fs /builddir/build/BUILD/session-1.0.2 /builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron/session + cd /builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron/session Patch #0 (0001-Ensure-tests-use-in-memory-databases-and-on-non-defa.patch): + echo 'Patch #0 (0001-Ensure-tests-use-in-memory-databases-and-on-non-defa.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1jVOAn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 ++ dirname /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 + cd session-1.0.2 + cd /builddir/build/BUILD/session-1.0.2/_build/src/github.com/go-macaron/session + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/go-macaron/session -b /builddir/build/BUILD/session-1.0.2/_build/bin -s /builddir/build/BUILD/session-1.0.2/_build -o golang-github-macaron-session-devel.file-list -O /builddir/build/BUILD/session-1.0.2 -V 1.0.2-6.fc38 -p /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 -g /usr/share/gocode -t github.com/go-macaron/session/couchbase -t github.com/go-macaron/session/ledis -t github.com/go-macaron/session/nodb -r '.*example.*' Installing: github.com/go-macaron/session + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + 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 + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Cfoonf + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + printf 'shutdown\r\nquit\r\n' + ncat localhost 8131 + true + redis-cli -p 8130 shutdown + true + sleep 0.5 + redis-server --port 8130 + memcached -A --port 8131 363:C 19 Jan 2023 04:39:50.292 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 363:C 19 Jan 2023 04:39:50.292 # Redis version=7.0.8, bits=32, commit=00000000, modified=0, pid=363, just started 363:C 19 Jan 2023 04:39:50.292 # Configuration loaded 363:M 19 Jan 2023 04:39:50.293 * monotonic clock: POSIX clock_gettime 363:M 19 Jan 2023 04:39:50.293 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now. 363:M 19 Jan 2023 04:39:50.294 * Running mode=standalone, port=8130. 363:M 19 Jan 2023 04:39:50.294 # Server initialized 363:M 19 Jan 2023 04:39:50.294 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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. 363:M 19 Jan 2023 04:39:50.294 * Ready to accept connections + echo '-- Server processes' -- Server processes + egrep 'redis-server|memcached' + ps aux egrep: warning: egrep is obsolescent; using grep -E mockbui+ 362 0.0 0.0 85936 3632 ? Sl 04:39 0:00 memcached -A --port 8131 mockbui+ 363 0.0 0.0 49444 8220 ? Sl 04:39 0:00 redis-server *:8130 mockbui+ 379 0.0 0.0 3344 1420 ? S 04:39 0:00 grep -E redis-server|memcached + echo '-- Server ports' -- Server ports + egrep '8130|8131' + netstat -tulnp egrep: warning: egrep is obsolescent; using grep -E (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:8131 0.0.0.0:* LISTEN 362/memcached tcp 0 0 0.0.0.0:8130 0.0.0.0:* LISTEN 363/redis-server *: tcp6 0 0 :::8131 :::* LISTEN 362/memcached tcp6 0 0 :::8130 :::* LISTEN 363/redis-server *: -- Run tests + echo '-- Run tests' + LDFLAGS=' -X github.com/go-macaron/session/version=1.0.2' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/go-macaron/session -b /builddir/build/BUILD/session-1.0.2/_build/bin -s /builddir/build/BUILD/session-1.0.2/_build -V 1.0.2-6.fc38 -p /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 -g /usr/share/gocode -r '.*example.*' -t couchbase -t ledis -t nodb Testing in: /builddir/build/BUILD/session-1.0.2/_build/src PATH: /builddir/build/BUILD/session-1.0.2/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/session-1.0.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/go-macaron/session/version=1.0.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/go-macaron/session github.com/go-macaron/session .............................. 30 total assertions .. 32 total assertions .............................. 62 total assertions . 63 total assertions . 64 total assertions ... 67 total assertions PASS ok github.com/go-macaron/session 4.012s github.com/go-macaron/session .............................. 30 total assertions .. 32 total assertions .............................. 62 total assertions . 63 total assertions . 64 total assertions ... 67 total assertions PASS ok github.com/go-macaron/session 4.012s github.com/go-macaron/session/memcache ................... 19 total assertions PASS ok github.com/go-macaron/session/memcache 0.007s github.com/go-macaron/session/memcache ................... 19 total assertions PASS ok github.com/go-macaron/session/memcache 0.006s github.com/go-macaron/session/mysql ? github.com/go-macaron/session/mysql [no test files] github.com/go-macaron/session/postgres ? github.com/go-macaron/session/postgres [no test files] github.com/go-macaron/session/redis ................... 19 total assertions PASS ok github.com/go-macaron/session/redis 0.007s github.com/go-macaron/session/redis ................... 19 total assertions PASS ok github.com/go-macaron/session/redis 0.007s -- Done + echo '-- Done' + printf 'shutdown\r\nquit\r\n' + ncat localhost 8131 + redis-cli -p 8130 shutdowm ERR unknown command 'shutdowm', with args beginning with: + RPM_EC=0 ++ jobs -p + for pid in $(jobs -p) + kill -9 362 + for pid in $(jobs -p) + kill -9 363 + exit 0 Processing files: golang-github-macaron-session-devel-1.0.2-6.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xxdXW6 + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386/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-1.0.2-6.fc38.i386/usr/share/doc/golang-github-macaron-session-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386/usr/share/doc/golang-github-macaron-session-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sMmMYK + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386/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-1.0.2-6.fc38.i386/usr/share/licenses/golang-github-macaron-session-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386/usr/share/licenses/golang-github-macaron-session-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/go-macaron/session) = 1.0.2-6.fc38 golang(github.com/go-macaron/session/memcache) = 1.0.2-6.fc38 golang(github.com/go-macaron/session/mysql) = 1.0.2-6.fc38 golang(github.com/go-macaron/session/postgres) = 1.0.2-6.fc38 golang(github.com/go-macaron/session/redis) = 1.0.2-6.fc38 golang-github-macaron-session-devel = 1.0.2-6.fc38 golang-ipath(github.com/go-macaron/session) = 1.0.2-6.fc38 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/bradfitz/gomemcache/memcache) golang(github.com/go-redis/redis/v8) golang(github.com/go-sql-driver/mysql) golang(github.com/lib/pq) golang(github.com/unknwon/com) golang(gopkg.in/ini.v1) golang(gopkg.in/macaron.v1) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 Wrote: /builddir/build/RPMS/golang-github-macaron-session-devel-1.0.2-6.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8hDMnW + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.qgHY4g + umask 022 + cd /builddir/build/BUILD + rm -rf session-1.0.2 session-1.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0