[ 0s] Memory limit set to 10737618KB [ 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-responses.spec" at Sat May 6 11:59:18 UTC 2023. [ 0s] [ 0s] [ 0s] processing recipe /home/matej/build/devel:languages:python/python-responses/python-responses.spec ... [ 0s] running changelog2spec --target rpm --file /home/matej/build/devel:languages:python/python-responses/python-responses.spec [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --clean --rpmlist /tmp/rpmlist.drzptxjh /home/matej/build/devel:languages:python/python-responses/python-responses.spec ... [ 1s] unpacking preinstall image devel:languages:python/openSUSE_Tumbleweed/preinstallimage-python [ca024ee2f96b1d27aef93bcd73813a41] [ 3s] initializing rpm db... [ 3s] reordering...done [ 3s] querying package ids... [ 5s] [1/273] preinstalled aaa_base-84.87+git20230329.b39efbc-1.1 [ 5s] [2/273] preinstalled aaa_base-malloccheck-84.87+git20230329.b39efbc-1.1 [ 5s] [3/273] preinstalled attr-2.5.1-1.24 [ 5s] [4/273] preinstalled bash-5.2.15-8.2 [ 5s] [5/273] preinstalled bash-sh-5.2.15-8.2 [ 5s] [6/273] preinstalled binutils-2.40-4.2 [ 5s] [7/273] preinstalled brp-check-suse-84.87+git20230324.8680ce4-1.1 [ 5s] [8/273] preinstalled build-compare-20221206T204012.bb70754-1.2 [ 5s] [9/273] preinstalled build-mkbaselibs-20230502-1.1 [ 5s] [10/273] preinstalled bzip2-1.0.8-5.4 [ 5s] [11/273] preinstalled chkstat-1699_20230424-1.1 [ 5s] [12/273] preinstalled compat-usrmerge-build-84.87-5.13 [ 5s] [13/273] preinstalled compat-usrmerge-tools-84.87-5.13 [ 5s] [14/273] preinstalled coreutils-9.3-1.1 [ 5s] [15/273] preinstalled cpio-2.13-5.2 [ 5s] [16/273] preinstalled cpp-13-1.2 [ 5s] [17/273] preinstalled cpp13-13.0.1+git7231-1.1 [ 5s] [18/273] preinstalled crypto-policies-20210917.c9d86d1-1.12 [ 5s] [19/273] preinstalled debugedit-5.0-5.2 [ 5s] [20/273] preinstalled diffutils-3.9-1.2 [ 5s] [21/273] preinstalled dwz-0.15-2.2 [ 5s] [22/273] preinstalled elfutils-0.189-2.2 [ 5s] [23/273] cumulate fdupes-2.2.1-1.2 [ 5s] [24/273] preinstalled file-5.44-1.4 [ 5s] [25/273] preinstalled file-magic-5.44-1.4 [ 5s] [26/273] preinstalled filesystem-84.87-12.1 [ 5s] [27/273] preinstalled fillup-1.42-279.2 [ 5s] [28/273] preinstalled findutils-4.9.0-2.2 [ 5s] [29/273] preinstalled gawk-5.2.1-2.2 [ 5s] [30/273] preinstalled gcc-13-1.2 [ 5s] [31/273] preinstalled gcc-PIE-13-1.2 [ 5s] [32/273] preinstalled gcc13-13.0.1+git7231-1.1 [ 5s] [33/273] preinstalled gcc13-PIE-13.0.1+git7231-1.1 [ 5s] [34/273] preinstalled gettext-runtime-0.21.1-1.2 [ 5s] [35/273] preinstalled gettext-tools-0.21.1-1.2 [ 5s] [36/273] preinstalled glibc-2.37-3.1 [ 5s] [37/273] preinstalled glibc-devel-2.37-3.1 [ 5s] [38/273] preinstalled glibc-locale-base-2.37-3.1 [ 5s] [39/273] preinstalled grep-3.10-1.1 [ 5s] [40/273] preinstalled gzip-1.12-3.2 [ 5s] [41/273] preinstalled kernel-obs-build-6.3.1-1.1 [ 5s] [42/273] cumulate less-632-1.1 [ 5s] [43/273] preinstalled libacl1-2.3.1-2.8 [ 5s] [44/273] cumulate libalternatives1-1.2+30.a5431e9-1.1 [ 5s] [45/273] preinstalled libasan8-13.0.1+git7231-1.1 [ 5s] [46/273] preinstalled libasm1-0.189-2.2 [ 5s] [47/273] preinstalled libatomic1-13.0.1+git7231-1.1 [ 5s] [48/273] preinstalled libattr1-2.5.1-1.24 [ 5s] [49/273] preinstalled libaudit1-3.0.9-1.2 [ 5s] [50/273] preinstalled libblkid1-2.38.1-12.1 [ 5s] [51/273] cumulate libbrotlicommon1-1.0.9-3.3 [ 5s] [52/273] preinstalled libbz2-1-1.0.8-5.4 [ 5s] [53/273] preinstalled libcap-ng0-0.8.3-1.5 [ 5s] [54/273] preinstalled libcap2-2.68-1.1 [ 5s] [55/273] cumulate libcom_err2-1.46.5-4.2 [ 5s] [56/273] preinstalled libcrypt1-4.4.33-3.1 [ 5s] [57/273] preinstalled libctf-nobfd0-2.40-4.2 [ 5s] [58/273] preinstalled libctf0-2.40-4.2 [ 5s] [59/273] preinstalled libdb-4_8-4.8.30-40.4 [ 5s] [60/273] preinstalled libdw1-0.189-2.2 [ 5s] [61/273] preinstalled libeconf0-0.5.2-1.1 [ 5s] [62/273] preinstalled libelf1-0.189-2.2 [ 5s] [63/273] preinstalled libexpat1-2.5.0-2.2 [ 5s] [64/273] preinstalled libfdisk1-2.38.1-12.1 [ 5s] [65/273] preinstalled libffi8-3.4.4-1.2 [ 5s] [66/273] preinstalled libgcc_s1-13.0.1+git7231-1.1 [ 5s] [67/273] preinstalled libgcrypt20-1.10.2-1.1 [ 5s] [68/273] preinstalled libgdbm6-1.23-1.11 [ 5s] [69/273] preinstalled libgdbm_compat4-1.23-1.11 [ 5s] [70/273] cumulate libglib-2_0-0-2.76.2-1.1 [ 5s] [71/273] preinstalled libgmp10-6.2.1-4.12 [ 5s] [72/273] preinstalled libgomp1-13.0.1+git7231-1.1 [ 5s] [73/273] preinstalled libgpg-error0-1.47-1.1 [ 5s] [74/273] preinstalled libhwasan0-13.0.1+git7231-1.1 [ 5s] [75/273] preinstalled libisl23-0.26-1.1 [ 5s] [76/273] preinstalled libitm1-13.0.1+git7231-1.1 [ 5s] [77/273] cumulate libkeyutils1-1.6.3-6.1 [ 5s] [78/273] preinstalled liblsan0-13.0.1+git7231-1.1 [ 5s] [79/273] preinstalled liblua5_4-5-5.4.4-10.1 [ 5s] [80/273] preinstalled liblzma5-5.4.2-2.1 [ 5s] [81/273] preinstalled libmagic1-5.44-1.4 [ 5s] [82/273] preinstalled libmount1-2.38.1-12.1 [ 5s] [83/273] preinstalled libmpc3-1.3.1-1.2 [ 5s] [84/273] preinstalled libmpdec3-2.5.1-2.13 [ 5s] [85/273] preinstalled libmpfr6-4.2.0-2.1 [ 5s] [86/273] preinstalled libncurses6-6.4.20230429-11.1 [ 5s] [87/273] cumulate libnghttp2-14-1.52.0-1.1 [ 5s] [88/273] preinstalled libopenssl3-3.0.8-2.4 [ 5s] [89/273] cumulate libp11-kit0-0.24.1-2.2 [ 5s] [90/273] preinstalled libpcre2-8-0-10.42-3.7 [ 5s] [91/273] preinstalled libpkgconf3-1.8.0-2.2 [ 5s] [92/273] preinstalled libpopt0-1.19-1.2 [ 5s] [93/273] preinstalled libpython3_10-1_0-3.10.10-2.2 [ 5s] [94/273] preinstalled libpython3_11-1_0-3.11.2-1.3 [ 5s] [95/273] preinstalled libpython3_9-1_0-3.9.16-6.1 [ 5s] [96/273] preinstalled libreadline8-8.2-2.2 [ 5s] [97/273] preinstalled librpmbuild9-4.18.0-4.2 [ 5s] [98/273] cumulate libsasl2-3-2.1.28-4.3 [ 5s] [99/273] preinstalled libseccomp2-2.5.4-2.4 [ 5s] [100/273] preinstalled libselinux1-3.5-1.2 [ 5s] [101/273] preinstalled libsemanage-conf-3.5-1.3 [ 5s] [102/273] preinstalled libsemanage2-3.5-1.3 [ 5s] [103/273] preinstalled libsepol2-3.5-1.2 [ 5s] [104/273] preinstalled libsmartcols1-2.38.1-12.1 [ 5s] [105/273] cumulate libsource-highlight4-3.1.9-5.6 [ 5s] [106/273] cumulate libsqlite3-0-3.41.2-1.1 [ 5s] [107/273] cumulate libssh-config-0.10.4-1.3 [ 5s] [108/273] preinstalled libstdc++6-13.0.1+git7231-1.1 [ 5s] [109/273] preinstalled libsubid4-4.13-6.1 [ 5s] [110/273] cumulate libtasn1-6-4.19.0-1.3 [ 5s] [111/273] preinstalled libtextstyle0-0.21.1-1.2 [ 5s] [112/273] preinstalled libtsan2-13.0.1+git7231-1.1 [ 5s] [113/273] preinstalled libubsan1-13.0.1+git7231-1.1 [ 5s] [114/273] cumulate libunistring5-1.1-2.1 [ 5s] [115/273] preinstalled libutempter0-1.2.1-1.1 [ 5s] [116/273] preinstalled libuuid1-2.38.1-12.1 [ 5s] [117/273] cumulate libverto1-0.3.2-2.1 [ 5s] [118/273] preinstalled libxcrypt-devel-4.4.33-3.1 [ 5s] [119/273] preinstalled libxml2-2-2.10.4-2.1 [ 5s] [120/273] cumulate libyaml-0-2-0.2.5-2.2 [ 5s] [121/273] preinstalled libz1-1.2.13-3.4 [ 5s] [122/273] preinstalled libzstd1-1.5.5-1.1 [ 5s] [123/273] preinstalled linux-glibc-devel-6.3-1.1 [ 5s] [124/273] preinstalled login_defs-4.13-6.1 [ 5s] [125/273] preinstalled lua54-5.4.4-10.1 [ 5s] [126/273] preinstalled make-4.4.1-2.1 [ 5s] [127/273] preinstalled ncurses-utils-6.4.20230429-11.1 [ 5s] [128/273] preinstalled pam-1.5.2.90-1.1 [ 5s] [129/273] preinstalled patch-2.7.6-6.5 [ 5s] [130/273] preinstalled perl-5.36.0-4.2 [ 5s] [131/273] preinstalled perl-base-5.36.0-4.2 [ 5s] [132/273] preinstalled permissions-1699_20230424-1.1 [ 5s] [133/273] preinstalled permissions-config-1699_20230424-1.1 [ 5s] [134/273] preinstalled pkgconf-1.8.0-2.2 [ 5s] [135/273] preinstalled pkgconf-m4-1.8.0-2.2 [ 5s] [136/273] preinstalled pkgconf-pkg-config-1.8.0-2.2 [ 5s] [137/273] preinstalled polkit-default-privs-1550+20230307.7f42172-1.1 [ 5s] [138/273] preinstalled post-build-checks-84.87+git20230328.de7e9df-1.1 [ 5s] [139/273] preinstalled python-rpm-macros-20230403.29b58f8-1.1 [ 5s] [140/273] preinstalled python-rpm-packaging-20210526+a18ca48-1.5 [ 5s] [141/273] cumulate python310-MarkupSafe-2.1.2-61.1 [ 5s] [142/273] cumulate python310-apipkg-3.0.1-3.1 [ 5s] [143/273] cumulate python310-attrs-22.2.0-43.1 [ 5s] [144/273] preinstalled python310-base-3.10.10-2.2 [ 5s] [145/273] cumulate python310-charset-normalizer-3.1.0-38.1 [ 5s] [146/273] cumulate python310-cookies-2.2.1-15.1 [ 5s] [147/273] cumulate python310-exceptiongroup-1.1.1-14.1 [ 5s] [148/273] cumulate python310-idna-3.4-33.1 [ 5s] [149/273] cumulate python310-iniconfig-2.0.0-21.1 [ 5s] [150/273] preinstalled python310-packaging-23.1-77.1 [ 5s] [151/273] cumulate python310-pluggy-1.0.0-2.1 [ 5s] [152/273] cumulate python310-pycparser-2.21-32.1 [ 5s] [153/273] preinstalled python310-setuptools-67.7.2-226.1 [ 5s] [154/273] cumulate python310-tomli-2.0.1-14.1 [ 5s] [155/273] cumulate python310-tomli-w-1.0.0-10.1 [ 5s] [156/273] cumulate python310-zipp-3.15.0-39.2 [ 5s] [157/273] cumulate python311-MarkupSafe-2.1.2-61.1 [ 5s] [158/273] cumulate python311-apipkg-3.0.1-3.1 [ 5s] [159/273] cumulate python311-attrs-22.2.0-43.1 [ 5s] [160/273] preinstalled python311-base-3.11.2-1.3 [ 5s] [161/273] cumulate python311-charset-normalizer-3.1.0-38.1 [ 5s] [162/273] cumulate python311-cookies-2.2.1-15.1 [ 5s] [163/273] cumulate python311-exceptiongroup-1.1.1-14.1 [ 5s] [164/273] cumulate python311-idna-3.4-33.1 [ 5s] [165/273] cumulate python311-iniconfig-2.0.0-21.1 [ 5s] [166/273] cumulate python311-packaging-23.1-77.1 [ 5s] [167/273] cumulate python311-pluggy-1.0.0-2.1 [ 5s] [168/273] cumulate python311-pycparser-2.21-32.1 [ 5s] [169/273] preinstalled python311-setuptools-67.7.2-226.1 [ 5s] [170/273] cumulate python311-tomli-2.0.1-14.1 [ 5s] [171/273] cumulate python311-tomli-w-1.0.0-10.1 [ 5s] [172/273] cumulate python311-zipp-3.15.0-39.2 [ 5s] [173/273] cumulate python39-MarkupSafe-2.1.2-61.1 [ 5s] [174/273] cumulate python39-apipkg-3.0.1-3.1 [ 5s] [175/273] cumulate python39-attrs-22.2.0-43.1 [ 5s] [176/273] preinstalled python39-base-3.9.16-6.1 [ 5s] [177/273] cumulate python39-charset-normalizer-3.1.0-38.1 [ 5s] [178/273] cumulate python39-cookies-2.2.1-15.1 [ 5s] [179/273] cumulate python39-exceptiongroup-1.1.1-14.1 [ 5s] [180/273] cumulate python39-idna-3.4-33.1 [ 5s] [181/273] cumulate python39-iniconfig-2.0.0-21.1 [ 5s] [182/273] cumulate python39-packaging-23.1-77.1 [ 5s] [183/273] cumulate python39-pluggy-1.0.0-2.1 [ 5s] [184/273] cumulate python39-pycparser-2.21-32.1 [ 5s] [185/273] preinstalled python39-setuptools-67.7.2-226.1 [ 5s] [186/273] cumulate python39-tomli-2.0.1-14.1 [ 5s] [187/273] cumulate python39-tomli-w-1.0.0-10.1 [ 5s] [188/273] cumulate python39-zipp-3.15.0-39.2 [ 5s] [189/273] preinstalled rpm-4.18.0-4.2 [ 5s] [190/273] preinstalled rpm-build-4.18.0-4.2 [ 5s] [191/273] preinstalled rpm-build-perl-4.18.0-4.2 [ 5s] [192/273] preinstalled rpm-config-SUSE-20220926-1.3 [ 5s] [193/273] preinstalled rpmlint-mini-2.4.0+git20230502.1ab1dde-10.14 [ 5s] [194/273] preinstalled sed-4.9-2.2 [ 5s] [195/273] preinstalled shadow-4.13-6.1 [ 5s] [196/273] cumulate strace-6.2-1.2 [ 5s] [197/273] preinstalled system-group-hardware-20170617-24.12 [ 5s] [198/273] preinstalled system-user-root-20190513-2.10 [ 5s] [199/273] preinstalled systemd-rpm-macros-20-1.1 [ 5s] [200/273] preinstalled sysuser-shadow-3.1-5.2 [ 5s] [201/273] preinstalled tar-1.34-10.2 [ 5s] [202/273] preinstalled terminfo-base-6.4.20230429-11.1 [ 5s] [203/273] preinstalled update-alternatives-1.21.8-1.5 [ 5s] [204/273] preinstalled util-linux-2.38.1-12.1 [ 5s] [205/273] cumulate vim-data-common-9.0.1504-1.1 [ 5s] [206/273] preinstalled which-2.21-5.8 [ 5s] [207/273] cumulate xxd-9.0.1504-1.1 [ 5s] [208/273] preinstalled xz-5.4.2-2.1 [ 5s] [209/273] cumulate alts-1.2+30.a5431e9-1.1 [ 5s] [210/273] cumulate libbrotlidec1-1.0.9-3.3 [ 5s] [211/273] cumulate libgmodule-2_0-0-2.76.2-1.1 [ 5s] [212/273] cumulate libidn2-0-2.3.4-1.2 [ 5s] [213/273] cumulate libldap2-2.6.4-1.1 [ 5s] [214/273] cumulate python310-3.10.10-2.2 [ 5s] [215/273] cumulate python310-PyYAML-6.0-69.1 [ 5s] [216/273] cumulate python310-Werkzeug-2.2.3-89.1 [ 5s] [217/273] cumulate python310-cffi-1.15.1-99.1 [ 5s] [218/273] cumulate python310-importlib-metadata-6.6.0-44.1 [ 5s] [219/273] cumulate python311-3.11.2-1.4 [ 5s] [220/273] cumulate python311-PyYAML-6.0-69.1 [ 5s] [221/273] cumulate python311-Werkzeug-2.2.3-89.1 [ 5s] [222/273] cumulate python311-cffi-1.15.1-99.1 [ 5s] [223/273] cumulate python311-importlib-metadata-6.6.0-44.1 [ 5s] [224/273] cumulate python39-3.9.16-6.1 [ 5s] [225/273] cumulate python39-PyYAML-6.0-69.1 [ 5s] [226/273] cumulate python39-Werkzeug-2.2.3-89.1 [ 5s] [227/273] cumulate python39-cffi-1.15.1-99.1 [ 5s] [228/273] cumulate python39-importlib-metadata-6.6.0-44.1 [ 5s] [229/273] cumulate p11-kit-0.24.1-2.2 [ 5s] [230/273] cumulate p11-kit-tools-0.24.1-2.2 [ 5s] [231/273] cumulate python310-py-1.11.0-4.1 [ 5s] [232/273] cumulate python311-py-1.11.0-4.1 [ 5s] [233/273] cumulate python39-py-1.11.0-4.1 [ 5s] [234/273] cumulate krb5-1.20.1-5.2 [ 5s] [235/273] cumulate python310-pyOpenSSL-23.1.1-103.1 [ 5s] [236/273] cumulate python310-wheel-0.40.0-75.1 [ 5s] [237/273] cumulate python311-pyOpenSSL-23.1.1-103.1 [ 5s] [238/273] cumulate python311-wheel-0.40.0-75.1 [ 5s] [239/273] cumulate python39-pyOpenSSL-23.1.1-103.1 [ 5s] [240/273] cumulate python39-wheel-0.40.0-75.1 [ 5s] [241/273] cumulate babeltrace-1.5.8-3.6 [ 5s] [242/273] cumulate ca-certificates-2+git20230406.2dae8b7-1.1 [ 5s] [243/273] cumulate libpsl5-0.21.2-1.2 [ 5s] [244/273] cumulate libssh4-0.10.4-1.3 [ 5s] [245/273] cumulate python310-cryptography-40.0.2-195.2 [ 5s] [246/273] cumulate python311-cryptography-40.0.2-195.2 [ 5s] [247/273] cumulate python39-cryptography-40.0.2-195.2 [ 5s] [248/273] cumulate vim-9.0.1504-1.1 [ 5s] [249/273] cumulate python310-pytest-7.2.0-4.1 [ 5s] [250/273] cumulate python311-pytest-7.2.0-4.1 [ 5s] [251/273] cumulate python39-pytest-7.2.0-4.1 [ 5s] [252/273] cumulate ca-certificates-mozilla-2.60-2.1 [ 5s] [253/273] cumulate python310-pytest-asyncio-0.20.3-2.1 [ 5s] [254/273] cumulate python311-pytest-asyncio-0.20.3-2.1 [ 5s] [255/273] cumulate python39-pytest-asyncio-0.20.3-2.1 [ 5s] [256/273] cumulate python310-pip-23.1.2-2.1 [ 5s] [257/273] cumulate python310-pytest-httpserver-1.0.5-2.1 [ 5s] [258/273] cumulate python311-pip-23.1.2-2.1 [ 5s] [259/273] cumulate python311-pytest-httpserver-1.0.5-2.1 [ 5s] [260/273] cumulate python39-pip-23.1.2-2.1 [ 5s] [261/273] cumulate python39-pytest-httpserver-1.0.5-2.1 [ 5s] [262/273] cumulate libcurl4-8.0.1-1.1 [ 5s] [263/273] cumulate libdebuginfod1-0.189-2.2 [ 5s] [264/273] cumulate python310-certifi-2022.12.7-66.5 [ 5s] [265/273] cumulate python311-certifi-2022.12.7-66.5 [ 5s] [266/273] cumulate python39-certifi-2022.12.7-66.5 [ 5s] [267/273] cumulate gdb-12.1-7.1 [ 5s] [268/273] cumulate python310-urllib3-2.0.1-168.1 [ 5s] [269/273] cumulate python311-urllib3-2.0.1-168.1 [ 5s] [270/273] cumulate python39-urllib3-2.0.1-168.1 [ 5s] [271/273] cumulate python310-requests-2.30.0-154.1 [ 5s] [272/273] cumulate python311-requests-2.30.0-154.1 [ 5s] [273/273] cumulate python39-requests-2.30.0-154.1 [ 5s] now installing cumulated packages [ 5s] Preparing... ######################################## [ 5s] Updating / installing... [ 5s] libyaml-0-2-0.2.5-2.2 ######################################## [ 5s] libsqlite3-0-3.41.2-1.1 ######################################## [ 5s] python39-iniconfig-2.0.0-21.1 ######################################## [ 5s] python39-idna-3.4-33.1 ######################################## [ 5s] python311-iniconfig-2.0.0-21.1 ######################################## [ 5s] python311-idna-3.4-33.1 ######################################## [ 5s] python310-iniconfig-2.0.0-21.1 ######################################## [ 5s] python310-idna-3.4-33.1 ######################################## [ 5s] libunistring5-1.1-2.1 ######################################## [ 6s] libidn2-0-2.3.4-1.2 ######################################## [ 6s] libtasn1-6-4.19.0-1.3 ######################################## [ 6s] libp11-kit0-0.24.1-2.2 ######################################## [ 6s] libglib-2_0-0-2.76.2-1.1 ######################################## [ 6s] libgmodule-2_0-0-2.76.2-1.1 ######################################## [ 6s] babeltrace-1.5.8-3.6 ######################################## [ 6s] p11-kit-0.24.1-2.2 ######################################## [ 6s] p11-kit-tools-0.24.1-2.2 ######################################## [ 6s] ca-certificates-2+git20230406.2dae8b7-######################################## [ 6s] ca-certificates-mozilla-2.60-2.1 ######################################## [ 6s] python310-certifi-2022.12.7-66.5 ######################################## [ 6s] python311-certifi-2022.12.7-66.5 ######################################## [ 6s] python39-certifi-2022.12.7-66.5 ######################################## [ 6s] libpsl5-0.21.2-1.2 ######################################## [ 6s] xxd-9.0.1504-1.1 ######################################## [ 6s] vim-data-common-9.0.1504-1.1 ######################################## [ 6s] python39-zipp-3.15.0-39.2 ######################################## [ 6s] python39-importlib-metadata-6.6.0-44.1######################################## [ 7s] python39-tomli-2.0.1-14.1 ######################################## [ 7s] python39-pycparser-2.21-32.1 ######################################## [ 7s] python39-cffi-1.15.1-99.1 ######################################## [ 7s] python39-pluggy-1.0.0-2.1 ######################################## [ 7s] python39-packaging-23.1-77.1 ######################################## [ 7s] python39-exceptiongroup-1.1.1-14.1 ######################################## [ 7s] python39-charset-normalizer-3.1.0-38.1######################################## [ 7s] python39-attrs-22.2.0-43.1 ######################################## [ 7s] python39-apipkg-3.0.1-3.1 ######################################## [ 7s] python39-py-1.11.0-4.1 ######################################## [ 7s] python39-MarkupSafe-2.1.2-61.1 ######################################## [ 7s] python39-Werkzeug-2.2.3-89.1 ######################################## [ 7s] python311-zipp-3.15.0-39.2 ######################################## [ 7s] python311-importlib-metadata-6.6.0-44.######################################## [ 7s] python311-tomli-2.0.1-14.1 ######################################## [ 7s] python311-pycparser-2.21-32.1 ######################################## [ 7s] python311-cffi-1.15.1-99.1 ######################################## [ 7s] python311-pluggy-1.0.0-2.1 ######################################## [ 7s] python311-packaging-23.1-77.1 ######################################## [ 7s] python311-exceptiongroup-1.1.1-14.1 ######################################## [ 7s] python311-charset-normalizer-3.1.0-38.######################################## [ 7s] python311-attrs-22.2.0-43.1 ######################################## [ 8s] python311-apipkg-3.0.1-3.1 ######################################## [ 8s] python311-py-1.11.0-4.1 ######################################## [ 8s] python311-MarkupSafe-2.1.2-61.1 ######################################## [ 8s] python311-Werkzeug-2.2.3-89.1 ######################################## [ 8s] python310-zipp-3.15.0-39.2 ######################################## [ 8s] python310-importlib-metadata-6.6.0-44.######################################## [ 8s] python310-tomli-2.0.1-14.1 ######################################## [ 8s] python310-pycparser-2.21-32.1 ######################################## [ 8s] python310-cffi-1.15.1-99.1 ######################################## [ 8s] python310-pluggy-1.0.0-2.1 ######################################## [ 8s] python310-exceptiongroup-1.1.1-14.1 ######################################## [ 8s] python310-charset-normalizer-3.1.0-38.######################################## [ 8s] python310-attrs-22.2.0-43.1 ######################################## [ 8s] python310-apipkg-3.0.1-3.1 ######################################## [ 8s] python310-py-1.11.0-4.1 ######################################## [ 8s] python310-MarkupSafe-2.1.2-61.1 ######################################## [ 8s] python310-Werkzeug-2.2.3-89.1 ######################################## [ 8s] libverto1-0.3.2-2.1 ######################################## [ 8s] libssh-config-0.10.4-1.3 ######################################## [ 8s] libsource-highlight4-3.1.9-5.6 ######################################## [ 8s] libsasl2-3-2.1.28-4.3 ######################################## [ 8s] libldap2-2.6.4-1.1 ######################################## [ 8s] libnghttp2-14-1.52.0-1.1 ######################################## [ 8s] libkeyutils1-1.6.3-6.1 ######################################## [ 8s] libcom_err2-1.46.5-4.2 ######################################## [ 9s] krb5-1.20.1-5.2 ######################################## [ 9s] libssh4-0.10.4-1.3 ######################################## [ 9s] libbrotlicommon1-1.0.9-3.3 ######################################## [ 9s] libbrotlidec1-1.0.9-3.3 ######################################## [ 9s] libcurl4-8.0.1-1.1 ######################################## [ 9s] libdebuginfod1-0.189-2.2 ######################################## [ 9s] libalternatives1-1.2+30.a5431e9-1.1 ######################################## [ 9s] alts-1.2+30.a5431e9-1.1 ######################################## [ 9s] python310-pytest-7.2.0-4.1 ######################################## [ 9s] python311-pytest-7.2.0-4.1 ######################################## [ 9s] python39-pytest-7.2.0-4.1 ######################################## [ 9s] python310-pip-23.1.2-2.1 ######################################## [ 9s] python310-3.10.10-2.2 ######################################## [ 9s] python310-cryptography-40.0.2-195.2 ######################################## [ 9s] python310-pyOpenSSL-23.1.1-103.1 ######################################## [ 9s] python310-urllib3-2.0.1-168.1 ######################################## [ 10s] python311-pip-23.1.2-2.1 ######################################## [ 10s] python311-3.11.2-1.4 ######################################## [ 10s] python311-cryptography-40.0.2-195.2 ######################################## [ 10s] python311-pyOpenSSL-23.1.1-103.1 ######################################## [ 10s] python311-urllib3-2.0.1-168.1 ######################################## [ 10s] python39-pip-23.1.2-2.1 ######################################## [ 10s] python39-3.9.16-6.1 ######################################## [ 10s] python39-cryptography-40.0.2-195.2 ######################################## [ 10s] python39-pyOpenSSL-23.1.1-103.1 ######################################## [ 10s] python39-urllib3-2.0.1-168.1 ######################################## [ 10s] python39-requests-2.30.0-154.1 ######################################## [ 10s] python311-requests-2.30.0-154.1 ######################################## [ 10s] python310-requests-2.30.0-154.1 ######################################## [ 10s] python39-pytest-asyncio-0.20.3-2.1 ######################################## [ 10s] python39-pytest-httpserver-1.0.5-2.1 ######################################## [ 10s] python311-pytest-asyncio-0.20.3-2.1 ######################################## [ 10s] python311-pytest-httpserver-1.0.5-2.1 ######################################## [ 10s] python310-pytest-asyncio-0.20.3-2.1 ######################################## [ 10s] python310-pytest-httpserver-1.0.5-2.1 ######################################## [ 10s] python310-wheel-0.40.0-75.1 ######################################## [ 10s] python311-wheel-0.40.0-75.1 ######################################## [ 11s] python39-wheel-0.40.0-75.1 ######################################## [ 11s] vim-9.0.1504-1.1 ######################################## [ 11s] gdb-12.1-7.1 ######################################## [ 11s] python310-PyYAML-6.0-69.1 ######################################## [ 11s] python311-PyYAML-6.0-69.1 ######################################## [ 11s] python39-PyYAML-6.0-69.1 ######################################## [ 11s] strace-6.2-1.2 ######################################## [ 11s] python39-tomli-w-1.0.0-10.1 ######################################## [ 11s] python39-cookies-2.2.1-15.1 ######################################## [ 11s] python311-tomli-w-1.0.0-10.1 ######################################## [ 11s] python311-cookies-2.2.1-15.1 ######################################## [ 11s] python310-tomli-w-1.0.0-10.1 ######################################## [ 11s] python310-cookies-2.2.1-15.1 ######################################## [ 11s] less-632-1.1 ######################################## [ 11s] fdupes-2.2.1-1.2 ######################################## [ 12s] now finalizing build dir... [ 12s] ... running 01-add_abuild_user_to_trusted_group [ 12s] ... running 02-set_timezone_to_utc [ 12s] ... running 03-set-permissions-secure [ 12s] ... running 11-hack_uname_version_to_kernel_version [ 12s] ----------------------------------------------------------------- [ 12s] I have the following modifications for python-responses.spec: [ 12s] ----------------------------------------------------------------- [ 12s] ----- building python-responses.spec (user abuild) [ 12s] ----------------------------------------------------------------- [ 12s] ----------------------------------------------------------------- [ 13s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-responses.spec [ 13s] setting SOURCE_DATE_EPOCH=1683244800 [ 13s] Executing(%prep): /usr/bin/bash -e /var/tmp/rpm-tmp.F6O4Hq [ 13s] + umask 022 [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + rm -rf responses-0.23.1 [ 13s] + /usr/lib/rpm/rpmuncompress -x /home/abuild/rpmbuild/SOURCES/responses-0.23.1.tar.gz [ 13s] + STATUS=0 [ 13s] + '[' 0 -ne 0 ']' [ 13s] + cd responses-0.23.1 [ 13s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 13s] + /usr/lib/rpm/rpmuncompress /home/abuild/rpmbuild/SOURCES/unbundle-urllib3.patch [ 13s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f [ 13s] + /usr/lib/rpm/rpmuncompress /home/abuild/rpmbuild/SOURCES/compat-urllib3-2.patch [ 13s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f [ 13s] + RPM_EC=0 [ 13s] ++ jobs -p [ 13s] + exit 0 [ 13s] Executing(%build): /usr/bin/bash -e /var/tmp/rpm-tmp.KGe5Q1 [ 13s] + umask 022 [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 [ 13s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 [ 13s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 13s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 [ 13s] + cd responses-0.23.1 [ 13s] + export LANG=en_US.UTF8 [ 13s] + LANG=en_US.UTF8 [ 13s] + export PYTHONIOENCODING=utf_8 [ 13s] + PYTHONIOENCODING=utf_8 [ 13s] ++ '[' -f _current_flavor ']' [ 13s] ++ true [ 13s] + last_flavor= [ 13s] + '[' -z '' ']' [ 13s] + last_flavor=tmp [ 13s] + '[' tmp '!=' python39 ']' [ 13s] + '[' -d build ']' [ 13s] + '[' -d _build.python39 ']' [ 13s] + echo python39 [ 13s] + python_flavor=python39 [ 13s] + myargs= [ 13s] + '[' -f './dist/*-none-any.whl' ']' [ 13s] + /usr/bin/python3.9 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . [ 14s] Processing /home/abuild/rpmbuild/BUILD/responses-0.23.1 [ 14s] Preparing metadata (pyproject.toml): started [ 14s] Running command Preparing metadata (pyproject.toml) [ 14s] running dist_info [ 14s] creating /tmp/pip-modern-metadata-04ar7_0a/responses.egg-info [ 14s] writing /tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/PKG-INFO [ 14s] writing dependency_links to /tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/dependency_links.txt [ 14s] writing requirements to /tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/requires.txt [ 14s] writing top-level names to /tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/top_level.txt [ 14s] writing manifest file '/tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/SOURCES.txt' [ 14s] reading manifest file '/tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/SOURCES.txt' [ 14s] reading manifest template 'MANIFEST.in' [ 14s] warning: no previously-included files matching '*~' found anywhere in distribution [ 14s] adding license file 'LICENSE' [ 14s] writing manifest file '/tmp/pip-modern-metadata-04ar7_0a/responses.egg-info/SOURCES.txt' [ 14s] creating '/tmp/pip-modern-metadata-04ar7_0a/responses-0.23.1.dist-info' [ 14s] Preparing metadata (pyproject.toml): finished with status 'done' [ 14s] Building wheels for collected packages: responses [ 14s] Building wheel for responses (pyproject.toml): started [ 14s] Running command Building wheel for responses (pyproject.toml) [ 14s] running bdist_wheel [ 14s] running build [ 14s] running build_py [ 14s] creating build/lib [ 14s] creating build/lib/responses [ 14s] copying responses/_recorder.py -> build/lib/responses [ 14s] copying responses/registries.py -> build/lib/responses [ 14s] copying responses/__init__.py -> build/lib/responses [ 14s] copying responses/matchers.py -> build/lib/responses [ 14s] running egg_info [ 14s] writing responses.egg-info/PKG-INFO [ 14s] writing dependency_links to responses.egg-info/dependency_links.txt [ 14s] writing requirements to responses.egg-info/requires.txt [ 14s] writing top-level names to responses.egg-info/top_level.txt [ 14s] reading manifest file 'responses.egg-info/SOURCES.txt' [ 14s] reading manifest template 'MANIFEST.in' [ 14s] warning: no previously-included files matching '*~' found anywhere in distribution [ 14s] adding license file 'LICENSE' [ 14s] writing manifest file 'responses.egg-info/SOURCES.txt' [ 14s] /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'responses.tests' is absent from the `packages` configuration. [ 14s] !! [ 14s] [ 14s] ******************************************************************************** [ 14s] ############################ [ 14s] # Package would be ignored # [ 14s] ############################ [ 14s] Python recognizes 'responses.tests' as an importable package[^1], [ 14s] but it is absent from setuptools' `packages` configuration. [ 14s] [ 14s] This leads to an ambiguous overall configuration. If you want to distribute this [ 14s] package, please make sure that 'responses.tests' is explicitly added [ 14s] to the `packages` configuration field. [ 14s] [ 14s] Alternatively, you can also rely on setuptools' discovery methods [ 14s] (for example by using `find_namespace_packages(...)`/`find_namespace:` [ 14s] instead of `find_packages(...)`/`find:`). [ 14s] [ 14s] You can read more about "package discovery" on setuptools documentation page: [ 14s] [ 14s] - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html [ 14s] [ 14s] If you don't want 'responses.tests' to be distributed and are [ 14s] already explicitly excluding 'responses.tests' via [ 14s] `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, [ 14s] you can try to use `exclude_package_data`, or `include-package-data=False` in [ 14s] combination with a more fine grained `package-data` configuration. [ 14s] [ 14s] You can read more about "package data files" on setuptools documentation page: [ 14s] [ 14s] - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [ 14s] [ 14s] [ 14s] [^1]: For Python, any directory (with suitable naming) can be imported, [ 14s] even if it does not contain any `.py` files. [ 14s] On the other hand, currently there is no concept of package data [ 14s] directory, all directories are treated like packages. [ 14s] ******************************************************************************** [ 14s] [ 14s] !! [ 14s] check.warn(importable) [ 14s] copying responses/py.typed -> build/lib/responses [ 14s] creating build/lib/responses/tests [ 14s] copying responses/tests/__init__.py -> build/lib/responses/tests [ 14s] copying responses/tests/test_matchers.py -> build/lib/responses/tests [ 14s] copying responses/tests/test_multithreading.py -> build/lib/responses/tests [ 14s] copying responses/tests/test_recorder.py -> build/lib/responses/tests [ 14s] copying responses/tests/test_registries.py -> build/lib/responses/tests [ 14s] copying responses/tests/test_responses.py -> build/lib/responses/tests [ 14s] installing to build/bdist.linux-x86_64/wheel [ 14s] running install [ 14s] running install_lib [ 14s] creating build/bdist.linux-x86_64 [ 14s] creating build/bdist.linux-x86_64/wheel [ 14s] creating build/bdist.linux-x86_64/wheel/responses [ 14s] copying build/lib/responses/_recorder.py -> build/bdist.linux-x86_64/wheel/responses [ 14s] copying build/lib/responses/registries.py -> build/bdist.linux-x86_64/wheel/responses [ 14s] copying build/lib/responses/__init__.py -> build/bdist.linux-x86_64/wheel/responses [ 14s] copying build/lib/responses/matchers.py -> build/bdist.linux-x86_64/wheel/responses [ 14s] copying build/lib/responses/py.typed -> build/bdist.linux-x86_64/wheel/responses [ 14s] creating build/bdist.linux-x86_64/wheel/responses/tests [ 14s] copying build/lib/responses/tests/__init__.py -> build/bdist.linux-x86_64/wheel/responses/tests [ 14s] copying build/lib/responses/tests/test_matchers.py -> build/bdist.linux-x86_64/wheel/responses/tests [ 14s] copying build/lib/responses/tests/test_multithreading.py -> build/bdist.linux-x86_64/wheel/responses/tests [ 14s] copying build/lib/responses/tests/test_recorder.py -> build/bdist.linux-x86_64/wheel/responses/tests [ 14s] copying build/lib/responses/tests/test_registries.py -> build/bdist.linux-x86_64/wheel/responses/tests [ 14s] copying build/lib/responses/tests/test_responses.py -> build/bdist.linux-x86_64/wheel/responses/tests [ 14s] running install_egg_info [ 14s] Copying responses.egg-info to build/bdist.linux-x86_64/wheel/responses-0.23.1-py3.9.egg-info [ 14s] running install_scripts [ 14s] creating build/bdist.linux-x86_64/wheel/responses-0.23.1.dist-info/WHEEL [ 14s] creating '/tmp/pip-wheel-4ixaem9k/.tmp-2wxsrej3/responses-0.23.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it [ 14s] adding 'responses/__init__.py' [ 14s] adding 'responses/_recorder.py' [ 14s] adding 'responses/matchers.py' [ 14s] adding 'responses/py.typed' [ 14s] adding 'responses/registries.py' [ 14s] adding 'responses/tests/__init__.py' [ 14s] adding 'responses/tests/test_matchers.py' [ 14s] adding 'responses/tests/test_multithreading.py' [ 14s] adding 'responses/tests/test_recorder.py' [ 14s] adding 'responses/tests/test_registries.py' [ 14s] adding 'responses/tests/test_responses.py' [ 14s] adding 'responses-0.23.1.dist-info/LICENSE' [ 14s] adding 'responses-0.23.1.dist-info/METADATA' [ 14s] adding 'responses-0.23.1.dist-info/WHEEL' [ 14s] adding 'responses-0.23.1.dist-info/top_level.txt' [ 14s] adding 'responses-0.23.1.dist-info/RECORD' [ 14s] removing build/bdist.linux-x86_64/wheel [ 14s] Building wheel for responses (pyproject.toml): finished with status 'done' [ 14s] Created wheel for responses: filename=responses-0.23.1-py3-none-any.whl size=52040 sha256=7c98936c08368694d551c5db677043a904811ae0c9e782543dc6aadef0b8f270 [ 14s] Stored in directory: /home/abuild/.cache/pip/wheels/bc/f0/08/ca8942f19fc9e83e6c8f1110223574ecd8d0f71c7b56e9f7b7 [ 14s] Successfully built responses [ 14s] + '[' -f ./build/responses-0.23.1-py3-none-any.whl ']' [ 14s] + mkdir -p ./dist [ 14s] + cp ./build/responses-0.23.1-py3-none-any.whl ./dist/ [ 14s] ++ '[' -f _current_flavor ']' [ 14s] ++ cat _current_flavor [ 14s] + last_flavor=python39 [ 14s] + '[' -z python39 ']' [ 14s] + '[' python39 '!=' python311 ']' [ 14s] + '[' -d build ']' [ 14s] + mv build _build.python39 [ 14s] + '[' -d _build.python311 ']' [ 14s] + echo python311 [ 14s] + python_flavor=python311 [ 14s] + myargs= [ 14s] + '[' -f ./dist/responses-0.23.1-py3-none-any.whl ']' [ 14s] + echo 'Already found a compatible wheel in ./dist' [ 14s] Already found a compatible wheel in ./dist [ 14s] + mkdir -p ./build [ 14s] + cp ./dist/responses-0.23.1-py3-none-any.whl ./build/ [ 14s] ++ '[' -f _current_flavor ']' [ 14s] ++ cat _current_flavor [ 14s] + last_flavor=python311 [ 14s] + '[' -z python311 ']' [ 14s] + '[' python311 '!=' python310 ']' [ 14s] + '[' -d build ']' [ 14s] + mv build _build.python311 [ 14s] + '[' -d _build.python310 ']' [ 14s] + echo python310 [ 14s] + python_flavor=python310 [ 14s] + myargs= [ 14s] + '[' -f ./dist/responses-0.23.1-py3-none-any.whl ']' [ 14s] + echo 'Already found a compatible wheel in ./dist' [ 14s] Already found a compatible wheel in ./dist [ 14s] + mkdir -p ./build [ 14s] + cp ./dist/responses-0.23.1-py3-none-any.whl ./build/ [ 14s] + RPM_EC=0 [ 14s] ++ jobs -p [ 14s] + exit 0 [ 14s] Executing(%install): /usr/bin/bash -e /var/tmp/rpm-tmp.mTfMnR [ 14s] + umask 022 [ 14s] + cd /home/abuild/rpmbuild/BUILD [ 14s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 [ 14s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 14s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 [ 14s] + cd responses-0.23.1 [ 14s] + export LANG=en_US.UTF8 [ 14s] + LANG=en_US.UTF8 [ 14s] + export PYTHONIOENCODING=utf_8 [ 14s] + PYTHONIOENCODING=utf_8 [ 14s] ++ '[' -f _current_flavor ']' [ 14s] ++ cat _current_flavor [ 14s] + last_flavor=python310 [ 14s] + '[' -z python310 ']' [ 14s] + '[' python310 '!=' python39 ']' [ 14s] + '[' -d build ']' [ 14s] + mv build _build.python310 [ 14s] + '[' -d _build.python39 ']' [ 14s] + mv _build.python39 build [ 14s] + echo python39 [ 14s] + python_flavor=python39 [ 14s] + myargs= [ 14s] + havereq=0 [ 14s] + '[' -n '' ']' [ 14s] + '[' 0 -eq 0 ']' [ 14s] + ls ./build/responses-0.23.1-py3-none-any.whl [ 14s] ./build/responses-0.23.1-py3-none-any.whl [ 14s] + for w in ./build/*.whl [ 14s] ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' [ 14s] +++ basename ./build/responses-0.23.1-py3-none-any.whl [ 14s] ++ echo responses-0.23.1-py3-none-any.whl [ 14s] + myargs=' responses==0.23.1' [ 14s] + /usr/bin/python3.9 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build responses==0.23.1 [ 15s] Using pip 23.1.2 from /usr/lib/python3.9/site-packages/pip (python 3.9) [ 15s] Looking in links: ./build [ 15s] Processing ./build/responses-0.23.1-py3-none-any.whl [ 15s] Installing collected packages: responses [ 15s] Successfully installed responses-0.23.1 [ 15s] + for d in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.9/site-packages [ 15s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages ']' [ 15s] + find /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages -iname '*.pyc' -delete [ 15s] + find /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages -iname '*.py' -printf 'Generating cached byte-code for %P\n' -exec /usr/bin/python3.9 -c 'import py_compile; f="{}"; [py_compile.compile(f, dfile=f[len("/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64"):], optimize=o) for o in [0, 1]]' ';' [ 15s] Generating cached byte-code for responses/__init__.py [ 15s] Generating cached byte-code for responses/_recorder.py [ 15s] Generating cached byte-code for responses/matchers.py [ 15s] Generating cached byte-code for responses/registries.py [ 15s] Generating cached byte-code for responses/tests/__init__.py [ 15s] Generating cached byte-code for responses/tests/test_matchers.py [ 15s] Generating cached byte-code for responses/tests/test_multithreading.py [ 15s] Generating cached byte-code for responses/tests/test_recorder.py [ 15s] Generating cached byte-code for responses/tests/test_registries.py [ 15s] Generating cached byte-code for responses/tests/test_responses.py [ 15s] + for d in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.9/site-packages [ 15s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.9/site-packages ']' [ 15s] + for f in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/bin/* [ 15s] + '[' -f '/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/bin/*' ']' [ 15s] ++ '[' -f _current_flavor ']' [ 15s] ++ cat _current_flavor [ 15s] + last_flavor=python39 [ 15s] + '[' -z python39 ']' [ 15s] + '[' python39 '!=' python311 ']' [ 15s] + '[' -d build ']' [ 15s] + mv build _build.python39 [ 15s] + '[' -d _build.python311 ']' [ 15s] + mv _build.python311 build [ 15s] + echo python311 [ 15s] + python_flavor=python311 [ 15s] + myargs= [ 15s] + havereq=0 [ 15s] + '[' -n '' ']' [ 15s] + '[' 0 -eq 0 ']' [ 15s] + ls ./build/responses-0.23.1-py3-none-any.whl [ 15s] ./build/responses-0.23.1-py3-none-any.whl [ 15s] + for w in ./build/*.whl [ 15s] ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' [ 15s] +++ basename ./build/responses-0.23.1-py3-none-any.whl [ 15s] ++ echo responses-0.23.1-py3-none-any.whl [ 15s] + myargs=' responses==0.23.1' [ 15s] + /usr/bin/python3.11 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build responses==0.23.1 [ 15s] Using pip 23.1.2 from /usr/lib/python3.11/site-packages/pip (python 3.11) [ 16s] Looking in links: ./build [ 16s] Processing ./build/responses-0.23.1-py3-none-any.whl [ 16s] Installing collected packages: responses [ 16s] Successfully installed responses-0.23.1 [ 16s] + for d in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.11/site-packages [ 16s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages ']' [ 16s] + find /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages -iname '*.pyc' -delete [ 16s] + find /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages -iname '*.py' -printf 'Generating cached byte-code for %P\n' -exec /usr/bin/python3.11 -c 'import py_compile; f="{}"; [py_compile.compile(f, dfile=f[len("/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64"):], optimize=o) for o in [0, 1]]' ';' [ 16s] Generating cached byte-code for responses/__init__.py [ 16s] Generating cached byte-code for responses/_recorder.py [ 16s] Generating cached byte-code for responses/matchers.py [ 16s] Generating cached byte-code for responses/registries.py [ 16s] Generating cached byte-code for responses/tests/__init__.py [ 16s] Generating cached byte-code for responses/tests/test_matchers.py [ 16s] Generating cached byte-code for responses/tests/test_multithreading.py [ 16s] Generating cached byte-code for responses/tests/test_recorder.py [ 16s] Generating cached byte-code for responses/tests/test_registries.py [ 16s] Generating cached byte-code for responses/tests/test_responses.py [ 16s] + for d in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.11/site-packages [ 16s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.11/site-packages ']' [ 16s] + for f in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/bin/* [ 16s] + '[' -f '/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/bin/*' ']' [ 16s] ++ '[' -f _current_flavor ']' [ 16s] ++ cat _current_flavor [ 16s] + last_flavor=python311 [ 16s] + '[' -z python311 ']' [ 16s] + '[' python311 '!=' python310 ']' [ 16s] + '[' -d build ']' [ 16s] + mv build _build.python311 [ 16s] + '[' -d _build.python310 ']' [ 16s] + mv _build.python310 build [ 16s] + echo python310 [ 16s] + python_flavor=python310 [ 16s] + myargs= [ 16s] + havereq=0 [ 16s] + '[' -n '' ']' [ 16s] + '[' 0 -eq 0 ']' [ 16s] + ls ./build/responses-0.23.1-py3-none-any.whl [ 16s] ./build/responses-0.23.1-py3-none-any.whl [ 16s] + for w in ./build/*.whl [ 16s] ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' [ 16s] +++ basename ./build/responses-0.23.1-py3-none-any.whl [ 16s] ++ echo responses-0.23.1-py3-none-any.whl [ 16s] + myargs=' responses==0.23.1' [ 16s] + /usr/bin/python3.10 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build responses==0.23.1 [ 16s] Using pip 23.1.2 from /usr/lib/python3.10/site-packages/pip (python 3.10) [ 16s] Looking in links: ./build [ 16s] Processing ./build/responses-0.23.1-py3-none-any.whl [ 16s] Installing collected packages: responses [ 16s] Successfully installed responses-0.23.1 [ 16s] + for d in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.10/site-packages [ 16s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages ']' [ 16s] + find /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages -iname '*.pyc' -delete [ 16s] + find /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages -iname '*.py' -printf 'Generating cached byte-code for %P\n' -exec /usr/bin/python3.10 -c 'import py_compile; f="{}"; [py_compile.compile(f, dfile=f[len("/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64"):], optimize=o) for o in [0, 1]]' ';' [ 16s] Generating cached byte-code for responses/__init__.py [ 17s] Generating cached byte-code for responses/_recorder.py [ 17s] Generating cached byte-code for responses/matchers.py [ 17s] Generating cached byte-code for responses/registries.py [ 17s] Generating cached byte-code for responses/tests/__init__.py [ 17s] Generating cached byte-code for responses/tests/test_matchers.py [ 17s] Generating cached byte-code for responses/tests/test_multithreading.py [ 17s] Generating cached byte-code for responses/tests/test_recorder.py [ 17s] Generating cached byte-code for responses/tests/test_registries.py [ 17s] Generating cached byte-code for responses/tests/test_responses.py [ 17s] + for d in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.10/site-packages [ 17s] + '[' -d /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib64/python3.10/site-packages ']' [ 17s] + for f in /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/bin/* [ 17s] + '[' -f '/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/bin/*' ']' [ 17s] ++ '[' -f _current_flavor ']' [ 17s] ++ cat _current_flavor [ 17s] + last_flavor=python310 [ 17s] + '[' -z python310 ']' [ 17s] + '[' python310 '!=' python39 ']' [ 17s] + '[' -d build ']' [ 17s] + mv build _build.python310 [ 17s] + '[' -d _build.python39 ']' [ 17s] + mv _build.python39 build [ 17s] + echo python39 [ 17s] + python_flavor=python39 [ 17s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/__pycache__/registries.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/__pycache__/registries.cpython-39.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/__pycache__/matchers.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/__pycache__/matchers.cpython-39.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/__pycache__/_recorder.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/__pycache__/_recorder.cpython-39.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/tests/__pycache__/test_multithreading.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/tests/__pycache__/test_multithreading.cpython-39.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/tests/__pycache__/__init__.cpython-39.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages/responses/tests/__pycache__/__init__.cpython-39.pyc [ 17s] ++ '[' -f _current_flavor ']' [ 17s] ++ cat _current_flavor [ 17s] + last_flavor=python39 [ 17s] + '[' -z python39 ']' [ 17s] + '[' python39 '!=' python311 ']' [ 17s] + '[' -d build ']' [ 17s] + mv build _build.python39 [ 17s] + '[' -d _build.python311 ']' [ 17s] + mv _build.python311 build [ 17s] + echo python311 [ 17s] + python_flavor=python311 [ 17s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/__pycache__/registries.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/__pycache__/registries.cpython-311.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/__pycache__/matchers.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/__pycache__/matchers.cpython-311.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/__pycache__/_recorder.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/__pycache__/_recorder.cpython-311.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/tests/__pycache__/test_multithreading.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/tests/__pycache__/test_multithreading.cpython-311.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/tests/__pycache__/__init__.cpython-311.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.11/site-packages/responses/tests/__pycache__/__init__.cpython-311.pyc [ 17s] ++ '[' -f _current_flavor ']' [ 17s] ++ cat _current_flavor [ 17s] + last_flavor=python311 [ 17s] + '[' -z python311 ']' [ 17s] + '[' python311 '!=' python310 ']' [ 17s] + '[' -d build ']' [ 17s] + mv build _build.python311 [ 17s] + '[' -d _build.python310 ']' [ 17s] + mv _build.python310 build [ 17s] + echo python310 [ 17s] + python_flavor=python310 [ 17s] + /usr/lib/rpm/fdupes_wrapper /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/__pycache__/registries.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/__pycache__/registries.cpython-310.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/__pycache__/matchers.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/__pycache__/matchers.cpython-310.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/__pycache__/_recorder.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/__pycache__/_recorder.cpython-310.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/tests/__pycache__/test_multithreading.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/tests/__pycache__/test_multithreading.cpython-310.pyc [ 17s] Linking /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/tests/__pycache__/__init__.cpython-310.opt-1.pyc -> /home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.10/site-packages/responses/tests/__pycache__/__init__.cpython-310.pyc [ 17s] + /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/responses-0.23.1 [ 17s] + /usr/lib/rpm/brp-compress [ 17s] + /usr/lib/rpm/brp-suse [ 17s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 17s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 17s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 17s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 17s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 17s] Executing(%check): /usr/bin/bash -e /var/tmp/rpm-tmp.vpKXMf [ 17s] + umask 022 [ 17s] + cd /home/abuild/rpmbuild/BUILD [ 17s] + cd responses-0.23.1 [ 17s] + skiptests= [ 17s] + python39_skiptests='test_registry_async or test_async_calls' [ 17s] + set +x [ 17s] Using libalternatives variant 39 for pip in XDG_CONFIG_HOME during Python 3.9 expansions. [ 17s] Using libalternatives variant 39 for pip3 in XDG_CONFIG_HOME during Python 3.9 expansions. [ 17s] Using libalternatives variant 39 for py.test in XDG_CONFIG_HOME during Python 3.9 expansions. [ 17s] Using libalternatives variant 39 for pytest in XDG_CONFIG_HOME during Python 3.9 expansions. [ 17s] Using libalternatives variant 39 for wheel in XDG_CONFIG_HOME during Python 3.9 expansions. [ 17s] Using alternative normalizer-3.9 for normalizer in ./build/flavorbin during Python 3.9 expansions. [ 17s] Using libalternatives variant 311 for pip in XDG_CONFIG_HOME during Python 3.11 expansions. [ 17s] Using libalternatives variant 311 for pip3 in XDG_CONFIG_HOME during Python 3.11 expansions. [ 17s] Using libalternatives variant 311 for py.test in XDG_CONFIG_HOME during Python 3.11 expansions. [ 17s] Using libalternatives variant 311 for pytest in XDG_CONFIG_HOME during Python 3.11 expansions. [ 17s] Using libalternatives variant 311 for wheel in XDG_CONFIG_HOME during Python 3.11 expansions. [ 17s] Using alternative normalizer-3.11 for normalizer in ./build/flavorbin during Python 3.11 expansions. [ 17s] Using alternative normalizer-3.10 for normalizer in ./build/flavorbin during Python 3.10 expansions. [ 17s] + export PATH=/home/abuild/rpmbuild/BUILD/responses-0.23.1/build/flavorbin:/usr/local/bin:/usr/bin:/bin [ 17s] + PATH=/home/abuild/rpmbuild/BUILD/responses-0.23.1/build/flavorbin:/usr/local/bin:/usr/bin:/bin [ 17s] ++ '[' -f _current_flavor ']' [ 17s] ++ cat _current_flavor [ 17s] + last_flavor=python310 [ 17s] + '[' -z python310 ']' [ 17s] + '[' python310 '!=' python39 ']' [ 17s] + '[' -d build ']' [ 17s] + mv build _build.python310 [ 17s] + '[' -d _build.python39 ']' [ 17s] + mv _build.python39 build [ 17s] + echo python39 [ 17s] + python_flavor=python39 [ 17s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-responses-0.23.1-0.x86_64/usr/lib/python3.9/site-packages [ 17s] + PYTHONDONTWRITEBYTECODE=1 [ 17s] + pytest-3.9 --ignore=_build.python39 --ignore=_build.python311 --ignore=_build.python310 -v -k 'not ( test_registry_async or test_async_calls)' [ 17s] ============================= test session starts ============================== [ 17s] platform linux -- Python 3.9.16, pytest-7.2.0, pluggy-1.0.0 -- /usr/bin/python3.9 [ 17s] cachedir: .pytest_cache [ 17s] rootdir: /home/abuild/rpmbuild/BUILD/responses-0.23.1 [ 17s] plugins: asyncio-0.20.3, httpserver-1.0.5 [ 17s] asyncio: mode=strict [ 18s] collecting ... collected 199 items / 2 deselected / 197 selected [ 18s] [ 18s] responses/tests/test_matchers.py::test_query_string_matcher PASSED [ 0%] [ 18s] responses/tests/test_matchers.py::test_request_matches_post_params PASSED [ 1%] [ 18s] responses/tests/test_matchers.py::test_json_params_matcher_not_strict PASSED [ 1%] [ 18s] responses/tests/test_matchers.py::test_json_params_matcher_not_strict_diff_values PASSED [ 2%] [ 18s] responses/tests/test_matchers.py::test_json_params_matcher_json_list PASSED [ 2%] [ 18s] responses/tests/test_matchers.py::test_json_params_matcher_json_list_empty PASSED [ 3%] [ 18s] responses/tests/test_matchers.py::test_urlencoded_params_matcher_blank PASSED [ 3%] [ 18s] responses/tests/test_matchers.py::test_query_params_numbers PASSED [ 4%] [ 18s] responses/tests/test_matchers.py::test_query_param_matcher_loose PASSED [ 4%] [ 18s] responses/tests/test_matchers.py::test_query_param_matcher_loose_fail PASSED [ 5%] [ 18s] responses/tests/test_matchers.py::test_request_matches_empty_body PASSED [ 5%] [ 18s] responses/tests/test_matchers.py::test_request_matches_params PASSED [ 6%] [ 18s] responses/tests/test_matchers.py::test_fail_matchers_error PASSED [ 6%] [ 18s] responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!0] PASSED [ 7%] [ 18s] responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!1] PASSED [ 7%] [ 18s] responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!2] PASSED [ 8%] [ 18s] responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!3] PASSED [ 8%] [ 18s] responses/tests/test_matchers.py::test_multipart_matcher[\xacHello World!-\xacHello World!] PASSED [ 9%] [ 18s] responses/tests/test_matchers.py::test_multipart_matcher_fail PASSED [ 9%] [ 18s] responses/tests/test_matchers.py::test_query_string_matcher_raises PASSED [ 10%] [ 18s] responses/tests/test_matchers.py::test_request_matches_headers PASSED [ 10%] [ 18s] responses/tests/test_matchers.py::test_request_matches_headers_no_match PASSED [ 11%] [ 18s] responses/tests/test_matchers.py::test_request_matches_headers_strict_match PASSED [ 11%] [ 18s] responses/tests/test_matchers.py::test_fragment_identifier_matcher PASSED [ 12%] [ 18s] responses/tests/test_matchers.py::test_fragment_identifier_matcher_error PASSED [ 12%] [ 18s] responses/tests/test_matchers.py::test_fragment_identifier_matcher_and_match_querystring PASSED [ 13%] [ 18s] responses/tests/test_matchers.py::test_matchers_create_key_val_str PASSED [ 13%] [ 18s] responses/tests/test_multithreading.py::test_multithreading_lock[0] PASSED [ 14%] [ 19s] responses/tests/test_multithreading.py::test_multithreading_lock[1] PASSED [ 14%] [ 19s] responses/tests/test_multithreading.py::test_multithreading_lock[2] PASSED [ 15%] [ 20s] responses/tests/test_multithreading.py::test_multithreading_lock[3] PASSED [ 15%] [ 21s] responses/tests/test_multithreading.py::test_multithreading_lock[4] PASSED [ 16%] [ 21s] responses/tests/test_multithreading.py::test_multithreading_lock[5] PASSED [ 16%] [ 22s] responses/tests/test_multithreading.py::test_multithreading_lock[6] PASSED [ 17%] [ 23s] responses/tests/test_multithreading.py::test_multithreading_lock[7] PASSED [ 17%] [ 23s] responses/tests/test_multithreading.py::test_multithreading_lock[8] PASSED [ 18%] [ 24s] responses/tests/test_multithreading.py::test_multithreading_lock[9] PASSED [ 18%] [ 24s] responses/tests/test_recorder.py::TestRecord::test_recorder PASSED [ 19%] [ 24s] responses/tests/test_recorder.py::TestRecord::test_recorder_toml PASSED [ 19%] [ 24s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[yaml] PASSED [ 20%] [ 24s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[tomli_w] PASSED [ 20%] [ 24s] responses/tests/test_registries.py::test_set_registry_not_empty PASSED [ 21%] [ 24s] responses/tests/test_registries.py::test_set_registry PASSED [ 21%] [ 24s] responses/tests/test_registries.py::test_set_registry_reversed PASSED [ 22%] [ 24s] responses/tests/test_registries.py::test_set_registry_context_manager PASSED [ 22%] [ 24s] responses/tests/test_registries.py::test_registry_reset PASSED [ 23%] [ 24s] responses/tests/test_registries.py::TestOrderedRegistry::test_invocation_index PASSED [ 23%] [ 24s] responses/tests/test_registries.py::TestOrderedRegistry::test_not_match PASSED [ 24%] [ 24s] responses/tests/test_registries.py::TestOrderedRegistry::test_empty_registry PASSED [ 24%] [ 24s] responses/tests/test_responses.py::test_response PASSED [ 25%] [ 24s] responses/tests/test_responses.py::test_response_encoded PASSED [ 25%] [ 24s] responses/tests/test_responses.py::test_response_with_instance PASSED [ 26%] [ 24s] responses/tests/test_responses.py::test_replace[http://example.com/two-http://example.com/two] PASSED [ 26%] [ 24s] responses/tests/test_responses.py::test_replace[original1-replacement1] PASSED [ 27%] [ 24s] responses/tests/test_responses.py::test_replace[http://example\\.com/two-http://example\\.com/two] PASSED [ 27%] [ 24s] responses/tests/test_responses.py::test_replace_error[http://example.com/one-http://example\\.com/one] PASSED [ 28%] [ 24s] responses/tests/test_responses.py::test_replace_error[http://example\\.com/one-http://example.com/one] PASSED [ 28%] [ 24s] responses/tests/test_responses.py::test_replace_response_object_error PASSED [ 29%] [ 24s] responses/tests/test_responses.py::test_upsert_replace[http://example.com/two-http://example.com/two] PASSED [ 29%] [ 24s] responses/tests/test_responses.py::test_upsert_replace[original1-replacement1] PASSED [ 30%] [ 24s] responses/tests/test_responses.py::test_upsert_replace[http://example\\.com/two-http://example\\.com/two] PASSED [ 30%] [ 24s] responses/tests/test_responses.py::test_upsert_add[http://example.com/two-http://example.com/two] PASSED [ 31%] [ 24s] responses/tests/test_responses.py::test_upsert_add[original1-replacement1] PASSED [ 31%] [ 24s] responses/tests/test_responses.py::test_upsert_add[http://example\\.com/two-http://example\\.com/two] PASSED [ 32%] [ 24s] responses/tests/test_responses.py::test_remove PASSED [ 32%] [ 24s] responses/tests/test_responses.py::test_response_equality[args10-kwargs10-args20-kwargs20-True] PASSED [ 33%] [ 24s] responses/tests/test_responses.py::test_response_equality[args11-kwargs11-args21-kwargs21-False] PASSED [ 34%] [ 24s] responses/tests/test_responses.py::test_response_equality[args12-kwargs12-args22-kwargs22-False] PASSED [ 34%] [ 24s] responses/tests/test_responses.py::test_response_equality[args13-kwargs13-args23-kwargs23-True] PASSED [ 35%] [ 24s] responses/tests/test_responses.py::test_response_equality_different_objects PASSED [ 35%] [ 24s] responses/tests/test_responses.py::test_connection_error PASSED [ 36%] [ 24s] responses/tests/test_responses.py::test_match_querystring PASSED [ 36%] [ 24s] responses/tests/test_responses.py::test_match_querystring_empty PASSED [ 37%] [ 24s] responses/tests/test_responses.py::test_match_querystring_error PASSED [ 37%] [ 24s] responses/tests/test_responses.py::test_match_querystring_regex PASSED [ 38%] [ 24s] responses/tests/test_responses.py::test_match_querystring_error_regex PASSED [ 38%] [ 24s] responses/tests/test_responses.py::test_match_querystring_auto_activates PASSED [ 39%] [ 24s] responses/tests/test_responses.py::test_match_querystring_missing_key PASSED [ 39%] [ 24s] responses/tests/test_responses.py::test_accept_string_body PASSED [ 40%] [ 24s] responses/tests/test_responses.py::test_accept_json_body PASSED [ 40%] [ 24s] responses/tests/test_responses.py::test_no_content_type PASSED [ 41%] [ 24s] responses/tests/test_responses.py::test_arbitrary_status_code PASSED [ 41%] [ 24s] responses/tests/test_responses.py::test_throw_connection_error_explicit PASSED [ 42%] [ 24s] responses/tests/test_responses.py::test_callback PASSED [ 42%] [ 24s] responses/tests/test_responses.py::test_deprecated_package_attributes PASSED [ 43%] [ 24s] responses/tests/test_responses.py::test_callback_deprecated_stream_argument PASSED [ 43%] [ 24s] responses/tests/test_responses.py::test_callback_deprecated_match_querystring_argument PASSED [ 44%] [ 24s] responses/tests/test_responses.py::test_callback_match_querystring_default_false PASSED [ 44%] [ 24s] responses/tests/test_responses.py::test_callback_exception_result PASSED [ 45%] [ 24s] responses/tests/test_responses.py::test_callback_exception_body PASSED [ 45%] [ 24s] responses/tests/test_responses.py::test_callback_no_content_type PASSED [ 46%] [ 24s] responses/tests/test_responses.py::test_callback_content_type_dict PASSED [ 46%] [ 24s] responses/tests/test_responses.py::test_callback_matchers PASSED [ 47%] [ 24s] responses/tests/test_responses.py::test_callback_matchers_fail PASSED [ 47%] [ 24s] responses/tests/test_responses.py::test_callback_content_type_tuple PASSED [ 48%] [ 24s] responses/tests/test_responses.py::test_regular_expression_url PASSED [ 48%] [ 24s] responses/tests/test_responses.py::test_base_response_get_response PASSED [ 49%] [ 24s] responses/tests/test_responses.py::test_custom_adapter PASSED [ 49%] [ 24s] responses/tests/test_responses.py::test_responses_as_context_manager PASSED [ 50%] [ 24s] responses/tests/test_responses.py::test_activate_doesnt_change_signature PASSED [ 50%] [ 24s] responses/tests/test_responses.py::TestFixtures::test_function PASSED [ 51%] [ 24s] responses/tests/test_responses.py::TestFixtures::test_function_decorated PASSED [ 51%] [ 24s] responses/tests/test_responses.py::test_activate_mock_interaction PASSED [ 52%] [ 24s] responses/tests/test_responses.py::test_activate_doesnt_change_signature_with_return_type PASSED [ 52%] [ 24s] responses/tests/test_responses.py::test_activate_doesnt_change_signature_for_method PASSED [ 53%] [ 24s] responses/tests/test_responses.py::test_response_cookies PASSED [ 53%] [ 24s] responses/tests/test_responses.py::test_response_cookies_secure PASSED [ 54%] [ 24s] responses/tests/test_responses.py::test_response_cookies_multiple PASSED [ 54%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[True-True] PASSED [ 55%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[True-False] PASSED [ 55%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[True-None] PASSED [ 56%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[False-True] PASSED [ 56%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[False-False] PASSED [ 57%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[False-None] PASSED [ 57%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[None-True] PASSED [ 58%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[None-False] PASSED [ 58%] [ 24s] responses/tests/test_responses.py::test_response_cookies_session[None-None] PASSED [ 59%] [ 24s] responses/tests/test_responses.py::test_response_callback PASSED [ 59%] [ 24s] responses/tests/test_responses.py::test_response_filebody PASSED [ 60%] [ 24s] responses/tests/test_responses.py::test_use_stream_twice_to_double_raw_io PASSED [ 60%] [ 24s] responses/tests/test_responses.py::test_assert_all_requests_are_fired PASSED [ 61%] [ 24s] responses/tests/test_responses.py::test_assert_all_requests_fired_multiple PASSED [ 61%] [ 24s] responses/tests/test_responses.py::test_allow_redirects_samehost PASSED [ 62%] [ 24s] responses/tests/test_responses.py::test_path_segments PASSED [ 62%] [ 24s] responses/tests/test_responses.py::test_handles_unicode_querystring PASSED [ 63%] [ 24s] responses/tests/test_responses.py::test_handles_unicode_url PASSED [ 63%] [ 24s] responses/tests/test_responses.py::test_handles_unicode_body PASSED [ 64%] [ 24s] responses/tests/test_responses.py::test_handles_buffered_reader_body PASSED [ 64%] [ 24s] responses/tests/test_responses.py::test_headers PASSED [ 65%] [ 24s] responses/tests/test_responses.py::test_content_length_error PASSED [ 65%] [ 24s] responses/tests/test_responses.py::test_stream_with_none_chunk_size PASSED [ 66%] [ 24s] responses/tests/test_responses.py::test_legacy_adding_headers PASSED [ 67%] [ 24s] responses/tests/test_responses.py::test_legacy_adding_headers_with_content_type PASSED [ 67%] [ 24s] responses/tests/test_responses.py::test_auto_calculate_content_length_string_body PASSED [ 68%] [ 24s] responses/tests/test_responses.py::test_auto_calculate_content_length_bytes_body PASSED [ 68%] [ 24s] responses/tests/test_responses.py::test_auto_calculate_content_length_json_body PASSED [ 69%] [ 24s] responses/tests/test_responses.py::test_auto_calculate_content_length_unicode_body PASSED [ 69%] [ 24s] responses/tests/test_responses.py::test_auto_calculate_content_length_doesnt_work_for_buffered_reader_body PASSED [ 70%] [ 24s] responses/tests/test_responses.py::test_auto_calculate_content_length_doesnt_override_existing_value FAILED [ 70%] [ 24s] responses/tests/test_responses.py::test_multiple_responses PASSED [ 71%] [ 24s] responses/tests/test_responses.py::test_multiple_responses_intermixed PASSED [ 71%] [ 24s] responses/tests/test_responses.py::test_multiple_urls PASSED [ 72%] [ 24s] responses/tests/test_responses.py::test_multiple_methods PASSED [ 72%] [ 24s] responses/tests/test_responses.py::test_passthrough_flag PASSED [ 73%] [ 24s] responses/tests/test_responses.py::test_passthrough_kwarg PASSED [ 73%] [ 24s] responses/tests/test_responses.py::test_passthrough_response PASSED [ 74%] [ 24s] responses/tests/test_responses.py::test_passthrough_response_stream PASSED [ 74%] [ 24s] responses/tests/test_responses.py::test_passthru_prefixes PASSED [ 75%] [ 24s] responses/tests/test_responses.py::test_passthru PASSED [ 75%] [ 24s] responses/tests/test_responses.py::test_passthru_regex PASSED [ 76%] [ 24s] responses/tests/test_responses.py::test_passthru_does_not_persist_across_tests PASSED [ 76%] [ 24s] responses/tests/test_responses.py::test_method_named_param PASSED [ 77%] [ 24s] responses/tests/test_responses.py::test_passthru_unicode PASSED [ 77%] [ 24s] responses/tests/test_responses.py::test_custom_target PASSED [ 78%] [ 24s] responses/tests/test_responses.py::test_request_param[http://example.com] PASSED [ 78%] [ 24s] responses/tests/test_responses.py::test_request_param[http://example.com/some/path] PASSED [ 79%] [ 24s] responses/tests/test_responses.py::test_request_param[http://example.com/other/path/] PASSED [ 79%] [ 24s] responses/tests/test_responses.py::test_request_param_with_multiple_values_for_the_same_key PASSED [ 80%] [ 24s] responses/tests/test_responses.py::test_assert_call_count[http://example.com] PASSED [ 80%] [ 24s] responses/tests/test_responses.py::test_assert_call_count[http://example.com?hello=world] PASSED [ 81%] [ 24s] responses/tests/test_responses.py::test_call_count_with_matcher PASSED [ 81%] [ 24s] responses/tests/test_responses.py::test_call_count_without_matcher PASSED [ 82%] [ 24s] responses/tests/test_responses.py::test_fail_request_error PASSED [ 82%] [ 24s] responses/tests/test_responses.py::test_response_representations[response_params0-] PASSED [ 83%] [ 24s] responses/tests/test_responses.py::test_response_representations[response_params1-] PASSED [ 83%] [ 24s] responses/tests/test_responses.py::test_response_representations[response_params2-] PASSED [ 84%] [ 24s] responses/tests/test_responses.py::test_mocked_responses_list_registered PASSED [ 84%] [ 24s] responses/tests/test_responses.py::test_rfc_compliance[http://service-A/foo?q=fizz-http://service-a/foo?q=fizz] PASSED [ 85%] [ 24s] responses/tests/test_responses.py::test_rfc_compliance[http://service-a/foo-http://service-A/foo] PASSED [ 85%] [ 24s] responses/tests/test_responses.py::test_rfc_compliance[http://someHost-AwAy/-http://somehost-away/] PASSED [ 86%] [ 24s] responses/tests/test_responses.py::test_rfc_compliance[http://fizzbuzz/foo-http://fizzbuzz/foo] PASSED [ 86%] [ 24s] responses/tests/test_responses.py::test_requests_between_add PASSED [ 87%] [ 24s] responses/tests/test_responses.py::test_responses_reuse PASSED [ 87%] [ 24s] responses/tests/test_responses.py::TestStrictWrapper::test_strict_wrapper PASSED [ 88%] [ 24s] responses/tests/test_responses.py::TestStrictWrapper::test_nested_decorators[True] PASSED [ 88%] [ 24s] responses/tests/test_responses.py::TestStrictWrapper::test_nested_decorators[False] PASSED [ 89%] [ 24s] responses/tests/test_responses.py::TestStrictWrapper::test_nested_decorators[None] PASSED [ 89%] [ 24s] responses/tests/test_responses.py::TestMultipleWrappers::test_wrapped PASSED [ 90%] [ 24s] responses/tests/test_responses.py::TestMultipleWrappers::test_call_another_wrapped_function PASSED [ 90%] [ 24s] responses/tests/test_responses.py::TestMultipleWrappers::test_mock_not_leaked PASSED [ 91%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_delete PASSED [ 91%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_get PASSED [ 92%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_head PASSED [ 92%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_options PASSED [ 93%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_patch PASSED [ 93%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_post PASSED [ 94%] [ 24s] responses/tests/test_responses.py::TestShortcuts::test_put PASSED [ 94%] [ 24s] responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function PASSED [ 95%] [ 24s] responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function PASSED [ 95%] [ 24s] responses/tests/test_responses.py::test_reset_in_the_middle PASSED [ 96%] [ 24s] responses/tests/test_responses.py::test_redirect PASSED [ 96%] [ 24s] responses/tests/test_responses.py::TestMaxRetry::test_max_retries PASSED [ 97%] [ 24s] responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed[True] PASSED [ 97%] [ 24s] responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed[False] PASSED [ 98%] [ 24s] responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed_msg PASSED [ 98%] [ 24s] responses/tests/test_responses.py::TestMaxRetry::test_adapter_retry_untouched PASSED [ 99%] [ 25s] responses/tests/test_responses.py::test_request_object_attached_to_exception PASSED [100%] [ 25s] [ 25s] =================================== FAILURES =================================== [ 25s] ______ test_auto_calculate_content_length_doesnt_override_existing_value _______ [ 25s] [ 25s] self = [ 25s] [ 25s] @contextmanager [ 25s] def _error_catcher(self) -> typing.Generator[None, None, None]: [ 25s] """ [ 25s] Catch low-level python exceptions, instead re-raising urllib3 [ 25s] variants, so that low-level exceptions are not leaked in the [ 25s] high-level api. [ 25s] [ 25s] On exit, release the connection back to the pool. [ 25s] """ [ 25s] clean_exit = False [ 25s] [ 25s] try: [ 25s] try: [ 25s] > yield [ 25s] [ 25s] /usr/lib/python3.9/site-packages/urllib3/response.py:705: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] self = , amt = 10240 [ 25s] [ 25s] def _raw_read( [ 25s] self, [ 25s] amt: int | None = None, [ 25s] ) -> bytes: [ 25s] """ [ 25s] Reads `amt` of bytes from the socket. [ 25s] """ [ 25s] if self._fp is None: [ 25s] return None # type: ignore[return-value] [ 25s] [ 25s] fp_closed = getattr(self._fp, "closed", False) [ 25s] [ 25s] with self._error_catcher(): [ 25s] data = self._fp_read(amt) if not fp_closed else b"" [ 25s] if amt is not None and amt != 0 and not data: [ 25s] # Platform-specific: Buggy versions of Python. [ 25s] # Close the connection when no data is returned [ 25s] # [ 25s] # This is redundant to what httplib/http.client _should_ [ 25s] # already do. However, versions of python released before [ 25s] # December 15, 2012 (http://bugs.python.org/issue16298) do [ 25s] # not properly close the connection in all cases. There is [ 25s] # no harm in redundantly calling close. [ 25s] self._fp.close() [ 25s] if ( [ 25s] self.enforce_content_length [ 25s] and self.length_remaining is not None [ 25s] and self.length_remaining != 0 [ 25s] ): [ 25s] # This is an edge case that httplib failed to cover due [ 25s] # to concerns of backward compatibility. We're [ 25s] # addressing it here to make sure IncompleteRead is [ 25s] # raised during streaming, so all calls with incorrect [ 25s] # Content-Length are caught. [ 25s] > raise IncompleteRead(self._fp_bytes_read, self.length_remaining) [ 25s] E urllib3.exceptions.IncompleteRead: IncompleteRead(4 bytes read, -2 more expected) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/urllib3/response.py:830: IncompleteRead [ 25s] [ 25s] The above exception was the direct cause of the following exception: [ 25s] [ 25s] def generate(): [ 25s] # Special case for urllib3. [ 25s] if hasattr(self.raw, "stream"): [ 25s] try: [ 25s] > yield from self.raw.stream(chunk_size, decode_content=True) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/requests/models.py:816: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] self = , amt = 10240 [ 25s] decode_content = True [ 25s] [ 25s] def stream( [ 25s] self, amt: int | None = 2**16, decode_content: bool | None = None [ 25s] ) -> typing.Generator[bytes, None, None]: [ 25s] """ [ 25s] A generator wrapper for the read() method. A call will block until [ 25s] ``amt`` bytes have been read from the connection or until the [ 25s] connection is closed. [ 25s] [ 25s] :param amt: [ 25s] How much of the content to read. The generator will return up to [ 25s] much data per iteration, but may return less. This is particularly [ 25s] likely when using compressed data. However, the empty string will [ 25s] never be returned. [ 25s] [ 25s] :param decode_content: [ 25s] If True, will attempt to decode the body based on the [ 25s] 'content-encoding' header. [ 25s] """ [ 25s] if self.chunked and self.supports_chunked_reads(): [ 25s] yield from self.read_chunked(amt, decode_content=decode_content) [ 25s] else: [ 25s] while not is_fp_closed(self._fp): [ 25s] > data = self.read(amt=amt, decode_content=decode_content) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/urllib3/response.py:935: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] self = , amt = 10240 [ 25s] decode_content = True, cache_content = False [ 25s] [ 25s] def read( [ 25s] self, [ 25s] amt: int | None = None, [ 25s] decode_content: bool | None = None, [ 25s] cache_content: bool = False, [ 25s] ) -> bytes: [ 25s] """ [ 25s] Similar to :meth:`http.client.HTTPResponse.read`, but with two additional [ 25s] parameters: ``decode_content`` and ``cache_content``. [ 25s] [ 25s] :param amt: [ 25s] How much of the content to read. If specified, caching is skipped [ 25s] because it doesn't make sense to cache partial content as the full [ 25s] response. [ 25s] [ 25s] :param decode_content: [ 25s] If True, will attempt to decode the body based on the [ 25s] 'content-encoding' header. [ 25s] [ 25s] :param cache_content: [ 25s] If True, will save the returned data such that the same result is [ 25s] returned despite of the state of the underlying file object. This [ 25s] is useful if you want the ``.data`` property to continue working [ 25s] after having ``.read()`` the file object. (Overridden if ``amt`` is [ 25s] set.) [ 25s] """ [ 25s] self._init_decoder() [ 25s] if decode_content is None: [ 25s] decode_content = self.decode_content [ 25s] [ 25s] if amt is not None: [ 25s] cache_content = False [ 25s] [ 25s] if len(self._decoded_buffer) >= amt: [ 25s] return self._decoded_buffer.get(amt) [ 25s] [ 25s] data = self._raw_read(amt) [ 25s] [ 25s] flush_decoder = False [ 25s] if amt is None: [ 25s] flush_decoder = True [ 25s] elif amt != 0 and not data: [ 25s] flush_decoder = True [ 25s] [ 25s] if not data and len(self._decoded_buffer) == 0: [ 25s] return data [ 25s] [ 25s] if amt is None: [ 25s] data = self._decode(data, decode_content, flush_decoder) [ 25s] if cache_content: [ 25s] self._body = data [ 25s] else: [ 25s] # do not waste memory on buffer when not decoding [ 25s] if not decode_content: [ 25s] if self._has_decoded_content: [ 25s] raise RuntimeError( [ 25s] "Calling read(decode_content=False) is not supported after " [ 25s] "read(decode_content=True) was called." [ 25s] ) [ 25s] return data [ 25s] [ 25s] decoded_data = self._decode(data, decode_content, flush_decoder) [ 25s] self._decoded_buffer.put(decoded_data) [ 25s] [ 25s] while len(self._decoded_buffer) < amt and data: [ 25s] # TODO make sure to initially read enough data to get past the headers [ 25s] # For example, the GZ file header takes 10 bytes, we don't want to read [ 25s] # it one byte at a time [ 25s] > data = self._raw_read(amt) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/urllib3/response.py:906: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] self = , amt = 10240 [ 25s] [ 25s] def _raw_read( [ 25s] self, [ 25s] amt: int | None = None, [ 25s] ) -> bytes: [ 25s] """ [ 25s] Reads `amt` of bytes from the socket. [ 25s] """ [ 25s] if self._fp is None: [ 25s] return None # type: ignore[return-value] [ 25s] [ 25s] fp_closed = getattr(self._fp, "closed", False) [ 25s] [ 25s] with self._error_catcher(): [ 25s] data = self._fp_read(amt) if not fp_closed else b"" [ 25s] if amt is not None and amt != 0 and not data: [ 25s] # Platform-specific: Buggy versions of Python. [ 25s] # Close the connection when no data is returned [ 25s] # [ 25s] # This is redundant to what httplib/http.client _should_ [ 25s] # already do. However, versions of python released before [ 25s] # December 15, 2012 (http://bugs.python.org/issue16298) do [ 25s] # not properly close the connection in all cases. There is [ 25s] # no harm in redundantly calling close. [ 25s] self._fp.close() [ 25s] if ( [ 25s] self.enforce_content_length [ 25s] and self.length_remaining is not None [ 25s] and self.length_remaining != 0 [ 25s] ): [ 25s] # This is an edge case that httplib failed to cover due [ 25s] # to concerns of backward compatibility. We're [ 25s] # addressing it here to make sure IncompleteRead is [ 25s] # raised during streaming, so all calls with incorrect [ 25s] # Content-Length are caught. [ 25s] > raise IncompleteRead(self._fp_bytes_read, self.length_remaining) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/urllib3/response.py:830: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] self = [ 25s] typ = [ 25s] value = IncompleteRead(4 bytes read, -2 more expected) [ 25s] traceback = [ 25s] [ 25s] def __exit__(self, typ, value, traceback): [ 25s] if typ is None: [ 25s] try: [ 25s] next(self.gen) [ 25s] except StopIteration: [ 25s] return False [ 25s] else: [ 25s] raise RuntimeError("generator didn't stop") [ 25s] else: [ 25s] if value is None: [ 25s] # Need to force instantiation so we can reliably [ 25s] # tell if we get the same exception back [ 25s] value = typ() [ 25s] try: [ 25s] > self.gen.throw(typ, value, traceback) [ 25s] [ 25s] /usr/lib64/python3.9/contextlib.py:137: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] self = [ 25s] [ 25s] @contextmanager [ 25s] def _error_catcher(self) -> typing.Generator[None, None, None]: [ 25s] """ [ 25s] Catch low-level python exceptions, instead re-raising urllib3 [ 25s] variants, so that low-level exceptions are not leaked in the [ 25s] high-level api. [ 25s] [ 25s] On exit, release the connection back to the pool. [ 25s] """ [ 25s] clean_exit = False [ 25s] [ 25s] try: [ 25s] try: [ 25s] yield [ 25s] [ 25s] except SocketTimeout as e: [ 25s] # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but [ 25s] # there is yet no clean way to get at it from this context. [ 25s] raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type] [ 25s] [ 25s] except BaseSSLError as e: [ 25s] # FIXME: Is there a better way to differentiate between SSLErrors? [ 25s] if "read operation timed out" not in str(e): [ 25s] # SSL errors related to framing/MAC get wrapped and reraised here [ 25s] raise SSLError(e) from e [ 25s] [ 25s] raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type] [ 25s] [ 25s] except (HTTPException, OSError) as e: [ 25s] # This includes IncompleteRead. [ 25s] > raise ProtocolError(f"Connection broken: {e!r}", e) from e [ 25s] E urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(4 bytes read, -2 more expected)', IncompleteRead(4 bytes read, -2 more expected)) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/urllib3/response.py:722: ProtocolError [ 25s] [ 25s] During handling of the above exception, another exception occurred: [ 25s] [ 25s] def test_auto_calculate_content_length_doesnt_override_existing_value(): [ 25s] @responses.activate [ 25s] def run(): [ 25s] url = "http://example.com/" [ 25s] responses.add( [ 25s] responses.GET, [ 25s] url, [ 25s] body="test", [ 25s] headers={"Content-Length": "2"}, [ 25s] auto_calculate_content_length=True, [ 25s] ) [ 25s] resp = requests.get(url) [ 25s] assert_response(resp, "test") [ 25s] assert resp.headers["Content-Length"] == "2" [ 25s] [ 25s] > run() [ 25s] [ 25s] responses/tests/test_responses.py:1506: [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] responses/__init__.py:218: in wrapper [ 25s] return func(*args, **kwargs) [ 25s] responses/tests/test_responses.py:1502: in run [ 25s] resp = requests.get(url) [ 25s] /usr/lib/python3.9/site-packages/requests/api.py:73: in get [ 25s] return request("get", url, params=params, **kwargs) [ 25s] /usr/lib/python3.9/site-packages/requests/api.py:59: in request [ 25s] return session.request(method=method, url=url, **kwargs) [ 25s] /usr/lib/python3.9/site-packages/requests/sessions.py:587: in request [ 25s] resp = self.send(prep, **send_kwargs) [ 25s] /usr/lib/python3.9/site-packages/requests/sessions.py:745: in send [ 25s] r.content [ 25s] /usr/lib/python3.9/site-packages/requests/models.py:899: in content [ 25s] self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" [ 25s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 25s] [ 25s] def generate(): [ 25s] # Special case for urllib3. [ 25s] if hasattr(self.raw, "stream"): [ 25s] try: [ 25s] yield from self.raw.stream(chunk_size, decode_content=True) [ 25s] except ProtocolError as e: [ 25s] > raise ChunkedEncodingError(e) [ 25s] E requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(4 bytes read, -2 more expected)', IncompleteRead(4 bytes read, -2 more expected)) [ 25s] [ 25s] /usr/lib/python3.9/site-packages/requests/models.py:818: ChunkedEncodingError [ 25s] =============================== warnings summary =============================== [ 25s] responses/tests/test_matchers.py: 2 warnings [ 25s] responses/tests/test_responses.py: 8 warnings [ 25s] /home/abuild/rpmbuild/BUILD/responses-0.23.1/responses/__init__.py:416: DeprecationWarning: Argument 'match_querystring' is deprecated. Use 'responses.matchers.query_param_matcher' or 'responses.matchers.query_string_matcher' [ 25s] warn( [ 25s] [ 25s] responses/tests/test_recorder.py::TestRecord::test_recorder [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_recorder.py::TestRecord::test_recorder is using nose-specific method: `setup(self)` [ 25s] To remove this warning, rename it to `setup_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] fixture_result = next(generator) [ 25s] [ 25s] responses/tests/test_recorder.py::TestRecord::test_recorder_toml [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_recorder.py::TestRecord::test_recorder_toml is using nose-specific method: `setup(self)` [ 25s] To remove this warning, rename it to `setup_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] fixture_result = next(generator) [ 25s] [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[yaml] [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[yaml] is using nose-specific method: `setup(self)` [ 25s] To remove this warning, rename it to `setup_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] fixture_result = next(generator) [ 25s] [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[yaml] [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[yaml] is using nose-specific method: `teardown(self)` [ 25s] To remove this warning, rename it to `teardown_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] next(it) [ 25s] [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[tomli_w] [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[tomli_w] is using nose-specific method: `setup(self)` [ 25s] To remove this warning, rename it to `setup_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] fixture_result = next(generator) [ 25s] [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[tomli_w] [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_recorder.py::TestReplay::test_add_from_file[tomli_w] is using nose-specific method: `teardown(self)` [ 25s] To remove this warning, rename it to `teardown_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] next(it) [ 25s] [ 25s] responses/tests/test_responses.py::test_response_cookies_session[True-True] [ 25s] responses/tests/test_responses.py::test_response_cookies_session[True-False] [ 25s] responses/tests/test_responses.py::test_response_cookies_session[True-None] [ 25s] responses/tests/test_responses.py::test_response_cookies_session[False-True] [ 25s] responses/tests/test_responses.py::test_response_cookies_session[False-False] [ 25s] responses/tests/test_responses.py::test_response_cookies_session[False-None] [ 25s] responses/tests/test_responses.py::test_response_filebody [ 25s] responses/tests/test_responses.py::test_use_stream_twice_to_double_raw_io [ 25s] /home/abuild/rpmbuild/BUILD/responses-0.23.1/responses/__init__.py:555: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly [ 25s] warn( [ 25s] [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function is using nose-specific method: `setup(self)` [ 25s] To remove this warning, rename it to `setup_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] fixture_result = next(generator) [ 25s] [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function is using nose-specific method: `teardown(self)` [ 25s] To remove this warning, rename it to `teardown_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] next(it) [ 25s] [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function is using nose-specific method: `setup(self)` [ 25s] To remove this warning, rename it to `setup_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] fixture_result = next(generator) [ 25s] [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function [ 25s] /usr/lib/python3.9/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. [ 25s] responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function is using nose-specific method: `teardown(self)` [ 25s] To remove this warning, rename it to `teardown_method(self)` [ 25s] See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose [ 25s] next(it) [ 25s] [ 25s] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html [ 25s] =========================== short test summary info ============================ [ 25s] FAILED responses/tests/test_responses.py::test_auto_calculate_content_length_doesnt_override_existing_value [ 25s] =========== 1 failed, 196 passed, 2 deselected, 28 warnings in 7.66s =========== [ 25s] error: Bad exit status from /var/tmp/rpm-tmp.vpKXMf (%check) [ 25s] [ 25s] RPM build errors: [ 25s] Bad exit status from /var/tmp/rpm-tmp.vpKXMf (%check) [ 25s] [ 25s] tumbleweed-pkg.stitny failed "build python-responses.spec" at Sat May 6 11:59:43 UTC 2023. [ 25s]