=' --' + eval set -- ' --' ++ set -- -- + [[ 0 -eq 0 ]] + case $1 in + shift + break + [[ 0 -eq 1 ]] + QUIET= + command -v git + [[ 0 -ne 0 ]] + command -v curl + [[ 0 -ne 0 ]] + shopt -s nullglob + set -- .dotnet3.1.metadata + (( 1 == 0 )) + (( 1 > 1 )) + meta=.dotnet3.1.metadata + pn=.dotnet3.1 + pn=dotnet3.1 + '[' '!' -d .git ']' + '[' '!' -d SPECS ']' + mkdir -p SOURCES + '[' -n '' ']' + branches=() ++ git branch -r --contains HEAD ++ sed s#origin/##g + IFS= + read -r line + branch='HEAD -> c8s' + [[ HEAD -> c8s =~ detached from ]] + '[' '. ' = '.*' ']' + branches=("${branches[@]}" "$branch") + IFS= + read -r line + branch=c8s + [[ c8s =~ detached from ]] + '[' '. ' = '.*' ']' + branches=("${branches[@]}" "$branch") + IFS= + read -r line + read -r fsha fname + '[' .6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627 = .da39a3ee5e6b4b0d3255bfef95601890afd80709 ']' + '[' 0 -eq 1 ']' + '[' -e SOURCES/dotnet-v3.1.421-SDK.tar.gz -a 0 -eq 1 ']' + '[' '!' -e SOURCES/dotnet-v3.1.421-SDK.tar.gz ']' + for br in "${branches[@]}" ++ echo HEAD '->' c8s ++ sed -e 's|remotes/origin/||' + br='HEAD -> c8s' + url='https://git.centos.org/sources/dotnet3.1/HEAD -> c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627' + echo 'Retrieving https://git.centos.org/sources/dotnet3.1/HEAD -> c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627' Retrieving https://git.centos.org/sources/dotnet3.1/HEAD -> c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627 + curl -L -f 'https://git.centos.org/sources/dotnet3.1/HEAD -> c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627' -o SOURCES/dotnet-v3.1.421-SDK.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 400 Bad Request + for br in "${branches[@]}" ++ echo c8s ++ sed -e 's|remotes/origin/||' + br=c8s + url=https://git.centos.org/sources/dotnet3.1/c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627 + echo 'Retrieving https://git.centos.org/sources/dotnet3.1/c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627' Retrieving https://git.centos.org/sources/dotnet3.1/c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627 + curl -L -f https://git.centos.org/sources/dotnet3.1/c8s/6dfa95ddb275eeb8a2a69ca8c1e5df52ebff6627 -o SOURCES/dotnet-v3.1.421-SDK.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 25 320M 25 81.4M 0 0 101M 0 0:00:03 --:--:-- 0:00:03 101M 59 320M 59 189M 0 0 105M 0 0:00:03 0:00:01 0:00:02 105M 86 320M 86 277M 0 0 98.8M 0 0:00:03 0:00:02 0:00:01 98.7M 100 320M 100 320M 0 0 96.1M 0 0:00:03 0:00:03 --:--:-- 96.1M + break + '[' 0 -eq 1 ']' + read -r fsha fname Finish: chroot ['get_sources.sh'] Finish: run 2022-08-13 03:05:46,075 [INFO] {30085} koji.build.buildroot:518 Running mock as kojibuilder INFO: mock.py version 1.3.4 starting (python version = 2.7.5)... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run INFO: Start(/var/lib/mock/dist-c8-stream-build-91486-37187/root/chroot_tmpdir/scmroot/dotnet3.1/SPECS/dotnet3.1.spec) Config(dist-c8-stream-build-91486-37187) Start: chroot init INFO: calling preinit hooks INFO: enabled HW Info plugin Mock Version: 1.3.4 INFO: Mock Version: 1.3.4 Finish: chroot init Start: buildsrpm Start: rpmbuild -bs Finish: rpmbuild -bs Finish: buildsrpm INFO: Done(/var/lib/mock/dist-c8-stream-build-91486-37187/root/chroot_tmpdir/scmroot/dotnet3.1/SPECS/dotnet3.1.spec) Config(koji/dist-c8-stream-build-91486-37187) 0 minutes 14 seconds INFO: Results and/or logs in: /var/lib/mock/dist-c8-stream-build-91486-37187/result Finish: run