[ 0s] Memory limit set to 10737620KB [ 0s] Using BUILD_ROOT=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 0s] [ 0s] tumbleweed-pkg.stitny started "build python-GitPython.spec" at Thu May 11 17:12:40 UTC 2023. [ 0s] [ 0s] [ 0s] processing recipe /home/matej/build/devel:languages:python/python-GitPython/python-GitPython.spec ... [ 1s] running changelog2spec --target rpm --file /home/matej/build/devel:languages:python/python-GitPython/python-GitPython.spec [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --rpmlist /tmp/rpmlist.ii3d3kbf /home/matej/build/devel:languages:python/python-GitPython/python-GitPython.spec ... [ 1s] reordering...cycle: libncurses6 -> terminfo-base [ 1s] breaking dependency terminfo-base -> libncurses6 [ 1s] cycle: binutils -> libctf0 [ 1s] breaking dependency binutils -> libctf0 [ 1s] cycle: python310-base -> libpython3_10-1_0 [ 1s] breaking dependency python310-base -> libpython3_10-1_0 [ 1s] cycle: python311-base -> libpython3_11-1_0 [ 1s] breaking dependency python311-base -> libpython3_11-1_0 [ 1s] cycle: python39-base -> libpython3_9-1_0 [ 1s] breaking dependency python39-base -> libpython3_9-1_0 [ 1s] cycle: rpm-config-SUSE -> rpm [ 1s] breaking dependency rpm -> rpm-config-SUSE [ 1s] done [ 1s] querying package ids... [ 3s] [1/220] keeping compat-usrmerge-tools-84.87-5.13 [ 3s] [2/220] keeping crypto-policies-20210917.c9d86d1-1.12 [ 3s] [3/220] keeping file-magic-5.44-2.1 [ 3s] [4/220] keeping kernel-obs-build-6.3.1-1.1 [ 3s] [5/220] keeping libsemanage-conf-3.5-1.3 [ 3s] [6/220] keeping libssh-config-0.10.5-1.1 [ 3s] [7/220] keeping pkgconf-m4-1.8.0-2.2 [ 3s] [8/220] keeping python-rpm-macros-20230403.29b58f8-1.1 [ 3s] [9/220] keeping system-user-root-20190513-2.10 [ 3s] [10/220] keeping vim-data-common-9.0.1504-1.1 [ 3s] [11/220] keeping filesystem-84.87-12.1 [ 3s] [12/220] keeping glibc-2.37-3.1 [ 3s] [13/220] keeping diffutils-3.9-1.2 [ 3s] [14/220] keeping fillup-1.42-279.2 [ 3s] [15/220] keeping libacl1-2.3.1-2.8 [ 3s] [16/220] keeping libalternatives1-1.2+30.a5431e9-1.1 [ 3s] [17/220] keeping libatomic1-13.0.1+git7231-1.1 [ 3s] [18/220] keeping libattr1-2.5.1-1.24 [ 3s] [19/220] keeping libaudit1-3.0.9-1.2 [ 3s] [20/220] keeping libblkid1-2.38.1-12.1 [ 3s] [21/220] keeping libbrotlicommon1-1.0.9-3.3 [ 3s] [22/220] keeping libbz2-1-1.0.8-5.4 [ 3s] [23/220] deleting unwanted libcap-ng0-0.8.3-1.5 [ 3s] cumulate libcap-ng0-0.8.3-2.1 [ 3s] [24/220] keeping libcap2-2.68-1.1 [ 3s] [25/220] keeping libcbor0_10-0.10.2-1.2 [ 3s] [26/220] keeping libcom_err2-1.46.5-4.2 [ 3s] [27/220] keeping libcrypt1-4.4.33-3.1 [ 3s] [28/220] keeping libeconf0-0.5.2-1.1 [ 3s] [29/220] keeping libexpat1-2.5.0-2.2 [ 3s] [30/220] keeping libffi8-3.4.4-1.2 [ 3s] [31/220] keeping libgcc_s1-13.0.1+git7231-1.1 [ 3s] [32/220] keeping libgdbm6-1.23-1.11 [ 3s] [33/220] keeping libgmp10-6.2.1-4.12 [ 3s] [34/220] keeping libgomp1-13.0.1+git7231-1.1 [ 3s] [35/220] keeping libgpg-error0-1.47-1.1 [ 3s] [36/220] keeping libitm1-13.0.1+git7231-1.1 [ 3s] [37/220] keeping libkeyutils1-1.6.3-6.1 [ 3s] [38/220] keeping liblua5_4-5-5.4.4-10.1 [ 3s] [39/220] keeping liblzma5-5.4.3-1.1 [ 3s] [40/220] keeping libmpdec3-2.5.1-2.13 [ 3s] [41/220] keeping libnghttp2-14-1.52.0-1.1 [ 3s] [42/220] keeping libpcre2-8-0-10.42-3.7 [ 3s] [43/220] keeping libpkgconf3-1.8.0-2.2 [ 3s] [44/220] keeping libpopt0-1.19-1.2 [ 3s] [45/220] keeping libsasl2-3-2.1.28-5.1 [ 3s] [46/220] keeping libseccomp2-2.5.4-2.4 [ 3s] [47/220] keeping libsepol2-3.5-1.2 [ 3s] [48/220] keeping libsha1detectcoll1-1.0.3-4.18 [ 3s] [49/220] keeping libsmartcols1-2.38.1-12.1 [ 3s] [50/220] keeping libtextstyle0-0.21.1-2.1 [ 3s] [51/220] keeping libunistring5-1.1-2.1 [ 3s] [52/220] keeping libuuid1-2.38.1-12.1 [ 3s] [53/220] keeping libverto1-0.3.2-3.1 [ 3s] [54/220] keeping libz1-1.2.13-4.1 [ 3s] [55/220] keeping libzstd1-1.5.5-1.1 [ 3s] [56/220] keeping patch-2.7.6-6.5 [ 3s] [57/220] keeping update-alternatives-1.21.8-1.5 [ 3s] [58/220] keeping xxd-9.0.1504-1.1 [ 3s] [59/220] keeping alts-1.2+30.a5431e9-1.1 [ 3s] [60/220] keeping attr-2.5.1-1.24 [ 3s] [61/220] keeping libbrotlidec1-1.0.9-3.3 [ 3s] [62/220] keeping libctf-nobfd0-2.40-4.2 [ 3s] [63/220] keeping libgcrypt20-1.10.2-1.1 [ 3s] [64/220] keeping libgdbm_compat4-1.23-1.11 [ 3s] [65/220] keeping libglib-2_0-0-2.76.2-1.1 [ 3s] [66/220] keeping libidn2-0-2.3.4-1.2 [ 3s] [67/220] keeping libisl23-0.26-1.1 [ 3s] [68/220] keeping libmpfr6-4.2.0-2.1 [ 3s] [69/220] keeping libselinux1-3.5-2.1 [ 3s] [70/220] keeping libstdc++6-13.0.1+git7231-1.1 [ 3s] [71/220] keeping libudev1-253.4-1.1 [ 3s] [72/220] keeping perl-base-5.36.0-4.2 [ 3s] [73/220] keeping pkgconf-1.8.0-2.2 [ 3s] [74/220] keeping chkstat-1699_20230424-1.1 [ 3s] [75/220] keeping libelf1-0.189-3.1 [ 3s] [76/220] keeping libfdisk1-2.38.1-12.1 [ 3s] [77/220] keeping libopenssl3-3.0.8-2.4 [ 3s] [78/220] keeping libxml2-2-2.10.4-2.1 [ 3s] [79/220] keeping libmagic1-5.44-2.1 [ 3s] [80/220] keeping build-mkbaselibs-20230502-1.1 [ 3s] [81/220] keeping rpm-build-perl-4.18.0-4.2 [ 3s] [82/220] keeping dwz-0.15-2.2 [ 3s] [83/220] keeping findutils-4.9.0-2.2 [ 3s] [84/220] keeping libgmodule-2_0-0-2.76.2-1.1 [ 3s] [85/220] keeping libhidapi-hidraw0-0.13.1-1.2 [ 3s] [86/220] keeping fdupes-2.2.1-1.2 [ 3s] [87/220] keeping file-5.44-2.1 [ 3s] [88/220] keeping libasan8-13.0.1+git7231-1.1 [ 3s] [89/220] keeping libdb-4_8-4.8.30-41.1 [ 3s] [90/220] keeping libhwasan0-13.0.1+git7231-1.1 [ 3s] [91/220] keeping libldap2-2.6.4-1.1 [ 3s] [92/220] keeping liblsan0-13.0.1+git7231-1.1 [ 3s] [93/220] keeping libmount1-2.38.1-12.1 [ 3s] [94/220] keeping libmpc3-1.3.1-1.2 [ 3s] [95/220] keeping libpsl5-0.21.2-1.2 [ 3s] [96/220] keeping libsource-highlight4-3.1.9-5.6 [ 3s] [97/220] keeping libsubid4-4.13-6.1 [ 3s] [98/220] keeping libtsan2-13.0.1+git7231-1.1 [ 3s] [99/220] keeping libubsan1-13.0.1+git7231-1.1 [ 3s] [100/220] keeping sed-4.9-2.2 [ 3s] [101/220] keeping tar-1.34-10.2 [ 3s] [102/220] keeping openssh-common-8.9p1-9.1 [ 3s] [103/220] keeping krb5-1.20.1-6.1 [ 3s] [104/220] deleting unwanted libdw1-0.189-2.2 [ 3s] cumulate libdw1-0.189-3.1 [ 3s] [105/220] keeping libsemanage2-3.5-1.3 [ 3s] [106/220] deleting unwanted libasm1-0.189-2.2 [ 3s] cumulate libasm1-0.189-3.1 [ 3s] [107/220] keeping libssh4-0.10.5-1.1 [ 3s] [108/220] keeping libfido2-1-1.13.0-1.2 [ 3s] [109/220] keeping babeltrace-1.5.8-3.6 [ 3s] [110/220] keeping cpp13-13.0.1+git7231-1.1 [ 3s] [111/220] keeping perl-5.36.0-4.2 [ 3s] [112/220] keeping brp-check-suse-84.87+git20230324.8680ce4-1.1 [ 3s] [113/220] keeping libcurl4-8.0.1-1.1 [ 3s] [114/220] deleting unwanted libdebuginfod1-0.189-2.2 [ 3s] cumulate libdebuginfod1-0.189-3.1 [ 3s] [115/220] deleting unwanted terminfo-base-6.4.20230429-11.1 [ 3s] cumulate terminfo-base-6.4.20230506-12.1 [ 3s] [116/220] keeping libncurses6-6.4.20230506-12.1 [ 3s] [117/220] keeping libedit0-20210910.3.1-2.1 [ 3s] [118/220] keeping libreadline8-8.2-2.2 [ 3s] [119/220] deleting unwanted ncurses-utils-6.4.20230429-11.1 [ 4s] cumulate ncurses-utils-6.4.20230506-12.1 [ 4s] [120/220] keeping bash-5.2.15-8.2 [ 4s] [121/220] keeping bash-sh-5.2.15-8.2 [ 4s] [122/220] keeping grep-3.10-1.1 [ 4s] [123/220] keeping login_defs-4.13-6.1 [ 4s] [124/220] keeping sysuser-shadow-3.1-5.2 [ 4s] [125/220] keeping cpio-2.13-5.2 [ 4s] [126/220] keeping cpp-13-1.2 [ 4s] [127/220] keeping make-4.4.1-2.1 [ 4s] [128/220] keeping which-2.21-5.8 [ 4s] [129/220] keeping bzip2-1.0.8-5.4 [ 4s] [130/220] keeping gzip-1.12-3.2 [ 4s] [131/220] keeping pkgconf-pkg-config-1.8.0-2.2 [ 4s] [132/220] keeping strace-6.3-1.1 [ 4s] [133/220] keeping xz-5.4.3-1.1 [ 4s] [134/220] keeping gawk-5.2.1-2.2 [ 4s] [135/220] keeping gettext-runtime-0.21.1-2.1 [ 4s] [136/220] keeping lua54-5.4.4-10.1 [ 4s] [137/220] deleting unwanted elfutils-0.189-2.2 [ 4s] cumulate elfutils-0.189-3.1 [ 4s] [138/220] keeping coreutils-9.3-1.1 [ 4s] [139/220] keeping openssh-clients-8.9p1-9.1 [ 4s] [140/220] keeping vim-9.0.1504-1.1 [ 4s] [141/220] keeping python310-base-3.10.10-2.2 [ 4s] [142/220] keeping python311-base-3.11.2-1.3 [ 4s] [143/220] keeping python39-base-3.9.16-6.1 [ 4s] [144/220] keeping compat-usrmerge-build-84.87-5.13 [ 4s] [145/220] deleting unwanted python310-attrs-23.1.0-44.18 [ 4s] cumulate python310-attrs-23.1.0-44.19 [ 4s] [146/220] keeping python310-ddt-1.6.0-40.1 [ 4s] [147/220] keeping python310-exceptiongroup-1.1.1-14.2 [ 4s] [148/220] keeping python310-iniconfig-2.0.0-21.3 [ 4s] [149/220] keeping python310-packaging-23.1-77.1 [ 4s] [150/220] keeping python310-pluggy-1.0.0-2.1 [ 4s] [151/220] deleting unwanted python310-smmap-5.0.0-38.17 [ 4s] cumulate python310-smmap-5.0.0-38.18 [ 4s] [152/220] keeping python310-tomli-2.0.1-14.1 [ 4s] [153/220] keeping python310-zipp-3.15.0-39.2 [ 4s] [154/220] deleting unwanted python311-attrs-23.1.0-44.18 [ 4s] cumulate python311-attrs-23.1.0-44.19 [ 4s] [155/220] keeping python311-ddt-1.6.0-40.1 [ 4s] [156/220] keeping python311-exceptiongroup-1.1.1-14.2 [ 4s] [157/220] keeping python311-iniconfig-2.0.0-21.3 [ 4s] [158/220] keeping python311-packaging-23.1-77.1 [ 4s] [159/220] keeping python311-pluggy-1.0.0-2.1 [ 4s] [160/220] deleting unwanted python311-smmap-5.0.0-38.17 [ 4s] cumulate python311-smmap-5.0.0-38.18 [ 4s] [161/220] keeping python311-tomli-2.0.1-14.1 [ 4s] [162/220] keeping python311-zipp-3.15.0-39.2 [ 4s] [163/220] deleting unwanted python39-attrs-23.1.0-44.18 [ 4s] cumulate python39-attrs-23.1.0-44.19 [ 4s] [164/220] keeping python39-ddt-1.6.0-40.1 [ 4s] [165/220] keeping python39-exceptiongroup-1.1.1-14.2 [ 4s] [166/220] keeping python39-iniconfig-2.0.0-21.3 [ 4s] [167/220] keeping python39-packaging-23.1-77.1 [ 4s] [168/220] keeping python39-pluggy-1.0.0-2.1 [ 4s] [169/220] deleting unwanted python39-smmap-5.0.0-38.17 [ 4s] cumulate python39-smmap-5.0.0-38.18 [ 4s] [170/220] keeping python39-tomli-2.0.1-14.1 [ 4s] [171/220] keeping python39-zipp-3.15.0-39.2 [ 4s] [172/220] keeping systemd-rpm-macros-20-1.1 [ 4s] [173/220] keeping libpython3_10-1_0-3.10.10-2.2 [ 4s] [174/220] keeping libpython3_11-1_0-3.11.2-1.3 [ 4s] [175/220] keeping libpython3_9-1_0-3.9.16-6.1 [ 4s] [176/220] keeping libxcrypt-devel-4.4.33-3.1 [ 4s] [177/220] keeping linux-glibc-devel-6.3-1.1 [ 4s] [178/220] keeping python310-setuptools-67.7.2-226.1 [ 4s] [179/220] keeping python311-setuptools-67.7.2-226.1 [ 4s] [180/220] keeping python39-setuptools-67.7.2-226.1 [ 4s] [181/220] keeping system-group-hardware-20170617-24.12 [ 4s] [182/220] keeping glibc-locale-base-2.37-3.1 [ 4s] [183/220] keeping permissions-config-1699_20230424-1.1 [ 4s] [184/220] keeping polkit-default-privs-1550+20230307.7f42172-1.1 [ 4s] [185/220] keeping less-633-1.1 [ 4s] [186/220] keeping gettext-tools-0.21.1-2.1 [ 4s] [187/220] keeping aaa_base-84.87+git20230329.b39efbc-1.1 [ 4s] [188/220] keeping binutils-2.40-4.2 [ 4s] [189/220] keeping rpm-4.18.0-4.2 [ 4s] [190/220] keeping aaa_base-malloccheck-84.87+git20230329.b39efbc-1.1 [ 4s] [191/220] keeping permissions-1699_20230424-1.1 [ 4s] [192/220] keeping python310-gitdb-4.0.10-19.20 [ 4s] [193/220] keeping python310-importlib-metadata-6.6.0-44.2 [ 4s] [194/220] keeping python311-gitdb-4.0.10-19.20 [ 4s] [195/220] keeping python311-importlib-metadata-6.6.0-44.2 [ 4s] [196/220] keeping python39-gitdb-4.0.10-19.20 [ 4s] [197/220] keeping python39-importlib-metadata-6.6.0-44.2 [ 4s] [198/220] keeping glibc-devel-2.37-3.1 [ 4s] [199/220] keeping libctf0-2.40-4.2 [ 4s] [200/220] keeping rpm-config-SUSE-20220926-1.3 [ 4s] [201/220] keeping python-rpm-packaging-20210526+a18ca48-1.5 [ 4s] [202/220] deleting unwanted rpmlint-mini-2.4.0+git20230502.1ab1dde-10.17 [ 5s] cumulate rpmlint-mini-2.4.0+git20230509.6f11a918-10.18 [ 5s] [203/220] keeping build-compare-20230428T221133.82ffb27-1.1 [ 5s] [204/220] keeping librpmbuild9-4.18.0-4.2 [ 5s] [205/220] keeping git-core-2.40.1-1.1 [ 5s] [206/220] keeping debugedit-5.0-5.2 [ 5s] [207/220] keeping gdb-12.1-7.1 [ 5s] [208/220] keeping libutempter0-1.2.1-1.1 [ 5s] [209/220] keeping pam-1.5.2.90-1.1 [ 5s] [210/220] keeping post-build-checks-84.87+git20230328.de7e9df-1.1 [ 5s] [211/220] keeping python310-pytest-7.3.1-1.1 [ 5s] [212/220] keeping python311-pytest-7.3.1-1.1 [ 5s] [213/220] keeping python39-pytest-7.3.1-1.1 [ 5s] [214/220] keeping gcc13-13.0.1+git7231-1.1 [ 5s] [215/220] keeping gcc13-PIE-13.0.1+git7231-1.1 [ 5s] [216/220] keeping gcc-13-1.2 [ 5s] [217/220] keeping shadow-4.13-6.1 [ 5s] [218/220] keeping util-linux-2.38.1-12.1 [ 5s] [219/220] keeping gcc-PIE-13-1.2 [ 5s] [220/220] keeping rpm-build-4.18.0-4.2 [ 5s] now installing cumulated packages [ 5s] Preparing... ######################################## [ 5s] Updating / installing... [ 5s] libdw1-0.189-3.1 ######################################## [ 5s] libasm1-0.189-3.1 ######################################## [ 5s] elfutils-0.189-3.1 ######################################## [ 5s] rpmlint-mini-2.4.0+git20230509.6f11a91######################################## [ 5s] python39-smmap-5.0.0-38.18 ######################################## [ 5s] python39-attrs-23.1.0-44.19 ######################################## [ 5s] python311-smmap-5.0.0-38.18 ######################################## [ 5s] python311-attrs-23.1.0-44.19 ######################################## [ 5s] python310-smmap-5.0.0-38.18 ######################################## [ 5s] python310-attrs-23.1.0-44.19 ######################################## [ 5s] ncurses-utils-6.4.20230506-12.1 ######################################## [ 5s] terminfo-base-6.4.20230506-12.1 ######################################## [ 5s] libdebuginfod1-0.189-3.1 ######################################## [ 5s] libcap-ng0-0.8.3-2.1 ######################################## [ 6s] now finalizing build dir... [ 6s] ... running 01-add_abuild_user_to_trusted_group [ 6s] ... running 02-set_timezone_to_utc [ 6s] ... running 03-set-permissions-secure [ 6s] ... running 11-hack_uname_version_to_kernel_version [ 6s] cp: -r not specified; omitting directory '/home/matej/build/devel:languages:python/python-GitPython/GitPython-3.1.31.1676565040.f253335' [ 6s] Running build time source services... [ 6s] ----------------------------------------------------------------- [ 6s] I have the following modifications for python-GitPython.spec: [ 7s] ----------------------------------------------------------------- [ 7s] ----- building python-GitPython.spec (user abuild) [ 7s] ----------------------------------------------------------------- [ 7s] ----------------------------------------------------------------- [ 7s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-GitPython.spec [ 8s] setting SOURCE_DATE_EPOCH=1683763200 [ 8s] Executing(%prep): /usr/bin/bash -e /var/tmp/rpm-tmp.QDdzP6 [ 8s] + umask 022 [ 8s] + cd /home/abuild/rpmbuild/BUILD [ 8s] + cd /home/abuild/rpmbuild/BUILD [ 8s] + rm -rf GitPython-3.1.31.1676565040.f253335 [ 8s] + /usr/lib/rpm/rpmuncompress -x /home/abuild/rpmbuild/SOURCES/GitPython-3.1.31.1676565040.f253335.tar.xz [ 8s] + STATUS=0 [ 8s] + '[' 0 -ne 0 ']' [ 8s] + cd GitPython-3.1.31.1676565040.f253335 [ 8s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 8s] + /usr/lib/rpm/rpmuncompress /home/abuild/rpmbuild/SOURCES/test-skips.patch [ 8s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f [ 8s] + /usr/lib/rpm/rpmuncompress /home/abuild/rpmbuild/SOURCES/test_blocking_lock_file-extra-time.patch [ 8s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f [ 8s] + sed -i -e /tox/d -e /flake8/d -e /coverage/d test-requirements.txt [ 8s] + sed -i -e /addopts/d pyproject.toml [ 8s] + RPM_EC=0 [ 8s] ++ jobs -p [ 8s] + exit 0 [ 8s] Executing(%build): /usr/bin/bash -e /var/tmp/rpm-tmp.Mttluy [ 8s] + umask 022 [ 8s] + cd /home/abuild/rpmbuild/BUILD [ 8s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 [ 8s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 [ 8s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 8s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 [ 8s] + cd GitPython-3.1.31.1676565040.f253335 [ 8s] ++ '[' -f _current_flavor ']' [ 8s] ++ true [ 8s] + last_flavor= [ 8s] + '[' -z '' ']' [ 8s] + last_flavor=tmp [ 8s] + '[' tmp '!=' python39 ']' [ 8s] + '[' -d build ']' [ 8s] + '[' -d _build.python39 ']' [ 8s] + echo python39 [ 8s] + python_flavor=python39 [ 8s] + /usr/bin/python3.9 setup.py build '--executable=/usr/bin/python3.9 -s' [ 8s] running build [ 8s] running build_py [ 8s] creating build [ 8s] creating build/lib [ 8s] creating build/lib/git [ 8s] copying git/__init__.py -> build/lib/git [ 8s] copying git/remote.py -> build/lib/git [ 8s] creating build/lib/git/repo [ 8s] copying git/repo/__init__.py -> build/lib/git/repo [ 8s] copying git/repo/fun.py -> build/lib/git/repo [ 8s] copying git/repo/base.py -> build/lib/git/repo [ 8s] creating build/lib/git/objects [ 8s] creating build/lib/git/objects/submodule [ 8s] copying git/objects/submodule/__init__.py -> build/lib/git/objects/submodule [ 8s] copying git/objects/submodule/root.py -> build/lib/git/objects/submodule [ 8s] copying git/objects/__init__.py -> build/lib/git/objects [ 8s] copying git/objects/commit.py -> build/lib/git/objects [ 8s] copying git/db.py -> build/lib/git [ 8s] copying git/exc.py -> build/lib/git [ 8s] creating build/lib/git/index [ 8s] copying git/index/__init__.py -> build/lib/git/index [ 8s] copying git/index/typ.py -> build/lib/git/index [ 8s] copying git/compat.py -> build/lib/git [ 8s] copying git/objects/base.py -> build/lib/git/objects [ 8s] copying git/objects/fun.py -> build/lib/git/objects [ 8s] copying git/objects/blob.py -> build/lib/git/objects [ 8s] copying git/types.py -> build/lib/git [ 8s] copying git/objects/submodule/base.py -> build/lib/git/objects/submodule [ 8s] creating build/lib/git/refs [ 8s] copying git/refs/__init__.py -> build/lib/git/refs [ 8s] copying git/refs/log.py -> build/lib/git/refs [ 8s] copying git/refs/head.py -> build/lib/git/refs [ 8s] copying git/objects/tag.py -> build/lib/git/objects [ 8s] copying git/config.py -> build/lib/git [ 8s] copying git/index/fun.py -> build/lib/git/index [ 8s] copying git/refs/reference.py -> build/lib/git/refs [ 8s] copying git/objects/submodule/util.py -> build/lib/git/objects/submodule [ 8s] copying git/index/base.py -> build/lib/git/index [ 8s] copying git/refs/remote.py -> build/lib/git/refs [ 8s] copying git/index/util.py -> build/lib/git/index [ 8s] copying git/objects/tree.py -> build/lib/git/objects [ 8s] copying git/cmd.py -> build/lib/git [ 8s] copying git/objects/util.py -> build/lib/git/objects [ 8s] copying git/refs/symbolic.py -> build/lib/git/refs [ 8s] copying git/refs/tag.py -> build/lib/git/refs [ 8s] copying git/util.py -> build/lib/git [ 8s] copying git/diff.py -> build/lib/git [ 8s] running egg_info [ 8s] creating GitPython.egg-info [ 8s] writing GitPython.egg-info/PKG-INFO [ 8s] writing dependency_links to GitPython.egg-info/dependency_links.txt [ 8s] writing requirements to GitPython.egg-info/requires.txt [ 8s] writing top-level names to GitPython.egg-info/top_level.txt [ 8s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 8s] reading manifest file 'GitPython.egg-info/SOURCES.txt' [ 8s] reading manifest template 'MANIFEST.in' [ 8s] warning: no previously-included files matching '__pycache__' found anywhere in distribution [ 8s] warning: no previously-included files matching '*.pyc' found anywhere in distribution [ 8s] adding license file 'LICENSE' [ 8s] adding license file 'AUTHORS' [ 8s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 8s] copying git/py.typed -> build/lib/git [ 8s] ++ '[' -f _current_flavor ']' [ 8s] ++ cat _current_flavor [ 8s] + last_flavor=python39 [ 8s] + '[' -z python39 ']' [ 8s] + '[' python39 '!=' python311 ']' [ 8s] + '[' -d build ']' [ 8s] + mv build _build.python39 [ 8s] + '[' -d _build.python311 ']' [ 8s] + echo python311 [ 8s] + python_flavor=python311 [ 8s] + /usr/bin/python3.11 setup.py build '--executable=/usr/bin/python3.11 -s' [ 8s] running build [ 8s] running build_py [ 8s] creating build [ 8s] creating build/lib [ 8s] creating build/lib/git [ 8s] creating build/lib/git/index [ 8s] copying git/index/__init__.py -> build/lib/git/index [ 8s] copying git/index/base.py -> build/lib/git/index [ 8s] creating build/lib/git/refs [ 8s] copying git/refs/__init__.py -> build/lib/git/refs [ 8s] copying git/refs/remote.py -> build/lib/git/refs [ 8s] creating build/lib/git/objects [ 8s] copying git/objects/__init__.py -> build/lib/git/objects [ 8s] copying git/objects/commit.py -> build/lib/git/objects [ 8s] copying git/objects/tag.py -> build/lib/git/objects [ 8s] copying git/__init__.py -> build/lib/git [ 8s] copying git/cmd.py -> build/lib/git [ 8s] copying git/objects/fun.py -> build/lib/git/objects [ 8s] creating build/lib/git/repo [ 8s] copying git/repo/__init__.py -> build/lib/git/repo [ 8s] copying git/index/fun.py -> build/lib/git/index [ 8s] copying git/objects/tree.py -> build/lib/git/objects [ 8s] creating build/lib/git/objects/submodule [ 8s] copying git/objects/submodule/__init__.py -> build/lib/git/objects/submodule [ 8s] copying git/compat.py -> build/lib/git [ 8s] copying git/objects/base.py -> build/lib/git/objects [ 8s] copying git/index/typ.py -> build/lib/git/index [ 8s] copying git/db.py -> build/lib/git [ 8s] copying git/types.py -> build/lib/git [ 8s] copying git/refs/reference.py -> build/lib/git/refs [ 8s] copying git/objects/submodule/util.py -> build/lib/git/objects/submodule [ 8s] copying git/diff.py -> build/lib/git [ 8s] copying git/objects/blob.py -> build/lib/git/objects [ 8s] copying git/refs/head.py -> build/lib/git/refs [ 8s] copying git/config.py -> build/lib/git [ 8s] copying git/refs/tag.py -> build/lib/git/refs [ 8s] copying git/objects/submodule/base.py -> build/lib/git/objects/submodule [ 8s] copying git/objects/util.py -> build/lib/git/objects [ 8s] copying git/repo/base.py -> build/lib/git/repo [ 8s] copying git/refs/log.py -> build/lib/git/refs [ 8s] copying git/refs/symbolic.py -> build/lib/git/refs [ 8s] copying git/objects/submodule/root.py -> build/lib/git/objects/submodule [ 8s] copying git/exc.py -> build/lib/git [ 8s] copying git/repo/fun.py -> build/lib/git/repo [ 8s] copying git/util.py -> build/lib/git [ 8s] copying git/remote.py -> build/lib/git [ 8s] copying git/index/util.py -> build/lib/git/index [ 8s] running egg_info [ 8s] writing GitPython.egg-info/PKG-INFO [ 8s] writing dependency_links to GitPython.egg-info/dependency_links.txt [ 8s] writing requirements to GitPython.egg-info/requires.txt [ 8s] writing top-level names to GitPython.egg-info/top_level.txt [ 8s] reading manifest file 'GitPython.egg-info/SOURCES.txt' [ 8s] reading manifest template 'MANIFEST.in' [ 8s] warning: no previously-included files matching '__pycache__' found anywhere in distribution [ 8s] warning: no previously-included files matching '*.pyc' found anywhere in distribution [ 8s] adding license file 'LICENSE' [ 8s] adding license file 'AUTHORS' [ 8s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 8s] copying git/py.typed -> build/lib/git [ 8s] ++ '[' -f _current_flavor ']' [ 8s] ++ cat _current_flavor [ 8s] + last_flavor=python311 [ 8s] + '[' -z python311 ']' [ 8s] + '[' python311 '!=' python310 ']' [ 8s] + '[' -d build ']' [ 8s] + mv build _build.python311 [ 8s] + '[' -d _build.python310 ']' [ 8s] + echo python310 [ 8s] + python_flavor=python310 [ 8s] + /usr/bin/python3.10 setup.py build '--executable=/usr/bin/python3.10 -s' [ 9s] running build [ 9s] running build_py [ 9s] creating build [ 9s] creating build/lib [ 9s] creating build/lib/git [ 9s] copying git/__init__.py -> build/lib/git [ 9s] copying git/remote.py -> build/lib/git [ 9s] creating build/lib/git/repo [ 9s] copying git/repo/__init__.py -> build/lib/git/repo [ 9s] copying git/repo/fun.py -> build/lib/git/repo [ 9s] copying git/repo/base.py -> build/lib/git/repo [ 9s] creating build/lib/git/objects [ 9s] creating build/lib/git/objects/submodule [ 9s] copying git/objects/submodule/__init__.py -> build/lib/git/objects/submodule [ 9s] copying git/objects/submodule/root.py -> build/lib/git/objects/submodule [ 9s] copying git/objects/__init__.py -> build/lib/git/objects [ 9s] copying git/objects/commit.py -> build/lib/git/objects [ 9s] copying git/db.py -> build/lib/git [ 9s] copying git/exc.py -> build/lib/git [ 9s] creating build/lib/git/index [ 9s] copying git/index/__init__.py -> build/lib/git/index [ 9s] copying git/index/typ.py -> build/lib/git/index [ 9s] copying git/compat.py -> build/lib/git [ 9s] copying git/objects/base.py -> build/lib/git/objects [ 9s] copying git/objects/fun.py -> build/lib/git/objects [ 9s] copying git/objects/blob.py -> build/lib/git/objects [ 9s] copying git/types.py -> build/lib/git [ 9s] copying git/objects/submodule/base.py -> build/lib/git/objects/submodule [ 9s] creating build/lib/git/refs [ 9s] copying git/refs/__init__.py -> build/lib/git/refs [ 9s] copying git/refs/log.py -> build/lib/git/refs [ 9s] copying git/refs/head.py -> build/lib/git/refs [ 9s] copying git/objects/tag.py -> build/lib/git/objects [ 9s] copying git/config.py -> build/lib/git [ 9s] copying git/index/fun.py -> build/lib/git/index [ 9s] copying git/refs/reference.py -> build/lib/git/refs [ 9s] copying git/objects/submodule/util.py -> build/lib/git/objects/submodule [ 9s] copying git/index/base.py -> build/lib/git/index [ 9s] copying git/refs/remote.py -> build/lib/git/refs [ 9s] copying git/index/util.py -> build/lib/git/index [ 9s] copying git/objects/tree.py -> build/lib/git/objects [ 9s] copying git/cmd.py -> build/lib/git [ 9s] copying git/objects/util.py -> build/lib/git/objects [ 9s] copying git/refs/symbolic.py -> build/lib/git/refs [ 9s] copying git/refs/tag.py -> build/lib/git/refs [ 9s] copying git/util.py -> build/lib/git [ 9s] copying git/diff.py -> build/lib/git [ 9s] running egg_info [ 9s] writing GitPython.egg-info/PKG-INFO [ 9s] writing dependency_links to GitPython.egg-info/dependency_links.txt [ 9s] writing requirements to GitPython.egg-info/requires.txt [ 9s] writing top-level names to GitPython.egg-info/top_level.txt [ 9s] reading manifest file 'GitPython.egg-info/SOURCES.txt' [ 9s] reading manifest template 'MANIFEST.in' [ 9s] warning: no previously-included files matching '__pycache__' found anywhere in distribution [ 9s] warning: no previously-included files matching '*.pyc' found anywhere in distribution [ 9s] adding license file 'LICENSE' [ 9s] adding license file 'AUTHORS' [ 9s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 9s] copying git/py.typed -> build/lib/git [ 9s] + RPM_EC=0 [ 9s] ++ jobs -p [ 9s] + exit 0 [ 9s] Executing(%install): /usr/bin/bash -e /var/tmp/rpm-tmp.SzmITE [ 9s] + umask 022 [ 9s] + cd /home/abuild/rpmbuild/BUILD [ 9s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 [ 9s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 9s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 [ 9s] + cd GitPython-3.1.31.1676565040.f253335 [ 9s] ++ '[' -f _current_flavor ']' [ 9s] ++ cat _current_flavor [ 9s] + last_flavor=python310 [ 9s] + '[' -z python310 ']' [ 9s] + '[' python310 '!=' python39 ']' [ 9s] + '[' -d build ']' [ 9s] + mv build _build.python310 [ 9s] + '[' -d _build.python39 ']' [ 9s] + mv _build.python39 build [ 9s] + echo python39 [ 9s] + python_flavor=python39 [ 9s] + /usr/bin/python3.9 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 --prefix /usr [ 9s] running install [ 9s] /usr/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. [ 9s] !! [ 9s] [ 9s] ******************************************************************************** [ 9s] Please avoid running ``setup.py`` directly. [ 9s] Instead, use pypa/build, pypa/installer, pypa/build or [ 9s] other standards-based tools. [ 9s] [ 9s] See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. [ 9s] ******************************************************************************** [ 9s] [ 9s] !! [ 9s] self.initialize_options() [ 9s] running install_lib [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9 [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/remote.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo [ 9s] copying build/lib/git/repo/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo [ 9s] copying build/lib/git/repo/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo [ 9s] copying build/lib/git/repo/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/root.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/commit.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/blob.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/tag.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/tree.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/objects/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects [ 9s] copying build/lib/git/db.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/exc.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index [ 9s] copying build/lib/git/index/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index [ 9s] copying build/lib/git/index/typ.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index [ 9s] copying build/lib/git/index/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index [ 9s] copying build/lib/git/index/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index [ 9s] copying build/lib/git/index/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index [ 9s] copying build/lib/git/compat.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/types.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/log.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/head.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/reference.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/remote.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/symbolic.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/refs/tag.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs [ 9s] copying build/lib/git/config.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/cmd.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/diff.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] copying build/lib/git/py.typed -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__init__.py to __init__.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/remote.py to remote.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo/__init__.py to __init__.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo/fun.py to fun.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo/base.py to base.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__init__.py to __init__.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/root.py to root.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/base.py to base.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/util.py to util.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__init__.py to __init__.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/commit.py to commit.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/base.py to base.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/fun.py to fun.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/blob.py to blob.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/tag.py to tag.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/tree.py to tree.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/util.py to util.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/db.py to db.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/exc.py to exc.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__init__.py to __init__.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/typ.py to typ.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/fun.py to fun.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/base.py to base.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/util.py to util.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/compat.py to compat.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/types.py to types.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__init__.py to __init__.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/log.py to log.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/head.py to head.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/reference.py to reference.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/remote.py to remote.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/symbolic.py to symbolic.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/tag.py to tag.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/config.py to config.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/cmd.py to cmd.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/util.py to util.cpython-39.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/diff.py to diff.cpython-39.pyc [ 9s] writing byte-compilation script '/tmp/tmp54mtzwvo.py' [ 9s] /usr/bin/python3.9 /tmp/tmp54mtzwvo.py [ 9s] removing /tmp/tmp54mtzwvo.py [ 9s] running install_egg_info [ 9s] running egg_info [ 9s] writing GitPython.egg-info/PKG-INFO [ 9s] writing dependency_links to GitPython.egg-info/dependency_links.txt [ 9s] writing requirements to GitPython.egg-info/requires.txt [ 9s] writing top-level names to GitPython.egg-info/top_level.txt [ 9s] reading manifest file 'GitPython.egg-info/SOURCES.txt' [ 9s] reading manifest template 'MANIFEST.in' [ 9s] warning: no previously-included files matching '__pycache__' found anywhere in distribution [ 9s] warning: no previously-included files matching '*.pyc' found anywhere in distribution [ 9s] adding license file 'LICENSE' [ 9s] adding license file 'AUTHORS' [ 9s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 9s] Copying GitPython.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/GitPython-3.1.31-py3.9.egg-info [ 9s] running install_scripts [ 9s] ++ '[' -f _current_flavor ']' [ 9s] ++ cat _current_flavor [ 9s] + last_flavor=python39 [ 9s] + '[' -z python39 ']' [ 9s] + '[' python39 '!=' python311 ']' [ 9s] + '[' -d build ']' [ 9s] + mv build _build.python39 [ 9s] + '[' -d _build.python311 ']' [ 9s] + mv _build.python311 build [ 9s] + echo python311 [ 9s] + python_flavor=python311 [ 9s] + /usr/bin/python3.11 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 --prefix /usr [ 9s] running install [ 9s] /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. [ 9s] !! [ 9s] [ 9s] ******************************************************************************** [ 9s] Please avoid running ``setup.py`` directly. [ 9s] Instead, use pypa/build, pypa/installer, pypa/build or [ 9s] other standards-based tools. [ 9s] [ 9s] See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. [ 9s] ******************************************************************************** [ 9s] [ 9s] !! [ 9s] self.initialize_options() [ 9s] running install_lib [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11 [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index [ 9s] copying build/lib/git/index/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index [ 9s] copying build/lib/git/index/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index [ 9s] copying build/lib/git/index/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index [ 9s] copying build/lib/git/index/typ.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index [ 9s] copying build/lib/git/index/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/remote.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/reference.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/head.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/tag.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/log.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] copying build/lib/git/refs/symbolic.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/commit.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/tag.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/tree.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/submodule/root.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule [ 9s] copying build/lib/git/objects/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/blob.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/objects/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects [ 9s] copying build/lib/git/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/cmd.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo [ 9s] copying build/lib/git/repo/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo [ 9s] copying build/lib/git/repo/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo [ 9s] copying build/lib/git/repo/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo [ 9s] copying build/lib/git/compat.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/db.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/types.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/diff.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/config.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/exc.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/remote.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] copying build/lib/git/py.typed -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__init__.py to __init__.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/base.py to base.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/fun.py to fun.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/typ.py to typ.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/util.py to util.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__init__.py to __init__.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/remote.py to remote.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/reference.py to reference.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/head.py to head.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/tag.py to tag.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/log.py to log.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/symbolic.py to symbolic.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__init__.py to __init__.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/commit.py to commit.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/tag.py to tag.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/fun.py to fun.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/tree.py to tree.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__init__.py to __init__.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/util.py to util.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/base.py to base.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/root.py to root.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/base.py to base.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/blob.py to blob.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/util.py to util.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__init__.py to __init__.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/cmd.py to cmd.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__init__.py to __init__.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/base.py to base.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/fun.py to fun.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/compat.py to compat.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/db.py to db.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/types.py to types.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/diff.py to diff.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/config.py to config.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/exc.py to exc.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/util.py to util.cpython-311.pyc [ 9s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/remote.py to remote.cpython-311.pyc [ 9s] writing byte-compilation script '/tmp/tmpdq3rwcs5.py' [ 9s] /usr/bin/python3.11 /tmp/tmpdq3rwcs5.py [ 10s] removing /tmp/tmpdq3rwcs5.py [ 10s] running install_egg_info [ 10s] running egg_info [ 10s] writing GitPython.egg-info/PKG-INFO [ 10s] writing dependency_links to GitPython.egg-info/dependency_links.txt [ 10s] writing requirements to GitPython.egg-info/requires.txt [ 10s] writing top-level names to GitPython.egg-info/top_level.txt [ 10s] reading manifest file 'GitPython.egg-info/SOURCES.txt' [ 10s] reading manifest template 'MANIFEST.in' [ 10s] warning: no previously-included files matching '__pycache__' found anywhere in distribution [ 10s] warning: no previously-included files matching '*.pyc' found anywhere in distribution [ 10s] adding license file 'LICENSE' [ 10s] adding license file 'AUTHORS' [ 10s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 10s] Copying GitPython.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/GitPython-3.1.31-py3.11.egg-info [ 10s] running install_scripts [ 10s] ++ '[' -f _current_flavor ']' [ 10s] ++ cat _current_flavor [ 10s] + last_flavor=python311 [ 10s] + '[' -z python311 ']' [ 10s] + '[' python311 '!=' python310 ']' [ 10s] + '[' -d build ']' [ 10s] + mv build _build.python311 [ 10s] + '[' -d _build.python310 ']' [ 10s] + mv _build.python310 build [ 10s] + echo python310 [ 10s] + python_flavor=python310 [ 10s] + /usr/bin/python3.10 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64 --prefix /usr [ 10s] running install [ 10s] /usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. [ 10s] !! [ 10s] [ 10s] ******************************************************************************** [ 10s] Please avoid running ``setup.py`` directly. [ 10s] Instead, use pypa/build, pypa/installer, pypa/build or [ 10s] other standards-based tools. [ 10s] [ 10s] See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. [ 10s] ******************************************************************************** [ 10s] [ 10s] !! [ 10s] self.initialize_options() [ 10s] running install_lib [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10 [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/remote.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo [ 10s] copying build/lib/git/repo/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo [ 10s] copying build/lib/git/repo/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo [ 10s] copying build/lib/git/repo/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule [ 10s] copying build/lib/git/objects/submodule/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule [ 10s] copying build/lib/git/objects/submodule/root.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule [ 10s] copying build/lib/git/objects/submodule/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule [ 10s] copying build/lib/git/objects/submodule/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule [ 10s] copying build/lib/git/objects/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/commit.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/blob.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/tag.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/tree.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/objects/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects [ 10s] copying build/lib/git/db.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/exc.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index [ 10s] copying build/lib/git/index/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index [ 10s] copying build/lib/git/index/typ.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index [ 10s] copying build/lib/git/index/fun.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index [ 10s] copying build/lib/git/index/base.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index [ 10s] copying build/lib/git/index/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index [ 10s] copying build/lib/git/compat.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/types.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] creating /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/log.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/head.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/reference.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/remote.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/symbolic.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/refs/tag.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs [ 10s] copying build/lib/git/config.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/cmd.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/util.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/diff.py -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] copying build/lib/git/py.typed -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__init__.py to __init__.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/remote.py to remote.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo/__init__.py to __init__.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo/fun.py to fun.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo/base.py to base.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__init__.py to __init__.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/root.py to root.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/base.py to base.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/util.py to util.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__init__.py to __init__.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/commit.py to commit.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/base.py to base.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/fun.py to fun.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/blob.py to blob.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/tag.py to tag.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/tree.py to tree.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/util.py to util.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/db.py to db.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/exc.py to exc.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__init__.py to __init__.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/typ.py to typ.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/fun.py to fun.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/base.py to base.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/util.py to util.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/compat.py to compat.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/types.py to types.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__init__.py to __init__.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/log.py to log.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/head.py to head.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/reference.py to reference.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/remote.py to remote.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/symbolic.py to symbolic.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/tag.py to tag.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/config.py to config.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/cmd.py to cmd.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/util.py to util.cpython-310.pyc [ 10s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/diff.py to diff.cpython-310.pyc [ 10s] writing byte-compilation script '/tmp/tmp83pcrn14.py' [ 10s] /usr/bin/python3.10 /tmp/tmp83pcrn14.py [ 10s] removing /tmp/tmp83pcrn14.py [ 10s] running install_egg_info [ 10s] running egg_info [ 10s] writing GitPython.egg-info/PKG-INFO [ 10s] writing dependency_links to GitPython.egg-info/dependency_links.txt [ 10s] writing requirements to GitPython.egg-info/requires.txt [ 10s] writing top-level names to GitPython.egg-info/top_level.txt [ 10s] reading manifest file 'GitPython.egg-info/SOURCES.txt' [ 10s] reading manifest template 'MANIFEST.in' [ 10s] warning: no previously-included files matching '__pycache__' found anywhere in distribution [ 10s] warning: no previously-included files matching '*.pyc' found anywhere in distribution [ 10s] adding license file 'LICENSE' [ 10s] adding license file 'AUTHORS' [ 10s] writing manifest file 'GitPython.egg-info/SOURCES.txt' [ 10s] Copying GitPython.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/GitPython-3.1.31-py3.10.egg-info [ 10s] running install_scripts [ 10s] ++ '[' -f _current_flavor ']' [ 10s] ++ cat _current_flavor [ 10s] + last_flavor=python310 [ 10s] + '[' -z python310 ']' [ 10s] + '[' python310 '!=' python39 ']' [ 10s] + '[' -d build ']' [ 10s] + mv build _build.python310 [ 10s] + '[' -d _build.python39 ']' [ 10s] + mv _build.python39 build [ 10s] + echo python39 [ 10s] + python_flavor=python39 [ 10s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/GitPython-3.1.31-py3.9.egg-info/dependency_links.txt -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/GitPython-3.1.31-py3.9.egg-info/not-zip-safe [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/diff.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/diff.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/util.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/util.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/config.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/config.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/types.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/types.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/compat.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/compat.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/exc.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/exc.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/db.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/db.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/__pycache__/__init__.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/tag.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/tag.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/symbolic.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/symbolic.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/remote.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/remote.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/reference.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/reference.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/head.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/head.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/log.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/log.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/refs/__pycache__/__init__.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/util.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/util.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/base.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/base.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/typ.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/typ.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/index/__pycache__/__init__.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/util.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/util.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/tree.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/tree.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/tag.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/tag.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/blob.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/blob.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/fun.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/fun.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/base.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/base.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/commit.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/commit.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/__pycache__/__init__.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/util.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/util.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/base.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/base.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/root.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/root.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/objects/submodule/__pycache__/__init__.cpython-39.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages/git/repo/__pycache__/__init__.cpython-39.pyc [ 10s] ++ '[' -f _current_flavor ']' [ 10s] ++ cat _current_flavor [ 10s] + last_flavor=python39 [ 10s] + '[' -z python39 ']' [ 10s] + '[' python39 '!=' python311 ']' [ 10s] + '[' -d build ']' [ 10s] + mv build _build.python39 [ 10s] + '[' -d _build.python311 ']' [ 10s] + mv _build.python311 build [ 10s] + echo python311 [ 10s] + python_flavor=python311 [ 10s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/GitPython-3.1.31-py3.11.egg-info/dependency_links.txt -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/GitPython-3.1.31-py3.11.egg-info/not-zip-safe [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/remote.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/remote.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/util.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/util.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/exc.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/exc.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/config.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/config.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/diff.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/diff.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/types.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/types.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/db.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/db.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/compat.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/compat.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/cmd.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/cmd.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/__pycache__/__init__.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__pycache__/fun.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__pycache__/fun.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__pycache__/base.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__pycache__/base.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/repo/__pycache__/__init__.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/util.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/util.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/blob.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/blob.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/base.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/base.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/tree.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/tree.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/fun.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/fun.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/tag.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/tag.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/commit.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/commit.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/__pycache__/__init__.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/root.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/root.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/base.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/base.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/util.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/util.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/objects/submodule/__pycache__/__init__.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/symbolic.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/symbolic.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/log.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/log.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/tag.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/tag.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/head.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/head.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/reference.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/reference.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/remote.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/remote.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/refs/__pycache__/__init__.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/util.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/util.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/typ.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/typ.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/fun.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/fun.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/base.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/base.cpython-311.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.11/site-packages/git/index/__pycache__/__init__.cpython-311.pyc [ 10s] ++ '[' -f _current_flavor ']' [ 10s] ++ cat _current_flavor [ 10s] + last_flavor=python311 [ 10s] + '[' -z python311 ']' [ 10s] + '[' python311 '!=' python310 ']' [ 10s] + '[' -d build ']' [ 10s] + mv build _build.python311 [ 10s] + '[' -d _build.python310 ']' [ 10s] + mv _build.python310 build [ 10s] + echo python310 [ 10s] + python_flavor=python310 [ 10s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/GitPython-3.1.31-py3.10.egg-info/dependency_links.txt -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/GitPython-3.1.31-py3.10.egg-info/not-zip-safe [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/diff.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/diff.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/util.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/util.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/config.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/config.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/types.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/types.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/compat.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/compat.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/exc.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/exc.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/db.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/db.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/__pycache__/__init__.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/tag.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/tag.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/symbolic.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/symbolic.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/remote.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/remote.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/reference.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/reference.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/head.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/head.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/log.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/log.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/refs/__pycache__/__init__.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/util.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/util.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/base.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/base.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/typ.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/typ.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/index/__pycache__/__init__.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/util.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/util.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/tree.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/tree.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/tag.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/tag.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/blob.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/blob.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/fun.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/fun.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/base.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/base.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/commit.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/commit.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/__pycache__/__init__.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/util.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/util.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/base.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/base.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/root.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/root.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/objects/submodule/__pycache__/__init__.cpython-310.pyc [ 10s] Linking /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.10/site-packages/git/repo/__pycache__/__init__.cpython-310.pyc [ 10s] + /usr/lib/rpm/find-debuginfo -j8 -n --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335 [ 10s] + /usr/lib/rpm/brp-compress [ 10s] + /usr/lib/rpm/brp-suse [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 10s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 10s] Executing(%check): /usr/bin/bash -e /var/tmp/rpm-tmp.K5dz99 [ 10s] + umask 022 [ 10s] + cd /home/abuild/rpmbuild/BUILD [ 10s] + cd GitPython-3.1.31.1676565040.f253335 [ 10s] + export SKIP_GITHUB=true [ 10s] + SKIP_GITHUB=true [ 10s] + export SKIP_LOCALHOST=true [ 10s] + SKIP_LOCALHOST=true [ 10s] + export TRAVIS=true [ 10s] + TRAVIS=true [ 10s] + export LANG=en_US.UTF-8 [ 10s] + LANG=en_US.UTF-8 [ 10s] + export GIT_PYTHON_TEST_GIT_REPO_BASE=/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335 [ 10s] + GIT_PYTHON_TEST_GIT_REPO_BASE=/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335 [ 10s] + git config --global protocol.file.allow always [ 10s] + git config --global user.email you@example.com [ 10s] + git config --global user.name 'Your Name' [ 10s] + set +x [ 10s] Using libalternatives variant 39 for py.test in XDG_CONFIG_HOME during Python 3.9 expansions. [ 10s] Using libalternatives variant 39 for pytest in XDG_CONFIG_HOME during Python 3.9 expansions. [ 10s] Using libalternatives variant 311 for py.test in XDG_CONFIG_HOME during Python 3.11 expansions. [ 10s] Using libalternatives variant 311 for pytest in XDG_CONFIG_HOME during Python 3.11 expansions. [ 10s] + export PATH=/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335/build/flavorbin:/usr/local/bin:/usr/bin:/bin [ 10s] + PATH=/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335/build/flavorbin:/usr/local/bin:/usr/bin:/bin [ 10s] ++ '[' -f _current_flavor ']' [ 10s] ++ cat _current_flavor [ 10s] + last_flavor=python310 [ 10s] + '[' -z python310 ']' [ 10s] + '[' python310 '!=' python39 ']' [ 10s] + '[' -d build ']' [ 10s] + mv build _build.python310 [ 10s] + '[' -d _build.python39 ']' [ 10s] + mv _build.python39 build [ 10s] + echo python39 [ 10s] + python_flavor=python39 [ 10s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-GitPython-3.1.31.1676565040.f253335-0.x86_64/usr/lib/python3.9/site-packages [ 10s] + PYTHONDONTWRITEBYTECODE=1 [ 10s] + pytest-3.9 --ignore=_build.python39 --ignore=_build.python311 --ignore=_build.python310 -v -k 'not (test_installation or test_rev_parse)' [ 11s] ============================= test session starts ============================== [ 11s] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3.9 [ 11s] cachedir: .pytest_cache [ 11s] rootdir: /home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335 [ 11s] configfile: pyproject.toml [ 11s] testpaths: test [ 11s] collecting ... collected 497 items / 2 deselected / 495 selected [ 11s] [ 12s] test/test_actor.py::TestActor::test_from_string_should_handle_just_name PASSED [ 0%] [ 12s] test/test_actor.py::TestActor::test_from_string_should_separate_name_and_email PASSED [ 0%] [ 12s] test/test_actor.py::TestActor::test_should_display_representation PASSED [ 0%] [ 12s] test/test_actor.py::TestActor::test_str_should_alias_name PASSED [ 0%] [ 12s] test/test_base.py::TestBase::test_add_unicode FAILED [ 1%] [ 12s] test/test_base.py::TestBase::test_base_object FAILED [ 1%] [ 12s] test/test_base.py::TestBase::test_get_object_type_by_name PASSED [ 1%] [ 12s] test/test_base.py::TestBase::test_object_resolution FAILED [ 1%] [ 12s] test/test_base.py::TestBase::test_with_bare_rw_repo PASSED [ 1%] [ 12s] test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo SKIPPED [ 2%] [ 12s] test/test_base.py::TestBase::test_with_rw_repo FAILED [ 2%] [ 12s] test/test_blob.py::TestBlob::test_mime_type_should_return_mime_type_for_known_types PASSED [ 2%] [ 12s] test/test_blob.py::TestBlob::test_mime_type_should_return_text_plain_for_unknown_types PASSED [ 2%] [ 12s] test/test_blob.py::TestBlob::test_nodict PASSED [ 2%] [ 12s] test/test_blob_filter.py::test_blob_filter[paths0-path0-True] PASSED [ 3%] [ 12s] test/test_blob_filter.py::test_blob_filter[paths1-path1-True] PASSED [ 3%] [ 12s] test/test_blob_filter.py::test_blob_filter[paths2-path2-False] PASSED [ 3%] [ 12s] test/test_blob_filter.py::test_blob_filter[paths3-path3-True] PASSED [ 3%] [ 12s] test/test_clone.py::TestClone::test_checkout_in_non_empty_dir PASSED [ 3%] [ 12s] test/test_commit.py::TestCommit::test_ambiguous_arg_iteration PASSED [ 4%] [ 12s] test/test_commit.py::TestCommit::test_bake PASSED [ 4%] [ 12s] test/test_commit.py::TestCommit::test_commit_co_authors PASSED [ 4%] [ 12s] test/test_commit.py::TestCommit::test_count PASSED [ 4%] [ 12s] test/test_commit.py::TestCommit::test_datetimes PASSED [ 4%] [ 12s] test/test_commit.py::TestCommit::test_equality PASSED [ 5%] [ 12s] test/test_commit.py::TestCommit::test_gpgsig PASSED [ 5%] [ 12s] test/test_commit.py::TestCommit::test_invalid_commit PASSED [ 5%] [ 12s] test/test_commit.py::TestCommit::test_iter_items PASSED [ 5%] [ 12s] test/test_commit.py::TestCommit::test_iter_parents PASSED [ 5%] [ 12s] test/test_commit.py::TestCommit::test_iteration FAILED [ 6%] [ 12s] test/test_commit.py::TestCommit::test_list PASSED [ 6%] [ 12s] test/test_commit.py::TestCommit::test_name_rev PASSED [ 6%] [ 13s] test/test_commit.py::TestCommit::test_renames FAILED [ 6%] [ 13s] test/test_commit.py::TestCommit::test_replace_invalid_attribute PASSED [ 6%] [ 13s] test/test_commit.py::TestCommit::test_replace_new_sha PASSED [ 7%] [ 13s] test/test_commit.py::TestCommit::test_replace_no_changes PASSED [ 7%] [ 13s] test/test_commit.py::TestCommit::test_repr PASSED [ 7%] [ 13s] test/test_commit.py::TestCommit::test_rev_list_bisect_all PASSED [ 7%] [ 13s] test/test_commit.py::TestCommit::test_serialization PASSED [ 7%] [ 13s] test/test_commit.py::TestCommit::test_serialization_unicode_support PASSED [ 8%] [ 13s] test/test_commit.py::TestCommit::test_stats FAILED [ 8%] [ 13s] test/test_commit.py::TestCommit::test_str PASSED [ 8%] [ 13s] test/test_commit.py::TestCommit::test_trailers FAILED [ 8%] [ 13s] test/test_commit.py::TestCommit::test_traversal PASSED [ 8%] [ 13s] test/test_commit.py::TestCommit::test_unicode_actor PASSED [ 9%] [ 13s] test/test_config.py::TestBase::test_add_to_multiple PASSED [ 9%] [ 13s] test/test_config.py::TestBase::test_base PASSED [ 9%] [ 13s] test/test_config.py::TestBase::test_complex_aliases PASSED [ 9%] [ 13s] test/test_config.py::TestBase::test_conditional_includes_from_branch_name PASSED [ 9%] [ 13s] test/test_config.py::TestBase::test_conditional_includes_from_branch_name_error PASSED [ 10%] [ 13s] test/test_config.py::TestBase::test_conditional_includes_from_git_dir PASSED [ 10%] [ 13s] test/test_config.py::TestBase::test_config_include PASSED [ 10%] [ 13s] test/test_config.py::TestBase::test_empty_config_value PASSED [ 10%] [ 13s] test/test_config.py::TestBase::test_get_values_works_without_requiring_any_other_calls_first PASSED [ 10%] [ 13s] test/test_config.py::TestBase::test_includes_order SKIPPED (Known fa...) [ 11%] [ 13s] test/test_config.py::TestBase::test_lock_reentry PASSED [ 11%] [ 13s] test/test_config.py::TestBase::test_multi_line_config PASSED [ 11%] [ 13s] test/test_config.py::TestBase::test_multiple_to_single PASSED [ 11%] [ 13s] test/test_config.py::TestBase::test_multiple_values PASSED [ 11%] [ 13s] test/test_config.py::TestBase::test_multiple_values_rename PASSED [ 12%] [ 13s] test/test_config.py::TestBase::test_read_write PASSED [ 12%] [ 13s] test/test_config.py::TestBase::test_rename PASSED [ 12%] [ 13s] test/test_config.py::TestBase::test_setlast PASSED [ 12%] [ 13s] test/test_config.py::TestBase::test_single_to_multiple PASSED [ 12%] [ 13s] test/test_db.py::TestDB::test_base PASSED [ 13%] [ 13s] test/test_diff.py::TestDiff::test_binary_diff_1 PASSED [ 13%] [ 13s] test/test_diff.py::TestDiff::test_binary_diff_2 PASSED [ 13%] [ 13s] test/test_diff.py::TestDiff::test_diff_file_with_colon PASSED [ 13%] [ 13s] test/test_diff.py::TestDiff::test_diff_index PASSED [ 13%] [ 13s] test/test_diff.py::TestDiff::test_diff_index_raw_format PASSED [ 14%] [ 13s] test/test_diff.py::TestDiff::test_diff_initial_commit FAILED [ 14%] [ 13s] test/test_diff.py::TestDiff::test_diff_interface FAILED [ 14%] [ 14s] test/test_diff.py::TestDiff::test_diff_of_modified_files_not_added_to_the_index PASSED [ 14%] [ 14s] test/test_diff.py::TestDiff::test_diff_patch_format PASSED [ 14%] [ 14s] test/test_diff.py::TestDiff::test_diff_submodule PASSED [ 15%] [ 14s] test/test_diff.py::TestDiff::test_diff_unsafe_paths PASSED [ 15%] [ 14s] test/test_diff.py::TestDiff::test_diff_with_change_in_type PASSED [ 15%] [ 14s] test/test_diff.py::TestDiff::test_diff_with_copied_file PASSED [ 15%] [ 14s] test/test_diff.py::TestDiff::test_diff_with_rename PASSED [ 15%] [ 14s] test/test_diff.py::TestDiff::test_diff_with_spaces PASSED [ 16%] [ 14s] test/test_diff.py::TestDiff::test_diff_with_staged_file PASSED [ 16%] [ 14s] test/test_diff.py::TestDiff::test_empty_diff PASSED [ 16%] [ 14s] test/test_diff.py::TestDiff::test_list_from_string_new_mode PASSED [ 16%] [ 14s] test/test_diff.py::TestDiff::test_rename_override PASSED [ 16%] [ 14s] test/test_docs.py::Tutorials::test_add_file_and_commit PASSED [ 17%] [ 14s] test/test_docs.py::Tutorials::test_init_repo_object FAILED [ 17%] [ 15s] test/test_docs.py::Tutorials::test_references_and_objects PASSED [ 17%] [ 15s] test/test_docs.py::Tutorials::test_submodules PASSED [ 17%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_001____cmd______None__None___None_ PASSED [ 17%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_002____cmd______None__None____steram__ PASSED [ 18%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_003____cmd______None__None____ομορφο_stream__ PASSED [ 18%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_004____cmd______7___exit_code_7_____None_ PASSED [ 18%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_005____cmd______7___exit_code_7______steram__ PASSED [ 18%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_006____cmd______7___exit_code_7______ομορφο_stream__ PASSED [ 18%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_007____cmd_______Some_string_____Some_string_____None_ PASSED [ 19%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_008____cmd_______Some_string_____Some_string______steram__ PASSED [ 19%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_009____cmd_______Some_string_____Some_string______ομορφο_stream__ PASSED [ 19%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_010____cmd_______παλιο_string_____παλιο_string_____None_ PASSED [ 19%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_011____cmd_______παλιο_string_____παλιο_string______steram__ PASSED [ 20%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_012____cmd_______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 20%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_013 PASSED [ 20%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_014 PASSED [ 20%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_015 PASSED [ 20%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_016 PASSED [ 21%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_017 PASSED [ 21%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_018 PASSED [ 21%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_019 PASSED [ 21%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_020 PASSED [ 21%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_021 PASSED [ 22%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_022____θνιψοδε______None__None___None_ PASSED [ 22%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_023____θνιψοδε______None__None____steram__ PASSED [ 22%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_024____θνιψοδε______None__None____ομορφο_stream__ PASSED [ 22%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_025____θνιψοδε______7___exit_code_7_____None_ PASSED [ 22%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_026____θνιψοδε______7___exit_code_7______steram__ PASSED [ 23%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_027____θνιψοδε______7___exit_code_7______ομορφο_stream__ PASSED [ 23%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_028____θνιψοδε_______Some_string_____Some_string_____None_ PASSED [ 23%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_029____θνιψοδε_______Some_string_____Some_string______steram__ PASSED [ 23%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_030____θνιψοδε_______Some_string_____Some_string______ομορφο_stream__ PASSED [ 23%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_031____θνιψοδε_______παλιο_string_____παλιο_string_____None_ PASSED [ 24%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_032____θνιψοδε_______παλιο_string_____παλιο_string______steram__ PASSED [ 24%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_033____θνιψοδε_______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 24%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_034 PASSED [ 24%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_035 PASSED [ 24%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_036 PASSED [ 25%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_037 PASSED [ 25%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_038 PASSED [ 25%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_039 PASSED [ 25%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_040 PASSED [ 25%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_041 PASSED [ 26%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_042 PASSED [ 26%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_043____θνιψοδε____normal____argvs_____None__None___None_ PASSED [ 26%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_044____θνιψοδε____normal____argvs_____None__None____steram__ PASSED [ 26%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_045____θνιψοδε____normal____argvs_____None__None____ομορφο_stream__ PASSED [ 26%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_046____θνιψοδε____normal____argvs_____7___exit_code_7_____None_ PASSED [ 27%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_047____θνιψοδε____normal____argvs_____7___exit_code_7______steram__ PASSED [ 27%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_048____θνιψοδε____normal____argvs_____7___exit_code_7______ομορφο_stream__ PASSED [ 27%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_049____θνιψοδε____normal____argvs______Some_string_____Some_string_____None_ PASSED [ 27%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_050____θνιψοδε____normal____argvs______Some_string_____Some_string______steram__ PASSED [ 27%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_051____θνιψοδε____normal____argvs______Some_string_____Some_string______ομορφο_stream__ PASSED [ 28%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_052____θνιψοδε____normal____argvs______παλιο_string_____παλιο_string_____None_ PASSED [ 28%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_053____θνιψοδε____normal____argvs______παλιο_string_____παλιο_string______steram__ PASSED [ 28%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_054____θνιψοδε____normal____argvs______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 28%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_055 PASSED [ 28%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_056 PASSED [ 29%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_057 PASSED [ 29%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_058 PASSED [ 29%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_059 PASSED [ 29%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_060 PASSED [ 29%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_061 PASSED [ 30%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_062 PASSED [ 30%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_063 PASSED [ 30%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_064____cmd____ελληνικα____args_____None__None___None_ PASSED [ 30%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_065____cmd____ελληνικα____args_____None__None____steram__ PASSED [ 30%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_066____cmd____ελληνικα____args_____None__None____ομορφο_stream__ PASSED [ 31%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_067____cmd____ελληνικα____args_____7___exit_code_7_____None_ PASSED [ 31%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_068____cmd____ελληνικα____args_____7___exit_code_7______steram__ PASSED [ 31%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_069____cmd____ελληνικα____args_____7___exit_code_7______ομορφο_stream__ PASSED [ 31%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_070____cmd____ελληνικα____args______Some_string_____Some_string_____None_ PASSED [ 31%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_071____cmd____ελληνικα____args______Some_string_____Some_string______steram__ PASSED [ 32%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_072____cmd____ελληνικα____args______Some_string_____Some_string______ομορφο_stream__ PASSED [ 32%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_073____cmd____ελληνικα____args______παλιο_string_____παλιο_string_____None_ PASSED [ 32%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_074____cmd____ελληνικα____args______παλιο_string_____παλιο_string______steram__ PASSED [ 32%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_075____cmd____ελληνικα____args______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 32%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_076 PASSED [ 33%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_077 PASSED [ 33%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_078 PASSED [ 33%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_079 PASSED [ 33%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_080 PASSED [ 33%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_081 PASSED [ 34%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_082 PASSED [ 34%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_083 PASSED [ 34%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_084 PASSED [ 34%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_085____θνιψοδε____κι____αλλα____strange____args_____None__None___None_ PASSED [ 34%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_086____θνιψοδε____κι____αλλα____strange____args_____None__None____steram__ PASSED [ 35%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_087____θνιψοδε____κι____αλλα____strange____args_____None__None____ομορφο_stream__ PASSED [ 35%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_088____θνιψοδε____κι____αλλα____strange____args_____7___exit_code_7_____None_ PASSED [ 35%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_089____θνιψοδε____κι____αλλα____strange____args_____7___exit_code_7______steram__ PASSED [ 35%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_090____θνιψοδε____κι____αλλα____strange____args_____7___exit_code_7______ομορφο_stream__ PASSED [ 35%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_091____θνιψοδε____κι____αλλα____strange____args______Some_string_____Some_string_____None_ PASSED [ 36%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_092____θνιψοδε____κι____αλλα____strange____args______Some_string_____Some_string______steram__ PASSED [ 36%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_093____θνιψοδε____κι____αλλα____strange____args______Some_string_____Some_string______ομορφο_stream__ PASSED [ 36%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_094____θνιψοδε____κι____αλλα____strange____args______παλιο_string_____παλιο_string_____None_ PASSED [ 36%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_095____θνιψοδε____κι____αλλα____strange____args______παλιο_string_____παλιο_string______steram__ PASSED [ 36%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_096____θνιψοδε____κι____αλλα____strange____args______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 37%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_097 PASSED [ 37%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_098 PASSED [ 37%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_099 PASSED [ 37%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_100 PASSED [ 37%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_101 PASSED [ 38%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_102 PASSED [ 38%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_103 PASSED [ 38%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_104 PASSED [ 38%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_105 PASSED [ 38%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_106____θνιψοδε____κι____αλλα____non_unicode____args_____None__None___None_ PASSED [ 39%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_107____θνιψοδε____κι____αλλα____non_unicode____args_____None__None____steram__ PASSED [ 39%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_108____θνιψοδε____κι____αλλα____non_unicode____args_____None__None____ομορφο_stream__ PASSED [ 39%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_109____θνιψοδε____κι____αλλα____non_unicode____args_____7___exit_code_7_____None_ PASSED [ 39%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_110____θνιψοδε____κι____αλλα____non_unicode____args_____7___exit_code_7______steram__ PASSED [ 40%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_111____θνιψοδε____κι____αλλα____non_unicode____args_____7___exit_code_7______ομορφο_stream__ PASSED [ 40%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_112____θνιψοδε____κι____αλλα____non_unicode____args______Some_string_____Some_string_____None_ PASSED [ 40%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_113____θνιψοδε____κι____αλλα____non_unicode____args______Some_string_____Some_string______steram__ PASSED [ 40%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_114____θνιψοδε____κι____αλλα____non_unicode____args______Some_string_____Some_string______ομορφο_stream__ PASSED [ 40%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_115____θνιψοδε____κι____αλλα____non_unicode____args______παλιο_string_____παλιο_string_____None_ PASSED [ 41%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_116____θνιψοδε____κι____αλλα____non_unicode____args______παλιο_string_____παλιο_string______steram__ PASSED [ 41%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_117____θνιψοδε____κι____αλλα____non_unicode____args______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 41%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_118 PASSED [ 41%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_119 PASSED [ 41%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_120 PASSED [ 42%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_121 PASSED [ 42%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_122 PASSED [ 42%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_123 PASSED [ 42%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_124 PASSED [ 42%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_125 PASSED [ 43%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_126 PASSED [ 43%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_127____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo_____None__None___None_ PASSED [ 43%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_128____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo_____None__None____steram__ PASSED [ 43%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_129____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo_____None__None____ομορφο_stream__ PASSED [ 43%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_130____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo_____7___exit_code_7_____None_ PASSED [ 44%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_131____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo_____7___exit_code_7______steram__ PASSED [ 44%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_132____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo_____7___exit_code_7______ομορφο_stream__ PASSED [ 44%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_133____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo______Some_string_____Some_string_____None_ PASSED [ 44%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_134____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo______Some_string_____Some_string______steram__ PASSED [ 44%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_135____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo______Some_string_____Some_string______ομορφο_stream__ PASSED [ 45%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_136____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo______παλιο_string_____παλιο_string_____None_ PASSED [ 45%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_137____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo______παλιο_string_____παλιο_string______steram__ PASSED [ 45%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_138____git____clone_____v____https___fakeuser_fakepassword1234_fakerepo_example_com_testrepo______παλιο_string_____παλιο_string______ομορφο_stream__ PASSED [ 45%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_139 PASSED [ 45%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_140 PASSED [ 46%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_141 PASSED [ 46%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_142 PASSED [ 46%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_143 PASSED [ 46%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_144 PASSED [ 46%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_145 PASSED [ 47%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_146 PASSED [ 47%] [ 15s] test/test_exc.py::TExc::test_CommandError_unicode_147 PASSED [ 47%] [ 15s] test/test_exc.py::TExc::test_ExceptionsHaveBaseClass PASSED [ 47%] [ 15s] test/test_exc.py::TExc::test_GitCommandError_1____cmd1____None_ PASSED [ 47%] [ 15s] test/test_exc.py::TExc::test_GitCommandError_2____cmd1_____some_cause__ PASSED [ 48%] [ 15s] test/test_exc.py::TExc::test_GitCommandError_3 PASSED [ 48%] [ 15s] test/test_exc.py::TExc::test_GitCommandNotFound_1____cmd1____None_ PASSED [ 48%] [ 15s] test/test_exc.py::TExc::test_GitCommandNotFound_2____cmd1_____some_cause__ PASSED [ 48%] [ 15s] test/test_exc.py::TExc::test_GitCommandNotFound_3 PASSED [ 48%] [ 15s] test/test_exc.py::TExc::test_HookExecutionError_1____cmd1____None_ PASSED [ 49%] [ 15s] test/test_exc.py::TExc::test_HookExecutionError_2____cmd1_____some_cause__ PASSED [ 49%] [ 15s] test/test_exc.py::TExc::test_HookExecutionError_3 PASSED [ 49%] [ 15s] test/test_fun.py::TestFun::test_aggressive_tree_merge FAILED [ 49%] [ 15s] test/test_fun.py::TestFun::test_linked_worktree_traversal PASSED [ 49%] [ 15s] test/test_fun.py::TestFun::test_stat_mode_to_index_mode PASSED [ 50%] [ 15s] test/test_fun.py::TestFun::test_three_way_merge FAILED [ 50%] [ 15s] test/test_fun.py::TestFun::test_tree_entries_from_data_with_failing_name_decode_py3 PASSED [ 50%] [ 15s] test/test_fun.py::TestFun::test_tree_traversal FAILED [ 50%] [ 16s] test/test_fun.py::TestFun::test_tree_traversal_single FAILED [ 50%] [ 16s] test/test_fun.py::TestFun::test_tree_traversal_single ERROR [ 50%] [ 16s] test/test_git.py::TestGit::test_call_process_calls_execute PASSED [ 51%] [ 16s] test/test_git.py::TestGit::test_call_unpack_args PASSED [ 51%] [ 16s] test/test_git.py::TestGit::test_call_unpack_args_unicode PASSED [ 51%] [ 16s] test/test_git.py::TestGit::test_change_to_transform_kwargs_does_not_break_command_options PASSED [ 51%] [ 16s] test/test_git.py::TestGit::test_cmd_override PASSED [ 51%] [ 16s] test/test_git.py::TestGit::test_env_vars_passed_to_git PASSED [ 52%] [ 16s] test/test_git.py::TestGit::test_environment PASSED [ 52%] [ 16s] test/test_git.py::TestGit::test_handle_process_output PASSED [ 52%] [ 16s] test/test_git.py::TestGit::test_insert_after_kwarg_raises PASSED [ 52%] [ 16s] test/test_git.py::TestGit::test_it_accepts_environment_variables PASSED [ 52%] [ 16s] test/test_git.py::TestGit::test_it_accepts_stdin PASSED [ 53%] [ 16s] test/test_git.py::TestGit::test_it_executes_git_to_shell_and_returns_result PASSED [ 53%] [ 16s] test/test_git.py::TestGit::test_it_ignores_false_kwargs PASSED [ 53%] [ 16s] test/test_git.py::TestGit::test_it_raises_errors PASSED [ 53%] [ 16s] test/test_git.py::TestGit::test_it_raises_proper_exception_with_output_stream PASSED [ 53%] [ 16s] test/test_git.py::TestGit::test_it_transforms_kwargs_into_git_command_arguments PASSED [ 54%] [ 16s] test/test_git.py::TestGit::test_options_are_passed_to_git PASSED [ 54%] [ 16s] test/test_git.py::TestGit::test_persistent_cat_file_command FAILED [ 54%] [ 16s] test/test_git.py::TestGit::test_persistent_options PASSED [ 54%] [ 16s] test/test_git.py::TestGit::test_refresh PASSED [ 54%] [ 16s] test/test_git.py::TestGit::test_single_char_git_options_are_passed_to_git PASSED [ 55%] [ 16s] test/test_git.py::TestGit::test_version PASSED [ 55%] [ 16s] test/test_index.py::TestIndex::test__to_relative_path_at_root PASSED [ 55%] [ 16s] test/test_index.py::TestIndex::test_add_a_file_with_wildcard_chars PASSED [ 55%] [ 16s] test/test_index.py::TestIndex::test_add_utf8P_path PASSED [ 55%] [ 17s] test/test_index.py::TestIndex::test_commit_msg_hook_fail PASSED [ 56%] [ 17s] test/test_index.py::TestIndex::test_commit_msg_hook_success PASSED [ 56%] [ 17s] test/test_index.py::TestIndex::test_compare_write_tree FAILED [ 56%] [ 17s] test/test_index.py::TestIndex::test_index_add_pathlike FAILED [ 56%] [ 17s] test/test_index.py::TestIndex::test_index_bare_add PASSED [ 56%] [ 17s] test/test_index.py::TestIndex::test_index_file_base PASSED [ 57%] [ 17s] test/test_index.py::TestIndex::test_index_file_diffing FAILED [ 57%] [ 17s] test/test_index.py::TestIndex::test_index_file_from_tree FAILED [ 57%] [ 17s] test/test_index.py::TestIndex::test_index_lock_handling FAILED [ 57%] [ 17s] test/test_index.py::TestIndex::test_index_merge_tree FAILED [ 57%] [ 17s] test/test_index.py::TestIndex::test_index_mutation FAILED [ 58%] [ 17s] test/test_index.py::TestIndex::test_index_new FAILED [ 58%] [ 17s] test/test_index.py::TestIndex::test_index_single_addremove FAILED [ 58%] [ 17s] test/test_index.py::TestIndex::test_pre_commit_hook_fail PASSED [ 58%] [ 17s] test/test_index.py::TestIndex::test_pre_commit_hook_success PASSED [ 58%] [ 17s] test/test_reflog.py::TestRefLog::test_base PASSED [ 59%] [ 17s] test/test_reflog.py::TestRefLog::test_reflogentry PASSED [ 59%] [ 17s] test/test_refs.py::TestRefs::test_dereference_recursive PASSED [ 59%] [ 17s] test/test_refs.py::TestRefs::test_from_path PASSED [ 59%] [ 17s] test/test_refs.py::TestRefs::test_head_checkout_detached_head FAILED [ 60%] [ 17s] test/test_refs.py::TestRefs::test_head_reset FAILED [ 60%] [ 17s] test/test_refs.py::TestRefs::test_heads FAILED [ 60%] [ 17s] test/test_refs.py::TestRefs::test_is_valid FAILED [ 60%] [ 17s] test/test_refs.py::TestRefs::test_orig_head PASSED [ 60%] [ 17s] test/test_refs.py::TestRefs::test_reflog FAILED [ 61%] [ 17s] test/test_refs.py::TestRefs::test_refs PASSED [ 61%] [ 17s] test/test_refs.py::TestRefs::test_tag_base PASSED [ 61%] [ 18s] test/test_refs.py::TestRefs::test_tag_message FAILED [ 61%] [ 18s] test/test_refs.py::TestRefs::test_tags PASSED [ 61%] [ 18s] test/test_refs.py::TestRefs::test_tags_author PASSED [ 62%] [ 18s] test/test_remote.py::TestRemote::test_add_unsafe_url FAILED [ 62%] [ 18s] test/test_remote.py::TestRemote::test_add_unsafe_url_allowed FAILED [ 62%] [ 18s] test/test_remote.py::TestRemote::test_base SKIPPED (git-daemon conne...) [ 62%] [ 18s] test/test_remote.py::TestRemote::test_create_remote_unsafe_url FAILED [ 62%] [ 18s] test/test_remote.py::TestRemote::test_create_remote_unsafe_url_allowed FAILED [ 63%] [ 18s] test/test_remote.py::TestRemote::test_creation_and_removal PASSED [ 63%] [ 18s] test/test_remote.py::TestRemote::test_fetch_error SKIPPED (GitHub co...) [ 63%] [ 18s] test/test_remote.py::TestRemote::test_fetch_info PASSED [ 63%] [ 18s] test/test_remote.py::TestRemote::test_fetch_unsafe_options FAILED [ 63%] [ 18s] test/test_remote.py::TestRemote::test_fetch_unsafe_options_allowed FAILED [ 64%] [ 18s] test/test_remote.py::TestRemote::test_fetch_unsafe_url FAILED [ 64%] [ 18s] test/test_remote.py::TestRemote::test_fetch_unsafe_url_allowed FAILED [ 64%] [ 18s] test/test_remote.py::TestRemote::test_multiple_urls FAILED [ 64%] [ 18s] test/test_remote.py::TestRemote::test_pull_unsafe_options FAILED [ 64%] [ 18s] test/test_remote.py::TestRemote::test_pull_unsafe_options_allowed FAILED [ 65%] [ 19s] test/test_remote.py::TestRemote::test_pull_unsafe_url FAILED [ 65%] [ 19s] test/test_remote.py::TestRemote::test_pull_unsafe_url_allowed FAILED [ 65%] [ 19s] test/test_remote.py::TestRemote::test_push_error FAILED [ 65%] [ 19s] test/test_remote.py::TestRemote::test_push_unsafe_options FAILED [ 65%] [ 19s] test/test_remote.py::TestRemote::test_push_unsafe_options_allowed FAILED [ 66%] [ 19s] test/test_remote.py::TestRemote::test_push_unsafe_url FAILED [ 66%] [ 19s] test/test_remote.py::TestRemote::test_push_unsafe_url_allowed FAILED [ 66%] [ 19s] test/test_remote.py::TestRemote::test_set_unsafe_url FAILED [ 66%] [ 19s] test/test_remote.py::TestRemote::test_set_unsafe_url_allowed FAILED [ 66%] [ 19s] test/test_remote.py::TestRemote::test_uncommon_branch_names PASSED [ 67%] [ 19s] test/test_remote.py::TestTimeouts::test_timeout_funcs FAILED [ 67%] [ 19s] test/test_repo.py::TestRepo::test_alternates PASSED [ 67%] [ 19s] test/test_repo.py::TestRepo::test_archive FAILED [ 67%] [ 19s] test/test_repo.py::TestRepo::test_bare_property PASSED [ 67%] [ 19s] test/test_repo.py::TestRepo::test_blame_accepts_rev_opts PASSED [ 68%] [ 19s] test/test_repo.py::TestRepo::test_blame_complex_revision PASSED [ 68%] [ 19s] test/test_repo.py::TestRepo::test_blame_incremental PASSED [ 68%] [ 19s] test/test_repo.py::TestRepo::test_blame_real FAILED [ 68%] [ 19s] test/test_repo.py::TestRepo::test_clone_command_injection FAILED [ 68%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_command_injection FAILED [ 69%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_keeps_env PASSED [ 69%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_pathlib PASSED [ 69%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_pathlib_withConfig PASSED [ 69%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_safe_options FAILED [ 69%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_unsafe_options FAILED [ 70%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_unsafe_options_allowed FAILED [ 70%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_unsafe_protocol PASSED [ 70%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_unsafe_protocol_allowed PASSED [ 70%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_unsafe_protocol_allowed_and_enabled PASSED [ 70%] [ 20s] test/test_repo.py::TestRepo::test_clone_from_with_path_contains_unicode PASSED [ 71%] [ 20s] test/test_repo.py::TestRepo::test_clone_safe_options FAILED [ 71%] [ 20s] test/test_repo.py::TestRepo::test_clone_unsafe_options FAILED [ 71%] [ 20s] test/test_repo.py::TestRepo::test_clone_unsafe_options_allowed FAILED [ 71%] [ 20s] test/test_repo.py::TestRepo::test_commit_from_revision PASSED [ 71%] [ 20s] test/test_repo.py::TestRepo::test_commits PASSED [ 72%] [ 20s] test/test_repo.py::TestRepo::test_comparison_and_hash PASSED [ 72%] [ 20s] test/test_repo.py::TestRepo::test_config_level_paths PASSED [ 72%] [ 20s] test/test_repo.py::TestRepo::test_config_reader PASSED [ 72%] [ 20s] test/test_repo.py::TestRepo::test_config_writer PASSED [ 72%] [ 20s] test/test_repo.py::TestRepo::test_creation_deletion PASSED [ 73%] [ 20s] test/test_repo.py::TestRepo::test_daemon_export PASSED [ 73%] [ 20s] test/test_repo.py::TestRepo::test_date_format PASSED [ 73%] [ 20s] test/test_repo.py::TestRepo::test_description PASSED [ 73%] [ 20s] test/test_repo.py::TestRepo::test_do_not_strip_newline_in_stdout PASSED [ 73%] [ 20s] test/test_repo.py::TestRepo::test_empty_repo PASSED [ 74%] [ 21s] test/test_repo.py::TestRepo::test_file_handle_leaks FAILED [ 74%] [ 21s] test/test_repo.py::TestRepo::test_git_cmd PASSED [ 74%] [ 21s] test/test_repo.py::TestRepo::test_git_file FAILED [ 74%] [ 21s] test/test_repo.py::TestRepo::test_git_work_tree_dotgit PASSED [ 74%] [ 21s] test/test_repo.py::TestRepo::test_git_work_tree_env PASSED [ 75%] [ 21s] test/test_repo.py::TestRepo::test_head FAILED [ 75%] [ 21s] test/test_repo.py::TestRepo::test_heads_should_populate_head_data FAILED [ 75%] [ 21s] test/test_repo.py::TestRepo::test_heads_should_return_array_of_head_objects PASSED [ 75%] [ 21s] test/test_repo.py::TestRepo::test_ignored_items_reported PASSED [ 75%] [ 21s] test/test_repo.py::TestRepo::test_ignored_raises_error_w_symlink PASSED [ 76%] [ 21s] test/test_repo.py::TestRepo::test_index PASSED [ 76%] [ 21s] test/test_repo.py::TestRepo::test_init PASSED [ 76%] [ 21s] test/test_repo.py::TestRepo::test_is_ancestor FAILED [ 76%] [ 21s] test/test_repo.py::TestRepo::test_is_dirty PASSED [ 76%] [ 22s] test/test_repo.py::TestRepo::test_is_dirty_pathspec PASSED [ 77%] [ 22s] test/test_repo.py::TestRepo::test_is_dirty_with_bare_repository PASSED [ 77%] [ 22s] test/test_repo.py::TestRepo::test_is_dirty_with_path FAILED [ 77%] [ 22s] test/test_repo.py::TestRepo::test_is_valid_object FAILED [ 77%] [ 22s] test/test_repo.py::TestRepo::test_leaking_password_in_clone_logs SKIPPED [ 77%] [ 22s] test/test_repo.py::TestRepo::test_max_chunk_size FAILED [ 78%] [ 22s] test/test_repo.py::TestRepo::test_merge_base PASSED [ 78%] [ 22s] test/test_repo.py::TestRepo::test_new_should_raise_on_invalid_repo_location PASSED [ 78%] [ 22s] test/test_repo.py::TestRepo::test_new_should_raise_on_non_existent_path PASSED [ 78%] [ 22s] test/test_repo.py::TestRepo::test_pickleable PASSED [ 78%] [ 22s] test/test_repo.py::TestRepo::test_rebasing PASSED [ 79%] [ 22s] test/test_repo.py::TestRepo::test_remote_method PASSED [ 79%] [ 22s] test/test_repo.py::TestRepo::test_repo_creation_from_different_paths FAILED [ 79%] [ 22s] test/test_repo.py::TestRepo::test_repo_creation_pathlib FAILED [ 79%] [ 22s] test/test_repo.py::TestRepo::test_repo_odbtype PASSED [ 80%] [ 22s] test/test_repo.py::TestRepo::test_repr PASSED [ 80%] [ 22s] test/test_repo.py::TestRepo::test_rw_rev_parse FAILED [ 80%] [ 22s] test/test_repo.py::TestRepo::test_should_display_blame_information PASSED [ 80%] [ 23s] test/test_repo.py::TestRepo::test_submodule_update FAILED [ 80%] [ 23s] test/test_repo.py::TestRepo::test_submodules PASSED [ 81%] [ 23s] test/test_repo.py::TestRepo::test_tag PASSED [ 81%] [ 23s] test/test_repo.py::TestRepo::test_tag_to_full_tag_path PASSED [ 81%] [ 23s] test/test_repo.py::TestRepo::test_tilde_and_env_vars_in_repo_path PASSED [ 81%] [ 23s] test/test_repo.py::TestRepo::test_tree_from_revision FAILED [ 81%] [ 23s] test/test_repo.py::TestRepo::test_trees FAILED [ 82%] [ 23s] test/test_repo.py::TestRepo::test_untracked_files FAILED [ 82%] [ 23s] test/test_repo.py::TestRepo::test_untracked_files ERROR [ 82%] [ 23s] test/test_stats.py::TestStats::test_list_from_string PASSED [ 82%] [ 23s] test/test_submodule.py::TestSubmodule::test_add_clone_multi_options_argument PASSED [ 82%] [ 23s] test/test_submodule.py::TestSubmodule::test_add_empty_repo PASSED [ 82%] [ 23s] test/test_submodule.py::TestSubmodule::test_add_no_clone_multi_options_argument PASSED [ 83%] [ 24s] test/test_submodule.py::TestSubmodule::test_base_bare FAILED [ 83%] [ 24s] test/test_submodule.py::TestSubmodule::test_base_rw FAILED [ 83%] [ 24s] test/test_submodule.py::TestSubmodule::test_branch_renames PASSED [ 83%] [ 24s] test/test_submodule.py::TestSubmodule::test_depth SKIPPED (for some ...) [ 83%] [ 24s] test/test_submodule.py::TestSubmodule::test_first_submodule FAILED [ 84%] [ 24s] test/test_submodule.py::TestSubmodule::test_git_submodule_compatibility SKIPPED [ 84%] [ 25s] test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit PASSED [ 84%] [ 25s] test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules PASSED [ 84%] [ 25s] test/test_submodule.py::TestSubmodule::test_remove_norefs SKIPPED (g...) [ 84%] [ 25s] test/test_submodule.py::TestSubmodule::test_rename PASSED [ 85%] [ 25s] test/test_submodule.py::TestSubmodule::test_root_module SKIPPED (git...) [ 85%] [ 25s] test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_options FAILED [ 85%] [ 25s] test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_options_allowed FAILED [ 85%] [ 25s] test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_url FAILED [ 85%] [ 25s] test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_url_allowed FAILED [ 86%] [ 25s] test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_options FAILED [ 86%] [ 25s] test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_options_allowed FAILED [ 86%] [ 26s] test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_url FAILED [ 86%] [ 26s] test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_url_allowed FAILED [ 86%] [ 26s] test/test_submodule.py::TestSubmodule::test_to_relative_path_with_super_at_root_drive SKIPPED [ 87%] [ 26s] test/test_submodule.py::TestSubmodule::test_update_clone_multi_options_argument PASSED [ 87%] [ 26s] test/test_submodule.py::TestSubmodule::test_update_no_clone_multi_options_argument PASSED [ 87%] [ 26s] test/test_tree.py::TestTree::test_serializable FAILED [ 87%] [ 26s] test/test_tree.py::TestTree::test_traverse FAILED [ 87%] [ 26s] test/test_tree.py::TestTree::test_traverse ERROR [ 87%] [ 26s] test/test_util.py::TestUtils::test_actor PASSED [ 88%] [ 26s] test/test_util.py::TestUtils::test_actor_from_string PASSED [ 88%] [ 26s] test/test_util.py::TestUtils::test_actor_get_uid_laziness_called PASSED [ 88%] [ 26s] test/test_util.py::TestUtils::test_actor_get_uid_laziness_not_called FAILED [ 88%] [ 26s] test/test_util.py::TestUtils::test_altz_to_utctz_str PASSED [ 88%] [ 26s] test/test_util.py::TestUtils::test_blocking_lock_file PASSED [ 89%] [ 26s] test/test_util.py::TestUtils::test_cygpath_invalids_1_C_ SKIPPED (Pa...) [ 89%] [ 26s] test/test_util.py::TestUtils::test_cygpath_invalids_2_C_Relative SKIPPED [ 89%] [ 26s] test/test_util.py::TestUtils::test_cygpath_invalids_3_D_Apps_123 SKIPPED [ 89%] [ 26s] test/test_util.py::TestUtils::test_cygpath_invalids_4_D_Apps_123 SKIPPED [ 89%] [ 26s] test/test_util.py::TestUtils::test_cygpath_invalids_5_____a_rel SKIPPED [ 90%] [ 26s] test/test_util.py::TestUtils::test_cygpath_invalids_6___share_a_rel SKIPPED [ 90%] [ 26s] test/test_util.py::TestUtils::test_cygpath_norm_ok_1_____bar____bar__ SKIPPED [ 90%] [ 26s] test/test_util.py::TestUtils::test_cygpath_norm_ok_2______bar____bar__ SKIPPED [ 90%] [ 26s] test/test_util.py::TestUtils::test_cygpath_norm_ok_3______bar_______bar__ SKIPPED [ 90%] [ 26s] test/test_util.py::TestUtils::test_cygpath_norm_ok_4_______bar_______bar__ SKIPPED [ 91%] [ 26s] test/test_util.py::TestUtils::test_cygpath_norm_ok_5______bar____foo____chu_______bar_chu__ SKIPPED [ 91%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_01___foo__bar____foo_bar__ SKIPPED [ 91%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_02___foo_bar____foo_bar__ SKIPPED [ 91%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_03___C___Users_____cygdrive_c_Users__ SKIPPED [ 91%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_04___C___d_e_____cygdrive_c_d_e__ SKIPPED [ 92%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_05___C________cygdrive_c___ SKIPPED [ 92%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_06_______server__C___Users______server_C__Users__ SKIPPED [ 92%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_07_______server__C_______server_C___ SKIPPED [ 92%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_08_______server__c_________server_c____ SKIPPED [ 92%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_09_______server__BAR_______server_BAR___ SKIPPED [ 93%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_10___D__Apps_____cygdrive_d_Apps__ SKIPPED [ 93%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_11___D__Apps__fOO_____cygdrive_d_Apps_fOO__ SKIPPED [ 93%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_12___D___Apps_123_____cygdrive_d_Apps_123__ SKIPPED [ 93%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_13__________a___com_____cygdrive_a_com__ SKIPPED [ 93%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_14__________a__com_____cygdrive_a_com__ SKIPPED [ 94%] [ 26s] test/test_util.py::TestUtils::test_cygpath_ok_15__________UNC__server__D___Apps______server_D__Apps__ SKIPPED [ 94%] [ 26s] test/test_util.py::TestUtils::test_decygpath_01___foo__bar____foo_bar__ SKIPPED [ 94%] [ 26s] test/test_util.py::TestUtils::test_decygpath_02___foo_bar____foo_bar__ SKIPPED [ 94%] [ 26s] test/test_util.py::TestUtils::test_decygpath_03___C___Users_____cygdrive_c_Users__ SKIPPED [ 94%] [ 26s] test/test_util.py::TestUtils::test_decygpath_04___C___d_e_____cygdrive_c_d_e__ SKIPPED [ 95%] [ 26s] test/test_util.py::TestUtils::test_decygpath_05___C________cygdrive_c___ SKIPPED [ 95%] [ 26s] test/test_util.py::TestUtils::test_decygpath_06_______server__C___Users______server_C__Users__ SKIPPED [ 95%] [ 26s] test/test_util.py::TestUtils::test_decygpath_07_______server__C_______server_C___ SKIPPED [ 95%] [ 26s] test/test_util.py::TestUtils::test_decygpath_08_______server__c_________server_c____ SKIPPED [ 95%] [ 26s] test/test_util.py::TestUtils::test_decygpath_09_______server__BAR_______server_BAR___ SKIPPED [ 96%] [ 26s] test/test_util.py::TestUtils::test_decygpath_10___D__Apps_____cygdrive_d_Apps__ SKIPPED [ 96%] [ 26s] test/test_util.py::TestUtils::test_decygpath_11___D__Apps__fOO_____cygdrive_d_Apps_fOO__ SKIPPED [ 96%] [ 26s] test/test_util.py::TestUtils::test_decygpath_12___D___Apps_123_____cygdrive_d_Apps_123__ SKIPPED [ 96%] [ 26s] test/test_util.py::TestUtils::test_from_timestamp PASSED [ 96%] [ 26s] test/test_util.py::TestUtils::test_it_should_dashify PASSED [ 97%] [ 26s] test/test_util.py::TestUtils::test_iterable_list_1___name______ PASSED [ 97%] [ 26s] test/test_util.py::TestUtils::test_iterable_list_2___name____prefix___ PASSED [ 97%] [ 26s] test/test_util.py::TestUtils::test_lock_file PASSED [ 97%] [ 26s] test/test_util.py::TestUtils::test_parse_date PASSED [ 97%] [ 26s] test/test_util.py::TestUtils::test_pickle_tzoffset PASSED [ 98%] [ 26s] test/test_util.py::TestUtils::test_remove_password_from_command_line PASSED [ 98%] [ 26s] test/test_util.py::TestUtils::test_user_id PASSED [ 98%] [ 26s] test/test_util.py::TestUtils::test_utctz_to_altz PASSED [ 98%] [ 27s] test/performance/test_commit.py::TestPerformance::test_commit_iteration PASSED [ 98%] [ 28s] test/performance/test_commit.py::TestPerformance::test_commit_serialization PASSED [ 99%] [ 28s] test/performance/test_commit.py::TestPerformance::test_commit_traversal PASSED [ 99%] [ 29s] test/performance/test_commit.py::TestPerformance::test_iteration FAILED [ 99%] [ 29s] test/performance/test_odb.py::TestObjDBPerformance::test_random_access FAILED [ 99%] [ 33s] test/performance/test_streams.py::TestObjDBPerformance::test_large_data_streaming PASSED [100%] [ 33s] [ 33s] ==================================== ERRORS ==================================== [ 33s] ___________ ERROR at teardown of TestFun.test_tree_traversal_single ____________ [ 33s] [ 33s] cls = [ 33s] [ 33s] @classmethod [ 33s] def tearDownClass(cls): [ 33s] > cls.rorepo.git.clear_cache() [ 33s] [ 33s] test/lib/helper.py:393: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/cmd.py:1413: in clear_cache [ 33s] cmd.__del__() [ 33s] git/cmd.py:567: in __del__ [ 33s] self._terminate() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _terminate(self) -> None: [ 33s] """Terminate the underlying process""" [ 33s] if self.proc is None: [ 33s] return [ 33s] [ 33s] proc = self.proc [ 33s] self.proc = None [ 33s] if proc.stdin: [ 33s] > proc.stdin.close() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:529: BrokenPipeError [ 33s] ______________ ERROR at teardown of TestRepo.test_untracked_files ______________ [ 33s] [ 33s] cls = [ 33s] [ 33s] @classmethod [ 33s] def tearDownClass(cls): [ 33s] > cls.rorepo.git.clear_cache() [ 33s] [ 33s] test/lib/helper.py:393: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/cmd.py:1413: in clear_cache [ 33s] cmd.__del__() [ 33s] git/cmd.py:567: in __del__ [ 33s] self._terminate() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _terminate(self) -> None: [ 33s] """Terminate the underlying process""" [ 33s] if self.proc is None: [ 33s] return [ 33s] [ 33s] proc = self.proc [ 33s] self.proc = None [ 33s] if proc.stdin: [ 33s] > proc.stdin.close() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:529: BrokenPipeError [ 33s] _________________ ERROR at teardown of TestTree.test_traverse __________________ [ 33s] [ 33s] cls = [ 33s] [ 33s] @classmethod [ 33s] def tearDownClass(cls): [ 33s] > cls.rorepo.git.clear_cache() [ 33s] [ 33s] test/lib/helper.py:393: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/cmd.py:1413: in clear_cache [ 33s] cmd.__del__() [ 33s] git/cmd.py:567: in __del__ [ 33s] self._terminate() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _terminate(self) -> None: [ 33s] """Terminate the underlying process""" [ 33s] if self.proc is None: [ 33s] return [ 33s] [ 33s] proc = self.proc [ 33s] self.proc = None [ 33s] if proc.stdin: [ 33s] > proc.stdin.close() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:529: BrokenPipeError [ 33s] =================================== FAILURES =================================== [ 33s] __________________________ TestBase.test_add_unicode ___________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________________ TestBase.test_base_object ___________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_base_object(self): [ 33s] # test interface of base object classes [ 33s] types = (Blob, Tree, Commit, TagObject) [ 33s] self.assertEqual(len(types), len(self.type_tuples)) [ 33s] [ 33s] s = set() [ 33s] num_objs = 0 [ 33s] num_index_objs = 0 [ 33s] for obj_type, (typename, hexsha, path) in zip(types, self.type_tuples): [ 33s] binsha = hex_to_bin(hexsha) [ 33s] item = None [ 33s] if path is None: [ 33s] item = obj_type(self.rorepo, binsha) [ 33s] else: [ 33s] item = obj_type(self.rorepo, binsha, 0, path) [ 33s] # END handle index objects [ 33s] num_objs += 1 [ 33s] self.assertEqual(item.hexsha, hexsha) [ 33s] self.assertEqual(item.type, typename) [ 33s] > assert item.size [ 33s] [ 33s] test/test_base.py:55: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/base.py:205: in _set_cache_ [ 33s] super(IndexObject, self)._set_cache_(attr) [ 33s] git/objects/base.py:102: in _set_cache_ [ 33s] oinfo = self.repo.odb.info(self.binsha) [ 33s] git/db.py:40: in info [ 33s] hexsha, typename, size = self._git.get_object_header(bin_to_hex(binsha)) [ 33s] git/cmd.py:1383: in get_object_header [ 33s] return self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] header_line = b'8741fc1d09d61f02ffd8cded15ff603eff1ec070 missing\n' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] else: [ 33s] > raise ValueError("SHA %s could not be resolved, git returned: %r" % (tokens[0], header_line.strip())) [ 33s] E ValueError: SHA b'8741fc1d09d61f02ffd8cded15ff603eff1ec070' could not be resolved, git returned: b'8741fc1d09d61f02ffd8cded15ff603eff1ec070 missing' [ 33s] [ 33s] git/cmd.py:1331: ValueError [ 33s] _______________________ TestBase.test_object_resolution ________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_object_resolution(self): [ 33s] # objects must be resolved to shas so they compare equal [ 33s] > self.assertEqual(self.rorepo.head.reference.object, self.rorepo.active_branch.object) [ 33s] [ 33s] test/test_base.py:96: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________________ TestBase.test_with_rw_repo __________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________________ TestCommit.test_iteration ___________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_iteration(self): [ 33s] # we can iterate commits [ 33s] all_commits = Commit.list_items(self.rorepo, self.rorepo.head) [ 33s] assert all_commits [ 33s] self.assertEqual(all_commits, list(self.rorepo.iter_commits())) [ 33s] [ 33s] # this includes merge commits [ 33s] mcomit = self.rorepo.commit("d884adc80c80300b4cc05321494713904ef1df2d") [ 33s] assert mcomit in all_commits [ 33s] [ 33s] # we can limit the result to paths [ 33s] > ltd_commits = list(self.rorepo.iter_commits(paths="CHANGES")) [ 33s] [ 33s] test/test_commit.py:269: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/objects/commit.py:426: in _iter_from_process_or_stream [ 33s] finalize_process(proc_or_stream) [ 33s] git/util.py:419: in finalize_process [ 33s] proc.wait(**kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , stderr = b'' [ 33s] [ 33s] def wait(self, stderr: Union[None, str, bytes] = b"") -> int: [ 33s] """Wait for the process and return its status code. [ 33s] [ 33s] :param stderr: Previously read value of stderr, in case stderr is already closed. [ 33s] :warn: may deadlock if output or error pipes are used and not handled separately. [ 33s] :raise GitCommandError: if the return status is not 0""" [ 33s] if stderr is None: [ 33s] stderr_b = b"" [ 33s] stderr_b = force_bytes(data=stderr, encoding="utf-8") [ 33s] status: Union[int, None] [ 33s] if self.proc is not None: [ 33s] status = self.proc.wait() [ 33s] p_stderr = self.proc.stderr [ 33s] else: # Assume the underlying proc was killed earlier or never existed [ 33s] status = self.status [ 33s] p_stderr = None [ 33s] [ 33s] def read_all_from_possibly_closed_stream(stream: Union[IO[bytes], None]) -> bytes: [ 33s] if stream: [ 33s] try: [ 33s] return stderr_b + force_bytes(stream.read()) [ 33s] except (OSError, ValueError): [ 33s] return stderr_b or b"" [ 33s] else: [ 33s] return stderr_b or b"" [ 33s] [ 33s] # END status handling [ 33s] [ 33s] if status != 0: [ 33s] errstr = read_all_from_possibly_closed_stream(p_stderr) [ 33s] log.debug("AutoInterrupt wait stderr: %r" % (errstr,)) [ 33s] > raise GitCommandError(remove_password_if_present(self.args), status, errstr) [ 33s] E git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) [ 33s] E cmdline: git rev-list f25333525425ee1497366fd300a60127aa652d79 -- CHANGES [ 33s] E stderr: 'fatal: unable to access 'https://github.com/gitpython-developers/GitPython/': Could not resolve host: github.com [ 33s] E fatal: could not fetch 40146438d46d57276d5aa6622570d00cec52b1bf from promisor remote [ 33s] E ' [ 33s] [ 33s] git/cmd.py:604: GitCommandError [ 33s] ___________________________ TestCommit.test_renames ____________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_renames(self): [ 33s] commit = self.rorepo.commit("185d847ec7647fd2642a82d9205fb3d07ea71715") [ 33s] > files = commit.stats.files [ 33s] [ 33s] test/test_commit.py:164: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/objects/commit.py:334: in stats [ 33s] text = self.repo.git.diff(self.parents[0].hexsha, self.hexsha, "--", numstat=True, no_renames=True) [ 33s] git/cmd.py:741: in [ 33s] return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) [ 33s] git/cmd.py:1315: in _call_process [ 33s] return self.execute(call, **exec_kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] command = ['git', 'diff', '--numstat', '--no-renames', 'd77b3c0794e1b8e24b7917d7d480305b8063e36d', '185d847ec7647fd2642a82d9205fb3d07ea71715', ...] [ 33s] istream = None, with_extended_output = False, with_exceptions = True [ 33s] as_process = False, output_stream = None, stdout_as_string = True [ 33s] kill_after_timeout = None, with_stdout = True, universal_newlines = False [ 33s] shell = None [ 33s] env = {'CPU': 'x86_64', 'CSHEDIT': 'emacs', 'FORCE_SOURCE_DATE': '1', 'GIT_PYTHON_TEST_GIT_REPO_BASE': '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335', ...} [ 33s] max_chunk_size = 8192, strip_newline_in_stdout = True, subprocess_kwargs = {} [ 33s] redacted_command = ['git', 'diff', '--numstat', '--no-renames', 'd77b3c0794e1b8e24b7917d7d480305b8063e36d', '185d847ec7647fd2642a82d9205fb3d07ea71715', ...] [ 33s] cwd = '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335' [ 33s] inline_env = None, cmd_not_found_exception = [ 33s] stdout_sink = -1, istream_ok = 'None' [ 33s] proc = [ 33s] [ 33s] def execute( [ 33s] self, [ 33s] command: Union[str, Sequence[Any]], [ 33s] istream: Union[None, BinaryIO] = None, [ 33s] with_extended_output: bool = False, [ 33s] with_exceptions: bool = True, [ 33s] as_process: bool = False, [ 33s] output_stream: Union[None, BinaryIO] = None, [ 33s] stdout_as_string: bool = True, [ 33s] kill_after_timeout: Union[None, float] = None, [ 33s] with_stdout: bool = True, [ 33s] universal_newlines: bool = False, [ 33s] shell: Union[None, bool] = None, [ 33s] env: Union[None, Mapping[str, str]] = None, [ 33s] max_chunk_size: int = io.DEFAULT_BUFFER_SIZE, [ 33s] strip_newline_in_stdout: bool = True, [ 33s] **subprocess_kwargs: Any, [ 33s] ) -> Union[str, bytes, Tuple[int, Union[str, bytes], str], AutoInterrupt]: [ 33s] """Handles executing the command on the shell and consumes and returns [ 33s] the returned information (stdout) [ 33s] [ 33s] :param command: [ 33s] The command argument list to execute. [ 33s] It should be a string, or a sequence of program arguments. The [ 33s] program to execute is the first item in the args sequence or string. [ 33s] [ 33s] :param istream: [ 33s] Standard input filehandle passed to subprocess.Popen. [ 33s] [ 33s] :param with_extended_output: [ 33s] Whether to return a (status, stdout, stderr) tuple. [ 33s] [ 33s] :param with_exceptions: [ 33s] Whether to raise an exception when git returns a non-zero status. [ 33s] [ 33s] :param as_process: [ 33s] Whether to return the created process instance directly from which [ 33s] streams can be read on demand. This will render with_extended_output and [ 33s] with_exceptions ineffective - the caller will have [ 33s] to deal with the details himself. [ 33s] It is important to note that the process will be placed into an AutoInterrupt [ 33s] wrapper that will interrupt the process once it goes out of scope. If you [ 33s] use the command in iterators, you should pass the whole process instance [ 33s] instead of a single stream. [ 33s] [ 33s] :param output_stream: [ 33s] If set to a file-like object, data produced by the git command will be [ 33s] output to the given stream directly. [ 33s] This feature only has any effect if as_process is False. Processes will [ 33s] always be created with a pipe due to issues with subprocess. [ 33s] This merely is a workaround as data will be copied from the [ 33s] output pipe to the given output stream directly. [ 33s] Judging from the implementation, you shouldn't use this flag ! [ 33s] [ 33s] :param stdout_as_string: [ 33s] if False, the commands standard output will be bytes. Otherwise, it will be [ 33s] decoded into a string using the default encoding (usually utf-8). [ 33s] The latter can fail, if the output contains binary data. [ 33s] [ 33s] :param env: [ 33s] A dictionary of environment variables to be passed to `subprocess.Popen`. [ 33s] [ 33s] :param max_chunk_size: [ 33s] Maximum number of bytes in one chunk of data passed to the output_stream in [ 33s] one invocation of write() method. If the given number is not positive then [ 33s] the default value is used. [ 33s] [ 33s] :param subprocess_kwargs: [ 33s] Keyword arguments to be passed to subprocess.Popen. Please note that [ 33s] some of the valid kwargs are already set by this method, the ones you [ 33s] specify may not be the same ones. [ 33s] [ 33s] :param with_stdout: If True, default True, we open stdout on the created process [ 33s] :param universal_newlines: [ 33s] if True, pipes will be opened as text, and lines are split at [ 33s] all known line endings. [ 33s] :param shell: [ 33s] Whether to invoke commands through a shell (see `Popen(..., shell=True)`). [ 33s] It overrides :attr:`USE_SHELL` if it is not `None`. [ 33s] :param kill_after_timeout: [ 33s] To specify a timeout in seconds for the git command, after which the process [ 33s] should be killed. This will have no effect if as_process is set to True. It is [ 33s] set to None by default and will let the process run until the timeout is [ 33s] explicitly specified. This feature is not supported on Windows. It's also worth [ 33s] noting that kill_after_timeout uses SIGKILL, which can have negative side [ 33s] effects on a repository. For example, stale locks in case of git gc could [ 33s] render the repository incapable of accepting changes until the lock is manually [ 33s] removed. [ 33s] :param strip_newline_in_stdout: [ 33s] Whether to strip the trailing ``\\n`` of the command stdout. [ 33s] :return: [ 33s] * str(output) if extended_output = False (Default) [ 33s] * tuple(int(status), str(stdout), str(stderr)) if extended_output = True [ 33s] [ 33s] if output_stream is True, the stdout value will be your output stream: [ 33s] * output_stream if extended_output = False [ 33s] * tuple(int(status), output_stream, str(stderr)) if extended_output = True [ 33s] [ 33s] Note git is executed with LC_MESSAGES="C" to ensure consistent [ 33s] output regardless of system language. [ 33s] [ 33s] :raise GitCommandError: [ 33s] [ 33s] :note: [ 33s] If you add additional keyword arguments to the signature of this method, [ 33s] you must update the execute_kwargs tuple housed in this module.""" [ 33s] # Remove password for the command if present [ 33s] redacted_command = remove_password_if_present(command) [ 33s] if self.GIT_PYTHON_TRACE and (self.GIT_PYTHON_TRACE != "full" or as_process): [ 33s] log.info(" ".join(redacted_command)) [ 33s] [ 33s] # Allow the user to have the command executed in their working dir. [ 33s] try: [ 33s] cwd = self._working_dir or os.getcwd() # type: Union[None, str] [ 33s] if not os.access(str(cwd), os.X_OK): [ 33s] cwd = None [ 33s] except FileNotFoundError: [ 33s] cwd = None [ 33s] [ 33s] # Start the process [ 33s] inline_env = env [ 33s] env = os.environ.copy() [ 33s] # Attempt to force all output to plain ascii english, which is what some parsing code [ 33s] # may expect. [ 33s] # According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well [ 33s] # just to be sure. [ 33s] env["LANGUAGE"] = "C" [ 33s] env["LC_ALL"] = "C" [ 33s] env.update(self._environment) [ 33s] if inline_env is not None: [ 33s] env.update(inline_env) [ 33s] [ 33s] if is_win: [ 33s] cmd_not_found_exception = OSError [ 33s] if kill_after_timeout is not None: [ 33s] raise GitCommandError( [ 33s] redacted_command, [ 33s] '"kill_after_timeout" feature is not supported on Windows.', [ 33s] ) [ 33s] else: [ 33s] cmd_not_found_exception = FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable [ 33s] # end handle [ 33s] [ 33s] stdout_sink = PIPE if with_stdout else getattr(subprocess, "DEVNULL", None) or open(os.devnull, "wb") [ 33s] istream_ok = "None" [ 33s] if istream: [ 33s] istream_ok = "" [ 33s] log.debug( [ 33s] "Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", [ 33s] redacted_command, [ 33s] cwd, [ 33s] universal_newlines, [ 33s] shell, [ 33s] istream_ok, [ 33s] ) [ 33s] try: [ 33s] proc = Popen( [ 33s] command, [ 33s] env=env, [ 33s] cwd=cwd, [ 33s] bufsize=-1, [ 33s] stdin=istream or DEVNULL, [ 33s] stderr=PIPE, [ 33s] stdout=stdout_sink, [ 33s] shell=shell is not None and shell or self.USE_SHELL, [ 33s] close_fds=is_posix, # unsupported on windows [ 33s] universal_newlines=universal_newlines, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] **subprocess_kwargs, [ 33s] ) [ 33s] [ 33s] except cmd_not_found_exception as err: [ 33s] raise GitCommandNotFound(redacted_command, err) from err [ 33s] else: [ 33s] # replace with a typeguard for Popen[bytes]? [ 33s] proc.stdout = cast(BinaryIO, proc.stdout) [ 33s] proc.stderr = cast(BinaryIO, proc.stderr) [ 33s] [ 33s] if as_process: [ 33s] return self.AutoInterrupt(proc, command) [ 33s] [ 33s] def _kill_process(pid: int) -> None: [ 33s] """Callback method to kill a process.""" [ 33s] p = Popen( [ 33s] ["ps", "--ppid", str(pid)], [ 33s] stdout=PIPE, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] ) [ 33s] child_pids = [] [ 33s] if p.stdout is not None: [ 33s] for line in p.stdout: [ 33s] if len(line.split()) > 0: [ 33s] local_pid = (line.split())[0] [ 33s] if local_pid.isdigit(): [ 33s] child_pids.append(int(local_pid)) [ 33s] try: [ 33s] # Windows does not have SIGKILL, so use SIGTERM instead [ 33s] sig = getattr(signal, "SIGKILL", signal.SIGTERM) [ 33s] os.kill(pid, sig) [ 33s] for child_pid in child_pids: [ 33s] try: [ 33s] os.kill(child_pid, sig) [ 33s] except OSError: [ 33s] pass [ 33s] kill_check.set() # tell the main routine that the process was killed [ 33s] except OSError: [ 33s] # It is possible that the process gets completed in the duration after timeout [ 33s] # happens and before we try to kill the process. [ 33s] pass [ 33s] return [ 33s] [ 33s] # end [ 33s] [ 33s] if kill_after_timeout is not None: [ 33s] kill_check = threading.Event() [ 33s] watchdog = threading.Timer(kill_after_timeout, _kill_process, args=(proc.pid,)) [ 33s] [ 33s] # Wait for the process to return [ 33s] status = 0 [ 33s] stdout_value: Union[str, bytes] = b"" [ 33s] stderr_value: Union[str, bytes] = b"" [ 33s] newline = "\n" if universal_newlines else b"\n" [ 33s] try: [ 33s] if output_stream is None: [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.start() [ 33s] stdout_value, stderr_value = proc.communicate() [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.cancel() [ 33s] if kill_check.is_set(): [ 33s] stderr_value = 'Timeout: the command "%s" did not complete in %d ' "secs." % ( [ 33s] " ".join(redacted_command), [ 33s] kill_after_timeout, [ 33s] ) [ 33s] if not universal_newlines: [ 33s] stderr_value = stderr_value.encode(defenc) [ 33s] # strip trailing "\n" [ 33s] if stdout_value.endswith(newline) and strip_newline_in_stdout: # type: ignore [ 33s] stdout_value = stdout_value[:-1] [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] [ 33s] status = proc.returncode [ 33s] else: [ 33s] max_chunk_size = max_chunk_size if max_chunk_size and max_chunk_size > 0 else io.DEFAULT_BUFFER_SIZE [ 33s] stream_copy(proc.stdout, output_stream, max_chunk_size) [ 33s] stdout_value = proc.stdout.read() [ 33s] stderr_value = proc.stderr.read() [ 33s] # strip trailing "\n" [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] status = proc.wait() [ 33s] # END stdout handling [ 33s] finally: [ 33s] proc.stdout.close() [ 33s] proc.stderr.close() [ 33s] [ 33s] if self.GIT_PYTHON_TRACE == "full": [ 33s] cmdstr = " ".join(redacted_command) [ 33s] [ 33s] def as_text(stdout_value: Union[bytes, str]) -> str: [ 33s] return not output_stream and safe_decode(stdout_value) or "" [ 33s] [ 33s] # end [ 33s] [ 33s] if stderr_value: [ 33s] log.info( [ 33s] "%s -> %d; stdout: '%s'; stderr: '%s'", [ 33s] cmdstr, [ 33s] status, [ 33s] as_text(stdout_value), [ 33s] safe_decode(stderr_value), [ 33s] ) [ 33s] elif stdout_value: [ 33s] log.info("%s -> %d; stdout: '%s'", cmdstr, status, as_text(stdout_value)) [ 33s] else: [ 33s] log.info("%s -> %d", cmdstr, status) [ 33s] # END handle debug printing [ 33s] [ 33s] if with_exceptions and status != 0: [ 33s] > raise GitCommandError(redacted_command, status, stderr_value, stdout_value) [ 33s] E git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) [ 33s] E cmdline: git diff --numstat --no-renames d77b3c0794e1b8e24b7917d7d480305b8063e36d 185d847ec7647fd2642a82d9205fb3d07ea71715 -- [ 33s] E stderr: 'fatal: unable to access 'https://github.com/gitpython-developers/GitPython/': Could not resolve host: github.com [ 33s] E fatal: could not fetch 03e109b60ec72a4cc8b2ac8ff717ade6bdf49c67 from promisor remote' [ 33s] [ 33s] git/cmd.py:1109: GitCommandError [ 33s] ____________________________ TestCommit.test_stats _____________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_stats(self): [ 33s] commit = self.rorepo.commit("33ebe7acec14b25c5f84f35a664803fcab2f7781") [ 33s] > stats = commit.stats [ 33s] [ 33s] test/test_commit.py:134: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/objects/commit.py:327: in stats [ 33s] text = self.repo.git.diff_tree(self.hexsha, "--", numstat=True, no_renames=True, root=True) [ 33s] git/cmd.py:741: in [ 33s] return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) [ 33s] git/cmd.py:1315: in _call_process [ 33s] return self.execute(call, **exec_kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] command = ['git', 'diff-tree', '--numstat', '--no-renames', '--root', '33ebe7acec14b25c5f84f35a664803fcab2f7781', ...] [ 33s] istream = None, with_extended_output = False, with_exceptions = True [ 33s] as_process = False, output_stream = None, stdout_as_string = True [ 33s] kill_after_timeout = None, with_stdout = True, universal_newlines = False [ 33s] shell = None [ 33s] env = {'CPU': 'x86_64', 'CSHEDIT': 'emacs', 'FORCE_SOURCE_DATE': '1', 'GIT_PYTHON_TEST_GIT_REPO_BASE': '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335', ...} [ 33s] max_chunk_size = 8192, strip_newline_in_stdout = True, subprocess_kwargs = {} [ 33s] redacted_command = ['git', 'diff-tree', '--numstat', '--no-renames', '--root', '33ebe7acec14b25c5f84f35a664803fcab2f7781', ...] [ 33s] cwd = '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335' [ 33s] inline_env = None, cmd_not_found_exception = [ 33s] stdout_sink = -1, istream_ok = 'None' [ 33s] proc = [ 33s] [ 33s] def execute( [ 33s] self, [ 33s] command: Union[str, Sequence[Any]], [ 33s] istream: Union[None, BinaryIO] = None, [ 33s] with_extended_output: bool = False, [ 33s] with_exceptions: bool = True, [ 33s] as_process: bool = False, [ 33s] output_stream: Union[None, BinaryIO] = None, [ 33s] stdout_as_string: bool = True, [ 33s] kill_after_timeout: Union[None, float] = None, [ 33s] with_stdout: bool = True, [ 33s] universal_newlines: bool = False, [ 33s] shell: Union[None, bool] = None, [ 33s] env: Union[None, Mapping[str, str]] = None, [ 33s] max_chunk_size: int = io.DEFAULT_BUFFER_SIZE, [ 33s] strip_newline_in_stdout: bool = True, [ 33s] **subprocess_kwargs: Any, [ 33s] ) -> Union[str, bytes, Tuple[int, Union[str, bytes], str], AutoInterrupt]: [ 33s] """Handles executing the command on the shell and consumes and returns [ 33s] the returned information (stdout) [ 33s] [ 33s] :param command: [ 33s] The command argument list to execute. [ 33s] It should be a string, or a sequence of program arguments. The [ 33s] program to execute is the first item in the args sequence or string. [ 33s] [ 33s] :param istream: [ 33s] Standard input filehandle passed to subprocess.Popen. [ 33s] [ 33s] :param with_extended_output: [ 33s] Whether to return a (status, stdout, stderr) tuple. [ 33s] [ 33s] :param with_exceptions: [ 33s] Whether to raise an exception when git returns a non-zero status. [ 33s] [ 33s] :param as_process: [ 33s] Whether to return the created process instance directly from which [ 33s] streams can be read on demand. This will render with_extended_output and [ 33s] with_exceptions ineffective - the caller will have [ 33s] to deal with the details himself. [ 33s] It is important to note that the process will be placed into an AutoInterrupt [ 33s] wrapper that will interrupt the process once it goes out of scope. If you [ 33s] use the command in iterators, you should pass the whole process instance [ 33s] instead of a single stream. [ 33s] [ 33s] :param output_stream: [ 33s] If set to a file-like object, data produced by the git command will be [ 33s] output to the given stream directly. [ 33s] This feature only has any effect if as_process is False. Processes will [ 33s] always be created with a pipe due to issues with subprocess. [ 33s] This merely is a workaround as data will be copied from the [ 33s] output pipe to the given output stream directly. [ 33s] Judging from the implementation, you shouldn't use this flag ! [ 33s] [ 33s] :param stdout_as_string: [ 33s] if False, the commands standard output will be bytes. Otherwise, it will be [ 33s] decoded into a string using the default encoding (usually utf-8). [ 33s] The latter can fail, if the output contains binary data. [ 33s] [ 33s] :param env: [ 33s] A dictionary of environment variables to be passed to `subprocess.Popen`. [ 33s] [ 33s] :param max_chunk_size: [ 33s] Maximum number of bytes in one chunk of data passed to the output_stream in [ 33s] one invocation of write() method. If the given number is not positive then [ 33s] the default value is used. [ 33s] [ 33s] :param subprocess_kwargs: [ 33s] Keyword arguments to be passed to subprocess.Popen. Please note that [ 33s] some of the valid kwargs are already set by this method, the ones you [ 33s] specify may not be the same ones. [ 33s] [ 33s] :param with_stdout: If True, default True, we open stdout on the created process [ 33s] :param universal_newlines: [ 33s] if True, pipes will be opened as text, and lines are split at [ 33s] all known line endings. [ 33s] :param shell: [ 33s] Whether to invoke commands through a shell (see `Popen(..., shell=True)`). [ 33s] It overrides :attr:`USE_SHELL` if it is not `None`. [ 33s] :param kill_after_timeout: [ 33s] To specify a timeout in seconds for the git command, after which the process [ 33s] should be killed. This will have no effect if as_process is set to True. It is [ 33s] set to None by default and will let the process run until the timeout is [ 33s] explicitly specified. This feature is not supported on Windows. It's also worth [ 33s] noting that kill_after_timeout uses SIGKILL, which can have negative side [ 33s] effects on a repository. For example, stale locks in case of git gc could [ 33s] render the repository incapable of accepting changes until the lock is manually [ 33s] removed. [ 33s] :param strip_newline_in_stdout: [ 33s] Whether to strip the trailing ``\\n`` of the command stdout. [ 33s] :return: [ 33s] * str(output) if extended_output = False (Default) [ 33s] * tuple(int(status), str(stdout), str(stderr)) if extended_output = True [ 33s] [ 33s] if output_stream is True, the stdout value will be your output stream: [ 33s] * output_stream if extended_output = False [ 33s] * tuple(int(status), output_stream, str(stderr)) if extended_output = True [ 33s] [ 33s] Note git is executed with LC_MESSAGES="C" to ensure consistent [ 33s] output regardless of system language. [ 33s] [ 33s] :raise GitCommandError: [ 33s] [ 33s] :note: [ 33s] If you add additional keyword arguments to the signature of this method, [ 33s] you must update the execute_kwargs tuple housed in this module.""" [ 33s] # Remove password for the command if present [ 33s] redacted_command = remove_password_if_present(command) [ 33s] if self.GIT_PYTHON_TRACE and (self.GIT_PYTHON_TRACE != "full" or as_process): [ 33s] log.info(" ".join(redacted_command)) [ 33s] [ 33s] # Allow the user to have the command executed in their working dir. [ 33s] try: [ 33s] cwd = self._working_dir or os.getcwd() # type: Union[None, str] [ 33s] if not os.access(str(cwd), os.X_OK): [ 33s] cwd = None [ 33s] except FileNotFoundError: [ 33s] cwd = None [ 33s] [ 33s] # Start the process [ 33s] inline_env = env [ 33s] env = os.environ.copy() [ 33s] # Attempt to force all output to plain ascii english, which is what some parsing code [ 33s] # may expect. [ 33s] # According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well [ 33s] # just to be sure. [ 33s] env["LANGUAGE"] = "C" [ 33s] env["LC_ALL"] = "C" [ 33s] env.update(self._environment) [ 33s] if inline_env is not None: [ 33s] env.update(inline_env) [ 33s] [ 33s] if is_win: [ 33s] cmd_not_found_exception = OSError [ 33s] if kill_after_timeout is not None: [ 33s] raise GitCommandError( [ 33s] redacted_command, [ 33s] '"kill_after_timeout" feature is not supported on Windows.', [ 33s] ) [ 33s] else: [ 33s] cmd_not_found_exception = FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable [ 33s] # end handle [ 33s] [ 33s] stdout_sink = PIPE if with_stdout else getattr(subprocess, "DEVNULL", None) or open(os.devnull, "wb") [ 33s] istream_ok = "None" [ 33s] if istream: [ 33s] istream_ok = "" [ 33s] log.debug( [ 33s] "Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", [ 33s] redacted_command, [ 33s] cwd, [ 33s] universal_newlines, [ 33s] shell, [ 33s] istream_ok, [ 33s] ) [ 33s] try: [ 33s] proc = Popen( [ 33s] command, [ 33s] env=env, [ 33s] cwd=cwd, [ 33s] bufsize=-1, [ 33s] stdin=istream or DEVNULL, [ 33s] stderr=PIPE, [ 33s] stdout=stdout_sink, [ 33s] shell=shell is not None and shell or self.USE_SHELL, [ 33s] close_fds=is_posix, # unsupported on windows [ 33s] universal_newlines=universal_newlines, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] **subprocess_kwargs, [ 33s] ) [ 33s] [ 33s] except cmd_not_found_exception as err: [ 33s] raise GitCommandNotFound(redacted_command, err) from err [ 33s] else: [ 33s] # replace with a typeguard for Popen[bytes]? [ 33s] proc.stdout = cast(BinaryIO, proc.stdout) [ 33s] proc.stderr = cast(BinaryIO, proc.stderr) [ 33s] [ 33s] if as_process: [ 33s] return self.AutoInterrupt(proc, command) [ 33s] [ 33s] def _kill_process(pid: int) -> None: [ 33s] """Callback method to kill a process.""" [ 33s] p = Popen( [ 33s] ["ps", "--ppid", str(pid)], [ 33s] stdout=PIPE, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] ) [ 33s] child_pids = [] [ 33s] if p.stdout is not None: [ 33s] for line in p.stdout: [ 33s] if len(line.split()) > 0: [ 33s] local_pid = (line.split())[0] [ 33s] if local_pid.isdigit(): [ 33s] child_pids.append(int(local_pid)) [ 33s] try: [ 33s] # Windows does not have SIGKILL, so use SIGTERM instead [ 33s] sig = getattr(signal, "SIGKILL", signal.SIGTERM) [ 33s] os.kill(pid, sig) [ 33s] for child_pid in child_pids: [ 33s] try: [ 33s] os.kill(child_pid, sig) [ 33s] except OSError: [ 33s] pass [ 33s] kill_check.set() # tell the main routine that the process was killed [ 33s] except OSError: [ 33s] # It is possible that the process gets completed in the duration after timeout [ 33s] # happens and before we try to kill the process. [ 33s] pass [ 33s] return [ 33s] [ 33s] # end [ 33s] [ 33s] if kill_after_timeout is not None: [ 33s] kill_check = threading.Event() [ 33s] watchdog = threading.Timer(kill_after_timeout, _kill_process, args=(proc.pid,)) [ 33s] [ 33s] # Wait for the process to return [ 33s] status = 0 [ 33s] stdout_value: Union[str, bytes] = b"" [ 33s] stderr_value: Union[str, bytes] = b"" [ 33s] newline = "\n" if universal_newlines else b"\n" [ 33s] try: [ 33s] if output_stream is None: [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.start() [ 33s] stdout_value, stderr_value = proc.communicate() [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.cancel() [ 33s] if kill_check.is_set(): [ 33s] stderr_value = 'Timeout: the command "%s" did not complete in %d ' "secs." % ( [ 33s] " ".join(redacted_command), [ 33s] kill_after_timeout, [ 33s] ) [ 33s] if not universal_newlines: [ 33s] stderr_value = stderr_value.encode(defenc) [ 33s] # strip trailing "\n" [ 33s] if stdout_value.endswith(newline) and strip_newline_in_stdout: # type: ignore [ 33s] stdout_value = stdout_value[:-1] [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] [ 33s] status = proc.returncode [ 33s] else: [ 33s] max_chunk_size = max_chunk_size if max_chunk_size and max_chunk_size > 0 else io.DEFAULT_BUFFER_SIZE [ 33s] stream_copy(proc.stdout, output_stream, max_chunk_size) [ 33s] stdout_value = proc.stdout.read() [ 33s] stderr_value = proc.stderr.read() [ 33s] # strip trailing "\n" [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] status = proc.wait() [ 33s] # END stdout handling [ 33s] finally: [ 33s] proc.stdout.close() [ 33s] proc.stderr.close() [ 33s] [ 33s] if self.GIT_PYTHON_TRACE == "full": [ 33s] cmdstr = " ".join(redacted_command) [ 33s] [ 33s] def as_text(stdout_value: Union[bytes, str]) -> str: [ 33s] return not output_stream and safe_decode(stdout_value) or "" [ 33s] [ 33s] # end [ 33s] [ 33s] if stderr_value: [ 33s] log.info( [ 33s] "%s -> %d; stdout: '%s'; stderr: '%s'", [ 33s] cmdstr, [ 33s] status, [ 33s] as_text(stdout_value), [ 33s] safe_decode(stderr_value), [ 33s] ) [ 33s] elif stdout_value: [ 33s] log.info("%s -> %d; stdout: '%s'", cmdstr, status, as_text(stdout_value)) [ 33s] else: [ 33s] log.info("%s -> %d", cmdstr, status) [ 33s] # END handle debug printing [ 33s] [ 33s] if with_exceptions and status != 0: [ 33s] > raise GitCommandError(redacted_command, status, stderr_value, stdout_value) [ 33s] E git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) [ 33s] E cmdline: git diff-tree --numstat --no-renames --root 33ebe7acec14b25c5f84f35a664803fcab2f7781 -- [ 33s] E stderr: 'fatal: unable to access 'https://github.com/gitpython-developers/GitPython/': Could not resolve host: github.com [ 33s] E fatal: could not fetch 960b40fe368a9882221bcdd8635b9080dec01ec6 from promisor remote' [ 33s] [ 33s] git/cmd.py:1109: GitCommandError [ 33s] ___________________________ TestCommit.test_trailers ___________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_trailers(self): [ 33s] KEY_1 = "Hello" [ 33s] VALUE_1 = "World" [ 33s] KEY_2 = "Key" [ 33s] VALUE_2 = "Value with inner spaces" [ 33s] [ 33s] # Check if KEY 1 & 2 with Value 1 & 2 is extracted from multiple msg variations [ 33s] msgs = [] [ 33s] msgs.append(f"Subject\n\n{KEY_1}: {VALUE_1}\n{KEY_2}: {VALUE_2}\n") [ 33s] msgs.append(f"Subject\n \nSome body of a function\n \n{KEY_1}: {VALUE_1}\n{KEY_2}: {VALUE_2}\n") [ 33s] msgs.append( [ 33s] f"Subject\n \nSome body of a function\n\nnon-key: non-value\n\n{KEY_1}: {VALUE_1}\n{KEY_2}: {VALUE_2}\n" [ 33s] ) [ 33s] msgs.append( [ 33s] f"Subject\n \nSome multiline\n body of a function\n\nnon-key: non-value\n\n{KEY_1}: {VALUE_1}\n{KEY_2} : {VALUE_2}\n" [ 33s] ) [ 33s] [ 33s] for msg in msgs: [ 33s] > commit = self.rorepo.commit("master") [ 33s] [ 33s] test/test_commit.py:513: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:614: in commit [ 33s] return self.rev_parse(str(rev) + "^0") [ 33s] git/repo/fun.py:250: in rev_parse [ 33s] obj = cast(Commit_ish, name_to_object(repo, rev[:start])) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] repo = [ 33s] name = 'master', return_ref = False [ 33s] [ 33s] def name_to_object( [ 33s] repo: "Repo", name: str, return_ref: bool = False [ 33s] ) -> Union[SymbolicReference, "Commit", "TagObject", "Blob", "Tree"]: [ 33s] """ [ 33s] :return: object specified by the given name, hexshas ( short and long ) [ 33s] as well as references are supported [ 33s] :param return_ref: if name specifies a reference, we will return the reference [ 33s] instead of the object. Otherwise it will raise BadObject or BadName [ 33s] """ [ 33s] hexsha: Union[None, str, bytes] = None [ 33s] [ 33s] # is it a hexsha ? Try the most common ones, which is 7 to 40 [ 33s] if repo.re_hexsha_shortened.match(name): [ 33s] if len(name) != 40: [ 33s] # find long sha for short sha [ 33s] hexsha = short_to_long(repo.odb, name) [ 33s] else: [ 33s] hexsha = name [ 33s] # END handle short shas [ 33s] # END find sha if it matches [ 33s] [ 33s] # if we couldn't find an object for what seemed to be a short hexsha [ 33s] # try to find it as reference anyway, it could be named 'aaa' for instance [ 33s] if hexsha is None: [ 33s] for base in ( [ 33s] "%s", [ 33s] "refs/%s", [ 33s] "refs/tags/%s", [ 33s] "refs/heads/%s", [ 33s] "refs/remotes/%s", [ 33s] "refs/remotes/%s/HEAD", [ 33s] ): [ 33s] try: [ 33s] hexsha = SymbolicReference.dereference_recursive(repo, base % name) [ 33s] if return_ref: [ 33s] return SymbolicReference(repo, base % name) [ 33s] # END handle symbolic ref [ 33s] break [ 33s] except ValueError: [ 33s] pass [ 33s] # END for each base [ 33s] # END handle hexsha [ 33s] [ 33s] # didn't find any ref, this is an error [ 33s] if return_ref: [ 33s] raise BadObject("Couldn't find reference named %r" % name) [ 33s] # END handle return ref [ 33s] [ 33s] # tried everything ? fail [ 33s] if hexsha is None: [ 33s] > raise BadName(name) [ 33s] E gitdb.exc.BadName: Ref 'master' did not resolve to an object [ 33s] [ 33s] git/repo/fun.py:184: BadName [ 33s] ______________________ TestDiff.test_diff_initial_commit _______________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_diff_initial_commit(self): [ 33s] initial_commit = self.rorepo.commit("33ebe7acec14b25c5f84f35a664803fcab2f7781") [ 33s] [ 33s] # Without creating a patch... [ 33s] > diff_index = initial_commit.diff(NULL_TREE) [ 33s] [ 33s] test/test_diff.py:254: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/diff.py:191: in diff [ 33s] index = diff_method(self.repo, proc) [ 33s] git/diff.py:654: in _index_from_raw_format [ 33s] handle_process_output( [ 33s] git/cmd.py:204: in handle_process_output [ 33s] return finalizer(process) [ 33s] git/util.py:419: in finalize_process [ 33s] proc.wait(**kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , stderr = b'' [ 33s] [ 33s] def wait(self, stderr: Union[None, str, bytes] = b"") -> int: [ 33s] """Wait for the process and return its status code. [ 33s] [ 33s] :param stderr: Previously read value of stderr, in case stderr is already closed. [ 33s] :warn: may deadlock if output or error pipes are used and not handled separately. [ 33s] :raise GitCommandError: if the return status is not 0""" [ 33s] if stderr is None: [ 33s] stderr_b = b"" [ 33s] stderr_b = force_bytes(data=stderr, encoding="utf-8") [ 33s] status: Union[int, None] [ 33s] if self.proc is not None: [ 33s] status = self.proc.wait() [ 33s] p_stderr = self.proc.stderr [ 33s] else: # Assume the underlying proc was killed earlier or never existed [ 33s] status = self.status [ 33s] p_stderr = None [ 33s] [ 33s] def read_all_from_possibly_closed_stream(stream: Union[IO[bytes], None]) -> bytes: [ 33s] if stream: [ 33s] try: [ 33s] return stderr_b + force_bytes(stream.read()) [ 33s] except (OSError, ValueError): [ 33s] return stderr_b or b"" [ 33s] else: [ 33s] return stderr_b or b"" [ 33s] [ 33s] # END status handling [ 33s] [ 33s] if status != 0: [ 33s] errstr = read_all_from_possibly_closed_stream(p_stderr) [ 33s] log.debug("AutoInterrupt wait stderr: %r" % (errstr,)) [ 33s] > raise GitCommandError(remove_password_if_present(self.args), status, errstr) [ 33s] E git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) [ 33s] E cmdline: git diff-tree 33ebe7acec14b25c5f84f35a664803fcab2f7781 --root -r --abbrev=40 --full-index -M --raw -z --no-color [ 33s] [ 33s] git/cmd.py:604: GitCommandError [ 33s] _________________________ TestDiff.test_diff_interface _________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_diff_interface(self): [ 33s] # test a few variations of the main diff routine [ 33s] assertion_map = {} [ 33s] for i, commit in enumerate(self.rorepo.iter_commits("0.1.6", max_count=2)): [ 33s] diff_item = commit [ 33s] if i % 2 == 0: [ 33s] diff_item = commit.tree [ 33s] # END use tree every second item [ 33s] [ 33s] for other in (None, NULL_TREE, commit.Index, commit.parents[0]): [ 33s] for paths in (None, "CHANGES", ("CHANGES", "lib")): [ 33s] for create_patch in range(2): [ 33s] > diff_index = diff_item.diff(other=other, paths=paths, create_patch=create_patch) [ 33s] [ 33s] test/test_diff.py:372: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/diff.py:191: in diff [ 33s] index = diff_method(self.repo, proc) [ 33s] git/diff.py:654: in _index_from_raw_format [ 33s] handle_process_output( [ 33s] git/cmd.py:204: in handle_process_output [ 33s] return finalizer(process) [ 33s] git/util.py:419: in finalize_process [ 33s] proc.wait(**kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , stderr = b'' [ 33s] [ 33s] def wait(self, stderr: Union[None, str, bytes] = b"") -> int: [ 33s] """Wait for the process and return its status code. [ 33s] [ 33s] :param stderr: Previously read value of stderr, in case stderr is already closed. [ 33s] :warn: may deadlock if output or error pipes are used and not handled separately. [ 33s] :raise GitCommandError: if the return status is not 0""" [ 33s] if stderr is None: [ 33s] stderr_b = b"" [ 33s] stderr_b = force_bytes(data=stderr, encoding="utf-8") [ 33s] status: Union[int, None] [ 33s] if self.proc is not None: [ 33s] status = self.proc.wait() [ 33s] p_stderr = self.proc.stderr [ 33s] else: # Assume the underlying proc was killed earlier or never existed [ 33s] status = self.status [ 33s] p_stderr = None [ 33s] [ 33s] def read_all_from_possibly_closed_stream(stream: Union[IO[bytes], None]) -> bytes: [ 33s] if stream: [ 33s] try: [ 33s] return stderr_b + force_bytes(stream.read()) [ 33s] except (OSError, ValueError): [ 33s] return stderr_b or b"" [ 33s] else: [ 33s] return stderr_b or b"" [ 33s] [ 33s] # END status handling [ 33s] [ 33s] if status != 0: [ 33s] errstr = read_all_from_possibly_closed_stream(p_stderr) [ 33s] log.debug("AutoInterrupt wait stderr: %r" % (errstr,)) [ 33s] > raise GitCommandError(remove_password_if_present(self.args), status, errstr) [ 33s] E git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) [ 33s] E cmdline: git diff ce41fc29549042f1aa09cc03174896cf23f112e3 --abbrev=40 --full-index -M --raw -z --no-color [ 33s] [ 33s] git/cmd.py:604: GitCommandError [ 33s] _______________________ Tutorials.test_init_repo_object ________________________ [ 33s] [ 33s] self = [ 33s] rw_dir = '/tmp/test_init_repo_objectdvu2o4g4' [ 33s] [ 33s] @with_rw_directory [ 33s] def test_init_repo_object(self, rw_dir): [ 33s] # [1-test_init_repo_object] [ 33s] from git import Repo [ 33s] [ 33s] # rorepo is a Repo instance pointing to the git-python repository. [ 33s] # For all you know, the first argument to Repo is a path to the repository [ 33s] # you want to work with [ 33s] repo = Repo(self.rorepo.working_tree_dir) [ 33s] assert not repo.bare [ 33s] # ![1-test_init_repo_object] [ 33s] [ 33s] # [2-test_init_repo_object] [ 33s] bare_repo = Repo.init(os.path.join(rw_dir, "bare-repo"), bare=True) [ 33s] assert bare_repo.bare [ 33s] # ![2-test_init_repo_object] [ 33s] [ 33s] # [3-test_init_repo_object] [ 33s] repo.config_reader() # get a config reader for read-only access [ 33s] with repo.config_writer(): # get a config writer to change configuration [ 33s] pass # call release() to be sure changes are written and locks are released [ 33s] # ![3-test_init_repo_object] [ 33s] [ 33s] # [4-test_init_repo_object] [ 33s] assert not bare_repo.is_dirty() # check the dirty state [ 33s] repo.untracked_files # retrieve a list of untracked files [ 33s] # ['my_untracked_file'] [ 33s] # ![4-test_init_repo_object] [ 33s] [ 33s] # [5-test_init_repo_object] [ 33s] cloned_repo = repo.clone(os.path.join(rw_dir, "to/this/path")) [ 33s] assert cloned_repo.__class__ is Repo # clone an existing repository [ 33s] assert Repo.init(os.path.join(rw_dir, "path/for/new/repo")).__class__ is Repo [ 33s] # ![5-test_init_repo_object] [ 33s] [ 33s] # [6-test_init_repo_object] [ 33s] with open(os.path.join(rw_dir, "repo.tar"), "wb") as fp: [ 33s] repo.archive(fp) [ 33s] # ![6-test_init_repo_object] [ 33s] [ 33s] # repository paths [ 33s] # [7-test_init_repo_object] [ 33s] assert os.path.isdir(cloned_repo.working_tree_dir) # directory with your work files [ 33s] assert cloned_repo.git_dir.startswith(cloned_repo.working_tree_dir) # directory containing the git repository [ 33s] assert bare_repo.working_tree_dir is None # bare repositories have no working tree [ 33s] # ![7-test_init_repo_object] [ 33s] [ 33s] # heads, tags and references [ 33s] # heads are branches in git-speak [ 33s] # [8-test_init_repo_object] [ 33s] self.assertEqual( [ 33s] > repo.head.ref, [ 33s] repo.heads.master, # head is a sym-ref pointing to master [ 33s] "It's ok if TC not running from `master`.", [ 33s] ) [ 33s] [ 33s] test/test_docs.py:78: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________ TestFun.test_aggressive_tree_merge ______________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_aggressive_tree_merge(self): [ 33s] # head tree with additions, removals and modification compared to its predecessor [ 33s] odb = self.rorepo.odb [ 33s] HC = self.rorepo.commit("6c1faef799095f3990e9970bc2cb10aa0221cf9c") [ 33s] H = HC.tree [ 33s] B = HC.parents[0].tree [ 33s] [ 33s] # entries from single tree [ 33s] trees = [H.binsha] [ 33s] > self._assert_index_entries(aggressive_tree_merge(odb, trees), trees) [ 33s] [ 33s] test/test_fun.py:44: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/index/fun.py:362: in aggressive_tree_merge [ 33s] for entry in traverse_tree_recursive(odb, tree_shas[-1], ""): [ 33s] git/objects/fun.py:244: in traverse_tree_recursive [ 33s] data = tree_entries_from_data(odb.stream(tree_sha).read()) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , header_line = b'' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] > raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] E ValueError: SHA could not be resolved, git returned: b'' [ 33s] [ 33s] git/cmd.py:1329: ValueError [ 33s] _________________________ TestFun.test_three_way_merge _________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _________________________ TestFun.test_tree_traversal __________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_tree_traversal(self): [ 33s] # low level tree tarversal [ 33s] odb = self.rorepo.odb [ 33s] > H = self.rorepo.tree("29eb123beb1c55e5db4aa652d843adccbd09ae18") # head tree [ 33s] [ 33s] test/test_fun.py:238: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:636: in tree [ 33s] return self.rev_parse(str(rev) + "^{tree}") [ 33s] git/repo/fun.py:276: in rev_parse [ 33s] obj = to_commit(obj).tree [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/commit.py:214: in _set_cache_ [ 33s] _binsha, _typename, self.size, stream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] cmd = [ 33s] ref = b'29eb123beb1c55e5db4aa652d843adccbd09ae18' [ 33s] [ 33s] def __get_object_header(self, cmd: "Git.AutoInterrupt", ref: AnyStr) -> Tuple[str, str, int]: [ 33s] if cmd.stdin and cmd.stdout: [ 33s] cmd.stdin.write(self._prepare_ref(ref)) [ 33s] > cmd.stdin.flush() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:1369: BrokenPipeError [ 33s] ______________________ TestFun.test_tree_traversal_single ______________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_tree_traversal_single(self): [ 33s] max_count = 50 [ 33s] count = 0 [ 33s] odb = self.rorepo.odb [ 33s] > for commit in self.rorepo.commit("29eb123beb1c55e5db4aa652d843adccbd09ae18").traverse(): [ 33s] [ 33s] test/test_fun.py:269: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/objects/util.py:526: in _traverse [ 33s] addToStack(stack, item, branch_first, nd) [ 33s] git/objects/util.py:488: in addToStack [ 33s] lst = self._get_intermediate_items(item) [ 33s] git/objects/commit.py:174: in _get_intermediate_items [ 33s] return tuple(commit.parents) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/commit.py:214: in _set_cache_ [ 33s] _binsha, _typename, self.size, stream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] cmd = [ 33s] ref = b'29eb123beb1c55e5db4aa652d843adccbd09ae18' [ 33s] [ 33s] def __get_object_header(self, cmd: "Git.AutoInterrupt", ref: AnyStr) -> Tuple[str, str, int]: [ 33s] if cmd.stdin and cmd.stdout: [ 33s] cmd.stdin.write(self._prepare_ref(ref)) [ 33s] > cmd.stdin.flush() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:1369: BrokenPipeError [ 33s] ___________________ TestGit.test_persistent_cat_file_command ___________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_persistent_cat_file_command(self): [ 33s] # read header only [ 33s] hexsha = "b2339455342180c7cc1e9bba3e9f181f7baa5167" [ 33s] g = self.git.cat_file(batch_check=True, istream=subprocess.PIPE, as_process=True) [ 33s] g.stdin.write(b"b2339455342180c7cc1e9bba3e9f181f7baa5167\n") [ 33s] g.stdin.flush() [ 33s] obj_info = g.stdout.readline() [ 33s] [ 33s] # read header + data [ 33s] g = self.git.cat_file(batch=True, istream=subprocess.PIPE, as_process=True) [ 33s] g.stdin.write(b"b2339455342180c7cc1e9bba3e9f181f7baa5167\n") [ 33s] g.stdin.flush() [ 33s] obj_info_two = g.stdout.readline() [ 33s] self.assertEqual(obj_info, obj_info_two) [ 33s] [ 33s] # read data - have to read it in one large chunk [ 33s] > size = int(obj_info.split()[2]) [ 33s] E IndexError: list index out of range [ 33s] [ 33s] test/test_git.py:132: IndexError [ 33s] ______________________ TestIndex.test_compare_write_tree _______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________ TestIndex.test_index_add_pathlike _______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________ TestIndex.test_index_file_diffing _______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________ TestIndex.test_index_file_from_tree ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________ TestIndex.test_index_lock_handling ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestIndex.test_index_merge_tree ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestIndex.test_index_mutation _________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________________ TestIndex.test_index_new ___________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_index_new(self): [ 33s] > B = self.rorepo.tree("6d9b1f4f9fa8c9f030e3207e7deacc5d5f8bba4e") [ 33s] [ 33s] test/test_index.py:811: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:636: in tree [ 33s] return self.rev_parse(str(rev) + "^{tree}") [ 33s] git/repo/fun.py:316: in rev_parse [ 33s] if output_type and obj and obj.type != output_type: [ 33s] git/objects/tree.py:371: in __len__ [ 33s] return len(self._cache) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/tree.py:245: in _set_cache_ [ 33s] ostream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , header_line = b'' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] > raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] E ValueError: SHA could not be resolved, git returned: b'' [ 33s] [ 33s] git/cmd.py:1329: ValueError [ 33s] ____________________ TestIndex.test_index_single_addremove _____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________ TestRefs.test_head_checkout_detached_head ___________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________________ TestRefs.test_head_reset ___________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________________ TestRefs.test_heads ______________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ____________________________ TestRefs.test_is_valid ____________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_is_valid(self): [ 33s] assert not Reference(self.rorepo, "refs/doesnt/exist").is_valid() [ 33s] assert self.rorepo.head.is_valid() [ 33s] > assert self.rorepo.head.reference.is_valid() [ 33s] [ 33s] test/test_refs.py:184: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________________ TestRefs.test_reflog _____________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_reflog(self): [ 33s] > assert isinstance(self.rorepo.heads.master.log(), RefLog) [ 33s] [ 33s] test/test_refs.py:597: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [], attr = 'master' [ 33s] [ 33s] def __getattr__(self, attr: str) -> T_IterableObj: [ 33s] attr = self._prefix + attr [ 33s] for item in self: [ 33s] if getattr(item, self._id_attr) == attr: [ 33s] return item [ 33s] # END for each item [ 33s] > return list.__getattribute__(self, attr) [ 33s] E AttributeError: 'IterableList' object has no attribute 'master' [ 33s] [ 33s] git/util.py:1083: AttributeError [ 33s] __________________________ TestRefs.test_tag_message ___________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestRemote.test_add_unsafe_url ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ____________________ TestRemote.test_add_unsafe_url_allowed ____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________ TestRemote.test_create_remote_unsafe_url ___________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________ TestRemote.test_create_remote_unsafe_url_allowed _______________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________ TestRemote.test_fetch_unsafe_options _____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _________________ TestRemote.test_fetch_unsafe_options_allowed _________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestRemote.test_fetch_unsafe_url _______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________ TestRemote.test_fetch_unsafe_url_allowed ___________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestRemote.test_multiple_urls _________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________ TestRemote.test_pull_unsafe_options ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _________________ TestRemote.test_pull_unsafe_options_allowed __________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestRemote.test_pull_unsafe_url ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________ TestRemote.test_pull_unsafe_url_allowed ____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________________ TestRemote.test_push_error __________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________ TestRemote.test_push_unsafe_options ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _________________ TestRemote.test_push_unsafe_options_allowed __________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestRemote.test_push_unsafe_url ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________ TestRemote.test_push_unsafe_url_allowed ____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestRemote.test_set_unsafe_url ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ____________________ TestRemote.test_set_unsafe_url_allowed ____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestTimeouts.test_timeout_funcs ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ____________________________ TestRepo.test_archive _____________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_archive(self): [ 33s] tmpfile = tempfile.mktemp(suffix="archive-test") [ 33s] with open(tmpfile, "wb") as stream: [ 33s] > self.rorepo.archive(stream, "0.1.6", path="doc") [ 33s] [ 33s] test/test_repo.py:625: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:1368: in archive [ 33s] self.git.archive("--", treeish, *path, **kwargs) [ 33s] git/cmd.py:741: in [ 33s] return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) [ 33s] git/cmd.py:1315: in _call_process [ 33s] return self.execute(call, **exec_kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] command = ['/usr/bin/git', 'archive', '--', '0.1.6', 'doc'], istream = None [ 33s] with_extended_output = False, with_exceptions = True, as_process = False [ 33s] output_stream = <_io.BufferedWriter name='/tmp/tmptb308rtfarchive-test'> [ 33s] stdout_as_string = True, kill_after_timeout = None, with_stdout = True [ 33s] universal_newlines = False, shell = None [ 33s] env = {'CPU': 'x86_64', 'CSHEDIT': 'emacs', 'FORCE_SOURCE_DATE': '1', 'GIT_PYTHON_TEST_GIT_REPO_BASE': '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335', ...} [ 33s] max_chunk_size = 8192, strip_newline_in_stdout = True, subprocess_kwargs = {} [ 33s] redacted_command = ['/usr/bin/git', 'archive', '--', '0.1.6', 'doc'] [ 33s] cwd = '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335' [ 33s] inline_env = None, cmd_not_found_exception = [ 33s] stdout_sink = -1, istream_ok = 'None' [ 33s] proc = [ 33s] [ 33s] def execute( [ 33s] self, [ 33s] command: Union[str, Sequence[Any]], [ 33s] istream: Union[None, BinaryIO] = None, [ 33s] with_extended_output: bool = False, [ 33s] with_exceptions: bool = True, [ 33s] as_process: bool = False, [ 33s] output_stream: Union[None, BinaryIO] = None, [ 33s] stdout_as_string: bool = True, [ 33s] kill_after_timeout: Union[None, float] = None, [ 33s] with_stdout: bool = True, [ 33s] universal_newlines: bool = False, [ 33s] shell: Union[None, bool] = None, [ 33s] env: Union[None, Mapping[str, str]] = None, [ 33s] max_chunk_size: int = io.DEFAULT_BUFFER_SIZE, [ 33s] strip_newline_in_stdout: bool = True, [ 33s] **subprocess_kwargs: Any, [ 33s] ) -> Union[str, bytes, Tuple[int, Union[str, bytes], str], AutoInterrupt]: [ 33s] """Handles executing the command on the shell and consumes and returns [ 33s] the returned information (stdout) [ 33s] [ 33s] :param command: [ 33s] The command argument list to execute. [ 33s] It should be a string, or a sequence of program arguments. The [ 33s] program to execute is the first item in the args sequence or string. [ 33s] [ 33s] :param istream: [ 33s] Standard input filehandle passed to subprocess.Popen. [ 33s] [ 33s] :param with_extended_output: [ 33s] Whether to return a (status, stdout, stderr) tuple. [ 33s] [ 33s] :param with_exceptions: [ 33s] Whether to raise an exception when git returns a non-zero status. [ 33s] [ 33s] :param as_process: [ 33s] Whether to return the created process instance directly from which [ 33s] streams can be read on demand. This will render with_extended_output and [ 33s] with_exceptions ineffective - the caller will have [ 33s] to deal with the details himself. [ 33s] It is important to note that the process will be placed into an AutoInterrupt [ 33s] wrapper that will interrupt the process once it goes out of scope. If you [ 33s] use the command in iterators, you should pass the whole process instance [ 33s] instead of a single stream. [ 33s] [ 33s] :param output_stream: [ 33s] If set to a file-like object, data produced by the git command will be [ 33s] output to the given stream directly. [ 33s] This feature only has any effect if as_process is False. Processes will [ 33s] always be created with a pipe due to issues with subprocess. [ 33s] This merely is a workaround as data will be copied from the [ 33s] output pipe to the given output stream directly. [ 33s] Judging from the implementation, you shouldn't use this flag ! [ 33s] [ 33s] :param stdout_as_string: [ 33s] if False, the commands standard output will be bytes. Otherwise, it will be [ 33s] decoded into a string using the default encoding (usually utf-8). [ 33s] The latter can fail, if the output contains binary data. [ 33s] [ 33s] :param env: [ 33s] A dictionary of environment variables to be passed to `subprocess.Popen`. [ 33s] [ 33s] :param max_chunk_size: [ 33s] Maximum number of bytes in one chunk of data passed to the output_stream in [ 33s] one invocation of write() method. If the given number is not positive then [ 33s] the default value is used. [ 33s] [ 33s] :param subprocess_kwargs: [ 33s] Keyword arguments to be passed to subprocess.Popen. Please note that [ 33s] some of the valid kwargs are already set by this method, the ones you [ 33s] specify may not be the same ones. [ 33s] [ 33s] :param with_stdout: If True, default True, we open stdout on the created process [ 33s] :param universal_newlines: [ 33s] if True, pipes will be opened as text, and lines are split at [ 33s] all known line endings. [ 33s] :param shell: [ 33s] Whether to invoke commands through a shell (see `Popen(..., shell=True)`). [ 33s] It overrides :attr:`USE_SHELL` if it is not `None`. [ 33s] :param kill_after_timeout: [ 33s] To specify a timeout in seconds for the git command, after which the process [ 33s] should be killed. This will have no effect if as_process is set to True. It is [ 33s] set to None by default and will let the process run until the timeout is [ 33s] explicitly specified. This feature is not supported on Windows. It's also worth [ 33s] noting that kill_after_timeout uses SIGKILL, which can have negative side [ 33s] effects on a repository. For example, stale locks in case of git gc could [ 33s] render the repository incapable of accepting changes until the lock is manually [ 33s] removed. [ 33s] :param strip_newline_in_stdout: [ 33s] Whether to strip the trailing ``\\n`` of the command stdout. [ 33s] :return: [ 33s] * str(output) if extended_output = False (Default) [ 33s] * tuple(int(status), str(stdout), str(stderr)) if extended_output = True [ 33s] [ 33s] if output_stream is True, the stdout value will be your output stream: [ 33s] * output_stream if extended_output = False [ 33s] * tuple(int(status), output_stream, str(stderr)) if extended_output = True [ 33s] [ 33s] Note git is executed with LC_MESSAGES="C" to ensure consistent [ 33s] output regardless of system language. [ 33s] [ 33s] :raise GitCommandError: [ 33s] [ 33s] :note: [ 33s] If you add additional keyword arguments to the signature of this method, [ 33s] you must update the execute_kwargs tuple housed in this module.""" [ 33s] # Remove password for the command if present [ 33s] redacted_command = remove_password_if_present(command) [ 33s] if self.GIT_PYTHON_TRACE and (self.GIT_PYTHON_TRACE != "full" or as_process): [ 33s] log.info(" ".join(redacted_command)) [ 33s] [ 33s] # Allow the user to have the command executed in their working dir. [ 33s] try: [ 33s] cwd = self._working_dir or os.getcwd() # type: Union[None, str] [ 33s] if not os.access(str(cwd), os.X_OK): [ 33s] cwd = None [ 33s] except FileNotFoundError: [ 33s] cwd = None [ 33s] [ 33s] # Start the process [ 33s] inline_env = env [ 33s] env = os.environ.copy() [ 33s] # Attempt to force all output to plain ascii english, which is what some parsing code [ 33s] # may expect. [ 33s] # According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well [ 33s] # just to be sure. [ 33s] env["LANGUAGE"] = "C" [ 33s] env["LC_ALL"] = "C" [ 33s] env.update(self._environment) [ 33s] if inline_env is not None: [ 33s] env.update(inline_env) [ 33s] [ 33s] if is_win: [ 33s] cmd_not_found_exception = OSError [ 33s] if kill_after_timeout is not None: [ 33s] raise GitCommandError( [ 33s] redacted_command, [ 33s] '"kill_after_timeout" feature is not supported on Windows.', [ 33s] ) [ 33s] else: [ 33s] cmd_not_found_exception = FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable [ 33s] # end handle [ 33s] [ 33s] stdout_sink = PIPE if with_stdout else getattr(subprocess, "DEVNULL", None) or open(os.devnull, "wb") [ 33s] istream_ok = "None" [ 33s] if istream: [ 33s] istream_ok = "" [ 33s] log.debug( [ 33s] "Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", [ 33s] redacted_command, [ 33s] cwd, [ 33s] universal_newlines, [ 33s] shell, [ 33s] istream_ok, [ 33s] ) [ 33s] try: [ 33s] proc = Popen( [ 33s] command, [ 33s] env=env, [ 33s] cwd=cwd, [ 33s] bufsize=-1, [ 33s] stdin=istream or DEVNULL, [ 33s] stderr=PIPE, [ 33s] stdout=stdout_sink, [ 33s] shell=shell is not None and shell or self.USE_SHELL, [ 33s] close_fds=is_posix, # unsupported on windows [ 33s] universal_newlines=universal_newlines, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] **subprocess_kwargs, [ 33s] ) [ 33s] [ 33s] except cmd_not_found_exception as err: [ 33s] raise GitCommandNotFound(redacted_command, err) from err [ 33s] else: [ 33s] # replace with a typeguard for Popen[bytes]? [ 33s] proc.stdout = cast(BinaryIO, proc.stdout) [ 33s] proc.stderr = cast(BinaryIO, proc.stderr) [ 33s] [ 33s] if as_process: [ 33s] return self.AutoInterrupt(proc, command) [ 33s] [ 33s] def _kill_process(pid: int) -> None: [ 33s] """Callback method to kill a process.""" [ 33s] p = Popen( [ 33s] ["ps", "--ppid", str(pid)], [ 33s] stdout=PIPE, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] ) [ 33s] child_pids = [] [ 33s] if p.stdout is not None: [ 33s] for line in p.stdout: [ 33s] if len(line.split()) > 0: [ 33s] local_pid = (line.split())[0] [ 33s] if local_pid.isdigit(): [ 33s] child_pids.append(int(local_pid)) [ 33s] try: [ 33s] # Windows does not have SIGKILL, so use SIGTERM instead [ 33s] sig = getattr(signal, "SIGKILL", signal.SIGTERM) [ 33s] os.kill(pid, sig) [ 33s] for child_pid in child_pids: [ 33s] try: [ 33s] os.kill(child_pid, sig) [ 33s] except OSError: [ 33s] pass [ 33s] kill_check.set() # tell the main routine that the process was killed [ 33s] except OSError: [ 33s] # It is possible that the process gets completed in the duration after timeout [ 33s] # happens and before we try to kill the process. [ 33s] pass [ 33s] return [ 33s] [ 33s] # end [ 33s] [ 33s] if kill_after_timeout is not None: [ 33s] kill_check = threading.Event() [ 33s] watchdog = threading.Timer(kill_after_timeout, _kill_process, args=(proc.pid,)) [ 33s] [ 33s] # Wait for the process to return [ 33s] status = 0 [ 33s] stdout_value: Union[str, bytes] = b"" [ 33s] stderr_value: Union[str, bytes] = b"" [ 33s] newline = "\n" if universal_newlines else b"\n" [ 33s] try: [ 33s] if output_stream is None: [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.start() [ 33s] stdout_value, stderr_value = proc.communicate() [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.cancel() [ 33s] if kill_check.is_set(): [ 33s] stderr_value = 'Timeout: the command "%s" did not complete in %d ' "secs." % ( [ 33s] " ".join(redacted_command), [ 33s] kill_after_timeout, [ 33s] ) [ 33s] if not universal_newlines: [ 33s] stderr_value = stderr_value.encode(defenc) [ 33s] # strip trailing "\n" [ 33s] if stdout_value.endswith(newline) and strip_newline_in_stdout: # type: ignore [ 33s] stdout_value = stdout_value[:-1] [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] [ 33s] status = proc.returncode [ 33s] else: [ 33s] max_chunk_size = max_chunk_size if max_chunk_size and max_chunk_size > 0 else io.DEFAULT_BUFFER_SIZE [ 33s] stream_copy(proc.stdout, output_stream, max_chunk_size) [ 33s] stdout_value = proc.stdout.read() [ 33s] stderr_value = proc.stderr.read() [ 33s] # strip trailing "\n" [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] status = proc.wait() [ 33s] # END stdout handling [ 33s] finally: [ 33s] proc.stdout.close() [ 33s] proc.stderr.close() [ 33s] [ 33s] if self.GIT_PYTHON_TRACE == "full": [ 33s] cmdstr = " ".join(redacted_command) [ 33s] [ 33s] def as_text(stdout_value: Union[bytes, str]) -> str: [ 33s] return not output_stream and safe_decode(stdout_value) or "" [ 33s] [ 33s] # end [ 33s] [ 33s] if stderr_value: [ 33s] log.info( [ 33s] "%s -> %d; stdout: '%s'; stderr: '%s'", [ 33s] cmdstr, [ 33s] status, [ 33s] as_text(stdout_value), [ 33s] safe_decode(stderr_value), [ 33s] ) [ 33s] elif stdout_value: [ 33s] log.info("%s -> %d; stdout: '%s'", cmdstr, status, as_text(stdout_value)) [ 33s] else: [ 33s] log.info("%s -> %d", cmdstr, status) [ 33s] # END handle debug printing [ 33s] [ 33s] if with_exceptions and status != 0: [ 33s] > raise GitCommandError(redacted_command, status, stderr_value, stdout_value) [ 33s] E git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) [ 33s] E cmdline: /usr/bin/git archive -- 0.1.6 doc [ 33s] E stderr: 'fatal: unable to access 'https://github.com/gitpython-developers/GitPython/': Could not resolve host: github.com [ 33s] E fatal: could not fetch ce41fc29549042f1aa09cc03174896cf23f112e3 from promisor remote' [ 33s] [ 33s] git/cmd.py:1109: GitCommandError [ 33s] ___________________________ TestRepo.test_blame_real ___________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_blame_real(self): [ 33s] c = 0 [ 33s] nml = 0 # amount of multi-lines per blame [ 33s] for item in self.rorepo.head.commit.tree.traverse( [ 33s] predicate=lambda i, d: i.type == "blob" and i.path.endswith(".py") [ 33s] ): [ 33s] c += 1 [ 33s] [ 33s] > for b in self.rorepo.blame(self.rorepo.head, item.path): [ 33s] [ 33s] test/test_repo.py:672: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:1002: in blame [ 33s] data: bytes = self.git.blame(rev, *rev_opts, "--", file, p=True, stdout_as_string=False, **kwargs) [ 33s] git/cmd.py:741: in [ 33s] return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) [ 33s] git/cmd.py:1315: in _call_process [ 33s] return self.execute(call, **exec_kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] command = ['/usr/bin/git', 'blame', '-p', 'HEAD', '--', 'setup.py'] [ 33s] istream = None, with_extended_output = False, with_exceptions = True [ 33s] as_process = False, output_stream = None, stdout_as_string = False [ 33s] kill_after_timeout = None, with_stdout = True, universal_newlines = False [ 33s] shell = None [ 33s] env = {'CPU': 'x86_64', 'CSHEDIT': 'emacs', 'FORCE_SOURCE_DATE': '1', 'GIT_PYTHON_TEST_GIT_REPO_BASE': '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335', ...} [ 33s] max_chunk_size = 8192, strip_newline_in_stdout = True, subprocess_kwargs = {} [ 33s] redacted_command = ['/usr/bin/git', 'blame', '-p', 'HEAD', '--', 'setup.py'] [ 33s] cwd = '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335' [ 33s] inline_env = None, cmd_not_found_exception = [ 33s] stdout_sink = -1, istream_ok = 'None' [ 33s] proc = [ 33s] [ 33s] def execute( [ 33s] self, [ 33s] command: Union[str, Sequence[Any]], [ 33s] istream: Union[None, BinaryIO] = None, [ 33s] with_extended_output: bool = False, [ 33s] with_exceptions: bool = True, [ 33s] as_process: bool = False, [ 33s] output_stream: Union[None, BinaryIO] = None, [ 33s] stdout_as_string: bool = True, [ 33s] kill_after_timeout: Union[None, float] = None, [ 33s] with_stdout: bool = True, [ 33s] universal_newlines: bool = False, [ 33s] shell: Union[None, bool] = None, [ 33s] env: Union[None, Mapping[str, str]] = None, [ 33s] max_chunk_size: int = io.DEFAULT_BUFFER_SIZE, [ 33s] strip_newline_in_stdout: bool = True, [ 33s] **subprocess_kwargs: Any, [ 33s] ) -> Union[str, bytes, Tuple[int, Union[str, bytes], str], AutoInterrupt]: [ 33s] """Handles executing the command on the shell and consumes and returns [ 33s] the returned information (stdout) [ 33s] [ 33s] :param command: [ 33s] The command argument list to execute. [ 33s] It should be a string, or a sequence of program arguments. The [ 33s] program to execute is the first item in the args sequence or string. [ 33s] [ 33s] :param istream: [ 33s] Standard input filehandle passed to subprocess.Popen. [ 33s] [ 33s] :param with_extended_output: [ 33s] Whether to return a (status, stdout, stderr) tuple. [ 33s] [ 33s] :param with_exceptions: [ 33s] Whether to raise an exception when git returns a non-zero status. [ 33s] [ 33s] :param as_process: [ 33s] Whether to return the created process instance directly from which [ 33s] streams can be read on demand. This will render with_extended_output and [ 33s] with_exceptions ineffective - the caller will have [ 33s] to deal with the details himself. [ 33s] It is important to note that the process will be placed into an AutoInterrupt [ 33s] wrapper that will interrupt the process once it goes out of scope. If you [ 33s] use the command in iterators, you should pass the whole process instance [ 33s] instead of a single stream. [ 33s] [ 33s] :param output_stream: [ 33s] If set to a file-like object, data produced by the git command will be [ 33s] output to the given stream directly. [ 33s] This feature only has any effect if as_process is False. Processes will [ 33s] always be created with a pipe due to issues with subprocess. [ 33s] This merely is a workaround as data will be copied from the [ 33s] output pipe to the given output stream directly. [ 33s] Judging from the implementation, you shouldn't use this flag ! [ 33s] [ 33s] :param stdout_as_string: [ 33s] if False, the commands standard output will be bytes. Otherwise, it will be [ 33s] decoded into a string using the default encoding (usually utf-8). [ 33s] The latter can fail, if the output contains binary data. [ 33s] [ 33s] :param env: [ 33s] A dictionary of environment variables to be passed to `subprocess.Popen`. [ 33s] [ 33s] :param max_chunk_size: [ 33s] Maximum number of bytes in one chunk of data passed to the output_stream in [ 33s] one invocation of write() method. If the given number is not positive then [ 33s] the default value is used. [ 33s] [ 33s] :param subprocess_kwargs: [ 33s] Keyword arguments to be passed to subprocess.Popen. Please note that [ 33s] some of the valid kwargs are already set by this method, the ones you [ 33s] specify may not be the same ones. [ 33s] [ 33s] :param with_stdout: If True, default True, we open stdout on the created process [ 33s] :param universal_newlines: [ 33s] if True, pipes will be opened as text, and lines are split at [ 33s] all known line endings. [ 33s] :param shell: [ 33s] Whether to invoke commands through a shell (see `Popen(..., shell=True)`). [ 33s] It overrides :attr:`USE_SHELL` if it is not `None`. [ 33s] :param kill_after_timeout: [ 33s] To specify a timeout in seconds for the git command, after which the process [ 33s] should be killed. This will have no effect if as_process is set to True. It is [ 33s] set to None by default and will let the process run until the timeout is [ 33s] explicitly specified. This feature is not supported on Windows. It's also worth [ 33s] noting that kill_after_timeout uses SIGKILL, which can have negative side [ 33s] effects on a repository. For example, stale locks in case of git gc could [ 33s] render the repository incapable of accepting changes until the lock is manually [ 33s] removed. [ 33s] :param strip_newline_in_stdout: [ 33s] Whether to strip the trailing ``\\n`` of the command stdout. [ 33s] :return: [ 33s] * str(output) if extended_output = False (Default) [ 33s] * tuple(int(status), str(stdout), str(stderr)) if extended_output = True [ 33s] [ 33s] if output_stream is True, the stdout value will be your output stream: [ 33s] * output_stream if extended_output = False [ 33s] * tuple(int(status), output_stream, str(stderr)) if extended_output = True [ 33s] [ 33s] Note git is executed with LC_MESSAGES="C" to ensure consistent [ 33s] output regardless of system language. [ 33s] [ 33s] :raise GitCommandError: [ 33s] [ 33s] :note: [ 33s] If you add additional keyword arguments to the signature of this method, [ 33s] you must update the execute_kwargs tuple housed in this module.""" [ 33s] # Remove password for the command if present [ 33s] redacted_command = remove_password_if_present(command) [ 33s] if self.GIT_PYTHON_TRACE and (self.GIT_PYTHON_TRACE != "full" or as_process): [ 33s] log.info(" ".join(redacted_command)) [ 33s] [ 33s] # Allow the user to have the command executed in their working dir. [ 33s] try: [ 33s] cwd = self._working_dir or os.getcwd() # type: Union[None, str] [ 33s] if not os.access(str(cwd), os.X_OK): [ 33s] cwd = None [ 33s] except FileNotFoundError: [ 33s] cwd = None [ 33s] [ 33s] # Start the process [ 33s] inline_env = env [ 33s] env = os.environ.copy() [ 33s] # Attempt to force all output to plain ascii english, which is what some parsing code [ 33s] # may expect. [ 33s] # According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well [ 33s] # just to be sure. [ 33s] env["LANGUAGE"] = "C" [ 33s] env["LC_ALL"] = "C" [ 33s] env.update(self._environment) [ 33s] if inline_env is not None: [ 33s] env.update(inline_env) [ 33s] [ 33s] if is_win: [ 33s] cmd_not_found_exception = OSError [ 33s] if kill_after_timeout is not None: [ 33s] raise GitCommandError( [ 33s] redacted_command, [ 33s] '"kill_after_timeout" feature is not supported on Windows.', [ 33s] ) [ 33s] else: [ 33s] cmd_not_found_exception = FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable [ 33s] # end handle [ 33s] [ 33s] stdout_sink = PIPE if with_stdout else getattr(subprocess, "DEVNULL", None) or open(os.devnull, "wb") [ 33s] istream_ok = "None" [ 33s] if istream: [ 33s] istream_ok = "" [ 33s] log.debug( [ 33s] "Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", [ 33s] redacted_command, [ 33s] cwd, [ 33s] universal_newlines, [ 33s] shell, [ 33s] istream_ok, [ 33s] ) [ 33s] try: [ 33s] proc = Popen( [ 33s] command, [ 33s] env=env, [ 33s] cwd=cwd, [ 33s] bufsize=-1, [ 33s] stdin=istream or DEVNULL, [ 33s] stderr=PIPE, [ 33s] stdout=stdout_sink, [ 33s] shell=shell is not None and shell or self.USE_SHELL, [ 33s] close_fds=is_posix, # unsupported on windows [ 33s] universal_newlines=universal_newlines, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] **subprocess_kwargs, [ 33s] ) [ 33s] [ 33s] except cmd_not_found_exception as err: [ 33s] raise GitCommandNotFound(redacted_command, err) from err [ 33s] else: [ 33s] # replace with a typeguard for Popen[bytes]? [ 33s] proc.stdout = cast(BinaryIO, proc.stdout) [ 33s] proc.stderr = cast(BinaryIO, proc.stderr) [ 33s] [ 33s] if as_process: [ 33s] return self.AutoInterrupt(proc, command) [ 33s] [ 33s] def _kill_process(pid: int) -> None: [ 33s] """Callback method to kill a process.""" [ 33s] p = Popen( [ 33s] ["ps", "--ppid", str(pid)], [ 33s] stdout=PIPE, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] ) [ 33s] child_pids = [] [ 33s] if p.stdout is not None: [ 33s] for line in p.stdout: [ 33s] if len(line.split()) > 0: [ 33s] local_pid = (line.split())[0] [ 33s] if local_pid.isdigit(): [ 33s] child_pids.append(int(local_pid)) [ 33s] try: [ 33s] # Windows does not have SIGKILL, so use SIGTERM instead [ 33s] sig = getattr(signal, "SIGKILL", signal.SIGTERM) [ 33s] os.kill(pid, sig) [ 33s] for child_pid in child_pids: [ 33s] try: [ 33s] os.kill(child_pid, sig) [ 33s] except OSError: [ 33s] pass [ 33s] kill_check.set() # tell the main routine that the process was killed [ 33s] except OSError: [ 33s] # It is possible that the process gets completed in the duration after timeout [ 33s] # happens and before we try to kill the process. [ 33s] pass [ 33s] return [ 33s] [ 33s] # end [ 33s] [ 33s] if kill_after_timeout is not None: [ 33s] kill_check = threading.Event() [ 33s] watchdog = threading.Timer(kill_after_timeout, _kill_process, args=(proc.pid,)) [ 33s] [ 33s] # Wait for the process to return [ 33s] status = 0 [ 33s] stdout_value: Union[str, bytes] = b"" [ 33s] stderr_value: Union[str, bytes] = b"" [ 33s] newline = "\n" if universal_newlines else b"\n" [ 33s] try: [ 33s] if output_stream is None: [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.start() [ 33s] stdout_value, stderr_value = proc.communicate() [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.cancel() [ 33s] if kill_check.is_set(): [ 33s] stderr_value = 'Timeout: the command "%s" did not complete in %d ' "secs." % ( [ 33s] " ".join(redacted_command), [ 33s] kill_after_timeout, [ 33s] ) [ 33s] if not universal_newlines: [ 33s] stderr_value = stderr_value.encode(defenc) [ 33s] # strip trailing "\n" [ 33s] if stdout_value.endswith(newline) and strip_newline_in_stdout: # type: ignore [ 33s] stdout_value = stdout_value[:-1] [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] [ 33s] status = proc.returncode [ 33s] else: [ 33s] max_chunk_size = max_chunk_size if max_chunk_size and max_chunk_size > 0 else io.DEFAULT_BUFFER_SIZE [ 33s] stream_copy(proc.stdout, output_stream, max_chunk_size) [ 33s] stdout_value = proc.stdout.read() [ 33s] stderr_value = proc.stderr.read() [ 33s] # strip trailing "\n" [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] status = proc.wait() [ 33s] # END stdout handling [ 33s] finally: [ 33s] proc.stdout.close() [ 33s] proc.stderr.close() [ 33s] [ 33s] if self.GIT_PYTHON_TRACE == "full": [ 33s] cmdstr = " ".join(redacted_command) [ 33s] [ 33s] def as_text(stdout_value: Union[bytes, str]) -> str: [ 33s] return not output_stream and safe_decode(stdout_value) or "" [ 33s] [ 33s] # end [ 33s] [ 33s] if stderr_value: [ 33s] log.info( [ 33s] "%s -> %d; stdout: '%s'; stderr: '%s'", [ 33s] cmdstr, [ 33s] status, [ 33s] as_text(stdout_value), [ 33s] safe_decode(stderr_value), [ 33s] ) [ 33s] elif stdout_value: [ 33s] log.info("%s -> %d; stdout: '%s'", cmdstr, status, as_text(stdout_value)) [ 33s] else: [ 33s] log.info("%s -> %d", cmdstr, status) [ 33s] # END handle debug printing [ 33s] [ 33s] if with_exceptions and status != 0: [ 33s] > raise GitCommandError(redacted_command, status, stderr_value, stdout_value) [ 33s] E git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) [ 33s] E cmdline: /usr/bin/git blame -p HEAD -- setup.py [ 33s] E stderr: 'fatal: unable to access 'https://github.com/gitpython-developers/GitPython/': Could not resolve host: github.com [ 33s] E fatal: could not fetch 40146438d46d57276d5aa6622570d00cec52b1bf from promisor remote' [ 33s] [ 33s] git/cmd.py:1109: GitCommandError [ 33s] ____________________ TestRepo.test_clone_command_injection _____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________ TestRepo.test_clone_from_command_injection __________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ____________________ TestRepo.test_clone_from_safe_options _____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________________ TestRepo.test_clone_from_unsafe_options ____________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________ TestRepo.test_clone_from_unsafe_options_allowed ________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestRepo.test_clone_safe_options _______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________ TestRepo.test_clone_unsafe_options ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________ TestRepo.test_clone_unsafe_options_allowed __________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestRepo.test_file_handle_leaks ________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_file_handle_leaks(self): [ 33s] def last_commit(repo, rev, path): [ 33s] commit = next(repo.iter_commits(rev, path, max_count=1)) [ 33s] commit.tree[path] [ 33s] [ 33s] # This is based on this comment [ 33s] # https://github.com/gitpython-developers/GitPython/issues/60#issuecomment-23558741 [ 33s] # And we expect to set max handles to a low value, like 64 [ 33s] # You should set ulimit -n X, see .travis.yml [ 33s] # The loops below would easily create 500 handles if these would leak (4 pipes + multiple mapped files) [ 33s] for _ in range(64): [ 33s] for repo_type in (GitCmdObjectDB, GitDB): [ 33s] repo = Repo(self.rorepo.working_tree_dir, odbt=repo_type) [ 33s] > last_commit(repo, "master", "test/test_base.py") [ 33s] [ 33s] test/test_repo.py:1155: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] test/test_repo.py:1144: in last_commit [ 33s] commit = next(repo.iter_commits(rev, path, max_count=1)) [ 33s] git/objects/commit.py:426: in _iter_from_process_or_stream [ 33s] finalize_process(proc_or_stream) [ 33s] git/util.py:419: in finalize_process [ 33s] proc.wait(**kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , stderr = b'' [ 33s] [ 33s] def wait(self, stderr: Union[None, str, bytes] = b"") -> int: [ 33s] """Wait for the process and return its status code. [ 33s] [ 33s] :param stderr: Previously read value of stderr, in case stderr is already closed. [ 33s] :warn: may deadlock if output or error pipes are used and not handled separately. [ 33s] :raise GitCommandError: if the return status is not 0""" [ 33s] if stderr is None: [ 33s] stderr_b = b"" [ 33s] stderr_b = force_bytes(data=stderr, encoding="utf-8") [ 33s] status: Union[int, None] [ 33s] if self.proc is not None: [ 33s] status = self.proc.wait() [ 33s] p_stderr = self.proc.stderr [ 33s] else: # Assume the underlying proc was killed earlier or never existed [ 33s] status = self.status [ 33s] p_stderr = None [ 33s] [ 33s] def read_all_from_possibly_closed_stream(stream: Union[IO[bytes], None]) -> bytes: [ 33s] if stream: [ 33s] try: [ 33s] return stderr_b + force_bytes(stream.read()) [ 33s] except (OSError, ValueError): [ 33s] return stderr_b or b"" [ 33s] else: [ 33s] return stderr_b or b"" [ 33s] [ 33s] # END status handling [ 33s] [ 33s] if status != 0: [ 33s] errstr = read_all_from_possibly_closed_stream(p_stderr) [ 33s] log.debug("AutoInterrupt wait stderr: %r" % (errstr,)) [ 33s] > raise GitCommandError(remove_password_if_present(self.args), status, errstr) [ 33s] E git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) [ 33s] E cmdline: /usr/bin/git rev-list --max-count=1 master -- test/test_base.py [ 33s] E stderr: 'fatal: bad revision 'master' [ 33s] E ' [ 33s] [ 33s] git/cmd.py:604: GitCommandError [ 33s] ____________________________ TestRepo.test_git_file ____________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________________ TestRepo.test_head ______________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_head(self): [ 33s] > self.assertEqual(self.rorepo.head.reference.object, self.rorepo.active_branch.object) [ 33s] [ 33s] test/test_repo.py:603: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________ TestRepo.test_heads_should_populate_head_data _________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_heads_should_populate_head_data(self): [ 33s] for head in self.rorepo.heads: [ 33s] assert head.name [ 33s] self.assertIsInstance(head.commit, Commit) [ 33s] # END for each head [ 33s] [ 33s] > self.assertIsInstance(self.rorepo.heads.master, Head) [ 33s] [ 33s] test/test_repo.py:116: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [], attr = 'master' [ 33s] [ 33s] def __getattr__(self, attr: str) -> T_IterableObj: [ 33s] attr = self._prefix + attr [ 33s] for item in self: [ 33s] if getattr(item, self._id_attr) == attr: [ 33s] return item [ 33s] # END for each item [ 33s] > return list.__getattribute__(self, attr) [ 33s] E AttributeError: 'IterableList' object has no attribute 'master' [ 33s] [ 33s] git/util.py:1083: AttributeError [ 33s] __________________________ TestRepo.test_is_ancestor ___________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_is_ancestor(self): [ 33s] git = self.rorepo.git [ 33s] if git.version_info[:3] < (1, 8, 0): [ 33s] raise SkipTest("git merge-base --is-ancestor feature unsupported") [ 33s] [ 33s] repo = self.rorepo [ 33s] c1 = "f6aa8d1" [ 33s] c2 = "763ef75" [ 33s] self.assertTrue(repo.is_ancestor(c1, c1)) [ 33s] > self.assertTrue(repo.is_ancestor("master", "master")) [ 33s] [ 33s] test/test_repo.py:1232: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:706: in is_ancestor [ 33s] self.git.merge_base(ancestor_rev, rev, is_ancestor=True) [ 33s] git/cmd.py:741: in [ 33s] return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) [ 33s] git/cmd.py:1315: in _call_process [ 33s] return self.execute(call, **exec_kwargs) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] command = ['/usr/bin/git', 'merge-base', '--is-ancestor', 'master', 'master'] [ 33s] istream = None, with_extended_output = False, with_exceptions = True [ 33s] as_process = False, output_stream = None, stdout_as_string = True [ 33s] kill_after_timeout = None, with_stdout = True, universal_newlines = False [ 33s] shell = None [ 33s] env = {'CPU': 'x86_64', 'CSHEDIT': 'emacs', 'FORCE_SOURCE_DATE': '1', 'GIT_PYTHON_TEST_GIT_REPO_BASE': '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335', ...} [ 33s] max_chunk_size = 8192, strip_newline_in_stdout = True, subprocess_kwargs = {} [ 33s] redacted_command = ['/usr/bin/git', 'merge-base', '--is-ancestor', 'master', 'master'] [ 33s] cwd = '/home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335' [ 33s] inline_env = None, cmd_not_found_exception = [ 33s] stdout_sink = -1, istream_ok = 'None' [ 33s] proc = [ 33s] [ 33s] def execute( [ 33s] self, [ 33s] command: Union[str, Sequence[Any]], [ 33s] istream: Union[None, BinaryIO] = None, [ 33s] with_extended_output: bool = False, [ 33s] with_exceptions: bool = True, [ 33s] as_process: bool = False, [ 33s] output_stream: Union[None, BinaryIO] = None, [ 33s] stdout_as_string: bool = True, [ 33s] kill_after_timeout: Union[None, float] = None, [ 33s] with_stdout: bool = True, [ 33s] universal_newlines: bool = False, [ 33s] shell: Union[None, bool] = None, [ 33s] env: Union[None, Mapping[str, str]] = None, [ 33s] max_chunk_size: int = io.DEFAULT_BUFFER_SIZE, [ 33s] strip_newline_in_stdout: bool = True, [ 33s] **subprocess_kwargs: Any, [ 33s] ) -> Union[str, bytes, Tuple[int, Union[str, bytes], str], AutoInterrupt]: [ 33s] """Handles executing the command on the shell and consumes and returns [ 33s] the returned information (stdout) [ 33s] [ 33s] :param command: [ 33s] The command argument list to execute. [ 33s] It should be a string, or a sequence of program arguments. The [ 33s] program to execute is the first item in the args sequence or string. [ 33s] [ 33s] :param istream: [ 33s] Standard input filehandle passed to subprocess.Popen. [ 33s] [ 33s] :param with_extended_output: [ 33s] Whether to return a (status, stdout, stderr) tuple. [ 33s] [ 33s] :param with_exceptions: [ 33s] Whether to raise an exception when git returns a non-zero status. [ 33s] [ 33s] :param as_process: [ 33s] Whether to return the created process instance directly from which [ 33s] streams can be read on demand. This will render with_extended_output and [ 33s] with_exceptions ineffective - the caller will have [ 33s] to deal with the details himself. [ 33s] It is important to note that the process will be placed into an AutoInterrupt [ 33s] wrapper that will interrupt the process once it goes out of scope. If you [ 33s] use the command in iterators, you should pass the whole process instance [ 33s] instead of a single stream. [ 33s] [ 33s] :param output_stream: [ 33s] If set to a file-like object, data produced by the git command will be [ 33s] output to the given stream directly. [ 33s] This feature only has any effect if as_process is False. Processes will [ 33s] always be created with a pipe due to issues with subprocess. [ 33s] This merely is a workaround as data will be copied from the [ 33s] output pipe to the given output stream directly. [ 33s] Judging from the implementation, you shouldn't use this flag ! [ 33s] [ 33s] :param stdout_as_string: [ 33s] if False, the commands standard output will be bytes. Otherwise, it will be [ 33s] decoded into a string using the default encoding (usually utf-8). [ 33s] The latter can fail, if the output contains binary data. [ 33s] [ 33s] :param env: [ 33s] A dictionary of environment variables to be passed to `subprocess.Popen`. [ 33s] [ 33s] :param max_chunk_size: [ 33s] Maximum number of bytes in one chunk of data passed to the output_stream in [ 33s] one invocation of write() method. If the given number is not positive then [ 33s] the default value is used. [ 33s] [ 33s] :param subprocess_kwargs: [ 33s] Keyword arguments to be passed to subprocess.Popen. Please note that [ 33s] some of the valid kwargs are already set by this method, the ones you [ 33s] specify may not be the same ones. [ 33s] [ 33s] :param with_stdout: If True, default True, we open stdout on the created process [ 33s] :param universal_newlines: [ 33s] if True, pipes will be opened as text, and lines are split at [ 33s] all known line endings. [ 33s] :param shell: [ 33s] Whether to invoke commands through a shell (see `Popen(..., shell=True)`). [ 33s] It overrides :attr:`USE_SHELL` if it is not `None`. [ 33s] :param kill_after_timeout: [ 33s] To specify a timeout in seconds for the git command, after which the process [ 33s] should be killed. This will have no effect if as_process is set to True. It is [ 33s] set to None by default and will let the process run until the timeout is [ 33s] explicitly specified. This feature is not supported on Windows. It's also worth [ 33s] noting that kill_after_timeout uses SIGKILL, which can have negative side [ 33s] effects on a repository. For example, stale locks in case of git gc could [ 33s] render the repository incapable of accepting changes until the lock is manually [ 33s] removed. [ 33s] :param strip_newline_in_stdout: [ 33s] Whether to strip the trailing ``\\n`` of the command stdout. [ 33s] :return: [ 33s] * str(output) if extended_output = False (Default) [ 33s] * tuple(int(status), str(stdout), str(stderr)) if extended_output = True [ 33s] [ 33s] if output_stream is True, the stdout value will be your output stream: [ 33s] * output_stream if extended_output = False [ 33s] * tuple(int(status), output_stream, str(stderr)) if extended_output = True [ 33s] [ 33s] Note git is executed with LC_MESSAGES="C" to ensure consistent [ 33s] output regardless of system language. [ 33s] [ 33s] :raise GitCommandError: [ 33s] [ 33s] :note: [ 33s] If you add additional keyword arguments to the signature of this method, [ 33s] you must update the execute_kwargs tuple housed in this module.""" [ 33s] # Remove password for the command if present [ 33s] redacted_command = remove_password_if_present(command) [ 33s] if self.GIT_PYTHON_TRACE and (self.GIT_PYTHON_TRACE != "full" or as_process): [ 33s] log.info(" ".join(redacted_command)) [ 33s] [ 33s] # Allow the user to have the command executed in their working dir. [ 33s] try: [ 33s] cwd = self._working_dir or os.getcwd() # type: Union[None, str] [ 33s] if not os.access(str(cwd), os.X_OK): [ 33s] cwd = None [ 33s] except FileNotFoundError: [ 33s] cwd = None [ 33s] [ 33s] # Start the process [ 33s] inline_env = env [ 33s] env = os.environ.copy() [ 33s] # Attempt to force all output to plain ascii english, which is what some parsing code [ 33s] # may expect. [ 33s] # According to stackoverflow (http://goo.gl/l74GC8), we are setting LANGUAGE as well [ 33s] # just to be sure. [ 33s] env["LANGUAGE"] = "C" [ 33s] env["LC_ALL"] = "C" [ 33s] env.update(self._environment) [ 33s] if inline_env is not None: [ 33s] env.update(inline_env) [ 33s] [ 33s] if is_win: [ 33s] cmd_not_found_exception = OSError [ 33s] if kill_after_timeout is not None: [ 33s] raise GitCommandError( [ 33s] redacted_command, [ 33s] '"kill_after_timeout" feature is not supported on Windows.', [ 33s] ) [ 33s] else: [ 33s] cmd_not_found_exception = FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable [ 33s] # end handle [ 33s] [ 33s] stdout_sink = PIPE if with_stdout else getattr(subprocess, "DEVNULL", None) or open(os.devnull, "wb") [ 33s] istream_ok = "None" [ 33s] if istream: [ 33s] istream_ok = "" [ 33s] log.debug( [ 33s] "Popen(%s, cwd=%s, universal_newlines=%s, shell=%s, istream=%s)", [ 33s] redacted_command, [ 33s] cwd, [ 33s] universal_newlines, [ 33s] shell, [ 33s] istream_ok, [ 33s] ) [ 33s] try: [ 33s] proc = Popen( [ 33s] command, [ 33s] env=env, [ 33s] cwd=cwd, [ 33s] bufsize=-1, [ 33s] stdin=istream or DEVNULL, [ 33s] stderr=PIPE, [ 33s] stdout=stdout_sink, [ 33s] shell=shell is not None and shell or self.USE_SHELL, [ 33s] close_fds=is_posix, # unsupported on windows [ 33s] universal_newlines=universal_newlines, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] **subprocess_kwargs, [ 33s] ) [ 33s] [ 33s] except cmd_not_found_exception as err: [ 33s] raise GitCommandNotFound(redacted_command, err) from err [ 33s] else: [ 33s] # replace with a typeguard for Popen[bytes]? [ 33s] proc.stdout = cast(BinaryIO, proc.stdout) [ 33s] proc.stderr = cast(BinaryIO, proc.stderr) [ 33s] [ 33s] if as_process: [ 33s] return self.AutoInterrupt(proc, command) [ 33s] [ 33s] def _kill_process(pid: int) -> None: [ 33s] """Callback method to kill a process.""" [ 33s] p = Popen( [ 33s] ["ps", "--ppid", str(pid)], [ 33s] stdout=PIPE, [ 33s] creationflags=PROC_CREATIONFLAGS, [ 33s] ) [ 33s] child_pids = [] [ 33s] if p.stdout is not None: [ 33s] for line in p.stdout: [ 33s] if len(line.split()) > 0: [ 33s] local_pid = (line.split())[0] [ 33s] if local_pid.isdigit(): [ 33s] child_pids.append(int(local_pid)) [ 33s] try: [ 33s] # Windows does not have SIGKILL, so use SIGTERM instead [ 33s] sig = getattr(signal, "SIGKILL", signal.SIGTERM) [ 33s] os.kill(pid, sig) [ 33s] for child_pid in child_pids: [ 33s] try: [ 33s] os.kill(child_pid, sig) [ 33s] except OSError: [ 33s] pass [ 33s] kill_check.set() # tell the main routine that the process was killed [ 33s] except OSError: [ 33s] # It is possible that the process gets completed in the duration after timeout [ 33s] # happens and before we try to kill the process. [ 33s] pass [ 33s] return [ 33s] [ 33s] # end [ 33s] [ 33s] if kill_after_timeout is not None: [ 33s] kill_check = threading.Event() [ 33s] watchdog = threading.Timer(kill_after_timeout, _kill_process, args=(proc.pid,)) [ 33s] [ 33s] # Wait for the process to return [ 33s] status = 0 [ 33s] stdout_value: Union[str, bytes] = b"" [ 33s] stderr_value: Union[str, bytes] = b"" [ 33s] newline = "\n" if universal_newlines else b"\n" [ 33s] try: [ 33s] if output_stream is None: [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.start() [ 33s] stdout_value, stderr_value = proc.communicate() [ 33s] if kill_after_timeout is not None: [ 33s] watchdog.cancel() [ 33s] if kill_check.is_set(): [ 33s] stderr_value = 'Timeout: the command "%s" did not complete in %d ' "secs." % ( [ 33s] " ".join(redacted_command), [ 33s] kill_after_timeout, [ 33s] ) [ 33s] if not universal_newlines: [ 33s] stderr_value = stderr_value.encode(defenc) [ 33s] # strip trailing "\n" [ 33s] if stdout_value.endswith(newline) and strip_newline_in_stdout: # type: ignore [ 33s] stdout_value = stdout_value[:-1] [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] [ 33s] status = proc.returncode [ 33s] else: [ 33s] max_chunk_size = max_chunk_size if max_chunk_size and max_chunk_size > 0 else io.DEFAULT_BUFFER_SIZE [ 33s] stream_copy(proc.stdout, output_stream, max_chunk_size) [ 33s] stdout_value = proc.stdout.read() [ 33s] stderr_value = proc.stderr.read() [ 33s] # strip trailing "\n" [ 33s] if stderr_value.endswith(newline): # type: ignore [ 33s] stderr_value = stderr_value[:-1] [ 33s] status = proc.wait() [ 33s] # END stdout handling [ 33s] finally: [ 33s] proc.stdout.close() [ 33s] proc.stderr.close() [ 33s] [ 33s] if self.GIT_PYTHON_TRACE == "full": [ 33s] cmdstr = " ".join(redacted_command) [ 33s] [ 33s] def as_text(stdout_value: Union[bytes, str]) -> str: [ 33s] return not output_stream and safe_decode(stdout_value) or "" [ 33s] [ 33s] # end [ 33s] [ 33s] if stderr_value: [ 33s] log.info( [ 33s] "%s -> %d; stdout: '%s'; stderr: '%s'", [ 33s] cmdstr, [ 33s] status, [ 33s] as_text(stdout_value), [ 33s] safe_decode(stderr_value), [ 33s] ) [ 33s] elif stdout_value: [ 33s] log.info("%s -> %d; stdout: '%s'", cmdstr, status, as_text(stdout_value)) [ 33s] else: [ 33s] log.info("%s -> %d", cmdstr, status) [ 33s] # END handle debug printing [ 33s] [ 33s] if with_exceptions and status != 0: [ 33s] > raise GitCommandError(redacted_command, status, stderr_value, stdout_value) [ 33s] E git.exc.GitCommandError: Cmd('/usr/bin/git') failed due to: exit code(128) [ 33s] E cmdline: /usr/bin/git merge-base --is-ancestor master master [ 33s] E stderr: 'fatal: Not a valid object name master' [ 33s] [ 33s] git/cmd.py:1109: GitCommandError [ 33s] _______________________ TestRepo.test_is_dirty_with_path _______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestRepo.test_is_valid_object _________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_is_valid_object(self): [ 33s] repo = self.rorepo [ 33s] commit_sha = "f6aa8d1" [ 33s] blob_sha = "1fbe3e4375" [ 33s] tree_sha = "960b40fe36" [ 33s] tag_sha = "42c2f60c43" [ 33s] [ 33s] # Check for valid objects [ 33s] self.assertTrue(repo.is_valid_object(commit_sha)) [ 33s] > self.assertTrue(repo.is_valid_object(blob_sha)) [ 33s] E AssertionError: False is not true [ 33s] [ 33s] test/test_repo.py:1249: AssertionError [ 33s] _________________________ TestRepo.test_max_chunk_size _________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________ TestRepo.test_repo_creation_from_different_paths _______________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '5b6080369e7ee47b7d746685d264358c91d656bd' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________________ TestRepo.test_repo_creation_pathlib ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '5b6080369e7ee47b7d746685d264358c91d656bd' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________________ TestRepo.test_rw_rev_parse __________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestRepo.test_submodule_update ________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________________ TestRepo.test_tree_from_revision _______________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_tree_from_revision(self): [ 33s] > tree = self.rorepo.tree("0.1.6") [ 33s] [ 33s] test/test_repo.py:120: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:636: in tree [ 33s] return self.rev_parse(str(rev) + "^{tree}") [ 33s] git/repo/fun.py:316: in rev_parse [ 33s] if output_type and obj and obj.type != output_type: [ 33s] git/objects/tree.py:371: in __len__ [ 33s] return len(self._cache) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/tree.py:245: in _set_cache_ [ 33s] ostream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , header_line = b'' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] > raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] E ValueError: SHA could not be resolved, git returned: b'' [ 33s] [ 33s] git/cmd.py:1329: ValueError [ 33s] _____________________________ TestRepo.test_trees ______________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_trees(self): [ 33s] mc = 30 [ 33s] num_trees = 0 [ 33s] > for tree in self.rorepo.iter_trees("0.1.5", max_count=mc): [ 33s] [ 33s] test/test_repo.py:161: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:619: in [ 33s] return (c.tree for c in self.iter_commits(*args, **kwargs)) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/commit.py:214: in _set_cache_ [ 33s] _binsha, _typename, self.size, stream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] cmd = [ 33s] ref = b'5117c9c8a4d3af19a9958677e45cda9269de1541' [ 33s] [ 33s] def __get_object_header(self, cmd: "Git.AutoInterrupt", ref: AnyStr) -> Tuple[str, str, int]: [ 33s] if cmd.stdin and cmd.stdout: [ 33s] cmd.stdin.write(self._prepare_ref(ref)) [ 33s] > cmd.stdin.flush() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:1369: BrokenPipeError [ 33s] ________________________ TestRepo.test_untracked_files _________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _________________________ TestSubmodule.test_base_bare _________________________ [ 33s] [ 33s] self = [ 33s] rwrepo = [ 33s] [ 33s] @with_rw_repo(k_subm_current, bare=True) [ 33s] def test_base_bare(self, rwrepo): [ 33s] > self._do_base_tests(rwrepo) [ 33s] [ 33s] test/test_submodule.py:449: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] test/test_submodule.py:62: in _do_base_tests [ 33s] sms = Submodule.list_items(rwrepo, self.k_subm_current) [ 33s] git/util.py:1189: in list_items [ 33s] out_list.extend(cls.iter_items(repo, *args, **kwargs)) [ 33s] git/objects/submodule/base.py:1374: in iter_items [ 33s] parser = cls._config_parser(repo, pc, read_only=True) [ 33s] git/objects/submodule/base.py:223: in _config_parser [ 33s] fp_module = cls._sio_modules(parent_commit) [ 33s] git/objects/submodule/base.py:250: in _sio_modules [ 33s] sio = BytesIO(parent_commit.tree[cls.k_modules_file].data_stream.read()) [ 33s] git/objects/tree.py:380: in __getitem__ [ 33s] return self.join(item) [ 33s] git/objects/tree.py:287: in join [ 33s] for info in self._cache: [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/tree.py:245: in _set_cache_ [ 33s] ostream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] header_line = b'd8dc5acd1ab2502a63b91b34372b4f9cd83d78bc missing\n' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] else: [ 33s] > raise ValueError("SHA %s could not be resolved, git returned: %r" % (tokens[0], header_line.strip())) [ 33s] E ValueError: SHA b'd8dc5acd1ab2502a63b91b34372b4f9cd83d78bc' could not be resolved, git returned: b'd8dc5acd1ab2502a63b91b34372b4f9cd83d78bc missing' [ 33s] [ 33s] git/cmd.py:1331: ValueError [ 33s] __________________________ TestSubmodule.test_base_rw __________________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'c15a6e1923a14bc760851913858a3942a4193cdb' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________________ TestSubmodule.test_first_submodule ______________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to '9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _______________ TestSubmodule.test_submodule_add_unsafe_options ________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ___________ TestSubmodule.test_submodule_add_unsafe_options_allowed ____________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _________________ TestSubmodule.test_submodule_add_unsafe_url __________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] _____________ TestSubmodule.test_submodule_add_unsafe_url_allowed ______________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ______________ TestSubmodule.test_submodule_update_unsafe_options ______________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________ TestSubmodule.test_submodule_update_unsafe_options_allowed __________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________ TestSubmodule.test_submodule_update_unsafe_url ________________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ____________ TestSubmodule.test_submodule_update_unsafe_url_allowed ____________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] __________________________ TestTree.test_serializable __________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] @skipIf( [ 33s] HIDE_WINDOWS_KNOWN_ERRORS, [ 33s] """ [ 33s] File "C:\\projects\\gitpython\\git\\cmd.py", line 559, in execute [ 33s] raise GitCommandNotFound(command, err) [ 33s] git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid') [ 33s] cmdline: git cat-file --batch-check""", [ 33s] ) [ 33s] def test_serializable(self): [ 33s] # tree at the given commit contains a submodule as well [ 33s] > roottree = self.rorepo.tree("6c1faef799095f3990e9970bc2cb10aa0221cf9c") [ 33s] [ 33s] test/test_tree.py:28: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:636: in tree [ 33s] return self.rev_parse(str(rev) + "^{tree}") [ 33s] git/repo/fun.py:316: in rev_parse [ 33s] if output_type and obj and obj.type != output_type: [ 33s] git/objects/tree.py:371: in __len__ [ 33s] return len(self._cache) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/tree.py:245: in _set_cache_ [ 33s] ostream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , header_line = b'' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] > raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] E ValueError: SHA could not be resolved, git returned: b'' [ 33s] [ 33s] git/cmd.py:1329: ValueError [ 33s] ____________________________ TestTree.test_traverse ____________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] @skipIf( [ 33s] HIDE_WINDOWS_KNOWN_ERRORS, [ 33s] """ [ 33s] File "C:\\projects\\gitpython\\git\\cmd.py", line 559, in execute [ 33s] raise GitCommandNotFound(command, err) [ 33s] git.exc.GitCommandNotFound: Cmd('git') not found due to: OSError('[WinError 6] The handle is invalid') [ 33s] cmdline: git cat-file --batch-check""", [ 33s] ) [ 33s] def test_traverse(self): [ 33s] > root = self.rorepo.tree("0.1.6") [ 33s] [ 33s] test/test_tree.py:63: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/repo/base.py:636: in tree [ 33s] return self.rev_parse(str(rev) + "^{tree}") [ 33s] git/repo/fun.py:276: in rev_parse [ 33s] obj = to_commit(obj).tree [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/commit.py:214: in _set_cache_ [ 33s] _binsha, _typename, self.size, stream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] cmd = [ 33s] ref = b'9a4b1d4d11eee3c5362a4152216376e634bd14cf' [ 33s] [ 33s] def __get_object_header(self, cmd: "Git.AutoInterrupt", ref: AnyStr) -> Tuple[str, str, int]: [ 33s] if cmd.stdin and cmd.stdout: [ 33s] cmd.stdin.write(self._prepare_ref(ref)) [ 33s] > cmd.stdin.flush() [ 33s] E BrokenPipeError: [Errno 32] Broken pipe [ 33s] [ 33s] git/cmd.py:1369: BrokenPipeError [ 33s] _______________ TestUtils.test_actor_get_uid_laziness_not_called _______________ [ 33s] test/lib/helper.py:144: in repo_creator [ 33s] rw_repo.head.reference.checkout() [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = [ 33s] [ 33s] def _get_reference(self) -> "SymbolicReference": [ 33s] """:return: Reference Object we point to [ 33s] :raise TypeError: If this symbolic reference is detached, hence it doesn't point [ 33s] to a reference, but to a commit""" [ 33s] sha, target_ref_path = self._get_ref_info(self.repo, self.path) [ 33s] if target_ref_path is None: [ 33s] > raise TypeError("%s is a detached symbolic reference as it points to %r" % (self, sha)) [ 33s] E TypeError: HEAD is a detached symbolic reference as it points to 'f25333525425ee1497366fd300a60127aa652d79' [ 33s] [ 33s] git/refs/symbolic.py:309: TypeError [ 33s] ________________________ TestPerformance.test_iteration ________________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_iteration(self): [ 33s] no = 0 [ 33s] nc = 0 [ 33s] [ 33s] # find the first commit containing the given path - always do a full [ 33s] # iteration ( restricted to the path in question ), but in fact it should [ 33s] # return quite a lot of commits, we just take one and hence abort the operation [ 33s] [ 33s] st = time() [ 33s] for c in self.rorepo.iter_commits(self.ref_100): [ 33s] nc += 1 [ 33s] self._query_commit_info(c) [ 33s] > for obj in c.tree.traverse(): [ 33s] [ 33s] test/performance/test_commit.py:47: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/objects/util.py:526: in _traverse [ 33s] addToStack(stack, item, branch_first, nd) [ 33s] git/objects/util.py:488: in addToStack [ 33s] lst = self._get_intermediate_items(item) [ 33s] git/objects/tree.py:239: in _get_intermediate_items [ 33s] return tuple(index_object._iter_convert_to_object(index_object._cache)) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/tree.py:245: in _set_cache_ [ 33s] ostream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , header_line = b'' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] > raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] E ValueError: SHA could not be resolved, git returned: b'' [ 33s] [ 33s] git/cmd.py:1329: ValueError [ 33s] ___________________ TestObjDBPerformance.test_random_access ____________________ [ 33s] [ 33s] self = [ 33s] [ 33s] def test_random_access(self): [ 33s] results = [["Iterate Commits"], ["Iterate Blobs"], ["Retrieve Blob Data"]] [ 33s] for repo in (self.gitrorepo, self.puregitrorepo): [ 33s] # GET COMMITS [ 33s] st = time() [ 33s] root_commit = repo.commit(repo.head) [ 33s] commits = list(root_commit.traverse()) [ 33s] nc = len(commits) [ 33s] elapsed = time() - st [ 33s] [ 33s] print( [ 33s] "%s: Retrieved %i commits from ObjectStore in %g s ( %f commits / s )" [ 33s] % (type(repo.odb), nc, elapsed, nc / elapsed), [ 33s] file=sys.stderr, [ 33s] ) [ 33s] results[0].append(elapsed) [ 33s] [ 33s] # GET TREES [ 33s] # walk all trees of all commits [ 33s] st = time() [ 33s] blobs_per_commit = [] [ 33s] nt = 0 [ 33s] for commit in commits: [ 33s] tree = commit.tree [ 33s] blobs = [] [ 33s] > for item in tree.traverse(): [ 33s] [ 33s] test/performance/test_odb.py:34: [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] git/objects/util.py:526: in _traverse [ 33s] addToStack(stack, item, branch_first, nd) [ 33s] git/objects/util.py:488: in addToStack [ 33s] lst = self._get_intermediate_items(item) [ 33s] git/objects/tree.py:239: in _get_intermediate_items [ 33s] return tuple(index_object._iter_convert_to_object(index_object._cache)) [ 33s] /usr/lib/python3.9/site-packages/gitdb/util.py:253: in __getattr__ [ 33s] self._set_cache_(attr) [ 33s] git/objects/tree.py:245: in _set_cache_ [ 33s] ostream = self.repo.odb.stream(self.binsha) [ 33s] git/db.py:45: in stream [ 33s] hexsha, typename, size, stream = self._git.stream_object_data(bin_to_hex(binsha)) [ 33s] git/cmd.py:1401: in stream_object_data [ 33s] hexsha, typename, size = self.__get_object_header(cmd, ref) [ 33s] git/cmd.py:1370: in __get_object_header [ 33s] return self._parse_object_header(cmd.stdout.readline()) [ 33s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 33s] [ 33s] self = , header_line = b'' [ 33s] [ 33s] def _parse_object_header(self, header_line: str) -> Tuple[str, str, int]: [ 33s] """ [ 33s] :param header_line: [ 33s] type_string size_as_int [ 33s] [ 33s] :return: (hex_sha, type_string, size_as_int) [ 33s] [ 33s] :raise ValueError: if the header contains indication for an error due to [ 33s] incorrect input sha""" [ 33s] tokens = header_line.split() [ 33s] if len(tokens) != 3: [ 33s] if not tokens: [ 33s] > raise ValueError("SHA could not be resolved, git returned: %r" % (header_line.strip())) [ 33s] E ValueError: SHA could not be resolved, git returned: b'' [ 33s] [ 33s] git/cmd.py:1329: ValueError [ 33s] ----------------------------- Captured stderr call ----------------------------- [ 33s] : Retrieved 2994 commits from ObjectStore in 0.166344 s ( 17998.827825 commits / s ) [ 33s] =============================== warnings summary =============================== [ 33s] test/test_remote.py:44 [ 33s] /home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335/test/test_remote.py:44: PytestCollectionWarning: cannot collect test class 'TestRemoteProgress' because it has a __init__ constructor (from: test/test_remote.py) [ 33s] class TestRemoteProgress(RemoteProgress): [ 33s] [ 33s] test/test_submodule.py:34 [ 33s] /home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335/test/test_submodule.py:34: PytestCollectionWarning: cannot collect test class 'TestRootProgress' because it has a __init__ constructor (from: test/test_submodule.py) [ 33s] class TestRootProgress(RootUpdateProgress): [ 33s] [ 33s] test/test_util.py:66 [ 33s] /home/abuild/rpmbuild/BUILD/GitPython-3.1.31.1676565040.f253335/test/test_util.py:66: PytestCollectionWarning: cannot collect test class 'TestIterableMember' because it has a __init__ constructor (from: test/test_util.py) [ 33s] class TestIterableMember(object): [ 33s] [ 33s] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html [ 33s] =========================== short test summary info ============================ [ 33s] FAILED test/test_base.py::TestBase::test_add_unicode - TypeError: HEAD is a d... [ 33s] FAILED test/test_base.py::TestBase::test_base_object - ValueError: SHA b'8741... [ 33s] FAILED test/test_base.py::TestBase::test_object_resolution - TypeError: HEAD ... [ 33s] FAILED test/test_base.py::TestBase::test_with_rw_repo - TypeError: HEAD is a ... [ 33s] FAILED test/test_commit.py::TestCommit::test_iteration - git.exc.GitCommandEr... [ 33s] FAILED test/test_commit.py::TestCommit::test_renames - git.exc.GitCommandErro... [ 33s] FAILED test/test_commit.py::TestCommit::test_stats - git.exc.GitCommandError:... [ 33s] FAILED test/test_commit.py::TestCommit::test_trailers - gitdb.exc.BadName: Re... [ 33s] FAILED test/test_diff.py::TestDiff::test_diff_initial_commit - git.exc.GitCom... [ 33s] FAILED test/test_diff.py::TestDiff::test_diff_interface - git.exc.GitCommandE... [ 33s] FAILED test/test_docs.py::Tutorials::test_init_repo_object - TypeError: HEAD ... [ 33s] FAILED test/test_fun.py::TestFun::test_aggressive_tree_merge - ValueError: SH... [ 33s] FAILED test/test_fun.py::TestFun::test_three_way_merge - TypeError: HEAD is a... [ 33s] FAILED test/test_fun.py::TestFun::test_tree_traversal - BrokenPipeError: [Err... [ 33s] FAILED test/test_fun.py::TestFun::test_tree_traversal_single - BrokenPipeErro... [ 33s] FAILED test/test_git.py::TestGit::test_persistent_cat_file_command - IndexErr... [ 33s] FAILED test/test_index.py::TestIndex::test_compare_write_tree - TypeError: HE... [ 33s] FAILED test/test_index.py::TestIndex::test_index_add_pathlike - TypeError: HE... [ 33s] FAILED test/test_index.py::TestIndex::test_index_file_diffing - TypeError: HE... [ 33s] FAILED test/test_index.py::TestIndex::test_index_file_from_tree - TypeError: ... [ 33s] FAILED test/test_index.py::TestIndex::test_index_lock_handling - TypeError: H... [ 33s] FAILED test/test_index.py::TestIndex::test_index_merge_tree - TypeError: HEAD... [ 33s] FAILED test/test_index.py::TestIndex::test_index_mutation - TypeError: HEAD i... [ 33s] FAILED test/test_index.py::TestIndex::test_index_new - ValueError: SHA could ... [ 33s] FAILED test/test_index.py::TestIndex::test_index_single_addremove - TypeError... [ 33s] FAILED test/test_refs.py::TestRefs::test_head_checkout_detached_head - TypeEr... [ 33s] FAILED test/test_refs.py::TestRefs::test_head_reset - TypeError: HEAD is a de... [ 33s] FAILED test/test_refs.py::TestRefs::test_heads - TypeError: HEAD is a detache... [ 33s] FAILED test/test_refs.py::TestRefs::test_is_valid - TypeError: HEAD is a deta... [ 33s] FAILED test/test_refs.py::TestRefs::test_reflog - AttributeError: 'IterableLi... [ 33s] FAILED test/test_refs.py::TestRefs::test_tag_message - TypeError: HEAD is a d... [ 33s] FAILED test/test_remote.py::TestRemote::test_add_unsafe_url - TypeError: HEAD... [ 33s] FAILED test/test_remote.py::TestRemote::test_add_unsafe_url_allowed - TypeErr... [ 33s] FAILED test/test_remote.py::TestRemote::test_create_remote_unsafe_url - TypeE... [ 33s] FAILED test/test_remote.py::TestRemote::test_create_remote_unsafe_url_allowed [ 33s] FAILED test/test_remote.py::TestRemote::test_fetch_unsafe_options - TypeError... [ 33s] FAILED test/test_remote.py::TestRemote::test_fetch_unsafe_options_allowed - T... [ 33s] FAILED test/test_remote.py::TestRemote::test_fetch_unsafe_url - TypeError: HE... [ 33s] FAILED test/test_remote.py::TestRemote::test_fetch_unsafe_url_allowed - TypeE... [ 33s] FAILED test/test_remote.py::TestRemote::test_multiple_urls - TypeError: HEAD ... [ 33s] FAILED test/test_remote.py::TestRemote::test_pull_unsafe_options - TypeError:... [ 33s] FAILED test/test_remote.py::TestRemote::test_pull_unsafe_options_allowed - Ty... [ 33s] FAILED test/test_remote.py::TestRemote::test_pull_unsafe_url - TypeError: HEA... [ 33s] FAILED test/test_remote.py::TestRemote::test_pull_unsafe_url_allowed - TypeEr... [ 33s] FAILED test/test_remote.py::TestRemote::test_push_error - TypeError: HEAD is ... [ 33s] FAILED test/test_remote.py::TestRemote::test_push_unsafe_options - TypeError:... [ 33s] FAILED test/test_remote.py::TestRemote::test_push_unsafe_options_allowed - Ty... [ 33s] FAILED test/test_remote.py::TestRemote::test_push_unsafe_url - TypeError: HEA... [ 33s] FAILED test/test_remote.py::TestRemote::test_push_unsafe_url_allowed - TypeEr... [ 33s] FAILED test/test_remote.py::TestRemote::test_set_unsafe_url - TypeError: HEAD... [ 33s] FAILED test/test_remote.py::TestRemote::test_set_unsafe_url_allowed - TypeErr... [ 33s] FAILED test/test_remote.py::TestTimeouts::test_timeout_funcs - TypeError: HEA... [ 33s] FAILED test/test_repo.py::TestRepo::test_archive - git.exc.GitCommandError: C... [ 33s] FAILED test/test_repo.py::TestRepo::test_blame_real - git.exc.GitCommandError... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_command_injection - TypeError:... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_from_command_injection - TypeE... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_from_safe_options - TypeError:... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_from_unsafe_options - TypeErro... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_from_unsafe_options_allowed - ... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_safe_options - TypeError: HEAD... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_unsafe_options - TypeError: HE... [ 33s] FAILED test/test_repo.py::TestRepo::test_clone_unsafe_options_allowed - TypeE... [ 33s] FAILED test/test_repo.py::TestRepo::test_file_handle_leaks - git.exc.GitComma... [ 33s] FAILED test/test_repo.py::TestRepo::test_git_file - TypeError: HEAD is a deta... [ 33s] FAILED test/test_repo.py::TestRepo::test_head - TypeError: HEAD is a detached... [ 33s] FAILED test/test_repo.py::TestRepo::test_heads_should_populate_head_data - At... [ 33s] FAILED test/test_repo.py::TestRepo::test_is_ancestor - git.exc.GitCommandErro... [ 33s] FAILED test/test_repo.py::TestRepo::test_is_dirty_with_path - TypeError: HEAD... [ 33s] FAILED test/test_repo.py::TestRepo::test_is_valid_object - AssertionError: Fa... [ 33s] FAILED test/test_repo.py::TestRepo::test_max_chunk_size - TypeError: HEAD is ... [ 33s] FAILED test/test_repo.py::TestRepo::test_repo_creation_from_different_paths [ 33s] FAILED test/test_repo.py::TestRepo::test_repo_creation_pathlib - TypeError: H... [ 33s] FAILED test/test_repo.py::TestRepo::test_rw_rev_parse - TypeError: HEAD is a ... [ 33s] FAILED test/test_repo.py::TestRepo::test_submodule_update - TypeError: HEAD i... [ 33s] FAILED test/test_repo.py::TestRepo::test_tree_from_revision - ValueError: SHA... [ 33s] FAILED test/test_repo.py::TestRepo::test_trees - BrokenPipeError: [Errno 32] ... [ 33s] FAILED test/test_repo.py::TestRepo::test_untracked_files - TypeError: HEAD is... [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_base_bare - ValueError: SH... [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_base_rw - TypeError: HEAD ... [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_first_submodule - TypeErro... [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_options [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_options_allowed [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_url [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_add_unsafe_url_allowed [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_options [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_options_allowed [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_url [ 33s] FAILED test/test_submodule.py::TestSubmodule::test_submodule_update_unsafe_url_allowed [ 33s] FAILED test/test_tree.py::TestTree::test_serializable - ValueError: SHA could... [ 33s] FAILED test/test_tree.py::TestTree::test_traverse - BrokenPipeError: [Errno 3... [ 33s] FAILED test/test_util.py::TestUtils::test_actor_get_uid_laziness_not_called [ 33s] FAILED test/performance/test_commit.py::TestPerformance::test_iteration - Val... [ 33s] FAILED test/performance/test_odb.py::TestObjDBPerformance::test_random_access [ 33s] ERROR test/test_fun.py::TestFun::test_tree_traversal_single - BrokenPipeError... [ 33s] ERROR test/test_repo.py::TestRepo::test_untracked_files - BrokenPipeError: [E... [ 33s] ERROR test/test_tree.py::TestTree::test_traverse - BrokenPipeError: [Errno 32... [ 33s] = 93 failed, 354 passed, 48 skipped, 2 deselected, 3 warnings, 3 errors in 22.84s = [ 33s] error: Bad exit status from /var/tmp/rpm-tmp.K5dz99 (%check) [ 33s] [ 33s] RPM build errors: [ 33s] Bad exit status from /var/tmp/rpm-tmp.K5dz99 (%check) [ 33s] [ 33s] tumbleweed-pkg.stitny failed "build python-GitPython.spec" at Thu May 11 17:13:13 UTC 2023. [ 33s]