Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-jhillyerd-enmime.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1651939244.702581/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.fke034ms:/etc/resolv.conf', '--bind=/dev/btrfs-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.fke034ms:/etc/resolv.conf', '--bind=/dev/btrfs-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', '33107bbe08814c3a91333f0e21e4f03c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1651939244.702581/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fke034ms:/etc/resolv.conf', '--bind=/dev/btrfs-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-jhillyerd-enmime.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=1651881600 Wrote: /builddir/build/SRPMS/golang-github-jhillyerd-enmime-0.9.3-1.fc37.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-jhillyerd-enmime.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1651939244.702581/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.fke034ms:/etc/resolv.conf', '--bind=/dev/btrfs-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.fke034ms:/etc/resolv.conf', '--bind=/dev/btrfs-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', '8bc2eeb2885743b5878457cda46a3808', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1651939244.702581/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fke034ms:/etc/resolv.conf', '--bind=/dev/btrfs-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-jhillyerd-enmime.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=1651881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ofeUwV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf enmime-0.9.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/enmime-0.9.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd enmime-0.9.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/enmime-0.9.3/vendor + [[ ! -e /builddir/build/BUILD/enmime-0.9.3/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/enmime-0.9.3/_build/bin install: creating directory '/builddir/build/BUILD/enmime-0.9.3/_build' install: creating directory '/builddir/build/BUILD/enmime-0.9.3/_build/bin' + export GOPATH=/builddir/build/BUILD/enmime-0.9.3/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/enmime-0.9.3/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd/enmime ]] ++ dirname /builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd/enmime + install -m 0755 -vd /builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd install: creating directory '/builddir/build/BUILD/enmime-0.9.3/_build/src' install: creating directory '/builddir/build/BUILD/enmime-0.9.3/_build/src/github.com' install: creating directory '/builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd' + ln -fs /builddir/build/BUILD/enmime-0.9.3 /builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd/enmime + cd /builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd/enmime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gVSj9A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 + cd enmime-0.9.3 + cd /builddir/build/BUILD/enmime-0.9.3/_build/src/github.com/jhillyerd/enmime + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/jhillyerd/enmime -b /builddir/build/BUILD/enmime-0.9.3/_build/bin -s /builddir/build/BUILD/enmime-0.9.3/_build -o golang-github-jhillyerd-enmime-devel.file-list -O /builddir/build/BUILD/enmime-0.9.3 -V 0.9.3-1.fc37 -p /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/jhillyerd/enmime + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md CHANGELOG.md +++ sort -u ++ listfiles_include='CHANGELOG.md CONTRIBUTING.md README.md' ++ echo 'CHANGELOG.md CONTRIBUTING.md README.md' + godocs='CHANGELOG.md CONTRIBUTING.md README.md' + [[ -n CHANGELOG.md CONTRIBUTING.md README.md ]] + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTING.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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LKHjrP + umask 022 + cd /builddir/build/BUILD + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh golang-github-jhillyerd-enmime 0.9.3-1.fc37 x86_64 + cd enmime-0.9.3 + rm envelope_test.go + LDFLAGS=' -X github.com/jhillyerd/enmime/version=0.9.3' + 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 -Wl,-dT,/builddir/build/BUILD/enmime-0.9.3/.package_note-golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64.ld ' + go-rpm-integration check -i github.com/jhillyerd/enmime -b /builddir/build/BUILD/enmime-0.9.3/_build/bin -s /builddir/build/BUILD/enmime-0.9.3/_build -V 0.9.3-1.fc37 -p /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/enmime-0.9.3/_build/src PATH: /builddir/build/BUILD/enmime-0.9.3/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/enmime-0.9.3/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/jhillyerd/enmime/version=0.9.3 -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 -Wl,-dT,/builddir/build/BUILD/enmime-0.9.3/.package_note-golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64.ld '" testing: github.com/jhillyerd/enmime github.com/jhillyerd/enmime PASS ok github.com/jhillyerd/enmime 0.033s github.com/jhillyerd/enmime PASS ok github.com/jhillyerd/enmime 0.030s github.com/jhillyerd/enmime/cmd PASS ok github.com/jhillyerd/enmime/cmd 0.004s github.com/jhillyerd/enmime/cmd PASS ok github.com/jhillyerd/enmime/cmd 0.004s github.com/jhillyerd/enmime/cmd/mime-dump PASS ok github.com/jhillyerd/enmime/cmd/mime-dump 0.004s github.com/jhillyerd/enmime/cmd/mime-extractor Usage of /tmp/go-build1015442269/b001/mime-extractor.test: -f string mime(eml) file -o string output dir -test.bench regexp run only benchmarks matching regexp -test.benchmem print memory allocations for benchmarks -test.benchtime d run each benchmark for duration d (default 1s) -test.blockprofile file write a goroutine blocking profile to file -test.blockprofilerate rate set blocking profile rate (see runtime.SetBlockProfileRate) (default 1) -test.count n run tests and benchmarks n times (default 1) -test.coverprofile file write a coverage profile to file -test.cpu list comma-separated list of cpu counts to run each test with -test.cpuprofile file write a cpu profile to file -test.failfast do not start new tests after the first test failure -test.fuzz regexp run the fuzz test matching regexp -test.fuzzcachedir string directory where interesting fuzzing inputs are stored (for use only by cmd/go) -test.fuzzminimizetime value time to spend minimizing a value after finding a failing input (default 1m0s) -test.fuzztime value time to spend fuzzing; default is to run indefinitely -test.fuzzworker coordinate with the parent process to fuzz random values (for use only by cmd/go) -test.list regexp list tests, examples, and benchmarks matching regexp then exit -test.memprofile file write an allocation profile to file -test.memprofilerate rate set memory allocation profiling rate (see runtime.MemProfileRate) -test.mutexprofile string write a mutex contention profile to the named file after execution -test.mutexprofilefraction int if >= 0, calls runtime.SetMutexProfileFraction() (default 1) -test.outputdir dir write profiles to dir -test.paniconexit0 panic on call to os.Exit(0) -test.parallel n run at most n tests in parallel (default 2) -test.run regexp run only tests and examples matching regexp -test.short run smaller test suite to save time -test.shuffle string randomize the execution order of tests and benchmarks (default "off") -test.testlogfile file write test action log to file (for use only by cmd/go) -test.timeout d panic test binary after duration d (default 0, timeout disabled) -test.trace file write an execution trace to file -test.v verbose: print additional output PASS ok github.com/jhillyerd/enmime/cmd/mime-extractor 0.006s github.com/jhillyerd/enmime/internal/coding PASS ok github.com/jhillyerd/enmime/internal/coding 0.009s github.com/jhillyerd/enmime/internal/coding PASS ok github.com/jhillyerd/enmime/internal/coding 0.009s github.com/jhillyerd/enmime/internal/stringutil PASS ok github.com/jhillyerd/enmime/internal/stringutil 0.003s github.com/jhillyerd/enmime/internal/stringutil PASS ok github.com/jhillyerd/enmime/internal/stringutil 0.003s github.com/jhillyerd/enmime/internal/test PASS ok github.com/jhillyerd/enmime/internal/test 0.005s github.com/jhillyerd/enmime/internal/test PASS ok github.com/jhillyerd/enmime/internal/test 0.005s github.com/jhillyerd/enmime/mediatype PASS ok github.com/jhillyerd/enmime/mediatype 0.004s github.com/jhillyerd/enmime/mediatype PASS ok github.com/jhillyerd/enmime/mediatype 0.004s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-jhillyerd-enmime-devel-0.9.3-1.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JuBEND + umask 022 + cd /builddir/build/BUILD + cd enmime-0.9.3 + DOCDIR=/builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/doc/golang-github-jhillyerd-enmime-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/doc/golang-github-jhillyerd-enmime-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/doc/golang-github-jhillyerd-enmime-devel + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/doc/golang-github-jhillyerd-enmime-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/doc/golang-github-jhillyerd-enmime-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5fkKV6 + umask 022 + cd /builddir/build/BUILD + cd enmime-0.9.3 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/licenses/golang-github-jhillyerd-enmime-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/licenses/golang-github-jhillyerd-enmime-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64/usr/share/licenses/golang-github-jhillyerd-enmime-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: golang(github.com/jhillyerd/enmime) = 0.9.3-1.fc37 golang(github.com/jhillyerd/enmime/cmd) = 0.9.3-1.fc37 golang(github.com/jhillyerd/enmime/internal/coding) = 0.9.3-1.fc37 golang(github.com/jhillyerd/enmime/internal/stringutil) = 0.9.3-1.fc37 golang(github.com/jhillyerd/enmime/internal/test) = 0.9.3-1.fc37 golang(github.com/jhillyerd/enmime/mediatype) = 0.9.3-1.fc37 golang-github-jhillyerd-enmime-devel = 0.9.3-1.fc37 golang-ipath(github.com/jhillyerd/enmime) = 0.9.3-1.fc37 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/cention-sany/utf7) golang(github.com/gogs/chardet) golang(github.com/jaytaylor/html2text) golang(github.com/pkg/errors) golang(golang.org/x/text/encoding) golang(golang.org/x/text/encoding/charmap) golang(golang.org/x/text/encoding/japanese) golang(golang.org/x/text/encoding/korean) golang(golang.org/x/text/encoding/simplifiedchinese) golang(golang.org/x/text/encoding/traditionalchinese) golang(golang.org/x/text/encoding/unicode) golang(golang.org/x/text/transform) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 Wrote: /builddir/build/RPMS/golang-github-jhillyerd-enmime-devel-0.9.3-1.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.09YUe8 + umask 022 + cd /builddir/build/BUILD + cd enmime-0.9.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-jhillyerd-enmime-0.9.3-1.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0