Sun Mar 31 21:26:47 UTC 2024 I: starting to build rope/unstable/armhf on jenkins on '2024-03-31 21:26' Sun Mar 31 21:26:47 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_16/2164/console.log Sun Mar 31 21:26:47 UTC 2024 I: Downloading source for unstable/rope=1.13.0-1 --2024-03-31 21:26:48-- http://deb.debian.org/debian/pool/main/r/rope/rope_1.13.0-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2241 (2.2K) [text/prs.lines.tag] Saving to: ‘rope_1.13.0-1.dsc’ 0K .. 100% 329M=0s 2024-03-31 21:26:48 (329 MB/s) - ‘rope_1.13.0-1.dsc’ saved [2241/2241] Sun Mar 31 21:26:48 UTC 2024 I: rope_1.13.0-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: rope Binary: python3-rope Architecture: all Version: 1.13.0-1 Maintainer: Debian Python Team Uploaders: Boyuan Yang , Pablo Mestre Drake , Homepage: https://github.com/python-rope/rope Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/python-team/packages/rope Vcs-Git: https://salsa.debian.org/python-team/packages/rope.git Testsuite: autopkgtest, autopkgtest-pkg-python Testsuite-Triggers: python3-all Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3, pybuild-plugin-pyproject, python3-pdm-pep517, python3-pytoolconfig (>= 1.2.2), python3-pytest , python3-pytest-cov , python3-pytest-timeout , python3-appdirs Package-List: python3-rope deb devel optional arch=all Checksums-Sha1: 19101af639d14b8ac8ab692eb832dd21db42561e 294457 rope_1.13.0.orig.tar.gz 97d8e72a458f7a1029933c4d60665a36383c8e20 4872 rope_1.13.0-1.debian.tar.xz Checksums-Sha256: 51437d2decc8806cd5e9dd1fd9c1306a6d9075ecaf78d191af85fc1dfface880 294457 rope_1.13.0.orig.tar.gz e000fa67060069fcd2871727444b6304767343e3001c7fbbca725c41a10b4597 4872 rope_1.13.0-1.debian.tar.xz Files: 0a01d210ae5e88632e63f50e6567c199 294457 rope_1.13.0.orig.tar.gz b934dafc1ea131fb8fbf53cbc8f178d0 4872 rope_1.13.0-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmYA6TgACgkQwpPntGGC Ws7fPhAAi7IqU0OInazDjCEx649qS7OnE3oWKQpIGVUwrKIsULryyFf4YLw5oq+Z DpQ3hvU6AnuC851+DIqiL+eQd58c9elUM3nDSdKbZVo1eOvxHpPuLVpKEmUw1Ewg ind8y+J5LKbrSzINAzy/Fb1AY2qKM9dW/752XZfkO6QuMdX7H/eyUVNYWNfouOni hFr/7n1lXMgDsvFhH/nyKoh5jxb5oUBNxg+7KuTBDfg5EEmlhyk2TaLHBJNHn51Y yofKd3hgK7n03FV0Y/HTbmHHynvbO3ZHs9MxSKqiRpRSKl+do0OUcHzhpjpvsfi0 zOffK6v01LVw03cNDmfqSh8TlE8GPbTjuyQ/guVoCuQFfx5BPFkn8zaHwG+j8HOn 45RPiaOKLYtrio2qbMYYnn/wVIIpvgebYrRaopNASdCKMkD5seBCxjl/6xcLt57I ajHvjG7lrvLb6pWOBiW69f6m4U2nlzI/HGFo4hsPbYYC5zZlx1GlX0s4fcw0vKbQ M6P7e+1CfyEh9ER56fXtQxsZge03ImCpQpMD7LoK/NpYhL6X5ovzz3idtZiM/0T4 NxWb4So13ufQ/vGGs/Hanqr4GX+Nk+OcyKIh8WzurXdXJPbgcf/7QFNC6DmH2MMM 14TXybk8MuADzq3ASNiBiy+Jx8t9hTF57Uu+uJ7uPjyUFS1t1tQ= =k1hz -----END PGP SIGNATURE----- Sun Mar 31 21:26:48 UTC 2024 I: Checking whether the package is not for us Sun Mar 31 21:26:48 UTC 2024 I: Starting 1st build on remote node virt32b-armhf-rb.debian.net. Sun Mar 31 21:26:48 UTC 2024 I: Preparing to do remote build '1' on virt32b-armhf-rb.debian.net. Sun Mar 31 21:31:02 UTC 2024 I: Deleting $TMPDIR on virt32b-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Mar 31 09:26:54 -12 2024 I: pbuilder-time-stamp: 1711920414 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [rope_1.13.0-1.dsc] I: copying [./rope_1.13.0.orig.tar.gz] I: copying [./rope_1.13.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Mar 25 03:02:16 2024 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./rope_1.13.0-1.dsc: no acceptable signature found dpkg-source: info: extracting rope in rope-1.13.0 dpkg-source: info: unpacking rope_1.13.0.orig.tar.gz dpkg-source: info: unpacking rope_1.13.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-switch-to-pdm-pep517-build-backend.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/24972/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='5f54f6d6378e41cebc78d5b86adefbc6' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='24972' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/pbuilderrc_4xNg --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/b1 --logfile b1/build.log rope_1.13.0-1.dsc' SUDO_GID='112' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:3142/' I: uname -a Linux virt32b 6.1.0-18-armmp-lpae #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 25 16:02 /bin -> usr/bin I: user script /srv/workspace/pbuilder/24972/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-sequence-python3, python3, pybuild-plugin-pyproject, python3-pdm-pep517, python3-pytoolconfig (>= 1.2.2), python3-pytest, python3-pytest-cov, python3-pytest-timeout, python3-appdirs dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19467 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-python3; however: Package dh-sequence-python3 is not installed. pbuilder-satisfydepends-dummy depends on python3; however: Package python3 is not installed. pbuilder-satisfydepends-dummy depends on pybuild-plugin-pyproject; however: Package pybuild-plugin-pyproject is not installed. pbuilder-satisfydepends-dummy depends on python3-pdm-pep517; however: Package python3-pdm-pep517 is not installed. pbuilder-satisfydepends-dummy depends on python3-pytoolconfig (>= 1.2.2); however: Package python3-pytoolconfig is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-cov; however: Package python3-pytest-cov is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest-timeout; however: Package python3-pytest-timeout is not installed. pbuilder-satisfydepends-dummy depends on python3-appdirs; however: Package python3-appdirs is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libjs-jquery{a} libjs-jquery-hotkeys{a} libjs-jquery-isonscreen{a} libjs-jquery-metadata{a} libjs-jquery-tablesorter{a} libjs-jquery-throttle-debounce{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libpython3-stdlib{a} libpython3.11-minimal{a} libpython3.11-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libreadline8t64{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} media-types{a} netbase{a} po-debconf{a} pybuild-plugin-pyproject{a} python3{a} python3-appdirs{a} python3-boolean{a} python3-build{a} python3-cerberus{a} python3-coverage{a} python3-distutils{a} python3-iniconfig{a} python3-installer{a} python3-lib2to3{a} python3-license-expression{a} python3-minimal{a} python3-packaging{a} python3-pdm-pep517{a} python3-pkg-resources{a} python3-platformdirs{a} python3-pluggy{a} python3-pyparsing{a} python3-pyproject-hooks{a} python3-pytest{a} python3-pytest-cov{a} python3-pytest-timeout{a} python3-pytoolconfig{a} python3-setuptools{a} python3-toml{a} python3-tomli{a} python3-tomli-w{a} python3-wheel{a} python3.11{a} python3.11-minimal{a} python3.12{a} python3.12-minimal{a} readline-common{a} sensible-utils{a} tzdata{a} The following packages are RECOMMENDED but will NOT be installed: ca-certificates curl javascript-common libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx python3-pygments wget 0 packages upgraded, 81 newly installed, 0 to remove and 0 not upgraded. Need to get 31.4 MB of archives. After unpacking 122 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 2 http://deb.debian.org/debian unstable/main armhf libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] Get: 3 http://deb.debian.org/debian unstable/main armhf libpython3.11-minimal armhf 3.11.8-3+b3 [804 kB] Get: 4 http://deb.debian.org/debian unstable/main armhf libexpat1 armhf 2.6.2-1 [83.5 kB] Get: 5 http://deb.debian.org/debian unstable/main armhf python3.11-minimal armhf 3.11.8-3+b3 [1600 kB] Get: 6 http://deb.debian.org/debian unstable/main armhf python3-minimal armhf 3.11.8-1 [26.3 kB] Get: 7 http://deb.debian.org/debian unstable/main armhf media-types all 10.1.0 [26.9 kB] Get: 8 http://deb.debian.org/debian unstable/main armhf netbase all 6.4 [12.8 kB] Get: 9 http://deb.debian.org/debian unstable/main armhf tzdata all 2024a-1 [255 kB] Get: 10 http://deb.debian.org/debian unstable/main armhf readline-common all 8.2-4 [69.3 kB] Get: 11 http://deb.debian.org/debian unstable/main armhf libreadline8t64 armhf 8.2-4 [145 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf libpython3.11-stdlib armhf 3.11.8-3+b3 [1703 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf python3.11 armhf 3.11.8-3+b3 [597 kB] Get: 14 http://deb.debian.org/debian unstable/main armhf libpython3-stdlib armhf 3.11.8-1 [9332 B] Get: 15 http://deb.debian.org/debian unstable/main armhf python3 armhf 3.11.8-1 [27.4 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf libpython3.12-minimal armhf 3.12.2-4+b2 [794 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf python3.12-minimal armhf 3.12.2-4+b2 [1739 kB] Get: 18 http://deb.debian.org/debian unstable/main armhf sensible-utils all 0.0.22 [22.4 kB] Get: 19 http://deb.debian.org/debian unstable/main armhf libmagic-mgc armhf 1:5.45-3 [314 kB] Get: 20 http://deb.debian.org/debian unstable/main armhf libmagic1t64 armhf 1:5.45-3 [98.1 kB] Get: 21 http://deb.debian.org/debian unstable/main armhf file armhf 1:5.45-3 [42.0 kB] Get: 22 http://deb.debian.org/debian unstable/main armhf gettext-base armhf 0.21-14+b1 [157 kB] Get: 23 http://deb.debian.org/debian unstable/main armhf libuchardet0 armhf 0.0.8-1+b1 [65.7 kB] Get: 24 http://deb.debian.org/debian unstable/main armhf groff-base armhf 1.23.0-3+b1 [1091 kB] Get: 25 http://deb.debian.org/debian unstable/main armhf bsdextrautils armhf 2.39.3-11 [82.5 kB] Get: 26 http://deb.debian.org/debian unstable/main armhf libpipeline1 armhf 1.5.7-2 [33.3 kB] Get: 27 http://deb.debian.org/debian unstable/main armhf man-db armhf 2.12.0-4 [1373 kB] Get: 28 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-4 [264 kB] Get: 29 http://deb.debian.org/debian unstable/main armhf autoconf all 2.71-3 [332 kB] Get: 30 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] Get: 31 http://deb.debian.org/debian unstable/main armhf automake all 1:1.16.5-1.3 [823 kB] Get: 32 http://deb.debian.org/debian unstable/main armhf autopoint all 0.21-14 [496 kB] Get: 33 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.15.3 [88.0 kB] Get: 34 http://deb.debian.org/debian unstable/main armhf libtool all 2.4.7-7 [517 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf dh-autoreconf all 20 [17.1 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 37 http://deb.debian.org/debian unstable/main armhf libsub-override-perl all 0.10-1 [10.6 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 40 http://deb.debian.org/debian unstable/main armhf libelf1t64 armhf 0.191-1 [183 kB] Get: 41 http://deb.debian.org/debian unstable/main armhf dwz armhf 0.15-1+b1 [106 kB] Get: 42 http://deb.debian.org/debian unstable/main armhf libicu72 armhf 72.1-4+b1 [9070 kB] Get: 43 http://deb.debian.org/debian unstable/main armhf libxml2 armhf 2.9.14+dfsg-1.3+b2 [599 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf gettext armhf 0.21-14+b1 [1230 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 47 http://deb.debian.org/debian unstable/main armhf debhelper all 13.15.3 [901 kB] Get: 48 http://deb.debian.org/debian unstable/main armhf python3-lib2to3 all 3.12.2-3 [77.6 kB] Get: 49 http://deb.debian.org/debian unstable/main armhf python3-distutils all 3.12.2-3 [131 kB] Get: 50 http://deb.debian.org/debian unstable/main armhf python3-pkg-resources all 68.1.2-2 [241 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf python3-setuptools all 68.1.2-2 [468 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf dh-python all 6.20240310 [106 kB] Get: 53 http://deb.debian.org/debian unstable/main armhf libjs-jquery-isonscreen all 1.2.0-1.1 [3196 B] Get: 54 http://deb.debian.org/debian unstable/main armhf libjs-jquery-metadata all 12-4 [6532 B] Get: 55 http://deb.debian.org/debian unstable/main armhf libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [184 kB] Get: 56 http://deb.debian.org/debian unstable/main armhf libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.2 kB] Get: 57 http://deb.debian.org/debian unstable/main armhf libpython3.12-stdlib armhf 3.12.2-4+b2 [1790 kB] Get: 58 http://deb.debian.org/debian unstable/main armhf python3-packaging all 23.2-1 [44.8 kB] Get: 59 http://deb.debian.org/debian unstable/main armhf python3-tomli all 2.0.1-2 [17.9 kB] Get: 60 http://deb.debian.org/debian unstable/main armhf python3-pyproject-hooks all 1.0.0-2 [10.6 kB] Get: 61 http://deb.debian.org/debian unstable/main armhf python3-toml all 0.10.2-1 [16.2 kB] Get: 62 http://deb.debian.org/debian unstable/main armhf python3-wheel all 0.43.0-1 [52.5 kB] Get: 63 http://deb.debian.org/debian unstable/main armhf python3-build all 1.1.1-1 [32.5 kB] Get: 64 http://deb.debian.org/debian unstable/main armhf python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 65 http://deb.debian.org/debian unstable/main armhf pybuild-plugin-pyproject all 6.20240310 [10.9 kB] Get: 66 http://deb.debian.org/debian unstable/main armhf python3-appdirs all 1.4.4-4 [12.5 kB] Get: 67 http://deb.debian.org/debian unstable/main armhf python3-boolean all 4.0-4 [22.6 kB] Get: 68 http://deb.debian.org/debian unstable/main armhf python3-cerberus all 1.3.2-2 [42.0 kB] Get: 69 http://deb.debian.org/debian unstable/main armhf python3.12 armhf 3.12.2-4+b2 [653 kB] Get: 70 http://deb.debian.org/debian unstable/main armhf python3-coverage armhf 7.2.7+dfsg1-1+b1 [168 kB] Get: 71 http://deb.debian.org/debian unstable/main armhf python3-iniconfig all 1.1.1-2 [6396 B] Get: 72 http://deb.debian.org/debian unstable/main armhf python3-license-expression all 30.1.1-1 [89.6 kB] Get: 73 http://deb.debian.org/debian unstable/main armhf python3-pyparsing all 3.1.1-1 [145 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf python3-tomli-w all 1.0.0-2 [8012 B] Get: 75 http://deb.debian.org/debian unstable/main armhf python3-pdm-pep517 all 1.1.4+ds1-2 [35.9 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf python3-platformdirs all 4.2.0-1 [15.9 kB] Get: 77 http://deb.debian.org/debian unstable/main armhf python3-pluggy all 1.4.0-1 [26.2 kB] Get: 78 http://deb.debian.org/debian unstable/main armhf python3-pytest all 8.1.1-1 [245 kB] Get: 79 http://deb.debian.org/debian unstable/main armhf python3-pytest-cov all 4.1.0-1 [26.7 kB] Get: 80 http://deb.debian.org/debian unstable/main armhf python3-pytest-timeout all 2.3.1-1 [21.9 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf python3-pytoolconfig all 1.3.1-1 [11.2 kB] Fetched 31.4 MB in 1s (35.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libjs-jquery. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19467 files and directories currently installed.) Preparing to unpack .../libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-jquery-hotkeys. Preparing to unpack .../libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... Selecting previously unselected package libpython3.11-minimal:armhf. Preparing to unpack .../libpython3.11-minimal_3.11.8-3+b3_armhf.deb ... Unpacking libpython3.11-minimal:armhf (3.11.8-3+b3) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../libexpat1_2.6.2-1_armhf.deb ... Unpacking libexpat1:armhf (2.6.2-1) ... Selecting previously unselected package python3.11-minimal. Preparing to unpack .../python3.11-minimal_3.11.8-3+b3_armhf.deb ... Unpacking python3.11-minimal (3.11.8-3+b3) ... Setting up libpython3.11-minimal:armhf (3.11.8-3+b3) ... Setting up libexpat1:armhf (2.6.2-1) ... Setting up python3.11-minimal (3.11.8-3+b3) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19811 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_armhf.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../2-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../3-tzdata_2024a-1_all.deb ... Unpacking tzdata (2024a-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../4-readline-common_8.2-4_all.deb ... Unpacking readline-common (8.2-4) ... Selecting previously unselected package libreadline8t64:armhf. Preparing to unpack .../5-libreadline8t64_8.2-4_armhf.deb ... Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:armhf (8.2-4) ... Selecting previously unselected package libpython3.11-stdlib:armhf. Preparing to unpack .../6-libpython3.11-stdlib_3.11.8-3+b3_armhf.deb ... Unpacking libpython3.11-stdlib:armhf (3.11.8-3+b3) ... Selecting previously unselected package python3.11. Preparing to unpack .../7-python3.11_3.11.8-3+b3_armhf.deb ... Unpacking python3.11 (3.11.8-3+b3) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../8-libpython3-stdlib_3.11.8-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.11.8-1) ... Setting up python3-minimal (3.11.8-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20805 files and directories currently installed.) Preparing to unpack .../00-python3_3.11.8-1_armhf.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package libpython3.12-minimal:armhf. Preparing to unpack .../01-libpython3.12-minimal_3.12.2-4+b2_armhf.deb ... Unpacking libpython3.12-minimal:armhf (3.12.2-4+b2) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../02-python3.12-minimal_3.12.2-4+b2_armhf.deb ... Unpacking python3.12-minimal (3.12.2-4+b2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../03-sensible-utils_0.0.22_all.deb ... Unpacking sensible-utils (0.0.22) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../04-libmagic-mgc_1%3a5.45-3_armhf.deb ... Unpacking libmagic-mgc (1:5.45-3) ... Selecting previously unselected package libmagic1t64:armhf. Preparing to unpack .../05-libmagic1t64_1%3a5.45-3_armhf.deb ... Unpacking libmagic1t64:armhf (1:5.45-3) ... Selecting previously unselected package file. Preparing to unpack .../06-file_1%3a5.45-3_armhf.deb ... Unpacking file (1:5.45-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../07-gettext-base_0.21-14+b1_armhf.deb ... Unpacking gettext-base (0.21-14+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../08-libuchardet0_0.0.8-1+b1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.8-1+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../09-groff-base_1.23.0-3+b1_armhf.deb ... Unpacking groff-base (1.23.0-3+b1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../10-bsdextrautils_2.39.3-11_armhf.deb ... Unpacking bsdextrautils (2.39.3-11) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../11-libpipeline1_1.5.7-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.7-2) ... Selecting previously unselected package man-db. Preparing to unpack .../12-man-db_2.12.0-4_armhf.deb ... Unpacking man-db (2.12.0-4) ... Selecting previously unselected package m4. Preparing to unpack .../13-m4_1.4.19-4_armhf.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../14-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../15-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../16-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../17-autopoint_0.21-14_all.deb ... Unpacking autopoint (0.21-14) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../18-libdebhelper-perl_13.15.3_all.deb ... Unpacking libdebhelper-perl (13.15.3) ... Selecting previously unselected package libtool. Preparing to unpack .../19-libtool_2.4.7-7_all.deb ... Unpacking libtool (2.4.7-7) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../20-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../21-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../22-libsub-override-perl_0.10-1_all.deb ... Unpacking libsub-override-perl (0.10-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../23-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../24-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1t64:armhf. Preparing to unpack .../25-libelf1t64_0.191-1_armhf.deb ... Unpacking libelf1t64:armhf (0.191-1) ... Selecting previously unselected package dwz. Preparing to unpack .../26-dwz_0.15-1+b1_armhf.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:armhf. Preparing to unpack .../27-libicu72_72.1-4+b1_armhf.deb ... Unpacking libicu72:armhf (72.1-4+b1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../28-libxml2_2.9.14+dfsg-1.3+b2_armhf.deb ... Unpacking libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.21-14+b1_armhf.deb ... Unpacking gettext (0.21-14+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_13.15.3_all.deb ... Unpacking debhelper (13.15.3) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../33-python3-lib2to3_3.12.2-3_all.deb ... Unpacking python3-lib2to3 (3.12.2-3) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../34-python3-distutils_3.12.2-3_all.deb ... Unpacking python3-distutils (3.12.2-3) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../35-python3-pkg-resources_68.1.2-2_all.deb ... Unpacking python3-pkg-resources (68.1.2-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../36-python3-setuptools_68.1.2-2_all.deb ... Unpacking python3-setuptools (68.1.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../37-dh-python_6.20240310_all.deb ... Unpacking dh-python (6.20240310) ... Selecting previously unselected package libjs-jquery-isonscreen. Preparing to unpack .../38-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... Selecting previously unselected package libjs-jquery-metadata. Preparing to unpack .../39-libjs-jquery-metadata_12-4_all.deb ... Unpacking libjs-jquery-metadata (12-4) ... Selecting previously unselected package libjs-jquery-tablesorter. Preparing to unpack .../40-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Selecting previously unselected package libjs-jquery-throttle-debounce. Preparing to unpack .../41-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Selecting previously unselected package libpython3.12-stdlib:armhf. Preparing to unpack .../42-libpython3.12-stdlib_3.12.2-4+b2_armhf.deb ... Unpacking libpython3.12-stdlib:armhf (3.12.2-4+b2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../43-python3-packaging_23.2-1_all.deb ... Unpacking python3-packaging (23.2-1) ... Selecting previously unselected package python3-tomli. Preparing to unpack .../44-python3-tomli_2.0.1-2_all.deb ... Unpacking python3-tomli (2.0.1-2) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../45-python3-pyproject-hooks_1.0.0-2_all.deb ... Unpacking python3-pyproject-hooks (1.0.0-2) ... Selecting previously unselected package python3-toml. Preparing to unpack .../46-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../47-python3-wheel_0.43.0-1_all.deb ... Unpacking python3-wheel (0.43.0-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../48-python3-build_1.1.1-1_all.deb ... Unpacking python3-build (1.1.1-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../49-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../50-pybuild-plugin-pyproject_6.20240310_all.deb ... Unpacking pybuild-plugin-pyproject (6.20240310) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../51-python3-appdirs_1.4.4-4_all.deb ... Unpacking python3-appdirs (1.4.4-4) ... Selecting previously unselected package python3-boolean. Preparing to unpack .../52-python3-boolean_4.0-4_all.deb ... Unpacking python3-boolean (4.0-4) ... Selecting previously unselected package python3-cerberus. Preparing to unpack .../53-python3-cerberus_1.3.2-2_all.deb ... Unpacking python3-cerberus (1.3.2-2) ... Selecting previously unselected package python3.12. Preparing to unpack .../54-python3.12_3.12.2-4+b2_armhf.deb ... Unpacking python3.12 (3.12.2-4+b2) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../55-python3-coverage_7.2.7+dfsg1-1+b1_armhf.deb ... Unpacking python3-coverage (7.2.7+dfsg1-1+b1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../56-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-license-expression. Preparing to unpack .../57-python3-license-expression_30.1.1-1_all.deb ... Unpacking python3-license-expression (30.1.1-1) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../58-python3-pyparsing_3.1.1-1_all.deb ... Unpacking python3-pyparsing (3.1.1-1) ... Selecting previously unselected package python3-tomli-w. Preparing to unpack .../59-python3-tomli-w_1.0.0-2_all.deb ... Unpacking python3-tomli-w (1.0.0-2) ... Selecting previously unselected package python3-pdm-pep517. Preparing to unpack .../60-python3-pdm-pep517_1.1.4+ds1-2_all.deb ... Unpacking python3-pdm-pep517 (1.1.4+ds1-2) ... Selecting previously unselected package python3-platformdirs. Preparing to unpack .../61-python3-platformdirs_4.2.0-1_all.deb ... Unpacking python3-platformdirs (4.2.0-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../62-python3-pluggy_1.4.0-1_all.deb ... Unpacking python3-pluggy (1.4.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../63-python3-pytest_8.1.1-1_all.deb ... Unpacking python3-pytest (8.1.1-1) ... Selecting previously unselected package python3-pytest-cov. Preparing to unpack .../64-python3-pytest-cov_4.1.0-1_all.deb ... Unpacking python3-pytest-cov (4.1.0-1) ... Selecting previously unselected package python3-pytest-timeout. Preparing to unpack .../65-python3-pytest-timeout_2.3.1-1_all.deb ... Unpacking python3-pytest-timeout (2.3.1-1) ... Selecting previously unselected package python3-pytoolconfig. Preparing to unpack .../66-python3-pytoolconfig_1.3.1-1_all.deb ... Unpacking python3-pytoolconfig (1.3.1-1) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:armhf (1.5.7-2) ... Setting up libicu72:armhf (72.1-4+b1) ... Setting up bsdextrautils (2.39.3-11) ... Setting up libmagic-mgc (1:5.45-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.15.3) ... Setting up libmagic1t64:armhf (1:5.45-3) ... Setting up libpython3.12-minimal:armhf (3.12.2-4+b2) ... Setting up gettext-base (0.21-14+b1) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3) ... Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Setting up libelf1t64:armhf (0.191-1) ... Setting up tzdata (2024a-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sun Mar 31 21:28:27 UTC 2024. Universal Time is now: Sun Mar 31 21:28:27 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-14) ... Setting up autoconf (2.71-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.22) ... Setting up libuchardet0:armhf (0.0.8-1+b1) ... Setting up libsub-override-perl (0.10-1) ... Setting up netbase (6.4) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... Setting up readline-common (8.2-4) ... Setting up libxml2:armhf (2.9.14+dfsg-1.3+b2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up python3.12-minimal (3.12.2-4+b2) ... Setting up gettext (0.21-14+b1) ... Setting up libtool (2.4.7-7) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up libjs-jquery-metadata (12-4) ... Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... Setting up libreadline8t64:armhf (8.2-4) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Setting up groff-base (1.23.0-3+b1) ... Setting up libpython3.12-stdlib:armhf (3.12.2-4+b2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libpython3.11-stdlib:armhf (3.11.8-3+b3) ... Setting up python3.12 (3.12.2-4+b2) ... Setting up man-db (2.12.0-4) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython3-stdlib:armhf (3.11.8-1) ... Setting up python3.11 (3.11.8-3+b3) ... Setting up debhelper (13.15.3) ... Setting up python3 (3.11.8-1) ... Setting up python3-wheel (0.43.0-1) ... Setting up python3-platformdirs (4.2.0-1) ... Setting up python3-packaging (23.2-1) ... Setting up python3-pyproject-hooks (1.0.0-2) ... Setting up python3-pyparsing (3.1.1-1) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-pluggy (1.4.0-1) ... Setting up python3-boolean (4.0-4) ... Setting up python3-license-expression (30.1.1-1) ... Setting up python3-build (1.1.1-1) ... Setting up python3-lib2to3 (3.12.2-3) ... Setting up python3-tomli-w (1.0.0-2) ... Setting up python3-appdirs (1.4.4-4) ... Setting up python3-pkg-resources (68.1.2-2) ... Setting up python3-distutils (3.12.2-3) ... python3.12: can't get files for byte-compilation Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-setuptools (68.1.2-2) ... Setting up python3-tomli (2.0.1-2) ... Setting up python3-pytest (8.1.1-1) ... Setting up python3-cerberus (1.3.2-2) ... Setting up python3-coverage (7.2.7+dfsg1-1+b1) ... Setting up python3-pytest-cov (4.1.0-1) ... Setting up python3-pdm-pep517 (1.1.4+ds1-2) ... Setting up python3-pytoolconfig (1.3.1-1) ... Setting up dh-python (6.20240310) ... Setting up python3-pytest-timeout (2.3.1-1) ... Setting up pybuild-plugin-pyproject (6.20240310) ... Processing triggers for libc-bin (2.37-15.1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/rope-1.13.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../rope_1.13.0-1_source.changes dpkg-buildpackage: info: source package rope dpkg-buildpackage: info: source version 1.13.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Boyuan Yang dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf dpkg-source: info: using options from rope-1.13.0/debian/source/options: --extend-diff-ignore=\.egg-info debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild pybuild --clean -i python{version} -p 3.11 rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-rope.substvars debian/files rm -fr -- debian/python3-rope/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild pybuild --configure -i python{version} -p 3.11 dh_auto_build -O--buildsystem=pybuild pybuild --build -i python{version} -p 3.11 I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" module I: pybuild base:305: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/rope-1.13.0/.pybuild/cpython3_3.11_rope * Building wheel... - Adding rope/__init__.py - Adding rope/base/__init__.py - Adding rope/base/arguments.py - Adding rope/base/ast.py - Adding rope/base/builtins.py - Adding rope/base/change.py - Adding rope/base/codeanalyze.py - Adding rope/base/evaluate.py - Adding rope/base/exceptions.py - Adding rope/base/fscommands.py - Adding rope/base/history.py - Adding rope/base/libutils.py - Adding rope/base/nameanalyze.py - Adding rope/base/oi/__init__.py - Adding rope/base/oi/doa.py - Adding rope/base/oi/memorydb.py - Adding rope/base/oi/objectdb.py - Adding rope/base/oi/objectinfo.py - Adding rope/base/oi/runmod.py - Adding rope/base/oi/soa.py - Adding rope/base/oi/soi.py - Adding rope/base/oi/transform.py - Adding rope/base/oi/type_hinting/__init__.py - Adding rope/base/oi/type_hinting/evaluate.py - Adding rope/base/oi/type_hinting/factory.py - Adding rope/base/oi/type_hinting/interfaces.py - Adding rope/base/oi/type_hinting/providers/__init__.py - Adding rope/base/oi/type_hinting/providers/composite.py - Adding rope/base/oi/type_hinting/providers/docstrings.py - Adding rope/base/oi/type_hinting/providers/inheritance.py - Adding rope/base/oi/type_hinting/providers/interfaces.py - Adding rope/base/oi/type_hinting/providers/numpydocstrings.py - Adding rope/base/oi/type_hinting/providers/pep0484_type_comments.py - Adding rope/base/oi/type_hinting/resolvers/__init__.py - Adding rope/base/oi/type_hinting/resolvers/composite.py - Adding rope/base/oi/type_hinting/resolvers/interfaces.py - Adding rope/base/oi/type_hinting/resolvers/types.py - Adding rope/base/oi/type_hinting/utils.py - Adding rope/base/prefs.py - Adding rope/base/project.py - Adding rope/base/pycore.py - Adding rope/base/pynames.py - Adding rope/base/pynamesdef.py - Adding rope/base/pyobjects.py - Adding rope/base/pyobjectsdef.py - Adding rope/base/pyscopes.py - Adding rope/base/resourceobserver.py - Adding rope/base/resources.py - Adding rope/base/serializer.py - Adding rope/base/simplify.py - Adding rope/base/stdmods.py - Adding rope/base/taskhandle.py - Adding rope/base/utils/__init__.py - Adding rope/base/utils/datastructures.py - Adding rope/base/versioning.py - Adding rope/base/worder.py - Adding rope/contrib/__init__.py - Adding rope/contrib/autoimport/__init__.py - Adding rope/contrib/autoimport/defs.py - Adding rope/contrib/autoimport/models.py - Adding rope/contrib/autoimport/parse.py - Adding rope/contrib/autoimport/pickle.py - Adding rope/contrib/autoimport/sqlite.py - Adding rope/contrib/autoimport/utils.py - Adding rope/contrib/changestack.py - Adding rope/contrib/codeassist.py - Adding rope/contrib/finderrors.py - Adding rope/contrib/findit.py - Adding rope/contrib/fixmodnames.py - Adding rope/contrib/fixsyntax.py - Adding rope/contrib/generate.py - Adding rope/refactor/__init__.py - Adding rope/refactor/change_signature.py - Adding rope/refactor/encapsulate_field.py - Adding rope/refactor/extract.py - Adding rope/refactor/functionutils.py - Adding rope/refactor/importutils/__init__.py - Adding rope/refactor/importutils/actions.py - Adding rope/refactor/importutils/importinfo.py - Adding rope/refactor/importutils/module_imports.py - Adding rope/refactor/inline.py - Adding rope/refactor/introduce_factory.py - Adding rope/refactor/introduce_parameter.py - Adding rope/refactor/localtofield.py - Adding rope/refactor/method_object.py - Adding rope/refactor/move.py - Adding rope/refactor/multiproject.py - Adding rope/refactor/occurrences.py - Adding rope/refactor/patchedast.py - Adding rope/refactor/rename.py - Adding rope/refactor/restructure.py - Adding rope/refactor/similarfinder.py - Adding rope/refactor/sourceutils.py - Adding rope/refactor/suites.py - Adding rope/refactor/topackage.py - Adding rope/refactor/usefunction.py - Adding rope/refactor/wildcards.py - Adding rope-1.13.0.dist-info/WHEEL - Adding rope-1.13.0.dist-info/METADATA - Adding rope-1.13.0.dist-info/licenses/COPYING Successfully built rope-1.13.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with "installer" module debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/rope-1.13.0' # pybuild off-place test will not work # Known buggy test, see upstream issue 495 python3 -m pytest ============================= test session starts ============================== platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0 rootdir: /build/reproducible-path/rope-1.13.0 configfile: pyproject.toml testpaths: ropetest plugins: cov-4.1.0, timeout-2.3.1 collected 2089 items ropetest/advanced_oi_test.py ........................................... [ 2%] ................. [ 2%] ropetest/builtinstest.py ............................................... [ 5%] ................ [ 5%] ropetest/codeanalyzetest.py ............................................ [ 7%] ........................................................................ [ 11%] ............................... [ 12%] ropetest/contrib/autoimport/autoimporttest.py EEEEEEEEEEEEEEEE [ 13%] ropetest/contrib/autoimport/modeltest.py ........... [ 14%] ropetest/contrib/autoimport/parsetest.py ... [ 14%] ropetest/contrib/autoimport/utilstest.py EEE.E.EE..E [ 14%] ropetest/contrib/autoimporttest.py ........................E... [ 16%] ropetest/contrib/changestacktest.py . [ 16%] ropetest/contrib/codeassisttest.py ..................................... [ 18%] ........................................................................ [ 21%] ............................................................. [ 24%] ropetest/contrib/finderrorstest.py ..... [ 24%] ropetest/contrib/findittest.py ........... [ 25%] ropetest/contrib/fixmodnamestest.py .... [ 25%] ropetest/contrib/generatetest.py .............................. [ 26%] ropetest/doatest.py .... [ 26%] ropetest/historytest.py ........................................ [ 28%] ropetest/objectdbtest.py ................... [ 29%] ropetest/objectinfertest.py ................................. [ 31%] ropetest/projecttest.py ................................................ [ 33%] ........................................................................ [ 37%] [ 37%] ropetest/pycoretest.py ................................................. [ 39%] ........................................................................ [ 42%] ....... [ 43%] ropetest/pyscopestest.py .............................................. [ 45%] ropetest/refactor/__init__.py .......................................... [ 47%] ............................ [ 48%] ropetest/refactor/change_signature_test.py ............................. [ 50%] ........... [ 50%] ropetest/refactor/extracttest.py ....................................... [ 52%] ........................x......................s........................ [ 56%] ........................................................... [ 58%] ropetest/refactor/importutilstest.py ................................... [ 60%] ........................................................................ [ 64%] .................................... [ 65%] ropetest/refactor/inlinetest.py ........................................ [ 67%] .............................................................. [ 70%] ropetest/refactor/movetest.py .......................................... [ 72%] ................................ [ 74%] ropetest/refactor/multiprojecttest.py .... [ 74%] ropetest/refactor/patchedasttest.py ..........................s..s.s.... [ 76%] ........................................................................ [ 79%] ...................s.s.s.............. [ 81%] ropetest/refactor/renametest.py ........................................ [ 83%] ......................................................... [ 85%] ropetest/refactor/restructuretest.py ....................... [ 87%] ropetest/refactor/similarfindertest.py ................................. [ 88%] .... [ 88%] ropetest/refactor/suitestest.py ..................... [ 89%] ropetest/refactor/usefunctiontest.py ............ [ 90%] ropetest/reprtest.py ................ [ 91%] ropetest/runmodtest.py ......... [ 91%] ropetest/serializer_test.py ............................................ [ 93%] ................ [ 94%] ropetest/simplifytest.py ............... [ 95%] ropetest/type_hinting_test.py ..............................x........... [ 97%] ......x.................x.................x.......... [ 99%] ropetest/versioningtest.py EEEEE [100%] ==================================== ERRORS ==================================== ____________ ERROR at setup of test_in_memory_database_share_cache _____________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv0', env_name='venv0', prompt='(venv0) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv0/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv0', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv0', env_name='venv0', prompt='(venv0) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv0/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv0/bin/python3 ____ ERROR at setup of test_autoimport_connection_parameter_with_in_memory _____ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv1', env_name='venv1', prompt='(venv1) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv1/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv1', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv1', env_name='venv1', prompt='(venv1) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv1/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv1/bin/python3 _____ ERROR at setup of test_autoimport_connection_parameter_with_project ______ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv2', env_name='venv2', prompt='(venv2) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv2/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv2', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv2', env_name='venv2', prompt='(venv2) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv2/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv2/bin/python3 _ ERROR at setup of test_autoimport_create_database_connection_conflicting_parameter _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv3', env_name='venv3', prompt='(venv3) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv3/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv3', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv3', env_name='venv3', prompt='(venv3) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv3/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv3/bin/python3 __________ ERROR at setup of test_autoimport_memory_parameter_is_true __________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv4', env_name='venv4', prompt='(venv4) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv4/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv4', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv4', env_name='venv4', prompt='(venv4) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv4/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv4/bin/python3 _________ ERROR at setup of test_autoimport_memory_parameter_is_false __________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv5', env_name='venv5', prompt='(venv5) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv5/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv5', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv5', env_name='venv5', prompt='(venv5) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv5/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv5/bin/python3 ________________________ ERROR at setup of test_init_py ________________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv6', env_name='venv6', prompt='(venv6) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv6/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv6', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv6', env_name='venv6', prompt='(venv6) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv6/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv6/bin/python3 ____________________ ERROR at setup of test_multithreading _____________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv7', env_name='venv7', prompt='(venv7) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv7/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv7', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv7', env_name='venv7', prompt='(venv7) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv7/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv7/bin/python3 ______________________ ERROR at setup of test_connection _______________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv8', env_name='venv8', prompt='(venv8) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv8/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv8', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv8', env_name='venv8', prompt='(venv8) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv8/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv8/bin/python3 __________ ERROR at setup of test_setup_db_metadata_table_is_missing ___________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv9', env_name='venv9', prompt='(venv9) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv9/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv9', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': '...LDUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv9', env_name='venv9', prompt='(venv9) ', executable='/usr/bin...d='/tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv9/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv9/bin/python3 __________ ERROR at setup of test_setup_db_metadata_table_is_outdated __________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv10', env_name='venv10', prompt='(venv10) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv10/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv10', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv10', env_name='venv10', prompt='(venv10) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv10/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv10/bin/python3 __________ ERROR at setup of test_setup_db_metadata_table_is_current ___________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv11', env_name='venv11', prompt='(venv11) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv11/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv11', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv11', env_name='venv11', prompt='(venv11) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv11/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv11/bin/python3 ____ ERROR at setup of TestQueryUsesIndexes.test_search_by_name_uses_index _____ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv12', env_name='venv12', prompt='(venv12) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv12/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv12', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv12', env_name='venv12', prompt='(venv12) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv12/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv12/bin/python3 __ ERROR at setup of TestQueryUsesIndexes.test_search_by_name_like_uses_index __ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv13', env_name='venv13', prompt='(venv13) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv13/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv13', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv13', env_name='venv13', prompt='(venv13) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv13/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv13/bin/python3 __ ERROR at setup of TestQueryUsesIndexes.test_search_module_like_uses_index ___ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv14', env_name='venv14', prompt='(venv14) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv14/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv14', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv14', env_name='venv14', prompt='(venv14) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv14/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv14/bin/python3 _ ERROR at setup of TestQueryUsesIndexes.test_search_submodule_like_uses_index _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv15', env_name='venv15', prompt='(venv15) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv15/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv15', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv15', env_name='venv15', prompt='(venv15) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv15/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv15/bin/python3 __________________ ERROR at setup of test_get_package_source ___________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv16', env_name='venv16', prompt='(venv16) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv16/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv16', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv16', env_name='venv16', prompt='(venv16) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv16/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv16/bin/python3 ____________ ERROR at setup of test_get_package_source_not_project _____________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv17', env_name='venv17', prompt='(venv17) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv17/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv17', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv17', env_name='venv17', prompt='(venv17) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv17/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv17/bin/python3 _______________ ERROR at setup of test_get_package_source_pytest _______________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv18', env_name='venv18', prompt='(venv18) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv18/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv18', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv18', env_name='venv18', prompt='(venv18) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv18/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv18/bin/python3 ______________ ERROR at setup of test_get_modname_project_no_add _______________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv19', env_name='venv19', prompt='(venv19) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv19/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv19', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv19', env_name='venv19', prompt='(venv19) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv19/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv19/bin/python3 __________________ ERROR at setup of test_get_modname_folder ___________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv20', env_name='venv20', prompt='(venv20) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv20/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv20', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv20', env_name='venv20', prompt='(venv20) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv20/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv20/bin/python3 _______________ ERROR at setup of test_get_package_tuple_sample ________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv21', env_name='venv21', prompt='(venv21) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv21/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv21', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv21', env_name='venv21', prompt='(venv21) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv21/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv21/bin/python3 _______________________ ERROR at setup of test_get_files _______________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv22', env_name='venv22', prompt='(venv22) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv22/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv22', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv22', env_name='venv22', prompt='(venv22) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv22/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv22/bin/python3 ___________________ ERROR at setup of test_search_submodule ____________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv23', env_name='venv23', prompt='(venv23) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv23/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv23', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv23', env_name='venv23', prompt='(venv23) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv23/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv23/bin/python3 ________________ ERROR at setup of test_calculate_version_hash _________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv24', env_name='venv24', prompt='(venv24) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv24/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv24', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv24', env_name='venv24', prompt='(venv24) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv24/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv24/bin/python3 _______________ ERROR at setup of test_version_hash_is_constant ________________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv25', env_name='venv25', prompt='(venv25) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv25/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv25', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv25', env_name='venv25', prompt='(venv25) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv25/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv25/bin/python3 __________ ERROR at setup of test_version_hash_varies_on_rope_version __________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv26', env_name='venv26', prompt='(venv26) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv26/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv26', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv26', env_name='venv26', prompt='(venv26) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv26/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv26/bin/python3 ________ ERROR at setup of test_version_hash_varies_on_user_preferences ________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv27', env_name='venv27', prompt='(venv27) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv27/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv27', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv27', env_name='venv27', prompt='(venv27) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv27/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv27/bin/python3 ________ ERROR at setup of test_version_hash_varies_on_get_file_content ________ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv28', env_name='venv28', prompt='(venv28) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv28/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: > self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) /usr/lib/python3.11/venv/__init__.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:354: in _call_new_python subprocess.check_output(args, **kwargs) /usr/lib/python3.11/subprocess.py:466: in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ input = None, capture_output = False, timeout = None, check = True popenargs = (['/tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip'],) kwargs = {'cwd': '/tmp/pytest-of-pbuilder1/pytest-0/venv28', 'env': {'ASFLAGS': '', 'ASFLAGS_FOR_BUILD': '', 'BUILDUSERGECOS': ...DUSERNAME': 'pbuilder1', ...}, 'executable': '/tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3', 'stderr': -2, ...} process = stdout = b'/tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3: No module named ensurepip\n' stderr = None, retcode = 1 def run(*popenargs, input=None, capture_output=False, timeout=None, check=False, **kwargs): """Run command with arguments and return a CompletedProcess instance. The returned instance will have attributes args, returncode, stdout and stderr. By default, stdout and stderr are not captured, and those attributes will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, or pass capture_output=True to capture both. If check is True and the exit code was non-zero, it raises a CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute, and output & stderr attributes if those streams were captured. If timeout is given, and the process takes too long, a TimeoutExpired exception will be raised. There is an optional argument "input", allowing you to pass bytes or a string to the subprocess's stdin. If you use this argument you may not also use the Popen constructor's "stdin" argument, as it will be used internally. By default, all communication is in bytes, and therefore any "input" should be bytes, and the stdout and stderr will be bytes. If in text mode, any "input" should be a string, and stdout and stderr will be strings decoded according to locale encoding, or by "encoding" if set. Text mode is triggered by setting any of text, encoding, errors or universal_newlines. The other arguments are the same as for the Popen constructor. """ if input is not None: if kwargs.get('stdin') is not None: raise ValueError('stdin and input arguments may not both be used.') kwargs['stdin'] = PIPE if capture_output: if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: raise ValueError('stdout and stderr arguments may not be used ' 'with capture_output.') kwargs['stdout'] = PIPE kwargs['stderr'] = PIPE with Popen(*popenargs, **kwargs) as process: try: stdout, stderr = process.communicate(input, timeout=timeout) except TimeoutExpired as exc: process.kill() if _mswindows: # Windows accumulates the output in a single blocking # read() call run on child threads, with the timeout # being done in a join() on those threads. communicate() # _after_ kill() is required to collect that and add it # to the exception. exc.stdout, exc.stderr = process.communicate() else: # POSIX _communicate already populated the output so # far into the TimeoutExpired exception. process.wait() raise except: # Including KeyboardInterrupt, communicate handled that. process.kill() # We don't call process.wait() as .__exit__ does that for us. raise retcode = process.poll() if check and retcode: > raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) E subprocess.CalledProcessError: Command '['/tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. /usr/lib/python3.11/subprocess.py:571: CalledProcessError During handling of the above exception, another exception occurred: tmpdir_factory = TempdirFactory(_tmppath_factory=TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-pbuilder1/pytest-0'), _retention_count=3, _retention_policy='all')) @pytest.fixture(scope="session") def session_venv(tmpdir_factory): path = tmpdir_factory.mktemp("venv") venv_path = pathlib.Path(path) builder = EnvBuilder(with_pip=True) > builder.create(venv_path) ropetest/conftest.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/venv/__init__.py:76: in create self._setup_pip(context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context = namespace(env_dir='/tmp/pytest-of-pbuilder1/pytest-0/venv28', env_name='venv28', prompt='(venv28) ', executable='/usr/...'/tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3', cfg_path='/tmp/pytest-of-pbuilder1/pytest-0/venv28/pyvenv.cfg') def _setup_pip(self, context): """Installs or upgrades pip in a virtual environment""" try: self._call_new_python(context, '-m', 'ensurepip', '--upgrade', '--default-pip', stderr=subprocess.STDOUT) except subprocess.CalledProcessError as err: stdlib = sysconfig.get_path('stdlib') if not os.path.exists(f'{stdlib}/ensurepip/__main__.py'): print("""\ The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python{}-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: {} """.format(sysconfig.get_python_version(), context.env_exec_cmd)) > sys.exit(1) E SystemExit: 1 /usr/lib/python3.11/venv/__init__.py:376: SystemExit ---------------------------- Captured stdout setup ----------------------------- The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: /tmp/pytest-of-pbuilder1/pytest-0/venv28/bin/python3 =============================== warnings summary =============================== ropetest/advanced_oi_test.py: 60 warnings ropetest/builtinstest.py: 63 warnings ropetest/codeanalyzetest.py: 15 warnings ropetest/contrib/autoimporttest.py: 27 warnings ropetest/contrib/changestacktest.py: 1 warning ropetest/contrib/codeassisttest.py: 170 warnings ropetest/contrib/finderrorstest.py: 5 warnings ropetest/contrib/findittest.py: 11 warnings ropetest/contrib/fixmodnamestest.py: 4 warnings ropetest/contrib/generatetest.py: 30 warnings ropetest/historytest.py: 40 warnings ropetest/objectdbtest.py: 19 warnings ropetest/objectinfertest.py: 33 warnings ropetest/projecttest.py: 127 warnings ropetest/pycoretest.py: 123 warnings ropetest/pyscopestest.py: 46 warnings ropetest/refactor/__init__.py: 59 warnings ropetest/refactor/change_signature_test.py: 40 warnings ropetest/refactor/extracttest.py: 169 warnings ropetest/refactor/importutilstest.py: 143 warnings ropetest/refactor/inlinetest.py: 102 warnings ropetest/refactor/movetest.py: 74 warnings ropetest/refactor/multiprojecttest.py: 8 warnings ropetest/refactor/renametest.py: 97 warnings ropetest/refactor/restructuretest.py: 23 warnings ropetest/refactor/similarfindertest.py: 32 warnings ropetest/refactor/usefunctiontest.py: 12 warnings ropetest/reprtest.py: 16 warnings ropetest/runmodtest.py: 9 warnings ropetest/type_hinting_test.py: 76 warnings /build/reproducible-path/rope-1.13.0/rope/base/project.py:230: DeprecationWarning: Delete once deprecated functions are gone self._init_source_folders() ropetest/advanced_oi_test.py: 139 warnings ropetest/projecttest.py: 5 warnings ropetest/refactor/multiprojecttest.py: 4 warnings ropetest/runmodtest.py: 18 warnings /build/reproducible-path/rope-1.13.0/rope/base/libutils.py:35: DeprecationWarning: relative is deprecated return relative(project.address, path) ropetest/contrib/autoimporttest.py: 28 warnings /build/reproducible-path/rope-1.13.0/rope/contrib/autoimport/sqlite.py:139: DeprecationWarning: The default value for `AutoImport(memory)` argument will change to use an on-disk database by default in the future. If you want to use an in-memory database, you need to pass `AutoImport(memory=True)` explicitly. warnings.warn( ropetest/refactor/__init__.py::TaskHandleTest::test_getting_job_name /build/reproducible-path/rope-1.13.0/ropetest/refactor/__init__.py:1125: DeprecationWarning: Just use JobSet.name attribute/property instead self.assertEqual("test job set", jobs.get_name()) ropetest/refactor/__init__.py::TaskHandleTest::test_getting_job_name /build/reproducible-path/rope-1.13.0/ropetest/refactor/__init__.py:1126: DeprecationWarning: Just use JobSet.job_name attribute/property instead self.assertEqual(None, jobs.get_active_job_name()) ropetest/refactor/__init__.py::TaskHandleTest::test_getting_job_name /build/reproducible-path/rope-1.13.0/ropetest/refactor/__init__.py:1129: DeprecationWarning: Just use JobSet.name attribute/property instead self.assertEqual("test job set", jobs.get_name()) ropetest/refactor/__init__.py::TaskHandleTest::test_getting_job_name /build/reproducible-path/rope-1.13.0/ropetest/refactor/__init__.py:1131: DeprecationWarning: Just use JobSet.job_name attribute/property instead self.assertEqual("job1", jobs.get_active_job_name()) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR ropetest/contrib/autoimport/autoimporttest.py::test_in_memory_database_share_cache ERROR ropetest/contrib/autoimport/autoimporttest.py::test_autoimport_connection_parameter_with_in_memory ERROR ropetest/contrib/autoimport/autoimporttest.py::test_autoimport_connection_parameter_with_project ERROR ropetest/contrib/autoimport/autoimporttest.py::test_autoimport_create_database_connection_conflicting_parameter ERROR ropetest/contrib/autoimport/autoimporttest.py::test_autoimport_memory_parameter_is_true ERROR ropetest/contrib/autoimport/autoimporttest.py::test_autoimport_memory_parameter_is_false ERROR ropetest/contrib/autoimport/autoimporttest.py::test_init_py - SystemExi... ERROR ropetest/contrib/autoimport/autoimporttest.py::test_multithreading - Sy... ERROR ropetest/contrib/autoimport/autoimporttest.py::test_connection - System... ERROR ropetest/contrib/autoimport/autoimporttest.py::test_setup_db_metadata_table_is_missing ERROR ropetest/contrib/autoimport/autoimporttest.py::test_setup_db_metadata_table_is_outdated ERROR ropetest/contrib/autoimport/autoimporttest.py::test_setup_db_metadata_table_is_current ERROR ropetest/contrib/autoimport/autoimporttest.py::TestQueryUsesIndexes::test_search_by_name_uses_index ERROR ropetest/contrib/autoimport/autoimporttest.py::TestQueryUsesIndexes::test_search_by_name_like_uses_index ERROR ropetest/contrib/autoimport/autoimporttest.py::TestQueryUsesIndexes::test_search_module_like_uses_index ERROR ropetest/contrib/autoimport/autoimporttest.py::TestQueryUsesIndexes::test_search_submodule_like_uses_index ERROR ropetest/contrib/autoimport/utilstest.py::test_get_package_source - Sys... ERROR ropetest/contrib/autoimport/utilstest.py::test_get_package_source_not_project ERROR ropetest/contrib/autoimport/utilstest.py::test_get_package_source_pytest ERROR ropetest/contrib/autoimport/utilstest.py::test_get_modname_project_no_add ERROR ropetest/contrib/autoimport/utilstest.py::test_get_modname_folder - Sys... ERROR ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_sample ERROR ropetest/contrib/autoimport/utilstest.py::test_get_files - SystemExit: 1 ERROR ropetest/contrib/autoimporttest.py::test_search_submodule - SystemExit: 1 ERROR ropetest/versioningtest.py::test_calculate_version_hash - SystemExit: 1 ERROR ropetest/versioningtest.py::test_version_hash_is_constant - SystemExit: 1 ERROR ropetest/versioningtest.py::test_version_hash_varies_on_rope_version - ... ERROR ropetest/versioningtest.py::test_version_hash_varies_on_user_preferences ERROR ropetest/versioningtest.py::test_version_hash_varies_on_get_file_content = 2048 passed, 7 skipped, 5 xfailed, 1832 warnings, 29 errors in 68.51s (0:01:08) = make[1]: [debian/rules:14: override_dh_auto_test] Error 1 (ignored) make[1]: Leaving directory '/build/reproducible-path/rope-1.13.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild rm -f -- debian/python3-rope.substvars rm -fr -- debian/.debhelper/generated/python3-rope/ debian/python3-rope/ debian/tmp/ dh_auto_install --destdir=debian/python3-rope/ -O--buildsystem=pybuild install -m0755 -d /build/reproducible-path/rope-1.13.0/debian/python3-rope pybuild --install -i python{version} -p 3.11 --dest-dir /build/reproducible-path/rope-1.13.0/debian/python3-rope I: pybuild plugin_pyproject:178: Copying package built for python3.11 to destdir dh_installdocs -O--buildsystem=pybuild install -m0755 -d debian/python3-rope/usr/share/doc/python3-rope install -m0755 -d debian/python3-rope/usr/share/doc/python3-rope cp --reflink=auto -a ./README.rst debian/python3-rope/usr/share/doc/python3-rope cp --reflink=auto -a ./docs/contributing.rst debian/python3-rope/usr/share/doc/python3-rope cp --reflink=auto -a ./docs/library.rst debian/python3-rope/usr/share/doc/python3-rope cp --reflink=auto -a ./docs/overview.rst debian/python3-rope/usr/share/doc/python3-rope cp --reflink=auto -a ./docs/rope.rst debian/python3-rope/usr/share/doc/python3-rope chmod -R u\+rw,go=rX debian/python3-rope/usr/share/doc install -p -m0644 debian/copyright debian/python3-rope/usr/share/doc/python3-rope/copyright dh_installchangelogs -O--buildsystem=pybuild install -m0755 -d debian/python3-rope/usr/share/doc/python3-rope install -p -m0644 debian/.debhelper/generated/python3-rope/dh_installchangelogs.dch.trimmed debian/python3-rope/usr/share/doc/python3-rope/changelog.Debian install -p -m0644 ./CHANGELOG.md debian/python3-rope/usr/share/doc/python3-rope/changelog dh_python3 -O--buildsystem=pybuild D: dh_python3 dh_python3:179: version: 6.20240310 D: dh_python3 dh_python3:180: argv: ['/usr/bin/dh_python3', '-O--buildsystem=pybuild'] D: dh_python3 dh_python3:181: options: Namespace(guess_deps=True, skip_private=False, verbose=True, arch=None, package=None, no_package=None, remaining_packages=False, compile_all=False, vrange=None, regexpr=None, accept_upstream_versions=False, depends=None, depends_section=None, recommends=None, recommends_section=None, suggests=None, suggests_section=None, requires=None, shebang=None, ignore_shebangs=False, clean_dbg_pkg=True, no_ext_rename=False, no_shebang_rewrite=False, private_dir=None, O=['--buildsystem=pybuild']) D: dh_python3 dh_python3:182: supported Python versions: 3.11,3.12 (default=3.11) D: dh_python3 debhelper:174: source=rope, binary packages=['python3-rope'] D: dh_python3 dh_python3:204: processing package python3-rope... D: dh_python3 fs:50: moving files from debian/python3-rope/usr/lib/python3.11/dist-packages to debian/python3-rope/usr/lib/python3/dist-packages/ D: dh_python3 fs:176: Writing INSTALLER in debian/python3-rope/usr/lib/python3/dist-packages/rope-1.13.0.dist-info D: dh_python3 fs:187: Deleting RECORD in debian/python3-rope/usr/lib/python3/dist-packages/rope-1.13.0.dist-info D: dh_python3 fs:335: package python3-rope details = {'requires.txt': set(), 'egg-info': set(), 'dist-info': {'debian/python3-rope/usr/lib/python3/dist-packages/rope-1.13.0.dist-info/METADATA'}, 'nsp.txt': set(), 'shebangs': set(), 'public_vers': {Version('3')}, 'private_dirs': {}, 'compile': True, 'ext_vers': set(), 'ext_no_version': set()} D: dh_python3 depends:103: generating dependencies for package python3-rope D: dh_python3 pydist:173: trying to find dependency for pytoolconfig[global]>=1.2.2 (python=None) D: dh_python3 pydist:207: dependency: module seems to be installed D: dh_python3 pydist:263: dependency: included in build-deps with limits D: dh_python3 depends:253: D={'python3-pytoolconfig (>= 1.2.2)', 'python3:any'}; R=[]; S=[]; E=[], B=[]; RT=[] dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild dh_strip_nondeterminism -O--buildsystem=pybuild dh_compress -O--buildsystem=pybuild cd debian/python3-rope chmod a-x usr/share/doc/python3-rope/README.rst usr/share/doc/python3-rope/changelog usr/share/doc/python3-rope/changelog.Debian usr/share/doc/python3-rope/contributing.rst usr/share/doc/python3-rope/library.rst usr/share/doc/python3-rope/overview.rst gzip -9nf usr/share/doc/python3-rope/README.rst usr/share/doc/python3-rope/changelog usr/share/doc/python3-rope/changelog.Debian usr/share/doc/python3-rope/contributing.rst usr/share/doc/python3-rope/library.rst usr/share/doc/python3-rope/overview.rst cd '/build/reproducible-path/rope-1.13.0' dh_fixperms -O--buildsystem=pybuild find debian/python3-rope ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/python3-rope/usr/share/doc -type f -a -true -a ! -regex 'debian/python3-rope/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python3-rope/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/python3-rope -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python3-rope/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w dh_missing -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild install -m0755 -d debian/python3-rope/DEBIAN printf '#!/bin/sh\nset -e\n' > debian/python3-rope/DEBIAN/postinst cat debian/python3-rope.postinst.debhelper >> debian/python3-rope/DEBIAN/postinst chmod 0755 -- debian/python3-rope/DEBIAN/postinst printf '#!/bin/sh\nset -e\n' > debian/python3-rope/DEBIAN/prerm cat debian/python3-rope.prerm.debhelper >> debian/python3-rope/DEBIAN/prerm chmod 0755 -- debian/python3-rope/DEBIAN/prerm dh_gencontrol -O--buildsystem=pybuild install -m0755 -d debian/python3-rope/DEBIAN echo misc:Depends= >> debian/python3-rope.substvars echo misc:Pre-Depends= >> debian/python3-rope.substvars dpkg-gencontrol -ppython3-rope -ldebian/changelog -Tdebian/python3-rope.substvars -cdebian/control -Pdebian/python3-rope chmod 0644 -- debian/python3-rope/DEBIAN/control dh_md5sums -O--buildsystem=pybuild install -m0755 -d debian/python3-rope/DEBIAN cd debian/python3-rope >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/python3-rope/DEBIAN/md5sums dh_builddeb -O--buildsystem=pybuild dpkg-deb --root-owner-group --build debian/python3-rope .. dpkg-deb: building package 'python3-rope' in '../python3-rope_1.13.0-1_all.deb'. dpkg-genbuildinfo --build=binary -O../rope_1.13.0-1_armhf.buildinfo dpkg-genchanges --build=binary -O../rope_1.13.0-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-source: info: using options from rope-1.13.0/debian/source/options: --extend-diff-ignore=\.egg-info dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/24972 and its subdirectories I: Current time: Sun Mar 31 09:30:51 -12 2024 I: pbuilder-time-stamp: 1711920651 Sun Mar 31 21:31:05 UTC 2024 I: 1st build successful. Starting 2nd build on remote node virt64z-armhf-rb.debian.net. Sun Mar 31 21:31:05 UTC 2024 I: Preparing to do remote build '2' on virt64z-armhf-rb.debian.net. Sun Mar 31 21:33:54 UTC 2024 I: Deleting $TMPDIR on virt64z-armhf-rb.debian.net. Sun Mar 31 21:33:56 UTC 2024 I: rope_1.13.0-1_armhf.changes: Format: 1.8 Date: Sun, 24 Mar 2024 22:56:37 -0400 Source: rope Binary: python3-rope Architecture: all Version: 1.13.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team Changed-By: Boyuan Yang Description: python3-rope - Python 3 refactoring library Changes: rope (1.13.0-1) unstable; urgency=medium . * New upstream release. Checksums-Sha1: d24db578aec9592b40f17360efaeb417d4726791 162128 python3-rope_1.13.0-1_all.deb da535ec36b6f18bc8789c5dcf1904818474ebb71 6538 rope_1.13.0-1_armhf.buildinfo Checksums-Sha256: 417737404963df8b5951a2a3051ab8d28dcfe7fad2d5b9cc66a7ef9513256671 162128 python3-rope_1.13.0-1_all.deb 948d1b035f6fbcc7d78141584df00284ddd57a47f8ecd30d54d68ebe203958f9 6538 rope_1.13.0-1_armhf.buildinfo Files: 2ed5886eecb878969506ea72d481c5d9 162128 devel optional python3-rope_1.13.0-1_all.deb 80b4687bcfb37960d7b2cf9c5baac775 6538 devel optional rope_1.13.0-1_armhf.buildinfo Sun Mar 31 21:33:57 UTC 2024 I: diffoscope 262 will be used to compare the two builds: Running as unit: rb-diffoscope-armhf_16-2164.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/rope_1.13.0-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/rope_1.13.0-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/rope_1.13.0-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/b1/rope_1.13.0-1_armhf.changes /srv/reproducible-results/rbuild-debian/r-b-build.W6hsMwd5/b2/rope_1.13.0-1_armhf.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.359s) 0.359s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.016s) 0.016s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 695ms CPU time consumed: 695ms Sun Mar 31 21:33:58 UTC 2024 I: diffoscope 262 found no differences in the changes files, and a .buildinfo file also exists. Sun Mar 31 21:33:58 UTC 2024 I: rope from unstable built successfully and reproducibly on armhf. Sun Mar 31 21:34:00 UTC 2024 I: Submitting .buildinfo files to external archives: Sun Mar 31 21:34:00 UTC 2024 I: Submitting 8.0K b1/rope_1.13.0-1_armhf.buildinfo.asc Sun Mar 31 21:34:01 UTC 2024 I: Submitting 8.0K b2/rope_1.13.0-1_armhf.buildinfo.asc Sun Mar 31 21:34:01 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun Mar 31 21:34:01 UTC 2024 I: Done submitting .buildinfo files. Sun Mar 31 21:34:01 UTC 2024 I: Removing signed rope_1.13.0-1_armhf.buildinfo.asc files: removed './b1/rope_1.13.0-1_armhf.buildinfo.asc' removed './b2/rope_1.13.0-1_armhf.buildinfo.asc'