Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/reg.spec'], logger=printOutput=Falsetimeout=0shell=Falseenv={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5029/root'user='mockbuild'nspawn_args=[]uid=1001gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/reg.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/reg-0.2.0-1.git.0.94d0af5.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/reg.spec'], logger=printOutput=Falsetimeout=0shell=Falseenv={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5029/root'user='mockbuild'nspawn_args=[]uid=1001gid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/reg.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j3TTAQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf reg-0.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/reg-0.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd reg-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (reg-server-0.2.0-fix-move-file.patch):' Patch #0 (reg-server-0.2.0-fix-move-file.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file server/server.go patching file server/server.go + cd ../ + mv /builddir/build/BUILD/reg-0.2.0 hack + mkdir /builddir/build/BUILD/reg-0.2.0 + cd /builddir/build/BUILD/reg-0.2.0 ++ pwd + mkdir -p /builddir/build/BUILD/reg-0.2.0/go/src/github.com/jessfraz/ ++ pwd + mv ../hack /builddir/build/BUILD/reg-0.2.0/go/src/github.com/jessfraz//reg + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b6Hwaj + umask 022 + cd /builddir/build/BUILD + cd reg-0.2.0 ++ pwd + export GOPATH=/builddir/build/BUILD/reg-0.2.0/go:/builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILD/reg-0.2.0/go:/builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/gocode:/usr/share/gocode ++ pwd + cd /builddir/build/BUILD/reg-0.2.0/go/src/github.com/jessfraz//reg + go build -o reg . + go build -o reg-server ./server + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.r3UO8W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 + cd reg-0.2.0 + cd ./go/src/github.com/jessfraz//reg/ + mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/bin + install -p -m 0755 reg /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/bin/reg + install -p -m 0755 reg-server /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/bin/reg-server + mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/var/reg-server// + install -d server/templates/ /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/var/reg-server//templates/ + install -d server/static/ /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/var/reg-server//static/ + cp -p -r server/templates/layout.html /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/var/reg-server//templates/ + cp -p -r server/static/ /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/var/reg-server//static/ + mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/lib/systemd/system + install -p -m 0644 /builddir/build/SOURCES/reg-server.service /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/lib/systemd/system/reg-server.service + mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/etc/sysconfig + install -p -m 0640 /builddir/build/SOURCES/sysconfig.reg-server /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/etc/sysconfig/reg-server + for i in README.md Dockerfile Makefile + cp -p README.md /builddir/build/BUILD/reg-0.2.0/ + for i in README.md Dockerfile Makefile + cp -p Dockerfile /builddir/build/BUILD/reg-0.2.0/ + for i in README.md Dockerfile Makefile + cp -p Makefile /builddir/build/BUILD/reg-0.2.0/ + mv server/README.md server/README-server.md + for i in README-server.md home.png vuln.png + cp -p server/README-server.md /builddir/build/BUILD/reg-0.2.0/ + for i in README-server.md home.png vuln.png + cp -p server/home.png /builddir/build/BUILD/reg-0.2.0/ + for i in README-server.md home.png vuln.png + cp -p server/vuln.png /builddir/build/BUILD/reg-0.2.0/ + cp -p LICENSE /builddir/build/BUILD/reg-0.2.0/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress Processing files: reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TbzUfB + umask 022 + cd /builddir/build/BUILD + cd reg-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg + cp -pr README.md /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg + cp -pr Dockerfile /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg + cp -pr Makefile /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3Km2nf + umask 022 + cd /builddir/build/BUILD + cd reg-0.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/licenses/reg + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/licenses/reg + cp -pr LICENSE /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/licenses/reg + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/bin/reg Provides: bundled(golang(github.com/BurntSushi/toml)) = 99064174e013895bbd9b025c31100bd1d9b590ca bundled(golang(github.com/Sirupsen/logrus)) = 0208149b40d863d2c1a2f8fe5753096a9cf2cc8b bundled(golang(github.com/docker/distribution)) = 08b06dc023674763e7b36d404cf0c7664cee1f5e bundled(golang(github.com/docker/docker/api/types)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/cli/config)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/opts)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/homedir)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/httputils)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/idtools)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/ioutils)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/jsonlog)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/jsonmessage)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/longpath)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/progress)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/random)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/streamformatter)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/stringid)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/system)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/tarsum)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/pkg/term)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/registry)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/Azure/go-ansiterm)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/Microsoft/go-winio)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/Nvveen/Gotty)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/Sirupsen/logrus)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/distribution)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/docker-credential-helpers/client)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/docker-credential-helpers/credentials)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/go-connections/nat)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/go-connections/sockets)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/go-connections/tlsconfig)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/go-units)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/docker/libtrust)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/gorilla/context)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/gorilla/mux)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/opencontainers/go-digest)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/pkg/errors)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/github.com/spf13/pflag)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/golang.org/x/net/context)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/golang.org/x/net/proxy)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/golang.org/x/sys/unix)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/golang.org/x/sys/windows)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/docker/vendor/golang.org/x/time/rate)) = 338565805c31783c63f9bb35d5b24f4c0c5656d3 bundled(golang(github.com/docker/go-connections/nat)) = a2afab9802043837035592f1c24827fb70766de9 bundled(golang(github.com/docker/go-units)) = 0dadbb0345b35ec7ef35e228dabb8de89a65bf52 bundled(golang(github.com/docker/libtrust)) = aabc10ec26b754e797f9028f4589c5b7bd90dc20 bundled(golang(github.com/dustin/go-humanize)) = 259d2a102b871d17f30e3cd9881a642961a1e486 bundled(golang(github.com/gorilla/context)) = 08b5f424b9271eedf6f9f0ce86cb9396ed337a42 bundled(golang(github.com/gorilla/mux)) = 599cba5e7b6137d46ddf58fb1765f5d928e69604 bundled(golang(github.com/opencontainers/go-digest)) = aa2ec055abd10d26d539eb630a92241b781ce4bc bundled(golang(github.com/opencontainers/runc/libcontainer/user)) = 291bf601105c97dc1aa631fdfb7fca63c947319b bundled(golang(github.com/peterhellberg/link)) = 3eea38ca14b7b3252feea5daf92be3864209eb1d bundled(golang(github.com/urfave/cli)) = 9e5b04886c4bfee2ceba1465b8121057355c4e53 bundled(golang(golang.org/x/net/context)) = d379faa25cbdc04d653984913a2ceb43b0bc46d7 bundled(golang(golang.org/x/sys/unix)) = e48874b42435b4347fc52bdee0424a52abc974d7 bundled(golang(gopkg.in/airbrake/gobrake.v2)) = 668876711219e8b0206e2994bf0a59d889c775aa bundled(golang(gopkg.in/gemnasium/logrus-airbrake-hook.v2)) = bfee1239d796830ca346767650cce5ba90d58c57 bundled(golang(gopkg.in/urfave/cli.v1)) = 0bdeddeeb0f650497d603c4ad7b20cfe685682f6 bundled(golang(gopkg.in/yaml.v2)) = a3f3340b5840cee44f372bddb5880fcbc419b46a reg = 0.2.0-1.git.0.94d0af5.fc27 reg(x86-64) = 0.2.0-1.git.0.94d0af5.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Processing files: reg-server-0.2.0-1.git.0.94d0af5.fc27.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aGLkKT + umask 022 + cd /builddir/build/BUILD + cd reg-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg-server + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg-server + cp -pr README.md /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg-server + cp -pr home.png /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg-server + cp -pr vuln.png /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/doc/reg-server + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YCBI7x + umask 022 + cd /builddir/build/BUILD + cd reg-0.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/licenses/reg-server + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/licenses/reg-server + cp -pr LICENSE /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/share/licenses/reg-server + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64/usr/bin/reg-server Provides: config(reg-server) = 0.2.0-1.git.0.94d0af5.fc27 reg-server = 0.2.0-1.git.0.94d0af5.fc27 reg-server(x86-64) = 0.2.0-1.git.0.94d0af5.fc27 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 Wrote: /builddir/build/RPMS/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64.rpm Wrote: /builddir/build/RPMS/reg-server-0.2.0-1.git.0.94d0af5.fc27.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LvYjOh + umask 022 + cd /builddir/build/BUILD + cd reg-0.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/reg-0.2.0-1.git.0.94d0af5.fc27.x86_64 + exit 0 Child return code was: 0