-- ' --' ++ 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 -- .python-resolvelib.metadata + (( 1 == 0 )) + (( 1 > 1 )) + meta=.python-resolvelib.metadata + pn=.python-resolvelib + pn=python-resolvelib + '[' '!' -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 + '[' .2203e09b2add3d1edceb28e20b2a091e5e6c0344 = .da39a3ee5e6b4b0d3255bfef95601890afd80709 ']' + '[' 0 -eq 1 ']' + '[' -e SOURCES/resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz -a 0 -eq 1 ']' + '[' '!' -e SOURCES/resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz ']' + for br in "${branches[@]}" ++ echo HEAD '->' c8s ++ sed -e 's|remotes/origin/||' + br='HEAD -> c8s' + url='https://git.centos.org/sources/python-resolvelib/HEAD -> c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344' + echo 'Retrieving https://git.centos.org/sources/python-resolvelib/HEAD -> c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344' Retrieving https://git.centos.org/sources/python-resolvelib/HEAD -> c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344 + curl -L -f 'https://git.centos.org/sources/python-resolvelib/HEAD -> c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344' -o SOURCES/resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.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/python-resolvelib/c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344 + echo 'Retrieving https://git.centos.org/sources/python-resolvelib/c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344' Retrieving https://git.centos.org/sources/python-resolvelib/c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344 + curl -L -f https://git.centos.org/sources/python-resolvelib/c8s/2203e09b2add3d1edceb28e20b2a091e5e6c0344 -o SOURCES/resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.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 100 658k 100 658k 0 0 9140k 0 --:--:-- --:--:-- --:--:-- 9140k + break + '[' 0 -eq 1 ']' + read -r fsha fname Finish: chroot ['get_sources.sh'] Finish: run 2021-12-02 19:41:57,628 [INFO] {14282} 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-80309-31004/root/chroot_tmpdir/scmroot/python-resolvelib/SPECS/python-resolvelib.spec) Config(dist-c8-stream-build-80309-31004) 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-80309-31004/root/chroot_tmpdir/scmroot/python-resolvelib/SPECS/python-resolvelib.spec) Config(koji/dist-c8-stream-build-80309-31004) 0 minutes 0 seconds INFO: Results and/or logs in: /var/lib/mock/dist-c8-stream-build-80309-31004/result Finish: run