Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-363907-44988/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/grafana-12.4.3-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-363907-44988/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AMPzTM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grafana-12.4.3-security-02 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-12.4.3-security-02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-12.4.3-security-02.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-12.4.3-security-02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-vendor-12.4.3-1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-12.4.3-security-02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf plugins-bundled + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grafana-webpack-12.4.3-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grafana-12.4.3-security-02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3002 (0002-add-manpages.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #3002 (0002-add-manpages.patch): patching file docs/man/man1/grafana-cli.1 patching file docs/man/man1/grafana-server.1 Patch #3003 (0003-update-default-configuration.patch): + echo 'Patch #3003 (0003-update-default-configuration.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file conf/defaults.ini patching file conf/sample.ini Patch #3004 (0004-remove-unused-backend-dependencies.patch): + echo 'Patch #3004 (0004-remove-unused-backend-dependencies.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file go.mod patching file pkg/extensions/enterprise_imports.go Patch #3006 (0006-skip-marketplace-plugin-install-test.patch): + echo 'Patch #3006 (0006-skip-marketplace-plugin-install-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/tests/api/plugins/api_plugins_test.go Patch #3007 (0007-redact-weak-ciphers.patch): + echo 'Patch #3007 (0007-redact-weak-ciphers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pkg/api/http_server.go Patch #3009 (0009-update-wrappers-and-systemd-with-distro-paths.patch): + echo 'Patch #3009 (0009-update-wrappers-and-systemd-with-distro-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file packaging/wrappers/grafana patching file packaging/wrappers/grafana-cli patching file packaging/wrappers/grafana-server patching file packaging/rpm/systemd/grafana-server.service Patch #3013 (0013-fix-CVE-2025-4123.patch): + echo 'Patch #3013 (0013-fix-CVE-2025-4123.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file conf/defaults.ini Patch #3501 (CVE-2026-27136-and-CVE-2026-39831-upgrade-x-net-and-x-crypto.patch): + echo 'Patch #3501 (CVE-2026-27136-and-CVE-2026-39831-upgrade-x-net-and-x-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file go.mod Hunk #1 succeeded at 207 (offset -2 lines). patching file go.sum Patch #3502 (CVE-2026-41238-and-others-upgrade-frontend-deps.patch): + echo 'Patch #3502 (CVE-2026-41238-and-others-upgrade-frontend-deps.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file package.json patching file packages/grafana-data/package.json patching file yarn.lock Patch #3005 (0005-remove-unused-frontend-crypto.patch): + echo 'Patch #3005 (0005-remove-unused-frontend-crypto.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file package.json Hunk #1 succeeded at 470 (offset 6 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KQtENa + umask 022 + cd /builddir/build/BUILD + cd grafana-12.4.3-security-02 + export GOWORK=off + GOWORK=off + export GOEXPERIMENT=boringcrypto + GOEXPERIMENT=boringcrypto + export 'LDFLAGS=-X main.version=12.4.3 -X main.buildstamp=' + LDFLAGS='-X main.version=12.4.3 -X main.buildstamp=' + for cmd in grafana grafana-cli grafana-server ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + GO111MODULE=auto + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -B 0x1efc7c547c55e53c1a99a3f99beeed6adecf4464 -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '\''' -a -v -x -o /builddir/build/BUILD/bin/grafana ./pkg/cmd/grafana WORK=/tmp/go-build3018482418 go: inconsistent vendoring in /builddir/build/BUILD/grafana-12.4.3-security-02: golang.org/x/mod@v0.32.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/sync@v0.19.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/text@v0.33.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/tools@v0.41.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt github.com/mattermost/xml-roundtrip-validator@v0.1.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/sys@v0.40.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/telemetry@v0.0.0-20260109210033-bd525da824e2: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/term@v0.39.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt golang.org/x/mod@v0.35.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/sync@v0.20.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/sys@v0.45.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/telemetry@v0.0.0-20260409153401-be6f6cb8b1fa: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/term@v0.43.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/text@v0.37.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod golang.org/x/tools@v0.44.0: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod To ignore the vendor directory, use -mod=readonly or -mod=mod. To sync the vendor directory, run: go mod vendor error: Bad exit status from /var/tmp/rpm-tmp.KQtENa (%build) Bad exit status from /var/tmp/rpm-tmp.KQtENa (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.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 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/grafana.spec