Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-graph-gophers-graphql.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-204260-80547/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-graph-gophers-graphql.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/golang-github-graph-gophers-graphql-1.3.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-graph-gophers-graphql.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-204260-80547/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-graph-gophers-graphql.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IaZteK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf graphql-go-1.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/graphql-go-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd graphql-go-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/graphql-go-1.3.0/vendor + [[ ! -e /builddir/build/BUILD/graphql-go-1.3.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/graphql-go-1.3.0/_build/bin install: creating directory '/builddir/build/BUILD/graphql-go-1.3.0/_build' install: creating directory '/builddir/build/BUILD/graphql-go-1.3.0/_build/bin' + export GOPATH=/builddir/build/BUILD/graphql-go-1.3.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/graphql-go-1.3.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go ]] ++ dirname /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go + install -m 0755 -vd /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers install: creating directory '/builddir/build/BUILD/graphql-go-1.3.0/_build/src' install: creating directory '/builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers' + ln -fs /builddir/build/BUILD/graphql-go-1.3.0 /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go + cd /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sXf40h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-graph-gophers-graphql-1.3.0-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-graph-gophers-graphql-1.3.0-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/golang-github-graph-gophers-graphql-1.3.0-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-graph-gophers-graphql-1.3.0-2.oc9.loongarch64 + cd graphql-go-1.3.0 + cd /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/graph-gophers/graphql-go -b /builddir/build/BUILD/graphql-go-1.3.0/_build/bin -s /builddir/build/BUILD/graphql-go-1.3.0/_build -o golang-github-graph-gophers-graphql-devel.file-list -O /builddir/build/BUILD/graphql-go-1.3.0 -V 1.3.0-2.oc9 -p /builddir/build/BUILDROOT/golang-github-graph-gophers-graphql-1.3.0-2.oc9.loongarch64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/graph-gophers/graphql-go + IFS= +++ realpath -e --relative-base=. docs example CONTRIBUTING.md README.md CHANGELOG.md +++ sort -u ++ listfiles_include='CHANGELOG.md CONTRIBUTING.md README.md docs example' ++ echo 'CHANGELOG.md CONTRIBUTING.md README.md docs example' + godocs='CHANGELOG.md CONTRIBUTING.md README.md docs example' + [[ -n CHANGELOG.md CONTRIBUTING.md README.md docs example ]] + 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 + echo %doc '"docs"' + IFS= + read -r f + echo %doc '"example"' + 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/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OySnvx + umask 022 + cd /builddir/build/BUILD + cd graphql-go-1.3.0 + GO_LDFLAGS=' -X github.com/graph-gophers/graphql-go/version=1.3.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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i github.com/graph-gophers/graphql-go -b /builddir/build/BUILD/graphql-go-1.3.0/_build/bin -s /builddir/build/BUILD/graphql-go-1.3.0/_build -V 1.3.0-2.oc9 -p /builddir/build/BUILDROOT/golang-github-graph-gophers-graphql-1.3.0-2.oc9.loongarch64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/graphql-go-1.3.0/_build/src PATH: /builddir/build/BUILD/graphql-go-1.3.0/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/graphql-go-1.3.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/graph-gophers/graphql-go/version=1.3.0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" testing: github.com/graph-gophers/graphql-go github.com/graph-gophers/graphql-go 2025/09/04 21:57:46 graphql: panic occurred: subscriptionsPanicInResolver goroutine 295 [running]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x5555578941a0?, {0x555557d22e90, 0xc0002172c0}, {0x555557c9a2a0, 0x555557d1e1b0}) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/log/log.go:21 +0x54 github.com/graph-gophers/graphql-go/internal/exec.(*Request).handlePanic(0xc000184380, {0x555557d22e90, 0xc0002172c0}) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/internal/exec/exec.go:32 +0x64 panic({0x555557c9a2a0?, 0x555557d1e1b0?}) /usr/lib/golang/src/runtime/panic.go:792 +0xfc github.com/graph-gophers/graphql-go_test.(*subscriptionsPanicInResolver).OnPanic(...) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscription_test.go:550 reflect.Value.call({0x555557cb7cc0?, 0xc000214218?, 0x0?}, {0x555557b3041d, 0x4}, {0x0, 0x0, 0xc000184380?}) /usr/lib/golang/src/reflect/value.go:584 +0x994 reflect.Value.Call({0x555557cb7cc0?, 0xc000214218?, 0x0?}, {0x0?, 0x555557cb7cc0?, 0xc000214218?}) /usr/lib/golang/src/reflect/value.go:368 +0x94 github.com/graph-gophers/graphql-go/internal/exec.(*Request).Subscribe.func1(0x0?, {0x555557d22e90, 0xc0002172c0}, 0xc0001ec2a0, 0x7ffff215dcf0?, 0xc000121a08, 0xc0003a73f8, 0xc000312060) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/internal/exec/subscribe.go:47 +0x2f0 github.com/graph-gophers/graphql-go/internal/exec.(*Request).Subscribe(0xc000184380, {0x555557d22e90, 0xc0002172c0}, 0xc0001ec2a0, 0xc0001401b0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/internal/exec/subscribe.go:61 +0x78 github.com/graph-gophers/graphql-go.(*Schema).subscribe(0xc00013e150, {0x555557d22e90, 0xc0002172c0}, {0x555557b3f0cb?, 0x555557d22de8?}, {0x0, 0x0}, 0x0, 0xc0001ec2a0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscriptions.go:76 +0x6f8 github.com/graph-gophers/graphql-go.(*Schema).Subscribe(0xc00013e150, {0x555557d22e90, 0xc0002172c0}, {0x555557b3f0cb, 0x26}, {0x0, 0x0}, 0x0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscriptions.go:29 +0xa4 github.com/graph-gophers/graphql-go/gqltesting.RunSubscribe(0xc0001036c0, 0xc000121f10) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/gqltesting/subscriptions.go:49 +0x98 github.com/graph-gophers/graphql-go_test.TestSchemaSubscribe_PanicInResolver(0xc0001036c0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscription_test.go:559 +0x12c testing.tRunner(0xc0001036c0, 0x555557d1cb98) /usr/lib/golang/src/testing/testing.go:1792 +0xe4 created by testing.(*T).Run in goroutine 1 /usr/lib/golang/src/testing/testing.go:1851 +0x38c context: context.Background.WithCancel PASS ok github.com/graph-gophers/graphql-go 0.218s github.com/graph-gophers/graphql-go 2025/09/04 21:57:47 graphql: panic occurred: subscriptionsPanicInResolver goroutine 320 [running]: github.com/graph-gophers/graphql-go/log.(*DefaultLogger).LogPanic(0x5555560141a0?, {0x5555564a2e90, 0xc0001e0460}, {0x55555641a2a0, 0x55555649e1b0}) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/log/log.go:21 +0x54 github.com/graph-gophers/graphql-go/internal/exec.(*Request).handlePanic(0xc000184100, {0x5555564a2e90, 0xc0001e0460}) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/internal/exec/exec.go:32 +0x64 panic({0x55555641a2a0?, 0x55555649e1b0?}) /usr/lib/golang/src/runtime/panic.go:792 +0xfc github.com/graph-gophers/graphql-go_test.(*subscriptionsPanicInResolver).OnPanic(...) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscription_test.go:550 reflect.Value.call({0x555556437cc0?, 0xc000295b00?, 0x0?}, {0x5555562b041d, 0x4}, {0x0, 0x0, 0xc000184100?}) /usr/lib/golang/src/reflect/value.go:584 +0x994 reflect.Value.Call({0x555556437cc0?, 0xc000295b00?, 0x0?}, {0x0?, 0x555556437cc0?, 0xc000295b00?}) /usr/lib/golang/src/reflect/value.go:368 +0x94 github.com/graph-gophers/graphql-go/internal/exec.(*Request).Subscribe.func1(0x0?, {0x5555564a2e90, 0xc0001e0460}, 0xc0001ec2a0, 0x7fffaa37e8b8?, 0xc000487a08, 0xc000338818, 0xc000204030) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/internal/exec/subscribe.go:47 +0x2f0 github.com/graph-gophers/graphql-go/internal/exec.(*Request).Subscribe(0xc000184100, {0x5555564a2e90, 0xc0001e0460}, 0xc0001ec2a0, 0xc000242000) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/internal/exec/subscribe.go:61 +0x78 github.com/graph-gophers/graphql-go.(*Schema).subscribe(0xc000276310, {0x5555564a2e90, 0xc0001e0460}, {0x5555562bf0cb?, 0x5555564a2de8?}, {0x0, 0x0}, 0x0, 0xc0001ec2a0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscriptions.go:76 +0x6f8 github.com/graph-gophers/graphql-go.(*Schema).Subscribe(0xc000276310, {0x5555564a2e90, 0xc0001e0460}, {0x5555562bf0cb, 0x26}, {0x0, 0x0}, 0x0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscriptions.go:29 +0xa4 github.com/graph-gophers/graphql-go/gqltesting.RunSubscribe(0xc0004ffdc0, 0xc000487f10) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/gqltesting/subscriptions.go:49 +0x98 github.com/graph-gophers/graphql-go_test.TestSchemaSubscribe_PanicInResolver(0xc0004ffdc0) /builddir/build/BUILD/graphql-go-1.3.0/_build/src/github.com/graph-gophers/graphql-go/subscription_test.go:559 +0x12c testing.tRunner(0xc0004ffdc0, 0x55555649cb98) /usr/lib/golang/src/testing/testing.go:1792 +0xe4 created by testing.(*T).Run in goroutine 1 /usr/lib/golang/src/testing/testing.go:1851 +0x38c context: context.Background.WithCancel PASS ok github.com/graph-gophers/graphql-go 0.245s github.com/graph-gophers/graphql-go/decode ? github.com/graph-gophers/graphql-go/decode [no test files] github.com/graph-gophers/graphql-go/errors PASS ok github.com/graph-gophers/graphql-go/errors 0.005s github.com/graph-gophers/graphql-go/errors PASS ok github.com/graph-gophers/graphql-go/errors 0.005s github.com/graph-gophers/graphql-go/gqltesting ? github.com/graph-gophers/graphql-go/gqltesting [no test files] github.com/graph-gophers/graphql-go/internal/common PASS ok github.com/graph-gophers/graphql-go/internal/common 0.005s github.com/graph-gophers/graphql-go/internal/common PASS ok github.com/graph-gophers/graphql-go/internal/common 0.004s github.com/graph-gophers/graphql-go/internal/exec ? github.com/graph-gophers/graphql-go/internal/exec [no test files] github.com/graph-gophers/graphql-go/internal/exec/packer ? github.com/graph-gophers/graphql-go/internal/exec/packer [no test files] github.com/graph-gophers/graphql-go/internal/exec/resolvable ? github.com/graph-gophers/graphql-go/internal/exec/resolvable [no test files] github.com/graph-gophers/graphql-go/internal/exec/selected ? github.com/graph-gophers/graphql-go/internal/exec/selected [no test files] github.com/graph-gophers/graphql-go/internal/query ? github.com/graph-gophers/graphql-go/internal/query [no test files] github.com/graph-gophers/graphql-go/internal/schema PASS ok github.com/graph-gophers/graphql-go/internal/schema 0.015s github.com/graph-gophers/graphql-go/internal/schema PASS ok github.com/graph-gophers/graphql-go/internal/schema 0.014s github.com/graph-gophers/graphql-go/internal/validation # github.com/graph-gophers/graphql-go/internal/validation # [github.com/graph-gophers/graphql-go/internal/validation] ./validation.go:695:60: non-constant format string in call to (*github.com/graph-gophers/graphql-go/internal/validation.context).addErrMultiLoc FAIL github.com/graph-gophers/graphql-go/internal/validation [build failed] error: Bad exit status from /var/tmp/rpm-tmp.OySnvx (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OySnvx (%check) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-graph-gophers-graphql.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 612, 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 loongarch64 --nodeps /builddir/build/SPECS/golang-github-graph-gophers-graphql.spec'