-l surl: -- + args=' --' + 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 -- .device-mapper-multipath.metadata + (( 1 == 0 )) + (( 1 > 1 )) + meta=.device-mapper-multipath.metadata + pn=.device-mapper-multipath + pn=device-mapper-multipath + '[' '!' -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 + '[' .b52c2be340449664f0a122070838f6d8edd42e4a = .da39a3ee5e6b4b0d3255bfef95601890afd80709 ']' + '[' 0 -eq 1 ']' + '[' -e SOURCES/multipath-tools-0.8.4.tgz -a 0 -eq 1 ']' + '[' '!' -e SOURCES/multipath-tools-0.8.4.tgz ']' + for br in "${branches[@]}" ++ echo HEAD '->' c8s ++ sed -e 's|remotes/origin/||' + br='HEAD -> c8s' Retrieving https://git.centos.org/sources/device-mapper-multipath/HEAD -> c8s/b52c2be340449664f0a122070838f6d8edd42e4a + url='https://git.centos.org/sources/device-mapper-multipath/HEAD -> c8s/b52c2be340449664f0a122070838f6d8edd42e4a' + echo 'Retrieving https://git.centos.org/sources/device-mapper-multipath/HEAD -> c8s/b52c2be340449664f0a122070838f6d8edd42e4a' + curl -L -f 'https://git.centos.org/sources/device-mapper-multipath/HEAD -> c8s/b52c2be340449664f0a122070838f6d8edd42e4a' -o SOURCES/multipath-tools-0.8.4.tgz % 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/device-mapper-multipath/c8s/b52c2be340449664f0a122070838f6d8edd42e4a + echo 'Retrieving https://git.centos.org/sources/device-mapper-multipath/c8s/b52c2be340449664f0a122070838f6d8edd42e4a' Retrieving https://git.centos.org/sources/device-mapper-multipath/c8s/b52c2be340449664f0a122070838f6d8edd42e4a + curl -L -f https://git.centos.org/sources/device-mapper-multipath/c8s/b52c2be340449664f0a122070838f6d8edd42e4a -o SOURCES/multipath-tools-0.8.4.tgz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 100 469k 0 0 6522k 0 --:--:-- --:--:-- --:--:-- 6522k + break + '[' 0 -eq 1 ']' + read -r fsha fname Finish: chroot ['get_sources.sh'] Finish: run 2022-05-22 19:05:41,999 [INFO] {31528} 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-87750-35354/root/chroot_tmpdir/scmroot/device-mapper-multipath/SPECS/device-mapper-multipath.spec) Config(dist-c8-stream-build-87750-35354) 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-87750-35354/root/chroot_tmpdir/scmroot/device-mapper-multipath/SPECS/device-mapper-multipath.spec) Config(koji/dist-c8-stream-build-87750-35354) 0 minutes 0 seconds INFO: Results and/or logs in: /var/lib/mock/dist-c8-stream-build-87750-35354/result Finish: run