Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-smartystreets-goconvey.spec'], chrootPath='/var/lib/mock/f39-build-2292492-56137/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=997gid=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-smartystreets-goconvey.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=1689811200 Wrote: /builddir/build/SRPMS/golang-github-smartystreets-goconvey-1.6.4-7.fc39.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-smartystreets-goconvey.spec'], chrootPath='/var/lib/mock/f39-build-2292492-56137/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=997gid=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-smartystreets-goconvey.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 warning: %gochecks is obsolete, use %gocheck in %check instead! Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HDoCbk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goconvey-1.6.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goconvey-1.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goconvey-1.6.4 + rm -rf /builddir/build/BUILD/goconvey-1.6.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/goconvey-1.6.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/goconvey-1.6.4/vendor + [[ ! -e /builddir/build/BUILD/goconvey-1.6.4/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/goconvey-1.6.4/_build/bin install: creating directory '/builddir/build/BUILD/goconvey-1.6.4/_build' install: creating directory '/builddir/build/BUILD/goconvey-1.6.4/_build/bin' + export GOPATH=/builddir/build/BUILD/goconvey-1.6.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/goconvey-1.6.4/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey ]] ++ dirname /builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + install -m 0755 -vd /builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets install: creating directory '/builddir/build/BUILD/goconvey-1.6.4/_build/src' install: creating directory '/builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com' install: creating directory '/builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets' + ln -fs /builddir/build/BUILD/goconvey-1.6.4 /builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + cd /builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JJqhKl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-7.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-7.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-7.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-7.fc39.riscv64 + cd goconvey-1.6.4 + cd /builddir/build/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/smartystreets/goconvey -b /builddir/build/BUILD/goconvey-1.6.4/_build/bin -s /builddir/build/BUILD/goconvey-1.6.4/_build -o golang-github-smartystreets-goconvey-devel.file-list -O /builddir/build/BUILD/goconvey-1.6.4 -V 1.6.4-7.fc39 -p /builddir/build/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-7.fc39.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/smartystreets/goconvey + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u ++ listfiles_include='CONTRIBUTING.md README.md' ++ echo 'CONTRIBUTING.md README.md' + godocs='CONTRIBUTING.md README.md' + [[ -n CONTRIBUTING.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ sort -u +++ realpath -e --relative-base=. LICENSE.md web/client/resources/fonts/Open_Sans/LICENSE.txt web/client/resources/fonts/Orbitron/OFL.txt ++ listfiles_include='LICENSE.md web/client/resources/fonts/Open_Sans/LICENSE.txt web/client/resources/fonts/Orbitron/OFL.txt' ++ echo 'LICENSE.md web/client/resources/fonts/Open_Sans/LICENSE.txt web/client/resources/fonts/Orbitron/OFL.txt' + golicenses='LICENSE.md web/client/resources/fonts/Open_Sans/LICENSE.txt web/client/resources/fonts/Orbitron/OFL.txt' + [[ -n LICENSE.md web/client/resources/fonts/Open_Sans/LICENSE.txt web/client/resources/fonts/Orbitron/OFL.txt ]] + IFS= + read -r f + echo %license '"LICENSE.md"' + IFS= + read -r f + echo %license '"web/client/resources/fonts/Open_Sans/LICENSE.txt"' + IFS= + read -r f + echo %license '"web/client/resources/fonts/Orbitron/OFL.txt"' + 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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bq8UYq + umask 022 + cd /builddir/build/BUILD + cd goconvey-1.6.4 + LDFLAGS=' -X github.com/smartystreets/goconvey/version=1.6.4' + 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/smartystreets/goconvey -b /builddir/build/BUILD/goconvey-1.6.4/_build/bin -s /builddir/build/BUILD/goconvey-1.6.4/_build -V 1.6.4-7.fc39 -p /builddir/build/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-7.fc39.riscv64 -g /usr/share/gocode -r '.*example.*' -d web/server/watch Testing in: /builddir/build/BUILD/goconvey-1.6.4/_build/src PATH: /builddir/build/BUILD/goconvey-1.6.4/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/goconvey-1.6.4/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/smartystreets/goconvey/version=1.6.4 -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/smartystreets/goconvey github.com/smartystreets/goconvey/convey PASS ok github.com/smartystreets/goconvey/convey 0.230s github.com/smartystreets/goconvey/convey PASS ok github.com/smartystreets/goconvey/convey 0.211s github.com/smartystreets/goconvey/convey/gotest testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/convey/gotest 0.044s github.com/smartystreets/goconvey/convey/gotest testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/convey/gotest 0.043s github.com/smartystreets/goconvey/convey/reporting PASS ok github.com/smartystreets/goconvey/convey/reporting 0.056s github.com/smartystreets/goconvey/convey/reporting PASS ok github.com/smartystreets/goconvey/convey/reporting 0.054s github.com/smartystreets/goconvey/web/server/api .........S.SSS..S.S 13 total assertions (one or more sections skipped) PASS ok github.com/smartystreets/goconvey/web/server/api 0.313s github.com/smartystreets/goconvey/web/server/api .........S.SSS..S.S 13 total assertions (one or more sections skipped) PASS ok github.com/smartystreets/goconvey/web/server/api 0.326s github.com/smartystreets/goconvey/web/server/contract testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/contract 0.062s github.com/smartystreets/goconvey/web/server/contract testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/contract 0.058s github.com/smartystreets/goconvey/web/server/executor PASS ok github.com/smartystreets/goconvey/web/server/executor 0.092s github.com/smartystreets/goconvey/web/server/executor PASS ok github.com/smartystreets/goconvey/web/server/executor 0.093s github.com/smartystreets/goconvey/web/server/messaging testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/messaging 0.044s github.com/smartystreets/goconvey/web/server/messaging testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/messaging 0.044s github.com/smartystreets/goconvey/web/server/parser Potential error parsing output of github.com/smartystreets/goconvey/webserver/examples ; couldn't handle this stray line: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: 11: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: [[: not found Potential error parsing output of github.com/smartystreets/goconvey/webserver/examples ; couldn't handle this stray line: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: 11: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: [[: not found ... 3 total assertions PASS ok github.com/smartystreets/goconvey/web/server/parser 0.097s github.com/smartystreets/goconvey/web/server/parser Potential error parsing output of github.com/smartystreets/goconvey/webserver/examples ; couldn't handle this stray line: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: 11: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: [[: not found Potential error parsing output of github.com/smartystreets/goconvey/webserver/examples ; couldn't handle this stray line: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: 11: /home/apryl/gopath/src/gitlab.qarea.org/tgms/collabms/tracker/testdata/staging.setup: [[: not found ... 3 total assertions PASS ok github.com/smartystreets/goconvey/web/server/parser 0.098s github.com/smartystreets/goconvey/web/server/system --- FAIL: TestShellIntegration (28.39s) shell_integration_test.go:28: Expected output that resembed tests passing but got this instead: [flag provided but not defined: -i Usage of /tmp/go-build2264927399/b001/sub.test: -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.fullpath show full file names in error messages -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.gocoverdir string write coverage intermediate files to this directory -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 64) -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.skip regexp do not list or run tests matching regexp -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 exit status 2 FAIL github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub 0.042s ] shell_integration_test.go:31: Test run resulted in the following error: exit status 1 ....... 7 total assertions ....2024/01/23 18:36:21.417009 shell.go:94: Please run goconvey from within $GOPATH/src (also, symlinks might be problematic). Output and Error: This is a wacky error This happens when running goconvey outside your $GOPATH (symlinked code). .2024/01/23 18:36:21.418003 shell.go:102: Coverage output: ok 2024/01/23 18:36:21.418028 shell.go:104: Run without coverage .2024/01/23 18:36:21.418667 shell.go:102: Coverage output: PASS ok github.com/smartystreets/goconvey/examples 0.012s 2024/01/23 18:36:21.418691 shell.go:104: Run without coverage .2024/01/23 18:36:21.419158 shell.go:102: Coverage output: ok 2024/01/23 18:36:21.419176 shell.go:104: Run without coverage . 15 total assertions ... 18 total assertions FAIL exit status 1 FAIL github.com/smartystreets/goconvey/web/server/system 28.453s error: Bad exit status from /var/tmp/rpm-tmp.bq8UYq (%check) %gochecks is obsolete, use %gocheck in %check instead! Bad exit status from /var/tmp/rpm-tmp.bq8UYq (%check) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-smartystreets-goconvey.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-smartystreets-goconvey.spec'