Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-google-goexpect.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1016619-29497/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-google-goexpect.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-google-goexpect.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1016619-29497/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-google-goexpect.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ax7KMp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/vendor + [[ ! -e /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/bin install: creating directory '/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build' install: creating directory '/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/bin' + export GOPATH=/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google/goexpect ]] ++ dirname /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google/goexpect + install -m 0755 -vd /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google install: creating directory '/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src' install: creating directory '/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com' install: creating directory '/builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google' + ln -fs /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google/goexpect + cd /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google/goexpect + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lF8Lzo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 + cd goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c + cd /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src/github.com/google/goexpect + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/google/goexpect -b /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/bin -s /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build -o golang-github-google-goexpect-devel.file-list -O /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c -V 0-0.6.20210706gitab937bf.fc38 -C ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c -p /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/google/goexpect + IFS= +++ realpath -e --relative-base=. examples AUTHORS README.md +++ sort -u ++ listfiles_include='AUTHORS README.md examples' ++ echo 'AUTHORS README.md examples' + godocs='AUTHORS README.md examples' + [[ -n AUTHORS README.md examples ]] + IFS= + read -r f + echo %doc '"AUTHORS"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"examples"' + 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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.iu6A1S + umask 022 + cd /builddir/build/BUILD + cd goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c + LDFLAGS=' -X github.com/google/goexpect/version.commit=ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c -X github.com/google/goexpect/version=0' + 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/google/goexpect -b /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/bin -s /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build -V 0-0.6.20210706gitab937bf.fc38 -C ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c -p /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/src PATH: /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/google/goexpect/version.commit=ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c -X github.com/google/goexpect/version=0 -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/google/goexpect github.com/google/goexpect 2023/07/29 12:57:35 at login prompt 2023/07/29 12:57:35 at password prompt 2023/07/29 12:57:38 Done sent E0729 12:57:38.746658 1918162 expect_test.go:138] Accept failed: accept tcp [::]:38667: use of closed network connection 2023/07/29 12:57:52 Write failed: io: read/write on closed pipe E0729 12:57:53.622014 1918162 expect_test.go:206] PTY cols/rows: 240/22 want: 120/40 E0729 12:57:53.625733 1918162 expect_test.go:138] Accept failed: accept tcp [::]:43491: use of closed network connection 2023/07/29 12:58:02 Match for RE: "Waiting for signal" found: ["Waiting for signal"] Buffer: "Waiting for signal\n" 2023/07/29 12:58:02 Match for RE: "USR1" found: ["USR1"] Buffer: "Got the USR1 Signal\n" 2023/07/29 12:58:02 Match for RE: "Waiting for signal" found: ["Waiting for signal"] Buffer: "Waiting for signal\n" 2023/07/29 12:58:02 Match for RE: "HUP" found: ["HUP"] Buffer: "Got the HUP Signal\n" 2023/07/29 12:58:06 read closing down: EOF PASS ok github.com/google/goexpect 33.395s github.com/google/goexpect 2023/07/29 12:58:35 at login prompt 2023/07/29 12:58:35 at password prompt 2023/07/29 12:58:39 Done sent E0729 12:58:39.013223 1918335 expect_test.go:138] Accept failed: accept tcp [::]:32965: use of closed network connection 2023/07/29 12:58:52 Write failed: io: read/write on closed pipe E0729 12:58:53.371380 1918335 expect_test.go:206] PTY cols/rows: 240/22 want: 120/40 E0729 12:58:53.381315 1918335 expect_test.go:138] Accept failed: accept tcp [::]:39393: use of closed network connection 2023/07/29 12:58:53 Write failed: io: read/write on closed pipe 2023/07/29 12:59:02 Match for RE: "Waiting for signal" found: ["Waiting for signal"] Buffer: "Waiting for signal\n" 2023/07/29 12:59:02 Match for RE: "USR1" found: ["USR1"] Buffer: "Got the USR1 Signal\n" 2023/07/29 12:59:03 Match for RE: "Waiting for signal" found: ["Waiting for signal"] Buffer: "Waiting for signal\n" 2023/07/29 12:59:03 Match for RE: "HUP" found: ["HUP"] Buffer: "Got the HUP Signal\n" 2023/07/29 12:59:11 read closing down: EOF PASS ok github.com/google/goexpect 37.228s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-google-goexpect-devel-0-0.6.20210706gitab937bf.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BbZA9v + umask 022 + cd /builddir/build/BUILD + cd goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c + DOCDIR=/builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/doc/golang-github-google-goexpect-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/doc/golang-github-google-goexpect-devel + cp -pr AUTHORS /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/doc/golang-github-google-goexpect-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/doc/golang-github-google-goexpect-devel + cp -pr examples /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/doc/golang-github-google-goexpect-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ert2Us + umask 022 + cd /builddir/build/BUILD + cd goexpect-ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/licenses/golang-github-google-goexpect-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/licenses/golang-github-google-goexpect-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64/usr/share/licenses/golang-github-google-goexpect-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/google/goexpect) = 0-0.6.20210706gitab937bf.fc38 golang(github.com/google/goexpect)(commit=ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c) = 0-0.6.20210706gitab937bf.fc38 golang-github-google-goexpect-devel = 0-0.6.20210706gitab937bf.fc38 golang-ipath(github.com/google/goexpect) = 0-0.6.20210706gitab937bf.fc38 golang-ipath(github.com/google/goexpect)(commit=ab937bf7fd6f93d0b1adaef7bf038f31f61bc96c) = 0-0.6.20210706gitab937bf.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/google/goterm/term) golang(golang.org/x/crypto/ssh) golang(google.golang.org/grpc/codes) golang(google.golang.org/grpc/status) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-google-goexpect-0-0.6.20210706gitab937bf.fc38.riscv64 Wrote: /builddir/build/RPMS/golang-github-google-goexpect-devel-0-0.6.20210706gitab937bf.fc38.noarch.rpm Child return code was: 0