Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-xtaci-kcp-go.spec'], chrootPath='/var/lib/mock/836103-epel-7-x86_64-1544522307.072856/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']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '825b335c17cc40a29c29a0cff7ee5535', '-D', '/var/lib/mock/836103-epel-7-x86_64-1544522307.072856/root', '-a', '--capability=cap_ipc_lock', '--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-xtaci-kcp-go.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-xtaci-kcp-go-4.3.2-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-xtaci-kcp-go.spec'], chrootPath='/var/lib/mock/836103-epel-7-x86_64-1544522307.072856/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']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0fe507a5a37346d8bbb12b74eeb4536b', '-D', '/var/lib/mock/836103-epel-7-x86_64-1544522307.072856/root', '-a', '--capability=cap_ipc_lock', '--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-xtaci-kcp-go.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.0PeQAT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kcp-go-4.3.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/kcp-go-4.3.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kcp-go-4.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/00-disable-failing-test.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KfiLoc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 + cd kcp-go-4.3.2 + go-rpm-integration install -i github.com/xtaci/kcp-go -o devel.file-list -p /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/kcp-go-4.3.2/_build -r '.*example.*' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src' Installing: github.com/xtaci/kcp-go install: creating directory '/builddir/build/BUILD/kcp-go-4.3.2/_build' install: creating directory '/builddir/build/BUILD/kcp-go-4.3.2/_build/src' install: creating directory '/builddir/build/BUILD/kcp-go-4.3.2/_build/src/github.com' install: creating directory '/builddir/build/BUILD/kcp-go-4.3.2/_build/src/github.com/xtaci' '/builddir/build/BUILD/kcp-go-4.3.2/_build/src/github.com/xtaci/kcp-go' -> '/builddir/build/BUILD/kcp-go-4.3.2' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci' install: creating directory '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go' '/builddir/build/BUILD/kcp-go-4.3.2/README.md' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/README.md' '/builddir/build/BUILD/kcp-go-4.3.2/crypt.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/crypt.go' '/builddir/build/BUILD/kcp-go-4.3.2/crypt_test.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/crypt_test.go' '/builddir/build/BUILD/kcp-go-4.3.2/entropy.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/entropy.go' '/builddir/build/BUILD/kcp-go-4.3.2/fec.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/fec.go' '/builddir/build/BUILD/kcp-go-4.3.2/fec_test.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/fec_test.go' '/builddir/build/BUILD/kcp-go-4.3.2/kcp.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/kcp.go' '/builddir/build/BUILD/kcp-go-4.3.2/kcp_test.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/kcp_test.go' '/builddir/build/BUILD/kcp-go-4.3.2/sess.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/sess.go' '/builddir/build/BUILD/kcp-go-4.3.2/sess_test.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/sess_test.go' '/builddir/build/BUILD/kcp-go-4.3.2/snmp.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/snmp.go' '/builddir/build/BUILD/kcp-go-4.3.2/updater.go' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/updater.go' '/builddir/build/BUILD/kcp-go-4.3.2/.goipath' -> '/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/.goipath' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8r9Zlw + umask 022 + cd /builddir/build/BUILD + cd kcp-go-4.3.2 + PATH=/builddir/build/BUILD/kcp-go-4.3.2/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro ' + go-rpm-integration check -i github.com/xtaci/kcp-go -p /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/kcp-go-4.3.2/_build -r '.*example.*' Testing: github.com/xtaci/kcp-go Testing: "/builddir/build/BUILD/kcp-go-4.3.2/_build/src/github.com/xtaci/kcp-go" + GOPATH=/builddir/build/BUILD/kcp-go-4.3.2/_build:/usr/share/gocode + go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro '\''' beginning tests, encryption:salsa20, fec:10/3 default mode result (4876ms): avgrtt=1740 maxrtt=2856 normal mode result (2094ms): avgrtt=153 maxrtt=434 fast mode result (2104ms): avgrtt=148 maxrtt=442 PASS ok github.com/xtaci/kcp-go 14.660s + exit 0 Processing files: golang-github-xtaci-kcp-go-devel-4.3.2-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SDtoeP + umask 022 + cd /builddir/build/BUILD + cd kcp-go-4.3.2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/doc/golang-github-xtaci-kcp-go-devel-4.3.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/doc/golang-github-xtaci-kcp-go-devel-4.3.2 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/doc/golang-github-xtaci-kcp-go-devel-4.3.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mWqu97 + umask 022 + cd /builddir/build/BUILD + cd kcp-go-4.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/licenses/golang-github-xtaci-kcp-go-devel-4.3.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/licenses/golang-github-xtaci-kcp-go-devel-4.3.2 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64/usr/share/licenses/golang-github-xtaci-kcp-go-devel-4.3.2 + exit 0 Provides: golang(github.com/xtaci/kcp-go) = 4.3.2-1.el7 golang(github.com/xtaci/kcp-go)(tag=v4.3.2) = 4.3.2-1.el7 golang-github-xtaci-kcp-go-devel = 4.3.2-1.el7 golang-ipath(github.com/xtaci/kcp-go) = 4.3.2-1.el7 golang-ipath(github.com/xtaci/kcp-go)(tag=v4.3.2) = 4.3.2-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: golang(github.com/klauspost/reedsolomon) golang(github.com/pkg/errors) golang(github.com/templexxx/xor) golang(github.com/tjfoc/gmsm/sm4) golang(golang.org/x/crypto/blowfish) golang(golang.org/x/crypto/cast5) golang(golang.org/x/crypto/pbkdf2) golang(golang.org/x/crypto/salsa20) golang(golang.org/x/crypto/tea) golang(golang.org/x/crypto/twofish) golang(golang.org/x/crypto/xtea) golang(golang.org/x/net/ipv4) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 Wrote: /builddir/build/RPMS/golang-github-xtaci-kcp-go-devel-4.3.2-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.agWcwP + umask 022 + cd /builddir/build/BUILD + cd kcp-go-4.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-4.3.2-1.el7.x86_64 + exit 0 Child return code was: 0