Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-qingstor-sdk-4.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679289566.388174/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0zvzzei9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0zvzzei9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '12bb27f151584141937c2fddeb9775ca', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679289566.388174/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0zvzzei9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-qingstor-sdk-4.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/golang-github-qingstor-sdk-4-4.1.0-6.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-qingstor-sdk-4.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679289566.388174/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0zvzzei9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0zvzzei9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c131b7974bd04cbda299ab2d440c6348', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679289566.388174/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0zvzzei9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-qingstor-sdk-4.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9Ah0bi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qingstor-sdk-go-4.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qingstor-sdk-go-4.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd qingstor-sdk-go-4.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/qingstor-sdk-go-4.1.0/vendor + [[ ! -e /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/bin install: creating directory '/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build' install: creating directory '/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/bin' + export GOPATH=/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go/v4 ]] ++ dirname /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go/v4 + install -m 0755 -vd /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go install: creating directory '/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src' install: creating directory '/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor' install: creating directory '/builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go' + ln -fs /builddir/build/BUILD/qingstor-sdk-go-4.1.0 /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go/v4 + cd /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go/v4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A2P7SW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 + cd qingstor-sdk-go-4.1.0 + cd /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src/github.com/qingstor/qingstor-sdk-go/v4 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/qingstor/qingstor-sdk-go/v4 -b /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/bin -s /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build -o golang-github-qingstor-sdk-4-devel.file-list -O /builddir/build/BUILD/qingstor-sdk-go-4.1.0 -V 4.1.0-6.fc39 -p /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/qingstor/qingstor-sdk-go/v4 + IFS= +++ realpath -e --relative-base=. docs AUTHORS CHANGELOG.md README.md README_zh-CN.md +++ sort -u ++ listfiles_include='AUTHORS CHANGELOG.md README.md README_zh-CN.md docs' ++ echo 'AUTHORS CHANGELOG.md README.md README_zh-CN.md docs' + godocs='AUTHORS CHANGELOG.md README.md README_zh-CN.md docs' + [[ -n AUTHORS CHANGELOG.md README.md README_zh-CN.md docs ]] + IFS= + read -r f + echo %doc '"AUTHORS"' + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"README_zh-CN.md"' + IFS= + read -r f + echo %doc '"docs"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE specs/qingstor/LICENSE +++ sort -u realpath: specs/qingstor/LICENSE: No such file or directory ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/gocode/src/github.com/yunify + ln -rs /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/gocode/src/github.com/qingstor/qingstor-sdk-go/v4 /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/gocode/src/github.com/yunify/qingstor-sdk-go + echo /usr/share/gocode/src/github.com/yunify/qingstor-sdk-go + echo '%dir "/usr/share/gocode/src/github.com/yunify"' + /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 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mhg3ov + umask 022 + cd /builddir/build/BUILD + cd qingstor-sdk-go-4.1.0 + LDFLAGS=' -X github.com/qingstor/qingstor-sdk-go/v4/version=4.1.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/qingstor/qingstor-sdk-go/v4 -b /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/bin -s /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build -V 4.1.0-6.fc39 -p /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/src PATH: /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/qingstor-sdk-go-4.1.0/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/qingstor/qingstor-sdk-go/v4/version=4.1.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/qingstor/qingstor-sdk-go/v4 github.com/qingstor/qingstor-sdk-go/v4 PASS ok github.com/qingstor/qingstor-sdk-go/v4 0.003s github.com/qingstor/qingstor-sdk-go/v4 PASS ok github.com/qingstor/qingstor-sdk-go/v4 0.003s github.com/qingstor/qingstor-sdk-go/v4/client/image PASS ok github.com/qingstor/qingstor-sdk-go/v4/client/image 0.003s github.com/qingstor/qingstor-sdk-go/v4/client/image PASS ok github.com/qingstor/qingstor-sdk-go/v4/client/image 0.003s github.com/qingstor/qingstor-sdk-go/v4/client/upload PASS ok github.com/qingstor/qingstor-sdk-go/v4/client/upload 0.007s github.com/qingstor/qingstor-sdk-go/v4/client/upload PASS ok github.com/qingstor/qingstor-sdk-go/v4/client/upload 0.007s github.com/qingstor/qingstor-sdk-go/v4/config [Warn] - 1679289706 title="Installing default config file" path="/builddir/.qingstor/config.yaml" PASS ok github.com/qingstor/qingstor-sdk-go/v4/config 0.004s github.com/qingstor/qingstor-sdk-go/v4/config PASS ok github.com/qingstor/qingstor-sdk-go/v4/config 0.004s github.com/qingstor/qingstor-sdk-go/v4/interface ? github.com/qingstor/qingstor-sdk-go/v4/interface [no test files] github.com/qingstor/qingstor-sdk-go/v4/internal/pkg/logger ? github.com/qingstor/qingstor-sdk-go/v4/internal/pkg/logger [no test files] github.com/qingstor/qingstor-sdk-go/v4/request [Info] - 1679289707 title="Built QingStor request" date=1472743800 url="https://qingstor.com:443/aaa/bbb/ccc-ddd?upload_id=0" [Info] - 1679289707 title="QingStor request headers" date=1472743800 header="map[Content-Length:[12] Content-Type:[application/json] Date:[Thu, 01 Sep 2016 15:30:00 GMT] If-Modified-Since:[Thu, 01 Sep 2016 15:30:00 GMT] Range:[100-] User-Agent:[qingstor-sdk-go/4.1.0 (Go v1.20.2; linux_amd64_gc)]]" [Info] - 1679289707 title="QingStor request body string" date=1472743800 parsed_body_string="{"count":23}" [Debug] - 1679289707 canonicalized_resource="/aaa/bbb/ccc-ddd?upload_id=0" date=1472743800 [Debug] - 1679289707 string_to_sign="GET application/json Thu, 01 Sep 2016 15:30:00 GMT /aaa/bbb/ccc-ddd?upload_id=0" date=1472743800 [Debug] - 1679289707 qs_authorization="QS ACCESS_KEY_ID:pA7G9qo4iQ6YHu7p4fX9Wcg4V9S6Mcgvz7p/0wEdz78=" date=1472743800 [Info] - 1679289707 title="QingStor response code" status_code=400 date=-1 [Info] - 1679289707 title="QingStor response header" date=-1 header="map[Content-Type:[application/json]]" PASS ok github.com/qingstor/qingstor-sdk-go/v4/request 0.005s github.com/qingstor/qingstor-sdk-go/v4/request [Info] - 1679289707 title="Built QingStor request" date=1472743800 url="https://qingstor.com:443/aaa/bbb/ccc-ddd?upload_id=0" [Info] - 1679289707 title="QingStor request headers" date=1472743800 header="map[Content-Length:[12] Content-Type:[application/json] Date:[Thu, 01 Sep 2016 15:30:00 GMT] If-Modified-Since:[Thu, 01 Sep 2016 15:30:00 GMT] Range:[100-] User-Agent:[qingstor-sdk-go/4.1.0 (Go v1.20.2; linux_amd64_gc)]]" [Info] - 1679289707 title="QingStor request body string" date=1472743800 parsed_body_string="{"count":23}" [Debug] - 1679289707 canonicalized_resource="/aaa/bbb/ccc-ddd?upload_id=0" date=1472743800 [Debug] - 1679289707 string_to_sign="GET application/json Thu, 01 Sep 2016 15:30:00 GMT /aaa/bbb/ccc-ddd?upload_id=0" date=1472743800 [Debug] - 1679289707 qs_authorization="QS ACCESS_KEY_ID:pA7G9qo4iQ6YHu7p4fX9Wcg4V9S6Mcgvz7p/0wEdz78=" date=1472743800 [Info] - 1679289707 title="QingStor response code" status_code=400 date=-1 [Info] - 1679289707 title="QingStor response header" date=-1 header="map[Content-Type:[application/json]]" PASS ok github.com/qingstor/qingstor-sdk-go/v4/request 0.004s github.com/qingstor/qingstor-sdk-go/v4/request/builder [Info] - 1679289708 title="Built QingStor request" date=1679289708 url="https://beta.qingstor.dev:443/test/path/to/key.txt" [Info] - 1679289708 title="QingStor request headers" date=1679289708 header="map[Content-Length:[0] Date:[Mon, 20 Mar 2023 05:21:48 GMT] If-Modified-Since:[Thu, 01 Sep 2016 07:30:00 GMT] Range:[100-] User-Agent:[qingstor-sdk-go/4.1.0 (Go v1.20.2; linux_amd64_gc)]]" [Info] - 1679289708 title="Built QingStor request" date=1679289708 url="https://beta.qingstor.dev:443/test/path//to//key.txt" [Info] - 1679289708 title="QingStor request headers" date=1679289708 header="map[Content-Length:[0] Date:[Mon, 20 Mar 2023 05:21:48 GMT] If-Modified-Since:[Thu, 01 Sep 2016 07:30:00 GMT] Range:[100-] User-Agent:[qingstor-sdk-go/4.1.0 (Go v1.20.2; linux_amd64_gc)]]" PASS ok github.com/qingstor/qingstor-sdk-go/v4/request/builder 0.004s github.com/qingstor/qingstor-sdk-go/v4/request/builder [Info] - 1679289708 title="Built QingStor request" date=1679289708 url="https://beta.qingstor.dev:443/test/path/to/key.txt" [Info] - 1679289708 title="QingStor request headers" date=1679289708 header="map[Content-Length:[0] Date:[Mon, 20 Mar 2023 05:21:48 GMT] If-Modified-Since:[Thu, 01 Sep 2016 07:30:00 GMT] Range:[100-] User-Agent:[qingstor-sdk-go/4.1.0 (Go v1.20.2; linux_amd64_gc)]]" [Info] - 1679289708 title="Built QingStor request" date=1679289708 url="https://beta.qingstor.dev:443/test/path//to//key.txt" [Info] - 1679289708 title="QingStor request headers" date=1679289708 header="map[Content-Length:[0] Date:[Mon, 20 Mar 2023 05:21:48 GMT] If-Modified-Since:[Thu, 01 Sep 2016 07:30:00 GMT] Range:[100-] User-Agent:[qingstor-sdk-go/4.1.0 (Go v1.20.2; linux_amd64_gc)]]" PASS ok github.com/qingstor/qingstor-sdk-go/v4/request/builder 0.004s github.com/qingstor/qingstor-sdk-go/v4/request/data ? github.com/qingstor/qingstor-sdk-go/v4/request/data [no test files] github.com/qingstor/qingstor-sdk-go/v4/request/errors ? github.com/qingstor/qingstor-sdk-go/v4/request/errors [no test files] github.com/qingstor/qingstor-sdk-go/v4/request/response [Info] - 1679289709 title="QingStor response code" status_code=200 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json]]" [Info] - 1679289709 title="QingStor response body" date=-1 body={"a": "el_a", "b": "el_b", "cd": 1024, "ef": 2048} [Info] - 1679289709 title="QingStor response code" status_code=200 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json] X-Test-Header:[test-header] X-Test-Time:[Thu, 01 Sep 2016 07:30:00 GMT]]" [Info] - 1679289709 title="QingStor response body" date=-1 body={ "count": 2, "buckets": [ { "name": "test-bucket", "location": "pek3a", "url": "https://test-bucket.pek3a.qingstor.com", "created": "2015-07-11T04:45:57Z" }, { "name": "test-photos", "location": "pek3a", "url": "https://test-photos.pek3a.qingstor.com", "created": "2015-07-12T09:40:32Z" } ] } [Info] - 1679289709 title="QingStor response code" status_code=400 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json]]" [Info] - 1679289709 title="QingStor response code" status_code=404 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json] X-Qs-Request-Id:[aa08cf7a43f611e5886952542e6ce14b]]" [Info] - 1679289709 title="QingStor response code" status_code=400 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[X-Qs-Request-Id:[aa08cf7a43f611e5886952542e6ce14b]]" PASS ok github.com/qingstor/qingstor-sdk-go/v4/request/response 0.004s github.com/qingstor/qingstor-sdk-go/v4/request/response [Info] - 1679289709 title="QingStor response code" status_code=200 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json]]" [Info] - 1679289709 title="QingStor response body" date=-1 body={"a": "el_a", "b": "el_b", "cd": 1024, "ef": 2048} [Info] - 1679289709 title="QingStor response code" status_code=200 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json] X-Test-Header:[test-header] X-Test-Time:[Thu, 01 Sep 2016 07:30:00 GMT]]" [Info] - 1679289709 title="QingStor response body" date=-1 body={ "count": 2, "buckets": [ { "name": "test-bucket", "location": "pek3a", "url": "https://test-bucket.pek3a.qingstor.com", "created": "2015-07-11T04:45:57Z" }, { "name": "test-photos", "location": "pek3a", "url": "https://test-photos.pek3a.qingstor.com", "created": "2015-07-12T09:40:32Z" } ] } [Info] - 1679289709 title="QingStor response code" status_code=400 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json]]" [Info] - 1679289709 title="QingStor response code" status_code=404 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[Content-Type:[application/json] X-Qs-Request-Id:[aa08cf7a43f611e5886952542e6ce14b]]" [Info] - 1679289709 title="QingStor response code" status_code=400 date=-1 [Info] - 1679289709 title="QingStor response header" date=-1 header="map[X-Qs-Request-Id:[aa08cf7a43f611e5886952542e6ce14b]]" PASS ok github.com/qingstor/qingstor-sdk-go/v4/request/response 0.004s github.com/qingstor/qingstor-sdk-go/v4/request/signer [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 string_to_sign="GET Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:bvglZF9iMOv1RaCTxPYWxexmt1UN2m5WKngYnhDEp2c=" date=-1 [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 string_to_sign="GET x-qs-date:Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:qkY+tOMdqfDAVv+ZBtlWeEBxlbyIKaQmj5lQlylENzo=" date=-1 [Debug] - 1679289710 canonicalized_resource="/bucket-name/%E4%B8%AD%E6%96%87" date=-1 [Debug] - 1679289710 string_to_sign="GET Mon, 01 Jan 0001 00:00:00 GMT /bucket-name/%E4%B8%AD%E6%96%87" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:XsTXX50kzqBf92zLG1aIUIJmZ0hqIHoaHgkumwnV3fs=" date=-1 [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_string_to_sign="GET 3600 x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_signature="access_key_id=ENV_ACCESS_KEY_ID&expires=3600&signature=GRL3p3NOgHR9CQygASvyo344vdnO1hFke6ZvQ5mDVHM=" date=-1 [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_string_to_sign="GET 3600 x-qs-date:Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_signature="access_key_id=ENV_ACCESS_KEY_ID&expires=3600&signature=plFxMFP1EzKVtdF%2BbApT8rhW9AUAIWfmZcOGH3m27t0=" date=-1 [Debug] - 1679289710 canonicalized_resource="?response-content-disposition=attachment; filename="%E4%B8%AD%E6%96%87.jpg"; filename*=utf-8''%E4%B8%AD%E6%96%87.jpg" date=-1 [Debug] - 1679289710 query_string_to_sign="GET 3600 ?response-content-disposition=attachment; filename="%E4%B8%AD%E6%96%87.jpg"; filename*=utf-8''%E4%B8%AD%E6%96%87.jpg" date=-1 [Debug] - 1679289710 query_signature="access_key_id=ENV_ACCESS_KEY_ID&expires=3600&signature=8mZxt4VXwmiiERhfytHyuySjWZD/VPMC3kAy%2BANwHoI=" date=-1 [Debug] - 1679289710 canonicalized_resource="/bucket-name?cname" date=-1 [Debug] - 1679289710 string_to_sign="PUT Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /bucket-name?cname" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:Kqc4/+6T7zfSrUPgkvswHbtL4ESch9vOVQP0nPwlkBs=" date=-1 PASS ok github.com/qingstor/qingstor-sdk-go/v4/request/signer 0.006s github.com/qingstor/qingstor-sdk-go/v4/request/signer [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 string_to_sign="GET Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:bvglZF9iMOv1RaCTxPYWxexmt1UN2m5WKngYnhDEp2c=" date=-1 [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 string_to_sign="GET x-qs-date:Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:qkY+tOMdqfDAVv+ZBtlWeEBxlbyIKaQmj5lQlylENzo=" date=-1 [Debug] - 1679289710 canonicalized_resource="/bucket-name/%E4%B8%AD%E6%96%87" date=-1 [Debug] - 1679289710 string_to_sign="GET Mon, 01 Jan 0001 00:00:00 GMT /bucket-name/%E4%B8%AD%E6%96%87" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:XsTXX50kzqBf92zLG1aIUIJmZ0hqIHoaHgkumwnV3fs=" date=-1 [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_string_to_sign="GET 3600 x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_signature="access_key_id=ENV_ACCESS_KEY_ID&expires=3600&signature=GRL3p3NOgHR9CQygASvyo344vdnO1hFke6ZvQ5mDVHM=" date=-1 [Debug] - 1679289710 canonicalized_resource="/?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_string_to_sign="GET 3600 x-qs-date:Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /?acl&part_number=0&upload_id=fde133b5f6d932cd9c79bac3c7318da1" date=-1 [Debug] - 1679289710 query_signature="access_key_id=ENV_ACCESS_KEY_ID&expires=3600&signature=plFxMFP1EzKVtdF%2BbApT8rhW9AUAIWfmZcOGH3m27t0=" date=-1 [Debug] - 1679289710 canonicalized_resource="?response-content-disposition=attachment; filename="%E4%B8%AD%E6%96%87.jpg"; filename*=utf-8''%E4%B8%AD%E6%96%87.jpg" date=-1 [Debug] - 1679289710 query_string_to_sign="GET 3600 ?response-content-disposition=attachment; filename="%E4%B8%AD%E6%96%87.jpg"; filename*=utf-8''%E4%B8%AD%E6%96%87.jpg" date=-1 [Debug] - 1679289710 query_signature="access_key_id=ENV_ACCESS_KEY_ID&expires=3600&signature=8mZxt4VXwmiiERhfytHyuySjWZD/VPMC3kAy%2BANwHoI=" date=-1 [Debug] - 1679289710 canonicalized_resource="/bucket-name?cname" date=-1 [Debug] - 1679289710 string_to_sign="PUT Mon, 01 Jan 0001 00:00:00 GMT x-qs-test-1:Test 1 x-qs-test-2:Test 2 /bucket-name?cname" date=-1 [Debug] - 1679289710 qs_authorization="QS ENV_ACCESS_KEY_ID:Kqc4/+6T7zfSrUPgkvswHbtL4ESch9vOVQP0nPwlkBs=" date=-1 PASS ok github.com/qingstor/qingstor-sdk-go/v4/request/signer 0.006s github.com/qingstor/qingstor-sdk-go/v4/service PASS ok github.com/qingstor/qingstor-sdk-go/v4/service 0.004s github.com/qingstor/qingstor-sdk-go/v4/service PASS ok github.com/qingstor/qingstor-sdk-go/v4/service 0.004s github.com/qingstor/qingstor-sdk-go/v4/utils PASS ok github.com/qingstor/qingstor-sdk-go/v4/utils 0.003s github.com/qingstor/qingstor-sdk-go/v4/utils PASS ok github.com/qingstor/qingstor-sdk-go/v4/utils 0.003s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-qingstor-sdk-4-devel-4.1.0-6.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k701rK + umask 022 + cd /builddir/build/BUILD + cd qingstor-sdk-go-4.1.0 + DOCDIR=/builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + cp -pr AUTHORS /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + cp -pr README_zh-CN.md /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + cp -pr docs /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/doc/golang-github-qingstor-sdk-4-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eHLF4n + umask 022 + cd /builddir/build/BUILD + cd qingstor-sdk-go-4.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/licenses/golang-github-qingstor-sdk-4-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/licenses/golang-github-qingstor-sdk-4-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64/usr/share/licenses/golang-github-qingstor-sdk-4-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/qingstor/qingstor-sdk-go/v4) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/client/image) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/client/upload) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/config) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/interface) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/internal/pkg/logger) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/request) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/request/builder) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/request/data) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/request/errors) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/request/response) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/request/signer) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/service) = 4.1.0-6.fc39 golang(github.com/qingstor/qingstor-sdk-go/v4/utils) = 4.1.0-6.fc39 golang-github-qingstor-sdk-4-devel = 4.1.0-6.fc39 golang-ipath(github.com/qingstor/qingstor-sdk-go/v4) = 4.1.0-6.fc39 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/pengsrc/go-shared/convert) golang(github.com/qingstor/log) golang(github.com/qingstor/log/level) golang(gopkg.in/yaml.v2) Processing files: compat-golang-github-yunify-qingstor-sdk-devel-4.1.0-6.fc39.noarch 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: compat-golang-github-yunify-qingstor-sdk-devel = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/client/image) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/client/upload) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/config) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/interface) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/internal/pkg/logger) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/request) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/request/builder) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/request/data) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/request/errors) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/request/response) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/request/signer) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/service) = 4.1.0-6.fc39 golang(github.com/yunify/qingstor-sdk-go/utils) = 4.1.0-6.fc39 golang-symlink(github.com/yunify/qingstor-sdk-go) = 4.1.0-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(github.com/qingstor/qingstor-sdk-go/v4) = 4.1.0-6.fc39 Obsoletes: golang-github-yunify-qingstor-sdk-devel < 4.1.0-6.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 Wrote: /builddir/build/RPMS/compat-golang-github-yunify-qingstor-sdk-devel-4.1.0-6.fc39.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-qingstor-sdk-4-devel-4.1.0-6.fc39.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dMUlfo + umask 022 + cd /builddir/build/BUILD + cd qingstor-sdk-go-4.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-qingstor-sdk-4-4.1.0-6.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.owYuEv + umask 022 + cd /builddir/build/BUILD + rm -rf qingstor-sdk-go-4.1.0 qingstor-sdk-go-4.1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0