D: [iurt_root_command] chroot warning: %gochecks is obsolete, use %gocheck in %check instead! Installing /home/pterjan/rpmbuild/SRPMS/golang-github-smartystreets-goconvey-1.6.4-3.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.V6kWHx + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf goconvey-1.6.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/goconvey-1.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goconvey-1.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/vendor + [[ ! -e /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/bin ]] + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/bin install: creating directory '/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build' install: creating directory '/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/bin' + export GOPATH=/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build:/usr/share/gocode + GOPATH=/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build:/usr/share/gocode + [[ ! -e /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey ]] ++ dirname /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + install -m 0755 -vd /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets install: creating directory '/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src' install: creating directory '/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com' install: creating directory '/home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets' + ln -fs /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4 /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + cd /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src/github.com/smartystreets/goconvey + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.i9fwug + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-3.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-3.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-3.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-3.mga9.noarch + cd goconvey-1.6.4 + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/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 /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/bin -s /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build -o golang-github-smartystreets-goconvey-devel.file-list -O /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4 -V 1.6.4-3.mga9 -p /home/pterjan/rpmbuild/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-3.mga9.noarch -g /usr/share/gocode -r '.*example.*' Installing: github.com/smartystreets/goconvey + IFS= +++ sort -u +++ realpath -e --relative-base=. CONTRIBUTING.md README.md ++ 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 + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gzytto + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd goconvey-1.6.4 + '[' 1 -eq 1 ']' + LDFLAGS=' -X github.com/smartystreets/goconvey/version=1.6.4' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags ' + go-rpm-integration check -i github.com/smartystreets/goconvey -b /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/bin -s /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build -V 1.6.4-3.mga9 -p /home/pterjan/rpmbuild/BUILDROOT/golang-github-smartystreets-goconvey-1.6.4-3.mga9.noarch -g /usr/share/gocode -r '.*example.*' -d web/server/watch Testing in: /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/src PATH: /home/pterjan/rpmbuild/BUILD/goconvey-1.6.4/_build/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin GOPATH: /home/pterjan/rpmbuild/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,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags '" testing: github.com/smartystreets/goconvey github.com/smartystreets/goconvey/convey PASS ok github.com/smartystreets/goconvey/convey 0.037s github.com/smartystreets/goconvey/convey PASS ok github.com/smartystreets/goconvey/convey 0.030s github.com/smartystreets/goconvey/convey/gotest testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/convey/gotest 0.003s github.com/smartystreets/goconvey/convey/gotest testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/convey/gotest 0.003s github.com/smartystreets/goconvey/convey/reporting PASS ok github.com/smartystreets/goconvey/convey/reporting 0.011s github.com/smartystreets/goconvey/convey/reporting PASS ok github.com/smartystreets/goconvey/convey/reporting 0.004s 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.233s 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.212s github.com/smartystreets/goconvey/web/server/contract testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/contract 0.019s github.com/smartystreets/goconvey/web/server/contract testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/contract 0.016s github.com/smartystreets/goconvey/web/server/executor PASS ok github.com/smartystreets/goconvey/web/server/executor 0.006s github.com/smartystreets/goconvey/web/server/executor PASS ok github.com/smartystreets/goconvey/web/server/executor 0.005s github.com/smartystreets/goconvey/web/server/messaging testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/messaging 0.023s github.com/smartystreets/goconvey/web/server/messaging testing: warning: no tests to run PASS ok github.com/smartystreets/goconvey/web/server/messaging 0.002s 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.007s 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.008s github.com/smartystreets/goconvey/web/server/system --- FAIL: TestShellIntegration (5.89s) 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-build2879419700/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.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 48) -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.009s ] shell_integration_test.go:31: Test run resulted in the following error: exit status 1 ....... 7 total assertions ....2023/06/20 18:51:47.481783 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). .2023/06/20 18:51:47.481980 shell.go:102: Coverage output: ok 2023/06/20 18:51:47.481992 shell.go:104: Run without coverage .2023/06/20 18:51:47.482115 shell.go:102: Coverage output: PASS ok github.com/smartystreets/goconvey/examples 0.012s 2023/06/20 18:51:47.482122 shell.go:104: Run without coverage .2023/06/20 18:51:47.482226 shell.go:102: Coverage output: ok 2023/06/20 18:51:47.482230 shell.go:104: Run without coverage . 15 total assertions ... 18 total assertions FAIL exit status 1 FAIL github.com/smartystreets/goconvey/web/server/system 5.908s error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gzytto (%check) RPM build warnings: %gochecks is obsolete, use %gocheck in %check instead! RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.gzytto (%check) I: [iurt_root_command] ERROR: chroot