Mock Version: 3.5 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/fedora-rawhide-x86_64-1674103071.345238/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6owmbbap:/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.6owmbbap:/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', 'b9d5ca617e574c5696a9d38c016bdb49', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674103071.345238/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6owmbbap:/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 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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/golang-github-macaron-session.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674103071.345238/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6owmbbap:/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.6owmbbap:/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', 'b5a1edd48fb64fd083136b76a83d6323', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674103071.345238/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6owmbbap:/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 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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1660089600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y7IsTg + 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.3dLbpD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.x86_64 + 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.x86_64 -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.RaN8uy + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + ncat localhost 8131 + printf 'shutdown\r\nquit\r\n' + true + redis-cli -p 8130 shutdown + true + sleep 0.5 + redis-server --port 8130 + memcached -A --port 8131 362:C 19 Jan 2023 04:39:44.859 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 362:C 19 Jan 2023 04:39:44.859 # Redis version=7.0.8, bits=64, commit=00000000, modified=0, pid=362, just started 362:C 19 Jan 2023 04:39:44.859 # Configuration loaded 362:M 19 Jan 2023 04:39:44.859 * monotonic clock: POSIX clock_gettime 362:M 19 Jan 2023 04:39:44.860 * Running mode=standalone, port=8130. 362:M 19 Jan 2023 04:39:44.860 # Server initialized 362:M 19 Jan 2023 04:39:44.860 # 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. 362:M 19 Jan 2023 04:39:44.860 * Ready to accept connections + echo '-- Server processes' -- Server processes + egrep 'redis-server|memcached' + ps aux egrep: warning: egrep is obsolescent; using grep -E mockbui+ 361 0.0 0.0 411384 4156 ? Sl 04:39 0:00 memcached -A --port 8131 mockbui+ 362 0.0 0.0 57020 9524 ? Sl 04:39 0:00 redis-server *:8130 mockbui+ 378 0.0 0.0 3276 1520 ? S 04:39 0:00 grep -E redis-server|memcached -- Server ports + echo '-- Server ports' + netstat -tulnp + egrep '8130|8131' (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) egrep: warning: egrep is obsolescent; using grep -E tcp 0 0 0.0.0.0:8131 0.0.0.0:* LISTEN 361/memcached tcp 0 0 0.0.0.0:8130 0.0.0.0:* LISTEN 362/redis-server *: tcp6 0 0 :::8131 :::* LISTEN 361/memcached tcp6 0 0 :::8130 :::* LISTEN 362/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.x86_64 -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.014s 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.015s github.com/go-macaron/session/memcache ................... 19 total assertions PASS ok github.com/go-macaron/session/memcache 0.010s github.com/go-macaron/session/memcache ................... 19 total assertions PASS ok github.com/go-macaron/session/memcache 0.009s 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.008s github.com/go-macaron/session/redis ................... 19 total assertions PASS ok github.com/go-macaron/session/redis 0.008s + echo '-- Done' -- 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 361 + for pid in $(jobs -p) + kill -9 362 + exit 0 Processing files: golang-github-macaron-session-devel-1.0.2-6.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZrKgLD + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.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-1.0.2-6.fc38.x86_64/usr/share/doc/golang-github-macaron-session-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.x86_64/usr/share/doc/golang-github-macaron-session-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PF2ida + umask 022 + cd /builddir/build/BUILD + cd session-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.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-1.0.2-6.fc38.x86_64/usr/share/licenses/golang-github-macaron-session-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-macaron-session-1.0.2-6.fc38.x86_64/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.x86_64 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.Sy3nDh + 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.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.fNElx8 + 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