[ 0s] Memory limit set to 21698752KB [ 0s] Using BUILD_ROOT=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 0s] [ 0s] bugaboo started "build python-virtualenv.spec" at Fri Mar 13 10:47:36 UTC 2020. [ 0s] [ 0s] [ 0s] processing recipe /home/scarabeus/build_service/devel:languages:python/python-virtualenv/python-virtualenv.spec ... [ 0s] running changelog2spec --target rpm --file /home/scarabeus/build_service/devel:languages:python/python-virtualenv/python-virtualenv.spec [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --buildflavor test --rpmlist /tmp/rpmlist._bv9marc /home/scarabeus/build_service/devel:languages:python/python-virtualenv/python-virtualenv.spec ccache ... [ 1s] reordering...cycle: libncurses6 -> terminfo-base [ 1s] breaking dependency terminfo-base -> libncurses6 [ 1s] cycle: info -> gzip [ 1s] breaking dependency info -> gzip [ 1s] cycle: rpm -> rpm-config-SUSE [ 1s] breaking dependency rpm -> rpm-config-SUSE [ 1s] cycle: libcrack2 -> cracklib [ 1s] breaking dependency cracklib -> libcrack2 [ 1s] done [ 1s] querying package ids... [ 1s] [1/215] keeping file-magic-5.38-2.2 [ 1s] [2/215] keeping kernel-obs-build-5.5.7-1.2 [ 1s] [3/215] keeping libtirpc-netconfig-1.2.5-2.1 [ 1s] [4/215] keeping pkgconf-m4-1.6.3-1.2 [ 1s] [5/215] keeping python-rpm-macros-20200117.8e39013-2.1 [ 1s] [6/215] keeping system-user-root-20190513-1.6 [ 1s] [7/215] keeping vim-data-common-8.2.0348-1.1 [ 1s] [8/215] keeping filesystem-15.5-29.1 [ 1s] [9/215] keeping glibc-2.31-2.1 [ 1s] [10/215] keeping fdupes-1.61-2.6 [ 1s] [11/215] keeping fillup-1.42-275.1 [ 1s] [12/215] keeping hostname-3.21-1.5 [ 1s] [13/215] keeping libacl1-2.2.53-3.7 [ 1s] [14/215] keeping libatomic1-10.0.1+git174776-1.1 [ 1s] [15/215] keeping libattr1-2.4.48-3.4 [ 1s] [16/215] keeping libaudit1-2.8.5-1.2 [ 1s] [17/215] keeping libblkid1-2.34-4.4 [ 1s] [18/215] keeping libbz2-1-1.0.8-2.2 [ 1s] [19/215] keeping libcap-ng0-0.7.9-2.3 [ 1s] [20/215] keeping libcap2-2.32-1.1 [ 1s] [21/215] keeping libcom_err2-1.45.5-1.2 [ 1s] [22/215] keeping libcrypt1-4.4.15-1.1 [ 1s] [23/215] keeping libeconf0-0.3.5+git20200203.3144b69-1.1 [ 1s] [24/215] keeping libexpat1-2.2.9-1.2 [ 1s] [25/215] keeping libffi7-3.2.1.git505-2.3 [ 1s] [26/215] keeping libgcc_s1-10.0.1+git174776-1.1 [ 1s] [27/215] keeping libgdbm6-1.18.1-2.2 [ 1s] [28/215] keeping libgmp10-6.2.0-2.2 [ 1s] [29/215] keeping libgomp1-10.0.1+git174776-1.1 [ 1s] [30/215] keeping libgpg-error0-1.37-1.1 [ 1s] [31/215] keeping libgpm2-1.20.7-17.2 [ 1s] [32/215] keeping libitm1-10.0.1+git174776-1.1 [ 1s] [33/215] keeping libkeyutils1-1.6-1.4 [ 1s] [34/215] keeping liblua5_3-5-5.3.5-2.2 [ 1s] [35/215] keeping liblzma5-5.2.4-4.4 [ 1s] [36/215] keeping libmnl0-1.0.4-1.11 [ 1s] [37/215] keeping libopenssl1_1-1.1.1d-7.1 [ 1s] [38/215] keeping libpcre1-8.42-3.2 [ 1s] [39/215] keeping libpkgconf3-1.6.3-1.2 [ 1s] [40/215] keeping libpopt0-1.16-32.1 [ 1s] [41/215] keeping libpython2_7-1_0-2.7.17-7.1 [ 1s] [42/215] keeping libpython3_8-1_0-3.8.2-1.1 [ 1s] [43/215] keeping libsepol1-2.9-3.2 [ 1s] [44/215] keeping libslang2-2.3.1a-7.5 [ 1s] [45/215] keeping libsmartcols1-2.34-4.4 [ 1s] [46/215] keeping libsqlite3-0-3.31.1-2.2 [ 1s] [47/215] keeping libtextstyle0-0.20.1-2.1 [ 1s] [48/215] keeping libuuid1-2.34-4.4 [ 1s] [49/215] keeping libverto1-0.2.6-7.16 [ 1s] [50/215] keeping libz1-1.2.11-12.2 [ 1s] [51/215] keeping libzstd1-1.4.4-1.2 [ 1s] [52/215] keeping patch-2.7.6-3.14 [ 1s] [53/215] keeping rzsz-0.12.21~rc-3.1 [ 1s] [54/215] keeping update-alternatives-1.19.0.5-5.2 [ 1s] [55/215] keeping attr-2.4.48-3.4 [ 1s] [56/215] keeping ccache-3.7.7-1.1 [ 1s] [57/215] keeping chkstat-1550_20200228-12.1 [ 1s] [58/215] keeping libelf1-0.178-1.1 [ 1s] [59/215] keeping libgcrypt20-1.8.5-2.2 [ 1s] [60/215] keeping libgdbm_compat4-1.18.1-2.2 [ 1s] [61/215] keeping libglib-2_0-0-2.62.5-1.1 [ 1s] [62/215] keeping libisl22-0.22.1-1.1 [ 1s] [63/215] keeping libmpfr6-4.0.2-2.3 [ 1s] [64/215] keeping libselinux1-2.9-7.2 [ 1s] [65/215] keeping libstdc++6-10.0.1+git174776-1.1 [ 1s] [66/215] keeping perl-base-5.30.1-3.2 [ 1s] [67/215] keeping pkgconf-1.6.3-1.2 [ 1s] [68/215] keeping libfdisk1-2.34-4.4 [ 1s] [69/215] keeping libssh2-1-1.9.0-2.2 [ 1s] [70/215] keeping libxml2-2-2.9.10-2.2 [ 1s] [71/215] keeping libzio1-1.06-4.9 [ 1s] [72/215] keeping libmagic1-5.38-2.2 [ 1s] [73/215] keeping build-mkbaselibs-20200131-1.2 [ 1s] [74/215] keeping dwz-0.13-6.1 [ 1s] [75/215] keeping file-5.38-2.2 [ 1s] [76/215] keeping libgmodule-2_0-0-2.62.5-1.1 [ 1s] [77/215] keeping libasan5-9.2.1+git1022-2.1 [ 1s] [78/215] keeping libdb-4_8-4.8.30-38.3 [ 1s] [79/215] keeping liblsan0-10.0.1+git174776-1.1 [ 1s] [80/215] keeping libmount1-2.34-4.4 [ 1s] [81/215] keeping libmpc3-1.1.0-2.4 [ 1s] [82/215] keeping libtsan0-10.0.1+git174776-1.1 [ 1s] [83/215] keeping libubsan1-10.0.1+git174776-1.1 [ 1s] [84/215] keeping libdw1-0.178-1.1 [ 1s] [85/215] keeping libsemanage1-2.9-3.4 [ 1s] [86/215] keeping krb5-1.18-1.1 [ 1s] [87/215] keeping libtirpc3-1.2.5-2.1 [ 1s] [88/215] keeping cpp9-9.2.1+git1022-2.1 [ 1s] [89/215] keeping perl-5.30.1-3.2 [ 1s] [90/215] keeping brp-check-suse-84.87+git20200215.db1636b-1.1 [ 1s] [91/215] keeping libnsl2-1.2.0-2.15 [ 1s] [92/215] keeping terminfo-base-6.2-2.1 [ 1s] [93/215] keeping libncurses6-6.2-2.1 [ 1s] [94/215] keeping libreadline8-8.0-4.1 [ 1s] [95/215] keeping ncurses-utils-6.2-2.1 [ 1s] [96/215] keeping info-6.7-1.2 [ 1s] [97/215] keeping bash-5.0.11-4.1 [ 1s] [98/215] keeping tar-1.32-2.1 [ 1s] [99/215] keeping cpp-9-1.6 [ 1s] [100/215] keeping bzip2-1.0.8-2.2 [ 1s] [101/215] keeping cpio-2.12-8.2 [ 1s] [102/215] keeping cracklib-2.9.6-2.15 [ 1s] [103/215] keeping diffutils-3.7-3.2 [ 1s] [104/215] keeping gzip-1.10-3.4 [ 1s] [105/215] keeping make-4.2.1-7.10 [ 1s] [106/215] keeping pkgconf-pkg-config-1.6.3-1.2 [ 1s] [107/215] keeping which-2.21-4.14 [ 1s] [108/215] keeping xz-5.2.4-4.4 [ 1s] [109/215] keeping findutils-4.7.0-2.3 [ 1s] [110/215] keeping gawk-5.0.1-3.6 [ 1s] [111/215] keeping grep-3.4-1.2 [ 1s] [112/215] keeping less-551-2.1 [ 1s] [113/215] keeping strace-5.5-1.1 [ 1s] [114/215] keeping gettext-runtime-0.20.1-2.1 [ 1s] [115/215] keeping sed-4.8-1.2 [ 1s] [116/215] keeping iproute2-5.5.0-1.1 [ 1s] [117/215] keeping binutils-2.33.1-3.2 [ 1s] [118/215] keeping coreutils-8.31-3.1 [ 1s] [119/215] keeping vim-8.2.0348-1.1 [ 1s] [120/215] keeping python-base-2.7.17-7.1 [ 1s] [121/215] keeping python3-base-3.8.2-1.1 [ 1s] [122/215] keeping python-funcsigs-1.0.2-17.90 [ 1s] [123/215] keeping python2-appdirs-1.4.3-23.3 [ 1s] [124/215] keeping python2-atomicwrites-1.3.0-17.56 [ 1s] [125/215] keeping python2-attrs-19.3.0-25.69 [ 1s] [126/215] keeping python2-backports-1.0.0-6.95 [ 1s] [127/215] keeping python2-contextlib2-0.6.0-10.127 [ 1s] [128/215] keeping python2-distlib-0.3.0-0 [ 1s] [129/215] keeping python2-filelock-3.0.12-11.3 [ 1s] [130/215] keeping python2-more-itertools-5.0.0-6.84 [ 1s] [131/215] keeping python2-ordered-set-3.1.1-12.2 [ 1s] [132/215] keeping python2-py-1.8.1-1.2 [ 1s] [133/215] keeping python2-pyparsing-2.4.6-74.2 [ 1s] [134/215] keeping python2-typing-3.7.4.1-35.1 [ 1s] [135/215] keeping python2-wcwidth-0.1.8-19.3 [ 1s] [136/215] keeping python3-appdirs-1.4.3-23.3 [ 1s] [137/215] keeping python3-atomicwrites-1.3.0-17.56 [ 1s] [138/215] keeping python3-attrs-19.3.0-25.69 [ 1s] [139/215] keeping python3-distlib-0.3.0-0 [ 1s] [140/215] keeping python3-distro-1.4.0-21.7 [ 1s] [141/215] keeping python3-filelock-3.0.12-11.3 [ 1s] [142/215] keeping python3-more-itertools-8.2.0-20.2 [ 1s] [143/215] keeping python3-ordered-set-3.1.1-12.2 [ 1s] [144/215] keeping python3-pluggy-0.13.1-1.2 [ 1s] [145/215] keeping python3-py-1.8.1-1.2 [ 1s] [146/215] keeping python3-pyparsing-2.4.6-74.2 [ 1s] [147/215] keeping python3-wcwidth-0.1.8-19.3 [ 1s] [148/215] keeping systemd-rpm-macros-4-2.7 [ 1s] [149/215] keeping libxcrypt-devel-4.4.15-1.1 [ 1s] [150/215] keeping linux-glibc-devel-5.5-1.1 [ 1s] [151/215] keeping python2-six-1.14.0-94.2 [ 1s] [152/215] keeping python3-setproctitle-1.1.10-49.2 [ 1s] [153/215] keeping python3-six-1.14.0-94.2 [ 1s] [154/215] keeping glibc-locale-base-2.31-2.1 [ 1s] [155/215] keeping libcrack2-2.9.6-2.15 [ 1s] [156/215] keeping python-xml-2.7.17-7.1 [ 1s] [157/215] keeping python2-scandir-1.10.0-18.55 [ 1s] [158/215] keeping python3-devel-3.8.2-1.1 [ 1s] [159/215] keeping python3-3.8.2-1.1 [ 1s] [160/215] keeping permissions-config-1550_20200228-12.1 [ 1s] [161/215] keeping python-2.7.17-7.1 [ 1s] [162/215] keeping aaa_base-84.87+git20200224.7105b32-1.1 [ 1s] [163/215] keeping gettext-tools-0.20.1-2.1 [ 1s] [164/215] keeping gdb-8.3.1-7.2 [ 1s] [165/215] keeping rpm-4.15.1-1.3 [ 1s] [166/215] keeping aaa_base-malloccheck-84.87+git20200224.7105b32-1.1 [ 1s] [167/215] keeping glibc-locale-2.31-2.1 [ 1s] [168/215] keeping permissions-20200228.1550-12.1 [ 1s] [169/215] keeping python2-configparser-4.0.2-38.2 [ 1s] [170/215] keeping python2-zipp-0.6.0-1.2 [ 1s] [171/215] keeping rpm-config-SUSE-0.g52-1.1 [ 1s] [172/215] keeping python2-mock-3.0.5-68.10 [ 1s] [173/215] keeping python2-packaging-20.3-39.1 [ 1s] [174/215] keeping python2-pathlib2-2.3.5-34.1 [ 1s] [175/215] keeping python3-packaging-20.3-39.1 [ 1s] [176/215] keeping python3-prompt_toolkit-2.0.10-28.3 [ 1s] [177/215] keeping glibc-devel-2.31-2.1 [ 1s] [178/215] keeping librpmbuild9-4.15.1-1.3 [ 1s] [179/215] keeping build-compare-20200115T165709.b82e1e5-1.1 [ 1s] [180/215] keeping python2-importlib_resources-1.0.2-12.3 [ 1s] [181/215] keeping python-devel-2.7.17-7.1 [ 1s] [182/215] keeping python2-importlib-metadata-1.5.0-25.2 [ 1s] [183/215] keeping python3-setuptools-44.0.0-172.2 [ 1s] [184/215] keeping post-build-checks-84.87+git20200110.2d02f07-1.1 [ 1s] [185/215] keeping python2-setuptools-44.0.0-172.2 [ 1s] [186/215] keeping rpmlint-mini-1.10-15.2 [ 1s] [187/215] keeping mc-4.8.23-2.2 [ 1s] [188/215] keeping pam-1.3.1+git20190923.ea78d67-2.1 [ 1s] [189/215] keeping gcc9-9.2.1+git1022-2.1 [ 1s] [190/215] keeping rpmlint-Factory-1.0-97.1 [ 1s] [191/215] keeping gcc-9-1.6 [ 1s] [192/215] keeping python2-pluggy-0.13.1-1.2 [ 1s] [193/215] keeping python2-setuptools_scm-3.4.3-51.2 [ 1s] [194/215] keeping python3-setuptools_scm-3.4.3-51.2 [ 1s] [195/215] keeping python3-Pygments-2.6.1-74.2 [ 1s] [196/215] keeping python3-coverage-4.5.4-90.8 [ 1s] [197/215] keeping python2-coverage-4.5.4-90.8 [ 1s] [198/215] keeping python3-virtualenv-20.0.10-0 [ 1s] [199/215] keeping python2-virtualenv-20.0.10-0 [ 1s] [200/215] keeping python3-pytest-5.3.5-1.2 [ 1s] [201/215] keeping shadow-4.8.1-1.1 [ 1s] [202/215] keeping gcc-PIE-9-1.6 [ 1s] [203/215] keeping python3-pytest-env-0.6.2-2.5 [ 1s] [204/215] keeping python3-pytest-mock-2.0.0-1.2 [ 1s] [205/215] keeping python3-pytest-timeout-1.3.4-1.2 [ 1s] [206/215] keeping sysuser-shadow-3.0-2.1 [ 1s] [207/215] keeping python3-xonsh-0.9.14-0 [ 1s] [208/215] keeping python2-pytest4-4.6.9-1.2 [ 1s] [209/215] keeping python2-pytest-env-0.6.2-2.5 [ 1s] [210/215] keeping python2-pytest-timeout-1.3.4-1.2 [ 1s] [211/215] keeping python2-pytest-mock-2.0.0-1.2 [ 1s] [212/215] keeping system-group-hardware-20170617-10.1 [ 1s] [213/215] keeping libutempter0-1.1.6-10.15 [ 1s] [214/215] keeping util-linux-2.34-4.4 [ 1s] [215/215] keeping rpm-build-4.15.1-1.3 [ 1s] removing nis flags from /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/etc/nsswitch.conf... [ 1s] now finalizing build dir... [ 2s] Installed ccache wrapper as /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/var/lib/build/ccache/bin/cc [ 2s] Installed ccache wrapper as /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/var/lib/build/ccache/bin/gcc [ 2s] Installed ccache wrapper as /var/tmp/build-root/openSUSE_Tumbleweed-x86_64/var/lib/build/ccache/bin/gcc-9 [ 2s] ----------------------------------------------------------------- [ 2s] I have the following modifications for python-virtualenv.spec: [ 2s] 20c20 [ 2s] < %global flavor @BUILD_FLAVOR@%{nil} [ 2s] --- [ 2s] > %global flavor test%{nil} [ 2s] ----------------------------------------------------------------- [ 2s] ----- building python-virtualenv.spec (user abuild) [ 2s] ----------------------------------------------------------------- [ 2s] ----------------------------------------------------------------- [ 2s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-virtualenv.spec [ 2s] setting SOURCE_DATE_EPOCH=1583452800 [ 2s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.24ZLlX [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + rm -rf virtualenv-20.0.10 [ 2s] + /usr/bin/gzip -dc /home/abuild/rpmbuild/SOURCES/virtualenv-20.0.10.tar.gz [ 2s] + /usr/bin/tar -xof - [ 3s] + STATUS=0 [ 3s] + '[' 0 -ne 0 ']' [ 3s] + cd virtualenv-20.0.10 [ 3s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 3s] + RPM_EC=0 [ 3s] ++ jobs -p [ 3s] + exit 0 [ 3s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rBBX5V [ 3s] + umask 022 [ 3s] + cd /home/abuild/rpmbuild/BUILD [ 3s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64 [ 3s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64 [ 3s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 3s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64 [ 3s] + cd virtualenv-20.0.10 [ 3s] ++ '[' -f _current_flavor ']' [ 3s] ++ true [ 3s] + python_flavor= [ 3s] + '[' -z '' ']' [ 3s] + python_flavor=tmp [ 3s] + '[' tmp '!=' python2 ']' [ 3s] + '[' -d build ']' [ 3s] + '[' -d _build.python2 ']' [ 3s] + echo python2 [ 3s] + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' [ 3s] running build [ 3s] running build_py [ 3s] creating build [ 3s] creating build/lib [ 3s] creating build/lib/virtualenv [ 3s] copying src/virtualenv/__init__.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/__main__.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/error.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/info.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/pyenv_cfg.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/report.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/session.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/version.py -> build/lib/virtualenv [ 3s] creating build/lib/virtualenv/activation [ 3s] copying src/virtualenv/activation/__init__.py -> build/lib/virtualenv/activation [ 3s] copying src/virtualenv/activation/activator.py -> build/lib/virtualenv/activation [ 3s] copying src/virtualenv/activation/via_template.py -> build/lib/virtualenv/activation [ 3s] creating build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/__init__.py -> build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/convert.py -> build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/env_var.py -> build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/ini.py -> build/lib/virtualenv/config [ 3s] creating build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/__init__.py -> build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/creator.py -> build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/debug.py -> build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/describe.py -> build/lib/virtualenv/create [ 3s] creating build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/__init__.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/builtin.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/cached_py_info.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/discover.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/py_info.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/py_spec.py -> build/lib/virtualenv/discovery [ 3s] creating build/lib/virtualenv/run [ 3s] copying src/virtualenv/run/__init__.py -> build/lib/virtualenv/run [ 3s] copying src/virtualenv/run/app_data.py -> build/lib/virtualenv/run [ 3s] creating build/lib/virtualenv/seed [ 3s] copying src/virtualenv/seed/__init__.py -> build/lib/virtualenv/seed [ 3s] copying src/virtualenv/seed/seeder.py -> build/lib/virtualenv/seed [ 3s] creating build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/__init__.py -> build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/lock.py -> build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/six.py -> build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/zipapp.py -> build/lib/virtualenv/util [ 3s] creating build/lib/virtualenv/activation/bash [ 3s] copying src/virtualenv/activation/bash/__init__.py -> build/lib/virtualenv/activation/bash [ 3s] creating build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/batch/__init__.py -> build/lib/virtualenv/activation/batch [ 3s] creating build/lib/virtualenv/activation/cshell [ 3s] copying src/virtualenv/activation/cshell/__init__.py -> build/lib/virtualenv/activation/cshell [ 3s] creating build/lib/virtualenv/activation/fish [ 3s] copying src/virtualenv/activation/fish/__init__.py -> build/lib/virtualenv/activation/fish [ 3s] creating build/lib/virtualenv/activation/powershell [ 3s] copying src/virtualenv/activation/powershell/__init__.py -> build/lib/virtualenv/activation/powershell [ 3s] creating build/lib/virtualenv/activation/python [ 3s] copying src/virtualenv/activation/python/__init__.py -> build/lib/virtualenv/activation/python [ 3s] copying src/virtualenv/activation/python/activate_this.py -> build/lib/virtualenv/activation/python [ 3s] creating build/lib/virtualenv/activation/xonsh [ 3s] copying src/virtualenv/activation/xonsh/__init__.py -> build/lib/virtualenv/activation/xonsh [ 3s] creating build/lib/virtualenv/config/cli [ 3s] copying src/virtualenv/config/cli/__init__.py -> build/lib/virtualenv/config/cli [ 3s] copying src/virtualenv/config/cli/parser.py -> build/lib/virtualenv/config/cli [ 3s] creating build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/__init__.py -> build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/_virtualenv.py -> build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/api.py -> build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/venv.py -> build/lib/virtualenv/create/via_global_ref [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/builtin_way.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/ref.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/via_global_self_do.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/common.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/cpython2.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/cpython3.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/mac_os.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/common.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] copying src/virtualenv/create/via_global_ref/builtin/python2/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] copying src/virtualenv/create/via_global_ref/builtin/python2/python2.py -> build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] copying src/virtualenv/create/via_global_ref/builtin/python2/site.py -> build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] creating build/lib/virtualenv/discovery/windows [ 3s] copying src/virtualenv/discovery/windows/__init__.py -> build/lib/virtualenv/discovery/windows [ 3s] copying src/virtualenv/discovery/windows/pep514.py -> build/lib/virtualenv/discovery/windows [ 3s] creating build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/__init__.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/activators.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/base.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/creators.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/discovery.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/seeders.py -> build/lib/virtualenv/run/plugin [ 3s] creating build/lib/virtualenv/seed/embed [ 3s] copying src/virtualenv/seed/embed/__init__.py -> build/lib/virtualenv/seed/embed [ 3s] copying src/virtualenv/seed/embed/base_embed.py -> build/lib/virtualenv/seed/embed [ 3s] copying src/virtualenv/seed/embed/pip_invoke.py -> build/lib/virtualenv/seed/embed [ 3s] creating build/lib/virtualenv/seed/via_app_data [ 3s] copying src/virtualenv/seed/via_app_data/__init__.py -> build/lib/virtualenv/seed/via_app_data [ 3s] copying src/virtualenv/seed/via_app_data/via_app_data.py -> build/lib/virtualenv/seed/via_app_data [ 3s] creating build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/__init__.py -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/acquire.py -> build/lib/virtualenv/seed/embed/wheels [ 3s] creating build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/__init__.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/base.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/copy.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/symlink.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] creating build/lib/virtualenv/util/path [ 3s] copying src/virtualenv/util/path/__init__.py -> build/lib/virtualenv/util/path [ 3s] copying src/virtualenv/util/path/_permission.py -> build/lib/virtualenv/util/path [ 3s] copying src/virtualenv/util/path/_sync.py -> build/lib/virtualenv/util/path [ 3s] creating build/lib/virtualenv/util/subprocess [ 3s] copying src/virtualenv/util/subprocess/__init__.py -> build/lib/virtualenv/util/subprocess [ 3s] copying src/virtualenv/util/subprocess/_win_subprocess.py -> build/lib/virtualenv/util/subprocess [ 3s] creating build/lib/virtualenv/util/path/_pathlib [ 3s] copying src/virtualenv/util/path/_pathlib/__init__.py -> build/lib/virtualenv/util/path/_pathlib [ 3s] copying src/virtualenv/util/path/_pathlib/via_os_path.py -> build/lib/virtualenv/util/path/_pathlib [ 3s] copying src/virtualenv/activation/bash/activate.sh -> build/lib/virtualenv/activation/bash [ 3s] copying src/virtualenv/activation/batch/activate.bat -> build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/batch/deactivate.bat -> build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/batch/pydoc.bat -> build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/cshell/activate.csh -> build/lib/virtualenv/activation/cshell [ 3s] copying src/virtualenv/activation/fish/activate.fish -> build/lib/virtualenv/activation/fish [ 3s] copying src/virtualenv/activation/powershell/activate.ps1 -> build/lib/virtualenv/activation/powershell [ 3s] copying src/virtualenv/activation/xonsh/activate.xsh -> build/lib/virtualenv/activation/xonsh [ 3s] copying src/virtualenv/seed/embed/wheels/pip-19.1.1-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/pip-20.0.2-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/setuptools-43.0.0-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/setuptools-44.0.0-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/setuptools-46.0.0-py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/wheel-0.33.6-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/wheel-0.34.2-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] ++ '[' -f _current_flavor ']' [ 3s] ++ cat _current_flavor [ 3s] + python_flavor=python2 [ 3s] + '[' -z python2 ']' [ 3s] + '[' python2 '!=' python3 ']' [ 3s] + '[' -d build ']' [ 3s] + mv build _build.python2 [ 3s] + '[' -d _build.python3 ']' [ 3s] + echo python3 [ 3s] + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' [ 3s] running build [ 3s] running build_py [ 3s] creating build [ 3s] creating build/lib [ 3s] creating build/lib/virtualenv [ 3s] copying src/virtualenv/__init__.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/__main__.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/error.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/info.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/pyenv_cfg.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/report.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/session.py -> build/lib/virtualenv [ 3s] copying src/virtualenv/version.py -> build/lib/virtualenv [ 3s] creating build/lib/virtualenv/activation [ 3s] copying src/virtualenv/activation/__init__.py -> build/lib/virtualenv/activation [ 3s] copying src/virtualenv/activation/activator.py -> build/lib/virtualenv/activation [ 3s] copying src/virtualenv/activation/via_template.py -> build/lib/virtualenv/activation [ 3s] creating build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/__init__.py -> build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/convert.py -> build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/env_var.py -> build/lib/virtualenv/config [ 3s] copying src/virtualenv/config/ini.py -> build/lib/virtualenv/config [ 3s] creating build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/__init__.py -> build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/creator.py -> build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/debug.py -> build/lib/virtualenv/create [ 3s] copying src/virtualenv/create/describe.py -> build/lib/virtualenv/create [ 3s] creating build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/__init__.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/builtin.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/cached_py_info.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/discover.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/py_info.py -> build/lib/virtualenv/discovery [ 3s] copying src/virtualenv/discovery/py_spec.py -> build/lib/virtualenv/discovery [ 3s] creating build/lib/virtualenv/run [ 3s] copying src/virtualenv/run/__init__.py -> build/lib/virtualenv/run [ 3s] copying src/virtualenv/run/app_data.py -> build/lib/virtualenv/run [ 3s] creating build/lib/virtualenv/seed [ 3s] copying src/virtualenv/seed/__init__.py -> build/lib/virtualenv/seed [ 3s] copying src/virtualenv/seed/seeder.py -> build/lib/virtualenv/seed [ 3s] creating build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/__init__.py -> build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/lock.py -> build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/six.py -> build/lib/virtualenv/util [ 3s] copying src/virtualenv/util/zipapp.py -> build/lib/virtualenv/util [ 3s] creating build/lib/virtualenv/activation/bash [ 3s] copying src/virtualenv/activation/bash/__init__.py -> build/lib/virtualenv/activation/bash [ 3s] creating build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/batch/__init__.py -> build/lib/virtualenv/activation/batch [ 3s] creating build/lib/virtualenv/activation/cshell [ 3s] copying src/virtualenv/activation/cshell/__init__.py -> build/lib/virtualenv/activation/cshell [ 3s] creating build/lib/virtualenv/activation/fish [ 3s] copying src/virtualenv/activation/fish/__init__.py -> build/lib/virtualenv/activation/fish [ 3s] creating build/lib/virtualenv/activation/powershell [ 3s] copying src/virtualenv/activation/powershell/__init__.py -> build/lib/virtualenv/activation/powershell [ 3s] creating build/lib/virtualenv/activation/python [ 3s] copying src/virtualenv/activation/python/__init__.py -> build/lib/virtualenv/activation/python [ 3s] copying src/virtualenv/activation/python/activate_this.py -> build/lib/virtualenv/activation/python [ 3s] creating build/lib/virtualenv/activation/xonsh [ 3s] copying src/virtualenv/activation/xonsh/__init__.py -> build/lib/virtualenv/activation/xonsh [ 3s] creating build/lib/virtualenv/config/cli [ 3s] copying src/virtualenv/config/cli/__init__.py -> build/lib/virtualenv/config/cli [ 3s] copying src/virtualenv/config/cli/parser.py -> build/lib/virtualenv/config/cli [ 3s] creating build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/__init__.py -> build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/_virtualenv.py -> build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/api.py -> build/lib/virtualenv/create/via_global_ref [ 3s] copying src/virtualenv/create/via_global_ref/venv.py -> build/lib/virtualenv/create/via_global_ref [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/builtin_way.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/ref.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] copying src/virtualenv/create/via_global_ref/builtin/via_global_self_do.py -> build/lib/virtualenv/create/via_global_ref/builtin [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/common.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/cpython2.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/cpython3.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] copying src/virtualenv/create/via_global_ref/builtin/cpython/mac_os.py -> build/lib/virtualenv/create/via_global_ref/builtin/cpython [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/common.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] copying src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py -> build/lib/virtualenv/create/via_global_ref/builtin/pypy [ 3s] creating build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] copying src/virtualenv/create/via_global_ref/builtin/python2/__init__.py -> build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] copying src/virtualenv/create/via_global_ref/builtin/python2/python2.py -> build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] copying src/virtualenv/create/via_global_ref/builtin/python2/site.py -> build/lib/virtualenv/create/via_global_ref/builtin/python2 [ 3s] creating build/lib/virtualenv/discovery/windows [ 3s] copying src/virtualenv/discovery/windows/__init__.py -> build/lib/virtualenv/discovery/windows [ 3s] copying src/virtualenv/discovery/windows/pep514.py -> build/lib/virtualenv/discovery/windows [ 3s] creating build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/__init__.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/activators.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/base.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/creators.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/discovery.py -> build/lib/virtualenv/run/plugin [ 3s] copying src/virtualenv/run/plugin/seeders.py -> build/lib/virtualenv/run/plugin [ 3s] creating build/lib/virtualenv/seed/embed [ 3s] copying src/virtualenv/seed/embed/__init__.py -> build/lib/virtualenv/seed/embed [ 3s] copying src/virtualenv/seed/embed/base_embed.py -> build/lib/virtualenv/seed/embed [ 3s] copying src/virtualenv/seed/embed/pip_invoke.py -> build/lib/virtualenv/seed/embed [ 3s] creating build/lib/virtualenv/seed/via_app_data [ 3s] copying src/virtualenv/seed/via_app_data/__init__.py -> build/lib/virtualenv/seed/via_app_data [ 3s] copying src/virtualenv/seed/via_app_data/via_app_data.py -> build/lib/virtualenv/seed/via_app_data [ 3s] creating build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/__init__.py -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/acquire.py -> build/lib/virtualenv/seed/embed/wheels [ 3s] creating build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/__init__.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/base.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/copy.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] copying src/virtualenv/seed/via_app_data/pip_install/symlink.py -> build/lib/virtualenv/seed/via_app_data/pip_install [ 3s] creating build/lib/virtualenv/util/path [ 3s] copying src/virtualenv/util/path/__init__.py -> build/lib/virtualenv/util/path [ 3s] copying src/virtualenv/util/path/_permission.py -> build/lib/virtualenv/util/path [ 3s] copying src/virtualenv/util/path/_sync.py -> build/lib/virtualenv/util/path [ 3s] creating build/lib/virtualenv/util/subprocess [ 3s] copying src/virtualenv/util/subprocess/__init__.py -> build/lib/virtualenv/util/subprocess [ 3s] copying src/virtualenv/util/subprocess/_win_subprocess.py -> build/lib/virtualenv/util/subprocess [ 3s] creating build/lib/virtualenv/util/path/_pathlib [ 3s] copying src/virtualenv/util/path/_pathlib/__init__.py -> build/lib/virtualenv/util/path/_pathlib [ 3s] copying src/virtualenv/util/path/_pathlib/via_os_path.py -> build/lib/virtualenv/util/path/_pathlib [ 3s] copying src/virtualenv/activation/bash/activate.sh -> build/lib/virtualenv/activation/bash [ 3s] copying src/virtualenv/activation/batch/activate.bat -> build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/batch/deactivate.bat -> build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/batch/pydoc.bat -> build/lib/virtualenv/activation/batch [ 3s] copying src/virtualenv/activation/cshell/activate.csh -> build/lib/virtualenv/activation/cshell [ 3s] copying src/virtualenv/activation/fish/activate.fish -> build/lib/virtualenv/activation/fish [ 3s] copying src/virtualenv/activation/powershell/activate.ps1 -> build/lib/virtualenv/activation/powershell [ 3s] copying src/virtualenv/activation/xonsh/activate.xsh -> build/lib/virtualenv/activation/xonsh [ 3s] copying src/virtualenv/seed/embed/wheels/pip-19.1.1-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/pip-20.0.2-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/setuptools-43.0.0-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/setuptools-44.0.0-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/setuptools-46.0.0-py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/wheel-0.33.6-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] copying src/virtualenv/seed/embed/wheels/wheel-0.34.2-py2.py3-none-any.whl -> build/lib/virtualenv/seed/embed/wheels [ 3s] + RPM_EC=0 [ 3s] ++ jobs -p [ 3s] + exit 0 [ 3s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gHYHEV [ 3s] + umask 022 [ 3s] + cd /home/abuild/rpmbuild/BUILD [ 3s] + cd virtualenv-20.0.10 [ 3s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 20.0.10-0 --unique-debug-suffix -20.0.10-0.x86_64 --unique-debug-src-base python-virtualenv-test-20.0.10-0.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10 [ 3s] + /usr/lib/rpm/brp-compress [ 3s] + /usr/lib/rpm/brp-suse [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 3s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k4useV [ 3s] + umask 022 [ 3s] + cd /home/abuild/rpmbuild/BUILD [ 3s] + cd virtualenv-20.0.10 [ 3s] + export LANG=en_US.UTF8 [ 3s] + LANG=en_US.UTF8 [ 3s] ++ '[' -f _current_flavor ']' [ 3s] ++ cat _current_flavor [ 3s] + python_flavor=python3 [ 3s] + '[' -z python3 ']' [ 3s] + '[' python3 '!=' python2 ']' [ 3s] + '[' -d build ']' [ 3s] + mv build _build.python3 [ 3s] + '[' -d _build.python2 ']' [ 3s] + mv _build.python2 build [ 3s] + echo python2 [ 3s] + PYTHONPATH=:/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages [ 3s] + py.test-2.7 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_create_distutils_cfg or test_failed_to_find_implementation or test_py_info_cache_clear or test_py_info_cached_symlink)' [ 4s] ============================= test session starts ============================== [ 4s] platform linux2 -- Python 2.7.17, pytest-4.6.9, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python2 [ 4s] cachedir: .pytest_cache [ 4s] rootdir: /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10, inifile: setup.cfg [ 4s] plugins: env-0.6.2, timeout-1.3.4, mock-2.0.0 [ 4s] collecting ... collected 196 items / 6 deselected / 190 selected [ 4s] [ 4s] tests/unit/test_run.py::test_help PASSED [ 0%] [ 4s] tests/unit/test_run.py::test_version PASSED [ 1%] [ 4s] tests/unit/test_util.py::test_run_fail PASSED [ 1%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[BatchActivator] PASSED [ 2%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[PowerShellActivator] PASSED [ 2%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[PythonActivator] PASSED [ 3%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[BashActivator] PASSED [ 3%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[FishActivator] PASSED [ 4%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_no_support_windows[CShellActivator] PASSED [ 4%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[BashActivator] PASSED [ 5%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[CShellActivator] PASSED [ 5%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[FishActivator] PASSED [ 6%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[PowerShellActivator] PASSED [ 6%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[PythonActivator] PASSED [ 7%] [ 4s] tests/unit/activation/test_activation_support.py::test_activator_no_support_posix[BatchActivator] PASSED [ 7%] [ 5s] tests/unit/activation/test_bash.py::test_bash[with_prompt] PASSED [ 8%] [ 5s] tests/unit/activation/test_batch.py::test_batch[with_prompt] SKIPPED [ 8%] [ 5s] tests/unit/activation/test_csh.py::test_csh[with_prompt] SKIPPED [ 9%] [ 5s] tests/unit/activation/test_fish.py::test_fish[with_prompt] SKIPPED [ 10%] [ 5s] tests/unit/activation/test_python_activator.py::test_python[with_prompt] PASSED [ 10%] [ 5s] tests/unit/activation/test_bash.py::test_bash[no_prompt] PASSED [ 11%] [ 5s] tests/unit/activation/test_batch.py::test_batch[no_prompt] SKIPPED [ 11%] [ 5s] tests/unit/activation/test_csh.py::test_csh[no_prompt] SKIPPED [ 12%] [ 5s] tests/unit/activation/test_fish.py::test_fish[no_prompt] SKIPPED [ 12%] [ 5s] tests/unit/activation/test_python_activator.py::test_python[no_prompt] PASSED [ 13%] [ 5s] tests/unit/config/test___main__.py::test_main PASSED [ 13%] [ 5s] tests/unit/config/test_env_var.py::test_value_ok PASSED [ 14%] [ 6s] tests/unit/config/test_env_var.py::test_value_bad PASSED [ 14%] [ 6s] tests/unit/config/test_env_var.py::test_extra_search_dir PASSED [ 15%] [ 6s] tests/unit/config/cli/test_parser.py::test_flag PASSED [ 15%] [ 6s] tests/unit/create/test_creator.py::test_os_path_sep_not_allowed PASSED [ 16%] [ 6s] tests/unit/create/test_creator.py::test_destination_exists_file PASSED [ 16%] [ 6s] tests/unit/create/test_creator.py::test_destination_not_write_able PASSED [ 17%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython2-posix-copies-isolated] PASSED [ 17%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython2-posix-copies-global] PASSED [ 18%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython2-posix-symlinks-isolated] PASSED [ 18%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython2-posix-symlinks-global] PASSED [ 19%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython2-posix-copies-isolated] SKIPPED [ 20%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython2-posix-copies-global] SKIPPED [ 20%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython2-posix-symlinks-isolated] SKIPPED [ 21%] [ 7s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython2-posix-symlinks-global] SKIPPED [ 21%] [ 8s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython2-posix-copies-isolated] PASSED [ 22%] [ 8s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython2-posix-copies-global] PASSED [ 22%] [ 8s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython2-posix-symlinks-isolated] PASSED [ 23%] [ 8s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython2-posix-symlinks-global] PASSED [ 23%] [ 8s] tests/unit/create/test_creator.py::test_venv_fails_not_inline SKIPPED [ 24%] [ 8s] tests/unit/create/test_creator.py::test_debug_bad_virtualenv PASSED [ 24%] [ 8s] tests/unit/create/test_creator.py::test_create_clear_resets[clear-cpython2-posix] PASSED [ 25%] [ 8s] tests/unit/create/test_creator.py::test_create_clear_resets[no_clear-cpython2-posix] PASSED [ 25%] [ 8s] tests/unit/create/test_creator.py::test_prompt_set[None-cpython2-posix] PASSED [ 26%] [ 8s] tests/unit/create/test_creator.py::test_prompt_set[magic-cpython2-posix] PASSED [ 26%] [ 9s] tests/unit/create/test_creator.py::test_create_parallel PASSED [ 27%] [ 9s] tests/unit/create/test_creator.py::test_creator_input_passed_is_abs PASSED [ 27%] [ 9s] tests/unit/create/test_creator.py::test_creator_replaces_altsep_in_dest SKIPPED [ 28%] [ 9s] tests/unit/create/test_creator.py::test_create_long_path PASSED [ 28%] [ 10s] tests/unit/create/test_creator.py::test_python_path[on] PASSED [ 29%] [ 10s] tests/unit/create/test_creator.py::test_python_path[off] PASSED [ 30%] [ 10s] tests/unit/discovery/test_discovery.py::test_discovery_via_path[mixed] PASSED [ 30%] [ 10s] tests/unit/discovery/test_discovery.py::test_discovery_via_path[lower] PASSED [ 31%] [ 10s] tests/unit/discovery/test_discovery.py::test_discovery_via_path[upper] PASSED [ 31%] [ 10s] tests/unit/discovery/test_discovery.py::test_discovery_via_path_not_found PASSED [ 32%] [ 10s] tests/unit/discovery/test_py_spec.py::test_bad_py_spec PASSED [ 32%] [ 10s] tests/unit/discovery/test_py_spec.py::test_py_spec_first_digit_only_major PASSED [ 33%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_path_ok PASSED [ 33%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_path_nok PASSED [ 34%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_arch PASSED [ 34%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[py-CPython] PASSED [ 35%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[py-python] PASSED [ 35%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[CPython-python] PASSED [ 36%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[jython-jython] PASSED [ 36%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[CPython-cpython] PASSED [ 37%] [ 10s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_nok PASSED [ 37%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-] PASSED [ 38%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-2] PASSED [ 38%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-2.7] PASSED [ 39%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-2.7.17] PASSED [ 40%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2-] PASSED [ 40%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2-2] PASSED [ 41%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2-2.7] PASSED [ 41%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2-2.7.17] PASSED [ 42%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7-] PASSED [ 42%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7-2] PASSED [ 43%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7-2.7] PASSED [ 43%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7-2.7.17] PASSED [ 44%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7.17-] PASSED [ 44%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7.17-2] PASSED [ 45%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7.17-2.7] PASSED [ 45%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[2.7.17-2.7.17] PASSED [ 46%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2-1] PASSED [ 46%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2-3] PASSED [ 47%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7-1] PASSED [ 47%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7-1.7] PASSED [ 48%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7-2.6] PASSED [ 48%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7-2.8] PASSED [ 49%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7-3] PASSED [ 50%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7-3.7] PASSED [ 50%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-1] PASSED [ 51%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-1.7] PASSED [ 51%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-1.7.17] PASSED [ 52%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-2.6] PASSED [ 52%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-2.6.17] PASSED [ 53%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-2.7.16] PASSED [ 53%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-2.7.18] PASSED [ 54%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-2.8] PASSED [ 54%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-2.8.17] PASSED [ 55%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-3] PASSED [ 55%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-3.7] PASSED [ 56%] [ 10s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[2.7.17-3.7.17] PASSED [ 56%] [ 10s] tests/unit/discovery/test_py_spec.py::test_relative_spec PASSED [ 57%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_current_as_json PASSED [ 57%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_bad_exe_py_info_raise PASSED [ 58%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_bad_exe_py_info_no_raise PASSED [ 58%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[/usr/bin/python2] PASSED [ 59%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython2] PASSED [ 60%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython2-64] PASSED [ 60%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython2.7] PASSED [ 61%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython2.7-64] PASSED [ 61%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython2.7.17] PASSED [ 62%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython2.7.17-64] PASSED [ 62%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python2] PASSED [ 63%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python2-64] PASSED [ 63%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python2.7] PASSED [ 64%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python2.7-64] PASSED [ 64%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python2.7.17] PASSED [ 65%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python2.7.17-64] PASSED [ 65%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython2] PASSED [ 66%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython2-64] PASSED [ 66%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython2.7] PASSED [ 67%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython2.7-64] PASSED [ 67%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython2.7.17] PASSED [ 68%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython2.7.17-64] PASSED [ 68%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_arch PASSED [ 69%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[1] PASSED [ 70%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3] PASSED [ 70%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[1.7] PASSED [ 71%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.7] PASSED [ 71%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.6] PASSED [ 72%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.8] PASSED [ 72%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[1.7.17] PASSED [ 73%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.7.17] PASSED [ 73%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.6.17] PASSED [ 74%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.8.17] PASSED [ 74%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.7.16] PASSED [ 75%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.7.18] PASSED [ 75%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_py_info_cached_error PASSED [ 76%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_system_executable_no_exact_match[target0-0-discovered0] PASSED [ 76%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_system_executable_no_exact_match[target1-0-discovered1] PASSED [ 77%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_system_executable_no_exact_match[target2-0-discovered2] PASSED [ 77%] [ 10s] tests/unit/discovery/py_info/test_py_info.py::test_py_info_ignores_distutils_config PASSED [ 78%] [ 10s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_empty_folder PASSED [ 78%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7.17-64-bin] PASSED [ 79%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7.17-64-.] PASSED [ 80%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7.17-bin] PASSED [ 80%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7.17-.] PASSED [ 81%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7-64-bin] PASSED [ 81%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7-64-.] PASSED [ 82%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7-bin] PASSED [ 82%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2.7-.] PASSED [ 83%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2-64-bin] PASSED [ 83%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2-64-.] PASSED [ 84%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2-bin] PASSED [ 84%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-2-.] PASSED [ 85%] [ 11s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7.17-64-bin] PASSED [ 85%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7.17-64-.] PASSED [ 86%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7.17-bin] PASSED [ 86%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7.17-.] PASSED [ 87%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7-64-bin] PASSED [ 87%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7-64-.] PASSED [ 88%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7-bin] PASSED [ 88%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2.7-.] PASSED [ 89%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2-64-bin] PASSED [ 90%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2-64-.] PASSED [ 90%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2-bin] PASSED [ 91%] [ 12s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-2-.] PASSED [ 91%] [ 12s] tests/unit/discovery/windows/test_windows_pep514.py::test_pep514 SKIPPED [ 92%] [ 12s] tests/unit/discovery/windows/test_windows_pep514.py::test_pep514_run SKIPPED [ 92%] [ 13s] tests/unit/seed/test_boostrap_link_via_app_data.py::test_base_bootstrap_link_via_app_data_not_writable PASSED [ 93%] [ 14s] tests/unit/seed/test_extra_install.py::test_can_build_c_extensions[cpython2-posix] PASSED [ 93%] [ 14s] tests/unit/activation/test_powershell.py::test_powershell[with_prompt] SKIPPED [ 94%] [ 14s] tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] SKIPPED [ 94%] [ 14s] tests/unit/activation/test_powershell.py::test_powershell[no_prompt] SKIPPED [ 95%] [ 14s] tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] SKIPPED [ 95%] [ 15s] tests/unit/create/test_creator.py::test_cross_major PASSED [ 96%] [ 15s] tests/unit/create/test_interpreters.py::test_failed_to_find_bad_spec PASSED [ 96%] [ 33s] tests/unit/seed/test_boostrap_link_via_app_data.py::test_base_bootstrap_link_via_app_data[False] PASSED [ 97%] [ 51s] tests/unit/seed/test_boostrap_link_via_app_data.py::test_base_bootstrap_link_via_app_data[True] PASSED [ 97%] [ 75s] tests/unit/seed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke PASSED [ 98%] [ 75s] tests/integration/test_zipapp.py::test_zipapp_help SKIPPED [ 98%] [ 75s] tests/integration/test_zipapp.py::test_zipapp_create[app-data] SKIPPED [ 99%] [ 75s] tests/integration/test_zipapp.py::test_zipapp_create[pip] SKIPPED [100%] [ 75s] [ 75s] =============================== warnings summary =============================== [ 75s] tests/unit/config/test_env_var.py::test_extra_search_dir [ 75s] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/config/test_env_var.py:43: PytestWarning: Value of environment variable VIRTUALENV_EXTRA_SEARCH_DIR type should be str, but got u'a\n0\nb:c' (type: unicode); converted to str implicitly [ 75s] monkeypatch.setenv(str("VIRTUALENV_EXTRA_SEARCH_DIR"), value) [ 75s] [ 75s] -- Docs: https://docs.pytest.org/en/latest/warnings.html [ 75s] =========================== short test summary info ============================ [ 75s] SKIPPED [2] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:228: BatchActivator not supported [ 75s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:231: PowerShell(\nversion=OSError(2, 'No such file or directory'),\ncreator=CPython2Posix(dest=/tmp/pytest-of-abuild/pytest-39/activation-tester-env3/e-$ \xe8\u0440\u0442\U0001f692\u265e\u4e2d\u7247-j, clear=False, global=False),\ninterpreter=PythonInfo({u'base_exec_prefix': None, u'system_stdlib': u'/usr/lib64/python2.7', u'has_venv': False, u'prefix': u'/usr', u'stdout_encoding': u'utf-8', u'executable': '/usr/bin/python2', u'implementation': u'CPython', u'exec_prefix': u'/usr', u'platform': u'linux2', u'version': u'2.7.17 (default, Oct 24 2019, 12:43:41) [GCC]', u'sysconfig_paths': {u'platstdlib': u'{platbase}/lib64/python{py_version_short}', u'platlib': u'{platbase}/lib64/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib64/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, u'base_prefix': None, u'system_stdlib_platform': u'/usr/lib64/python2.7', u'file_system_encoding': u'UTF-8', u'version_info': VersionInfo(major=2, minor=7, micro=17, releaselevel=u'final', serial=0), u'sysconfig_vars': {u'base': u'/usr', u'platbase': u'/usr', u'PYTHONFRAMEWORK': u'', u'py_version_short': u'2.7'}, u'path': [u'/usr/lib/python2.7/site-packages/virtualenv/discovery', u'/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10', u'/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages', u'/usr/lib/python27.zip', u'/usr/lib64/python2.7', u'/usr/lib64/python2.7/plat-linux2', u'/usr/lib64/python2.7/lib-tk', u'/usr/lib64/python2.7/lib-old', u'/usr/lib64/python2.7/lib-dynload', u'/usr/lib64/python2.7/site-packages', u'/usr/local/lib64/python2.7/site-packages', u'/usr/local/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages'], u'max_size': 9223372036854775807, u'real_prefix': None, u'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'scripts': u'bin', u'data': u'', u'platlib': u'lib64/python2.7/site-packages'}, u'architecture': 64, u'original_executable': u'/usr/bin/python2', u'os': u'posix', u'system_executable': u'/usr/bin/python2'})) is not available due [Errno 2] No such file or directory [ 75s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:231: Csh(\nversion=OSError(2, 'No such file or directory'),\ncreator=CPython2Posix(dest=/tmp/pytest-of-abuild/pytest-39/activation-tester-env0/e-$ \xe8\u0440\u0442\U0001f692\u265e\u4e2d\u7247-j, clear=False, global=False),\ninterpreter=PythonInfo({u'base_exec_prefix': None, u'system_stdlib': u'/usr/lib64/python2.7', u'has_venv': False, u'prefix': u'/usr', u'stdout_encoding': u'utf-8', u'executable': '/usr/bin/python2', u'implementation': u'CPython', u'exec_prefix': u'/usr', u'platform': u'linux2', u'version': u'2.7.17 (default, Oct 24 2019, 12:43:41) [GCC]', u'sysconfig_paths': {u'platstdlib': u'{platbase}/lib64/python{py_version_short}', u'platlib': u'{platbase}/lib64/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib64/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, u'base_prefix': None, u'system_stdlib_platform': u'/usr/lib64/python2.7', u'file_system_encoding': u'UTF-8', u'version_info': VersionInfo(major=2, minor=7, micro=17, releaselevel=u'final', serial=0), u'sysconfig_vars': {u'base': u'/usr', u'platbase': u'/usr', u'PYTHONFRAMEWORK': u'', u'py_version_short': u'2.7'}, u'path': [u'/usr/lib/python2.7/site-packages/virtualenv/discovery', u'/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10', u'/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages', u'/usr/lib/python27.zip', u'/usr/lib64/python2.7', u'/usr/lib64/python2.7/plat-linux2', u'/usr/lib64/python2.7/lib-tk', u'/usr/lib64/python2.7/lib-old', u'/usr/lib64/python2.7/lib-dynload', u'/usr/lib64/python2.7/site-packages', u'/usr/local/lib64/python2.7/site-packages', u'/usr/local/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages'], u'max_size': 9223372036854775807, u'real_prefix': None, u'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'scripts': u'bin', u'data': u'', u'platlib': u'lib64/python2.7/site-packages'}, u'architecture': 64, u'original_executable': u'/usr/bin/python2', u'os': u'posix', u'system_executable': u'/usr/bin/python2'})) is not available due [Errno 2] No such file or directory [ 75s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:231: Fish(\nversion=OSError(2, 'No such file or directory'),\ncreator=CPython2Posix(dest=/tmp/pytest-of-abuild/pytest-39/activation-tester-env0/e-$ \xe8\u0440\u0442\U0001f692\u265e\u4e2d\u7247-j, clear=False, global=False),\ninterpreter=PythonInfo({u'base_exec_prefix': None, u'system_stdlib': u'/usr/lib64/python2.7', u'has_venv': False, u'prefix': u'/usr', u'stdout_encoding': u'utf-8', u'executable': '/usr/bin/python2', u'implementation': u'CPython', u'exec_prefix': u'/usr', u'platform': u'linux2', u'version': u'2.7.17 (default, Oct 24 2019, 12:43:41) [GCC]', u'sysconfig_paths': {u'platstdlib': u'{platbase}/lib64/python{py_version_short}', u'platlib': u'{platbase}/lib64/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib64/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, u'base_prefix': None, u'system_stdlib_platform': u'/usr/lib64/python2.7', u'file_system_encoding': u'UTF-8', u'version_info': VersionInfo(major=2, minor=7, micro=17, releaselevel=u'final', serial=0), u'sysconfig_vars': {u'base': u'/usr', u'platbase': u'/usr', u'PYTHONFRAMEWORK': u'', u'py_version_short': u'2.7'}, u'path': [u'/usr/lib/python2.7/site-packages/virtualenv/discovery', u'/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10', u'/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages', u'/usr/lib/python27.zip', u'/usr/lib64/python2.7', u'/usr/lib64/python2.7/plat-linux2', u'/usr/lib64/python2.7/lib-tk', u'/usr/lib64/python2.7/lib-old', u'/usr/lib64/python2.7/lib-dynload', u'/usr/lib64/python2.7/site-packages', u'/usr/local/lib64/python2.7/site-packages', u'/usr/local/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages'], u'max_size': 9223372036854775807, u'real_prefix': None, u'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'scripts': u'bin', u'data': u'', u'platlib': u'lib64/python2.7/site-packages'}, u'architecture': 64, u'original_executable': u'/usr/bin/python2', u'os': u'posix', u'system_executable': u'/usr/bin/python2'})) is not available due [Errno 2] No such file or directory [ 75s] SKIPPED [1] tests/unit/create/test_creator.py:339: OS does not have an altsep [ 75s] SKIPPED [1] tests/unit/discovery/windows/test_windows_pep514.py:33: no Windows registry [ 75s] SKIPPED [1] tests/unit/create/test_creator.py:210: requires interpreter with venv [ 75s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:231: Csh(\nversion=OSError(2, 'No such file or directory'),\ncreator=CPython2Posix(dest=/tmp/pytest-of-abuild/pytest-39/activation-tester-env1/e-$ \xe8\u0440\u0442\U0001f692\u265e\u4e2d\u7247-j, clear=False, global=False),\ninterpreter=PythonInfo({u'base_exec_prefix': None, u'system_stdlib': u'/usr/lib64/python2.7', u'has_venv': False, u'prefix': u'/usr', u'stdout_encoding': u'utf-8', u'executable': '/usr/bin/python2', u'implementation': u'CPython', u'exec_prefix': u'/usr', u'platform': u'linux2', u'version': u'2.7.17 (default, Oct 24 2019, 12:43:41) [GCC]', u'sysconfig_paths': {u'platstdlib': u'{platbase}/lib64/python{py_version_short}', u'platlib': u'{platbase}/lib64/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib64/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, u'base_prefix': None, u'system_stdlib_platform': u'/usr/lib64/python2.7', u'file_system_encoding': u'UTF-8', u'version_info': VersionInfo(major=2, minor=7, micro=17, releaselevel=u'final', serial=0), u'sysconfig_vars': {u'base': u'/usr', u'platbase': u'/usr', u'PYTHONFRAMEWORK': u'', u'py_version_short': u'2.7'}, u'path': [u'/usr/lib/python2.7/site-packages/virtualenv/discovery', u'/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10', u'/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages', u'/usr/lib/python27.zip', u'/usr/lib64/python2.7', u'/usr/lib64/python2.7/plat-linux2', u'/usr/lib64/python2.7/lib-tk', u'/usr/lib64/python2.7/lib-old', u'/usr/lib64/python2.7/lib-dynload', u'/usr/lib64/python2.7/site-packages', u'/usr/local/lib64/python2.7/site-packages', u'/usr/local/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages'], u'max_size': 9223372036854775807, u'real_prefix': None, u'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'scripts': u'bin', u'data': u'', u'platlib': u'lib64/python2.7/site-packages'}, u'architecture': 64, u'original_executable': u'/usr/bin/python2', u'os': u'posix', u'system_executable': u'/usr/bin/python2'})) is not available due [Errno 2] No such file or directory [ 75s] SKIPPED [4] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/create/conftest.py:96: requires interpreter with venv [ 75s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:231: PowerShell(\nversion=OSError(2, 'No such file or directory'),\ncreator=CPython2Posix(dest=/tmp/pytest-of-abuild/pytest-39/activation-tester-env2/e-$ \xe8\u0440\u0442\U0001f692\u265e\u4e2d\u7247-j, clear=False, global=False),\ninterpreter=PythonInfo({u'base_exec_prefix': None, u'system_stdlib': u'/usr/lib64/python2.7', u'has_venv': False, u'prefix': u'/usr', u'stdout_encoding': u'utf-8', u'executable': '/usr/bin/python2', u'implementation': u'CPython', u'exec_prefix': u'/usr', u'platform': u'linux2', u'version': u'2.7.17 (default, Oct 24 2019, 12:43:41) [GCC]', u'sysconfig_paths': {u'platstdlib': u'{platbase}/lib64/python{py_version_short}', u'platlib': u'{platbase}/lib64/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib64/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, u'base_prefix': None, u'system_stdlib_platform': u'/usr/lib64/python2.7', u'file_system_encoding': u'UTF-8', u'version_info': VersionInfo(major=2, minor=7, micro=17, releaselevel=u'final', serial=0), u'sysconfig_vars': {u'base': u'/usr', u'platbase': u'/usr', u'PYTHONFRAMEWORK': u'', u'py_version_short': u'2.7'}, u'path': [u'/usr/lib/python2.7/site-packages/virtualenv/discovery', u'/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10', u'/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages', u'/usr/lib/python27.zip', u'/usr/lib64/python2.7', u'/usr/lib64/python2.7/plat-linux2', u'/usr/lib64/python2.7/lib-tk', u'/usr/lib64/python2.7/lib-old', u'/usr/lib64/python2.7/lib-dynload', u'/usr/lib64/python2.7/site-packages', u'/usr/local/lib64/python2.7/site-packages', u'/usr/local/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages'], u'max_size': 9223372036854775807, u'real_prefix': None, u'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'scripts': u'bin', u'data': u'', u'platlib': u'lib64/python2.7/site-packages'}, u'architecture': 64, u'original_executable': u'/usr/bin/python2', u'os': u'posix', u'system_executable': u'/usr/bin/python2'})) is not available due [Errno 2] No such file or directory [ 75s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:231: Fish(\nversion=OSError(2, 'No such file or directory'),\ncreator=CPython2Posix(dest=/tmp/pytest-of-abuild/pytest-39/activation-tester-env1/e-$ \xe8\u0440\u0442\U0001f692\u265e\u4e2d\u7247-j, clear=False, global=False),\ninterpreter=PythonInfo({u'base_exec_prefix': None, u'system_stdlib': u'/usr/lib64/python2.7', u'has_venv': False, u'prefix': u'/usr', u'stdout_encoding': u'utf-8', u'executable': '/usr/bin/python2', u'implementation': u'CPython', u'exec_prefix': u'/usr', u'platform': u'linux2', u'version': u'2.7.17 (default, Oct 24 2019, 12:43:41) [GCC]', u'sysconfig_paths': {u'platstdlib': u'{platbase}/lib64/python{py_version_short}', u'platlib': u'{platbase}/lib64/python{py_version_short}/site-packages', u'purelib': u'{base}/lib/python{py_version_short}/site-packages', u'stdlib': u'{base}/lib64/python{py_version_short}', u'scripts': u'{base}/bin', u'include': u'{base}/include/python{py_version_short}', u'data': u'{base}'}, u'base_prefix': None, u'system_stdlib_platform': u'/usr/lib64/python2.7', u'file_system_encoding': u'UTF-8', u'version_info': VersionInfo(major=2, minor=7, micro=17, releaselevel=u'final', serial=0), u'sysconfig_vars': {u'base': u'/usr', u'platbase': u'/usr', u'PYTHONFRAMEWORK': u'', u'py_version_short': u'2.7'}, u'path': [u'/usr/lib/python2.7/site-packages/virtualenv/discovery', u'/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10', u'/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python2.7/site-packages', u'/usr/lib/python27.zip', u'/usr/lib64/python2.7', u'/usr/lib64/python2.7/plat-linux2', u'/usr/lib64/python2.7/lib-tk', u'/usr/lib64/python2.7/lib-old', u'/usr/lib64/python2.7/lib-dynload', u'/usr/lib64/python2.7/site-packages', u'/usr/local/lib64/python2.7/site-packages', u'/usr/local/lib/python2.7/site-packages', u'/usr/lib/python2.7/site-packages'], u'max_size': 9223372036854775807, u'real_prefix': None, u'distutils_install': {u'purelib': u'lib/python2.7/site-packages', u'headers': u'include/python2.7/UNKNOWN', u'scripts': u'bin', u'data': u'', u'platlib': u'lib64/python2.7/site-packages'}, u'architecture': 64, u'original_executable': u'/usr/bin/python2', u'os': u'posix', u'system_executable': u'/usr/bin/python2'})) is not available due [Errno 2] No such file or directory [ 75s] SKIPPED [2] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:228: XonshActivator not supported [ 75s] SKIPPED [2] tests/integration/test_zipapp.py:85: need --int option to run [ 75s] SKIPPED [1] tests/integration/test_zipapp.py:78: need --int option to run [ 75s] SKIPPED [1] tests/unit/discovery/windows/test_windows_pep514.py:14: no Windows registry [ 75s] ====== 169 passed, 21 skipped, 6 deselected, 1 warnings in 71.62 seconds ======= [ 75s] ++ '[' -f _current_flavor ']' [ 75s] ++ cat _current_flavor [ 75s] + python_flavor=python2 [ 75s] + '[' -z python2 ']' [ 75s] + '[' python2 '!=' python3 ']' [ 75s] + '[' -d build ']' [ 75s] + mv build _build.python2 [ 75s] + '[' -d _build.python3 ']' [ 75s] + mv _build.python3 build [ 75s] + echo python3 [ 75s] + PYTHONPATH=:/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages [ 75s] + py.test-3.8 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_create_distutils_cfg or test_failed_to_find_implementation or test_py_info_cache_clear or test_py_info_cached_symlink)' [ 77s] ============================= test session starts ============================== [ 77s] platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python3 [ 77s] cachedir: .pytest_cache [ 77s] rootdir: /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10, inifile: setup.cfg [ 77s] plugins: xonsh-0.9.14, timeout-1.3.4, mock-2.0.0, env-0.6.2 [ 77s] collecting ... collected 214 items / 7 deselected / 207 selected [ 77s] [ 77s] tests/unit/test_run.py::test_help PASSED [ 0%] [ 77s] tests/unit/test_run.py::test_version PASSED [ 0%] [ 77s] tests/unit/test_util.py::test_run_fail PASSED [ 1%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[BatchActivator] PASSED [ 1%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[PowerShellActivator] PASSED [ 2%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[PythonActivator] PASSED [ 2%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[BashActivator] PASSED [ 3%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_windows[FishActivator] PASSED [ 3%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_no_support_windows[CShellActivator] PASSED [ 4%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[BashActivator] PASSED [ 4%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[CShellActivator] PASSED [ 5%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[FishActivator] PASSED [ 5%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[PowerShellActivator] PASSED [ 6%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_support_posix[PythonActivator] PASSED [ 6%] [ 77s] tests/unit/activation/test_activation_support.py::test_activator_no_support_posix[BatchActivator] PASSED [ 7%] [ 78s] tests/unit/activation/test_bash.py::test_bash[with_prompt] PASSED [ 7%] [ 78s] tests/unit/activation/test_batch.py::test_batch[with_prompt] SKIPPED [ 8%] [ 78s] tests/unit/activation/test_csh.py::test_csh[with_prompt] SKIPPED [ 8%] [ 78s] tests/unit/activation/test_fish.py::test_fish[with_prompt] SKIPPED [ 9%] [ 78s] tests/unit/activation/test_python_activator.py::test_python[with_prompt] PASSED [ 9%] [ 78s] tests/unit/activation/test_bash.py::test_bash[no_prompt] PASSED [ 10%] [ 78s] tests/unit/activation/test_batch.py::test_batch[no_prompt] SKIPPED [ 10%] [ 78s] tests/unit/activation/test_csh.py::test_csh[no_prompt] SKIPPED [ 11%] [ 78s] tests/unit/activation/test_fish.py::test_fish[no_prompt] SKIPPED [ 11%] [ 78s] tests/unit/activation/test_python_activator.py::test_python[no_prompt] PASSED [ 12%] [ 78s] tests/unit/config/test___main__.py::test_main PASSED [ 12%] [ 78s] tests/unit/config/test_env_var.py::test_value_ok PASSED [ 13%] [ 79s] tests/unit/config/test_env_var.py::test_value_bad PASSED [ 13%] [ 79s] tests/unit/config/test_env_var.py::test_extra_search_dir PASSED [ 14%] [ 79s] tests/unit/config/cli/test_parser.py::test_flag PASSED [ 14%] [ 79s] tests/unit/create/test_creator.py::test_os_path_sep_not_allowed PASSED [ 14%] [ 79s] tests/unit/create/test_creator.py::test_destination_exists_file PASSED [ 15%] [ 79s] tests/unit/create/test_creator.py::test_destination_not_write_able PASSED [ 15%] [ 79s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython3-posix-copies-isolated] PASSED [ 16%] [ 79s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython3-posix-copies-global] PASSED [ 16%] [ 79s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython3-posix-symlinks-isolated] PASSED [ 17%] [ 79s] tests/unit/create/test_creator.py::test_create_no_seed[root-cpython3-posix-symlinks-global] PASSED [ 17%] [ 80s] tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated] FAILED [ 18%] [ 80s] tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global] FAILED [ 18%] [ 80s] tests/unit/create/test_creator.py::test_create_no_seed[root-venv-symlinks-isolated] FAILED [ 19%] [ 80s] tests/unit/create/test_creator.py::test_create_no_seed[root-venv-symlinks-global] FAILED [ 19%] [ 80s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython3-posix-copies-isolated] PASSED [ 20%] [ 80s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython3-posix-copies-global] PASSED [ 20%] [ 81s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython3-posix-symlinks-isolated] PASSED [ 21%] [ 81s] tests/unit/create/test_creator.py::test_create_no_seed[venv-cpython3-posix-symlinks-global] PASSED [ 21%] [ 81s] tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated] FAILED [ 22%] [ 81s] tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global] FAILED [ 22%] [ 81s] tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-symlinks-isolated] FAILED [ 23%] [ 81s] tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-symlinks-global] FAILED [ 23%] [ 83s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython3-posix-copies-isolated] PASSED [ 24%] [ 83s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython3-posix-copies-global] PASSED [ 24%] [ 83s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython3-posix-symlinks-isolated] PASSED [ 25%] [ 83s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-cpython3-posix-symlinks-global] PASSED [ 25%] [ 84s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-venv-copies-isolated] PASSED [ 26%] [ 84s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-venv-copies-global] PASSED [ 26%] [ 84s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-venv-symlinks-isolated] PASSED [ 27%] [ 84s] tests/unit/create/test_creator.py::test_create_no_seed[old_virtualenv-venv-symlinks-global] PASSED [ 27%] [ 84s] tests/unit/create/test_creator.py::test_venv_fails_not_inline PASSED [ 28%] [ 84s] tests/unit/create/test_creator.py::test_debug_bad_virtualenv SKIPPED [ 28%] [ 85s] tests/unit/create/test_creator.py::test_create_clear_resets[clear-cpython3-posix] PASSED [ 28%] [ 85s] tests/unit/create/test_creator.py::test_create_clear_resets[clear-venv] PASSED [ 29%] [ 85s] tests/unit/create/test_creator.py::test_create_clear_resets[no_clear-cpython3-posix] PASSED [ 29%] [ 85s] tests/unit/create/test_creator.py::test_create_clear_resets[no_clear-venv] SKIPPED [ 30%] [ 85s] tests/unit/create/test_creator.py::test_prompt_set[None-cpython3-posix] PASSED [ 30%] [ 85s] tests/unit/create/test_creator.py::test_prompt_set[None-venv] PASSED [ 31%] [ 85s] tests/unit/create/test_creator.py::test_prompt_set[magic-cpython3-posix] PASSED [ 31%] [ 85s] tests/unit/create/test_creator.py::test_prompt_set[magic-venv] PASSED [ 32%] [ 86s] tests/unit/create/test_creator.py::test_create_parallel PASSED [ 32%] [ 86s] tests/unit/create/test_creator.py::test_creator_input_passed_is_abs PASSED [ 33%] [ 86s] tests/unit/create/test_creator.py::test_creator_replaces_altsep_in_dest SKIPPED [ 33%] [ 86s] tests/unit/create/test_creator.py::test_create_long_path PASSED [ 34%] [ 86s] tests/unit/create/test_creator.py::test_python_path[on] SKIPPED [ 34%] [ 86s] tests/unit/create/test_creator.py::test_python_path[off] SKIPPED [ 35%] [ 86s] tests/unit/discovery/test_discovery.py::test_discovery_via_path[mixed] PASSED [ 35%] [ 87s] tests/unit/discovery/test_discovery.py::test_discovery_via_path[lower] PASSED [ 36%] [ 87s] tests/unit/discovery/test_discovery.py::test_discovery_via_path[upper] PASSED [ 36%] [ 87s] tests/unit/discovery/test_discovery.py::test_discovery_via_path_not_found PASSED [ 37%] [ 87s] tests/unit/discovery/test_py_spec.py::test_bad_py_spec PASSED [ 37%] [ 87s] tests/unit/discovery/test_py_spec.py::test_py_spec_first_digit_only_major PASSED [ 38%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_path_ok PASSED [ 38%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_path_nok PASSED [ 39%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_arch PASSED [ 39%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[py-CPython] PASSED [ 40%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[py-python] PASSED [ 40%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[CPython-python] PASSED [ 41%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[jython-jython] PASSED [ 41%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_ok[CPython-cpython] PASSED [ 42%] [ 87s] tests/unit/discovery/test_py_spec.py::test_spec_satisfies_implementation_nok PASSED [ 42%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-] PASSED [ 42%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-3] PASSED [ 43%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-3.8] PASSED [ 43%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[-3.8.2] PASSED [ 44%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3-] PASSED [ 44%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3-3] PASSED [ 45%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3-3.8] PASSED [ 45%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3-3.8.2] PASSED [ 46%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8-] PASSED [ 46%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8-3] PASSED [ 47%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8-3.8] PASSED [ 47%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8-3.8.2] PASSED [ 48%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8.2-] PASSED [ 48%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8.2-3] PASSED [ 49%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8.2-3.8] PASSED [ 49%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_ok[3.8.2-3.8.2] PASSED [ 50%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3-2] PASSED [ 50%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3-4] PASSED [ 51%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8-2] PASSED [ 51%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8-2.8] PASSED [ 52%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8-3.7] PASSED [ 52%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8-3.9] PASSED [ 53%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8-4] PASSED [ 53%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8-4.8] PASSED [ 54%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-2] PASSED [ 54%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-2.8] PASSED [ 55%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-2.8.2] PASSED [ 55%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-3.7] PASSED [ 56%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-3.7.2] PASSED [ 56%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-3.8.1] PASSED [ 57%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-3.8.3] PASSED [ 57%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-3.9] PASSED [ 57%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-3.9.2] PASSED [ 58%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-4] PASSED [ 58%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-4.8] PASSED [ 59%] [ 87s] tests/unit/discovery/test_py_spec.py::test_version_satisfies_nok[3.8.2-4.8.2] PASSED [ 59%] [ 87s] tests/unit/discovery/test_py_spec.py::test_relative_spec PASSED [ 60%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_current_as_json PASSED [ 60%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_bad_exe_py_info_raise PASSED [ 61%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_bad_exe_py_info_no_raise PASSED [ 61%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[/usr/bin/python3] PASSED [ 62%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython3] PASSED [ 62%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython3-64] PASSED [ 63%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython3.8] PASSED [ 63%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython3.8-64] PASSED [ 64%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython3.8.2] PASSED [ 64%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[CPython3.8.2-64] PASSED [ 65%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python3] PASSED [ 65%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python3-64] PASSED [ 66%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python3.8] PASSED [ 66%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python3.8-64] PASSED [ 67%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python3.8.2] PASSED [ 67%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[python3.8.2-64] PASSED [ 68%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython3] PASSED [ 68%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython3-64] PASSED [ 69%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython3.8] PASSED [ 69%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython3.8-64] PASSED [ 70%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython3.8.2] PASSED [ 70%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_py_info[cpython3.8.2-64] PASSED [ 71%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_arch PASSED [ 71%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2] PASSED [ 71%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[4] PASSED [ 72%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.8] PASSED [ 72%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[4.8] PASSED [ 73%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.7] PASSED [ 73%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.9] PASSED [ 74%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[2.8.2] PASSED [ 74%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[4.8.2] PASSED [ 75%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.7.2] PASSED [ 75%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.9.2] PASSED [ 76%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.8.1] PASSED [ 76%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_satisfy_not_version[3.8.3] PASSED [ 77%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_py_info_cached_error PASSED [ 77%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_system_executable_no_exact_match[target0-0-discovered0] PASSED [ 78%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_system_executable_no_exact_match[target1-0-discovered1] PASSED [ 78%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_system_executable_no_exact_match[target2-0-discovered2] PASSED [ 79%] [ 87s] tests/unit/discovery/py_info/test_py_info.py::test_py_info_ignores_distutils_config PASSED [ 79%] [ 87s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_empty_folder PASSED [ 80%] [ 87s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8.2-64-.] PASSED [ 80%] [ 87s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8.2-64-bin] PASSED [ 81%] [ 87s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8.2-.] PASSED [ 81%] [ 87s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8.2-bin] PASSED [ 82%] [ 87s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8-64-.] PASSED [ 82%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8-64-bin] PASSED [ 83%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8-.] PASSED [ 83%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3.8-bin] PASSED [ 84%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3-64-.] PASSED [ 84%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3-64-bin] PASSED [ 85%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3-.] PASSED [ 85%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[CPython-3-bin] PASSED [ 85%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8.2-64-.] PASSED [ 86%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8.2-64-bin] PASSED [ 86%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8.2-.] PASSED [ 87%] [ 88s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8.2-bin] PASSED [ 87%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8-64-.] PASSED [ 88%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8-64-bin] PASSED [ 88%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8-.] PASSED [ 89%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.8-bin] PASSED [ 89%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-.] PASSED [ 90%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin] PASSED [ 90%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-.] PASSED [ 91%] [ 89s] tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-bin] PASSED [ 91%] [ 89s] tests/unit/discovery/windows/test_windows_pep514.py::test_pep514 SKIPPED [ 92%] [ 89s] tests/unit/discovery/windows/test_windows_pep514.py::test_pep514_run SKIPPED [ 92%] [ 89s] tests/unit/seed/test_boostrap_link_via_app_data.py::test_base_bootstrap_link_via_app_data_not_writable PASSED [ 93%] [ 91s] tests/unit/seed/test_extra_install.py::test_can_build_c_extensions[cpython3-posix] PASSED [ 93%] [ 92s] tests/unit/seed/test_extra_install.py::test_can_build_c_extensions[venv] PASSED [ 94%] [ 93s] tests/unit/activation/test_powershell.py::test_powershell[with_prompt] SKIPPED [ 94%] [ 93s] tests/unit/activation/test_xonsh.py::test_xonsh[with_prompt] PASSED [ 95%] [ 93s] tests/unit/activation/test_powershell.py::test_powershell[no_prompt] SKIPPED [ 95%] [ 94s] tests/unit/activation/test_xonsh.py::test_xonsh[no_prompt] PASSED [ 96%] [ 95s] tests/unit/create/test_creator.py::test_cross_major PASSED [ 96%] [ 95s] tests/unit/create/test_interpreters.py::test_failed_to_find_bad_spec PASSED [ 97%] [ 114s] tests/unit/seed/test_boostrap_link_via_app_data.py::test_base_bootstrap_link_via_app_data[False] PASSED [ 97%] [ 133s] tests/unit/seed/test_boostrap_link_via_app_data.py::test_base_bootstrap_link_via_app_data[True] PASSED [ 98%] [ 157s] tests/unit/seed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke PASSED [ 98%] [ 158s] tests/integration/test_zipapp.py::test_zipapp_help SKIPPED [ 99%] [ 158s] tests/integration/test_zipapp.py::test_zipapp_create[app-data] SKIPPED [ 99%] [ 158s] tests/integration/test_zipapp.py::test_zipapp_create[pip] SKIPPED [100%] [ 158s] [ 158s] =================================== FAILURES =================================== [ 158s] ________________ test_create_no_seed[root-venv-copies-isolated] ________________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'isolated' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f54578f23a0> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j') [ 158s] method = 'copies' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f54578f23a0> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'isolated' [ 158s] method = 'copies' [ 158s] msg = 'global sys path /usr/lib/python3.8/site-packages is in virtual environment sys path:\n/home/abuild/rpmbuild/BUILD/vir...te-packages\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 4019 Attempting to acquire lock 140000375618048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4019 Lock 140000375618048 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4019 Attempting to release lock 140000375618048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4020 Lock 140000375618048 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000375618048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000375618048 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000375618048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000375618048 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 4023 setup logging to DEBUG [DEBUG report:43] [ 158s] 4024 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 4024 Attempting to acquire lock 140000220922928 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4024 Lock 140000220922928 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4025 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 4083 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 4084 Attempting to release lock 140000220922928 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4084 Lock 140000220922928 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4084 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 4084 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 4089 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j, clear=False, global=False, describe=CPython3Posix) [INFO session:52] [ 158s] 4089 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --copies /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 4131 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 4131 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 4132 ============================== target debug ============================== [DEBUG session:54] [ 158s] 4133 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 4132 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 4165 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_0/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 4165 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 4165 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 4165 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 4165 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 4165 include-system-site-packages = false [DEBUG pyenv_cfg:38] [ 158s] 4165 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 4211 Attempting to acquire lock 140000375617904 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4211 Lock 140000375617904 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4212 Attempting to acquire lock 140000220762368 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4212 Lock 140000220762368 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4212 Attempting to release lock 140000220762368 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4212 Lock 140000220762368 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4212 Attempting to release lock 140000375617904 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4212 Lock 140000375617904 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000375617904 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000375617904 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000220762368 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000220762368 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000220762368 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000220762368 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000375617904 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000375617904 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] _________________ test_create_no_seed[root-venv-copies-global] _________________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'global' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f54577eedc0> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j') [ 158s] method = 'copies' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] common = [PosixPath('/usr/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib64/python3.8/site-packages')] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f54577eedc0> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'global' [ 158s] left = PosixPath('/usr/lib64/python3.8/lib-dynload') [ 158s] list_to_str = .list_to_str at 0x7f54577f8790> [ 158s] method = 'copies' [ 158s] msg = '\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages\ndoes not...lib-dynload\n/usr/lib64/python3.8/site-packages\n/usr/lib64/python3.8/_import_failed\n/usr/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] right = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64..._no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/site-packages'), ...] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 4214 Attempting to acquire lock 140000220922592 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4214 Lock 140000220922592 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4214 Attempting to release lock 140000220922592 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4214 Lock 140000220922592 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000220922592 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000220922592 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000220922592 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000220922592 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 4216 setup logging to DEBUG [DEBUG report:43] [ 158s] 4216 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 4216 Attempting to acquire lock 140000168544912 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4216 Lock 140000168544912 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4216 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 4285 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 4286 Attempting to release lock 140000168544912 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4287 Lock 140000168544912 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4287 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 4287 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 4291 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j, clear=False, global=True, describe=CPython3Posix) [INFO session:52] [ 158s] 4291 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --system-site-packages --copies /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 4333 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 4334 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 4335 ============================== target debug ============================== [DEBUG session:54] [ 158s] 4335 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 4335 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/_import_failed", [ 158s] "/usr/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 4366 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_1/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 4366 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 4367 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 4367 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 4367 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 4367 include-system-site-packages = true [DEBUG pyenv_cfg:38] [ 158s] 4367 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 4392 Attempting to acquire lock 140000376606432 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4392 Lock 140000376606432 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4392 Attempting to acquire lock 140000169256896 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4392 Lock 140000169256896 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4393 Attempting to release lock 140000169256896 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4393 Lock 140000169256896 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4393 Attempting to release lock 140000376606432 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4393 Lock 140000376606432 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000376606432 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000376606432 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000169256896 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000169256896 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000169256896 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000169256896 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000376606432 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000376606432 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] _______________ test_create_no_seed[root-venv-symlinks-isolated] _______________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'isolated' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f54577f8dc0> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j') [ 158s] method = 'symlinks' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f54577f8dc0> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'isolated' [ 158s] link = '/usr/bin/python3' [ 158s] method = 'symlinks' [ 158s] msg = 'global sys path /usr/lib/python3.8/site-packages is in virtual environment sys path:\n/home/abuild/rpmbuild/BUILD/vir...te-packages\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 4395 Attempting to acquire lock 140000375773216 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4395 Lock 140000375773216 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4396 Attempting to release lock 140000375773216 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4396 Lock 140000375773216 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000375773216 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000375773216 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000375773216 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000375773216 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 4398 setup logging to DEBUG [DEBUG report:43] [ 158s] 4398 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 4398 Attempting to acquire lock 140000220925664 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4398 Lock 140000220925664 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4399 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 4465 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 4466 Attempting to release lock 140000220925664 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4466 Lock 140000220925664 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4466 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 4467 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 4471 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j, clear=False, global=False, describe=CPython3Posix) [INFO session:52] [ 158s] 4471 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --symlinks /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 4513 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 4514 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 4514 ============================== target debug ============================== [DEBUG session:54] [ 158s] 4515 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 4514 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 4547 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_2/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 4547 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 4547 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 4547 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 4547 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 4547 include-system-site-packages = false [DEBUG pyenv_cfg:38] [ 158s] 4547 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 4572 Attempting to acquire lock 140000167383824 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4572 Lock 140000167383824 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4572 Attempting to acquire lock 140000375771200 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4572 Lock 140000375771200 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4572 Attempting to release lock 140000375771200 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4572 Lock 140000375771200 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4572 Attempting to release lock 140000167383824 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4572 Lock 140000167383824 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000167383824 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000167383824 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000375771200 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000375771200 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000375771200 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000375771200 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000167383824 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000167383824 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ________________ test_create_no_seed[root-venv-symlinks-global] ________________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'global' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f54577f8ee0> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j') [ 158s] method = 'symlinks' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] common = [PosixPath('/usr/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib64/python3.8/site-packages')] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f54577f8ee0> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'global' [ 158s] left = PosixPath('/usr/lib64/python3.8/lib-dynload') [ 158s] link = '/usr/bin/python3' [ 158s] list_to_str = .list_to_str at 0x7f54577a44c0> [ 158s] method = 'symlinks' [ 158s] msg = '\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages\ndoes not...lib-dynload\n/usr/lib64/python3.8/site-packages\n/usr/lib64/python3.8/_import_failed\n/usr/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] right = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64..._no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/site-packages'), ...] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 4575 Attempting to acquire lock 140000220923984 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4575 Lock 140000220923984 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4575 Attempting to release lock 140000220923984 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4576 Lock 140000220923984 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000220923984 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000220923984 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000220923984 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000220923984 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 4578 setup logging to DEBUG [DEBUG report:43] [ 158s] 4578 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 4578 Attempting to acquire lock 140000220765440 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4578 Lock 140000220765440 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4579 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 4644 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 4645 Attempting to release lock 140000220765440 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4646 Lock 140000220765440 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4646 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 4646 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 4650 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j, clear=False, global=True, describe=CPython3Posix) [INFO session:52] [ 158s] 4651 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --system-site-packages --symlinks /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 4695 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 4696 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 4696 ============================== target debug ============================== [DEBUG session:54] [ 158s] 4697 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 4696 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/_import_failed", [ 158s] "/usr/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 4727 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_root_venv_3/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 4728 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 4728 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 4728 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 4728 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 4728 include-system-site-packages = true [DEBUG pyenv_cfg:38] [ 158s] 4728 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 4753 Attempting to acquire lock 140000376685184 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 4753 Lock 140000376685184 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 4754 Attempting to acquire lock 140000221700880 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 4754 Lock 140000221700880 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 4754 Attempting to release lock 140000221700880 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 4754 Lock 140000221700880 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 4754 Attempting to release lock 140000376685184 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 4754 Lock 140000376685184 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000376685184 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000376685184 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000221700880 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000221700880 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000221700880 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000221700880 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000376685184 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000376685184 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ________________ test_create_no_seed[venv-venv-copies-isolated] ________________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'isolated' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f54577a4940> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j') [ 158s] method = 'copies' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f54577a4940> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'isolated' [ 158s] method = 'copies' [ 158s] msg = 'global sys path /usr/lib/python3.8/site-packages is in virtual environment sys path:\n/home/abuild/rpmbuild/BUILD/vir...te-packages\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 5253 Attempting to acquire lock 140000220765392 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5253 Lock 140000220765392 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5254 Attempting to release lock 140000220765392 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5254 Lock 140000220765392 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000220765392 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000220765392 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000220765392 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000220765392 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 5257 setup logging to DEBUG [DEBUG report:43] [ 158s] 5258 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 5259 Attempting to acquire lock 140000167785808 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5259 Lock 140000167785808 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5259 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 5316 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 5318 Attempting to release lock 140000167785808 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5318 Lock 140000167785808 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5318 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 5318 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 5322 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j, clear=False, global=False, describe=CPython3Posix) [INFO session:52] [ 158s] 5323 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --copies /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 5367 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 5367 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 5368 ============================== target debug ============================== [DEBUG session:54] [ 158s] 5369 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 5368 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 5399 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_0/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 5400 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 5400 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 5400 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 5400 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 5400 include-system-site-packages = false [DEBUG pyenv_cfg:38] [ 158s] 5400 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 5425 Attempting to acquire lock 140000167866864 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5425 Lock 140000167866864 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5425 Attempting to acquire lock 140000167867728 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5426 Lock 140000167867728 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5426 Attempting to release lock 140000167867728 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5426 Lock 140000167867728 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5426 Attempting to release lock 140000167866864 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5426 Lock 140000167866864 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000167866864 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000167866864 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000167867728 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000167867728 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000167867728 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000167867728 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000167866864 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000167866864 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] _________________ test_create_no_seed[venv-venv-copies-global] _________________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'global' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f545445e670> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j') [ 158s] method = 'copies' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] common = [PosixPath('/usr/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib64/python3.8/site-packages')] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f545445e670> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'global' [ 158s] left = PosixPath('/usr/lib64/python3.8/lib-dynload') [ 158s] list_to_str = .list_to_str at 0x7f54577f84c0> [ 158s] method = 'copies' [ 158s] msg = '\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages\ndoes not...lib-dynload\n/usr/lib64/python3.8/site-packages\n/usr/lib64/python3.8/_import_failed\n/usr/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] right = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64..._no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/site-packages'), ...] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 5428 Attempting to acquire lock 140000221702224 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5429 Lock 140000221702224 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5429 Attempting to release lock 140000221702224 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5429 Lock 140000221702224 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000221702224 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000221702224 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000221702224 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000221702224 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 5431 setup logging to DEBUG [DEBUG report:43] [ 158s] 5432 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 5432 Attempting to acquire lock 140000401799104 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5432 Lock 140000401799104 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5432 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 5498 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 5499 Attempting to release lock 140000401799104 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5499 Lock 140000401799104 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5500 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 5500 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 5504 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j, clear=False, global=True, describe=CPython3Posix) [INFO session:52] [ 158s] 5504 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --system-site-packages --copies /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 5546 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 5547 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 5547 ============================== target debug ============================== [DEBUG session:54] [ 158s] 5548 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 5547 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/_import_failed", [ 158s] "/usr/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 5580 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_1/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 5580 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 5581 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 5581 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 5581 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 5581 include-system-site-packages = true [DEBUG pyenv_cfg:38] [ 158s] 5581 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 5606 Attempting to acquire lock 140000220922976 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5606 Lock 140000220922976 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5606 Attempting to acquire lock 140000220922736 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5606 Lock 140000220922736 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5606 Attempting to release lock 140000220922736 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5606 Lock 140000220922736 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5606 Attempting to release lock 140000220922976 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5606 Lock 140000220922976 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000220922976 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000220922976 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000220922736 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000220922736 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000220922736 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000220922736 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000220922976 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000220922976 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] _______________ test_create_no_seed[venv-venv-symlinks-isolated] _______________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'isolated' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f545445e310> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j') [ 158s] method = 'symlinks' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f545445e310> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'isolated' [ 158s] link = '/usr/bin/python3' [ 158s] method = 'symlinks' [ 158s] msg = 'global sys path /usr/lib/python3.8/site-packages is in virtual environment sys path:\n/home/abuild/rpmbuild/BUILD/vir...te-packages\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 5609 Attempting to acquire lock 140000401800400 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5609 Lock 140000401800400 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5610 Attempting to release lock 140000401800400 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5610 Lock 140000401800400 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000401800400 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000401800400 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000401800400 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000401800400 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 5612 setup logging to DEBUG [DEBUG report:43] [ 158s] 5612 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 5612 Attempting to acquire lock 140000222943984 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5613 Lock 140000222943984 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5613 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 5679 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 5679 Attempting to release lock 140000222943984 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5680 Lock 140000222943984 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5680 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 5680 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 5684 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j, clear=False, global=False, describe=CPython3Posix) [INFO session:52] [ 158s] 5684 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --symlinks /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 5726 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 5727 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 5727 ============================== target debug ============================== [DEBUG session:54] [ 158s] 5728 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 5727 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 5760 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_2/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 5760 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 5760 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 5760 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 5761 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 5761 include-system-site-packages = false [DEBUG pyenv_cfg:38] [ 158s] 5761 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 5786 Attempting to acquire lock 140000167786240 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5787 Lock 140000167786240 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5787 Attempting to acquire lock 140000167788496 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5787 Lock 140000167788496 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5787 Attempting to release lock 140000167788496 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5787 Lock 140000167788496 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5787 Attempting to release lock 140000167786240 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5787 Lock 140000167786240 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000167786240 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000167786240 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000167788496 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000167788496 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000167788496 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000167788496 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000167786240 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000167786240 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ________________ test_create_no_seed[venv-venv-symlinks-global] ________________ [ 158s] [ 158s] python = '/usr/bin/python3', creator = 'venv', isolated = 'global' [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] coverage_env = .finish at 0x7f545445e040> [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j') [ 158s] method = 'symlinks' [ 158s] [ 158s] @pytest.mark.parametrize( [ 158s] "creator, method, isolated", [ 158s] [ [ 158s] pytest.param( [ 158s] *i, [ 158s] marks=pytest.mark.xfail( [ 158s] reason="https://bitbucket.org/pypy/pypy/issues/3159/pypy36-730-venv-fails-with-copies-on-linux", [ 158s] strict=True, [ 158s] ) [ 158s] ) [ 158s] if _VENV_BUG_ON and i[0] == "venv" and i[1] == "copies" [ 158s] else i [ 158s] for i in product( [ 158s] CURRENT_CREATORS, (["copies"] + (["symlinks"] if fs_supports_symlink() else [])), ["isolated", "global"] [ 158s] ) [ 158s] ], [ 158s] ) [ 158s] def test_create_no_seed(python, creator, isolated, system, coverage_env, special_name_dir, method): [ 158s] dest = special_name_dir [ 158s] cmd = [ [ 158s] "-v", [ 158s] "-v", [ 158s] "-p", [ 158s] ensure_text(python), [ 158s] ensure_text(str(dest)), [ 158s] "--without-pip", [ 158s] "--activators", [ 158s] "", [ 158s] "--creator", [ 158s] creator, [ 158s] "--{}".format(method), [ 158s] ] [ 158s] if isolated == "global": [ 158s] cmd.append("--system-site-packages") [ 158s] result = cli_run(cmd) [ 158s] coverage_env() [ 158s] if IS_PYPY: [ 158s] # pypy cleans up file descriptors periodically so our (many) subprocess calls impact file descriptor limits [ 158s] # force a close of these on system where the limit is low-ish (e.g. MacOS 256) [ 158s] gc.collect() [ 158s] purelib = result.creator.purelib [ 158s] patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")} [ 158s] patch_files.add(purelib / "__pycache__") [ 158s] content = set(result.creator.purelib.iterdir()) - patch_files [ 158s] assert not content, "\n".join(ensure_text(str(i)) for i in content) [ 158s] assert result.creator.env_name == ensure_text(dest.name) [ 158s] debug = result.creator.debug [ 158s] sys_path = cleanup_sys_path(debug["sys"]["path"]) [ 158s] system_sys_path = cleanup_sys_path(system["sys"]["path"]) [ 158s] our_paths = set(sys_path) - set(system_sys_path) [ 158s] our_paths_repr = "\n".join(ensure_text(repr(i)) for i in our_paths) [ 158s] [ 158s] # ensure we have at least one extra path added [ 158s] assert len(our_paths) >= 1, our_paths_repr [ 158s] # ensure all additional paths are related to the virtual environment [ 158s] for path in our_paths: [ 158s] msg = "\n{}\ndoes not start with {}\nhas:\n{}".format( [ 158s] ensure_text(str(path)), ensure_text(str(dest)), "\n".join(ensure_text(str(p)) for p in system_sys_path), [ 158s] ) [ 158s] assert str(path).startswith(str(dest)), msg [ 158s] # ensure there's at least a site-packages folder as part of the virtual environment added [ 158s] assert any(p for p in our_paths if p.parts[-1] == "site-packages"), our_paths_repr [ 158s] [ 158s] # ensure the global site package is added or not, depending on flag [ 158s] global_sys_path = system_sys_path[-1] [ 158s] if isolated == "isolated": [ 158s] msg = "global sys path {} is in virtual environment sys path:\n{}".format( [ 158s] ensure_text(str(global_sys_path)), "\n".join(ensure_text(str(j)) for j in sys_path) [ 158s] ) [ 158s] assert global_sys_path not in sys_path, msg [ 158s] else: [ 158s] common = [] [ 158s] for left, right in zip(reversed(system_sys_path), reversed(sys_path)): [ 158s] if left == right: [ 158s] common.append(left) [ 158s] else: [ 158s] break [ 158s] [ 158s] def list_to_str(iterable): [ 158s] return [ensure_text(str(i)) for i in iterable] [ 158s] [ 158s] assert common, "\n".join(difflib.unified_diff(list_to_str(sys_path), list_to_str(system_sys_path))) [ 158s] [ 158s] # test that the python executables in the bin directory are either: [ 158s] # - files [ 158s] # - absolute symlinks outside of the venv [ 158s] # - relative symlinks inside of the venv [ 158s] if sys.platform == "win32": [ 158s] exes = ("python.exe",) [ 158s] else: [ 158s] exes = ("python", "python{}".format(*sys.version_info), "python{}.{}".format(*sys.version_info)) [ 158s] # pypy3<=7.3: https://bitbucket.org/pypy/pypy/pull-requests/697 [ 158s] if IS_PYPY and CURRENT.pypy_version_info[:3] <= [7, 3, 0] and creator == "venv": [ 158s] exes = exes[:-1] [ 158s] for exe in exes: [ 158s] exe_path = result.creator.bin_dir / exe [ 158s] > assert exe_path.exists() [ 158s] E AssertionError: assert False [ 158s] E + where False = () [ 158s] E + where = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/bin/python3.8').exists [ 158s] [ 158s] cmd = ['-v', '-v', '-p', '/usr/bin/python3', '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j', '--without-pip', ...] [ 158s] common = [PosixPath('/usr/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib64/python3.8/site-packages')] [ 158s] content = set() [ 158s] coverage_env = .finish at 0x7f545445e040> [ 158s] creator = 'venv' [ 158s] debug = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] dest = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j') [ 158s] exe = 'python3.8' [ 158s] exe_path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/bin/python3.8') [ 158s] exes = ('python', 'python3', 'python3.8') [ 158s] global_sys_path = PosixPath('/usr/lib/python3.8/site-packages') [ 158s] isolated = 'global' [ 158s] left = PosixPath('/usr/lib64/python3.8/lib-dynload') [ 158s] link = '/usr/bin/python3' [ 158s] list_to_str = .list_to_str at 0x7f54577a4b80> [ 158s] method = 'symlinks' [ 158s] msg = '\n/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages\ndoes not...lib-dynload\n/usr/lib64/python3.8/site-packages\n/usr/lib64/python3.8/_import_failed\n/usr/lib/python3.8/site-packages' [ 158s] our_paths = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')} [ 158s] our_paths_repr = "PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages')" [ 158s] patch_files = {PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/...pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pyc')} [ 158s] path = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] purelib = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] python = '/usr/bin/python3' [ 158s] result = [ 158s] right = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages') [ 158s] special_name_dir = PosixPath('/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j') [ 158s] sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64..._no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages'), PosixPath('/usr/lib64/python3.8/site-packages'), ...] [ 158s] system = {'datetime': "", 'json': "", 'os': "", ...} [ 158s] system_sys_path = [PosixPath('/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10'), PosixPath('/usr/lib64/python3.8'), PosixPath('/usr/lib64...on3.8/site-packages'), PosixPath('/usr/lib64/python3.8/_import_failed'), PosixPath('/usr/lib/python3.8/site-packages')] [ 158s] [ 158s] tests/unit/create/test_creator.py:195: AssertionError [ 158s] ---------------------------- Captured stdout setup ----------------------------- [ 158s] 5790 Attempting to acquire lock 140000222941344 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5790 Lock 140000222941344 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5790 Attempting to release lock 140000222941344 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5791 Lock 140000222941344 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ------------------------------ Captured log setup ------------------------------ [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000222941344 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000222941344 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000222941344 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000222941344 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] ----------------------------- Captured stdout call ----------------------------- [ 158s] 5793 setup logging to DEBUG [DEBUG report:43] [ 158s] 5793 find interpreter for spec PythonSpec(path=/usr/bin/python3) [INFO builtin:44] [ 158s] 5793 Attempting to acquire lock 140000401797472 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5793 Lock 140000401797472 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5794 get interpreter info via cmd: /usr/bin/python3 /usr/lib/python3.8/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105] [ 158s] 5860 write PythonInfo to /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.json for /usr/bin/python3 [DEBUG cached_py_info:91] [ 158s] 5861 Attempting to release lock 140000401797472 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5861 Lock 140000401797472 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5861 proposed PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [INFO builtin:50] [ 158s] 5861 accepted PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:52] [ 158s] 5865 create virtual environment via Venv(dest=/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j, clear=False, global=True, describe=CPython3Posix) [INFO session:52] [ 158s] 5866 using host built-in venv to create via /usr/bin/python3 -m venv --without-pip --system-site-packages --symlinks /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j [INFO venv:55] [ 158s] 5907 create /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.py [DEBUG api:60] [ 158s] 5908 create virtualenv import hook file /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/lib/python3.8/site-packages/_virtualenv.pth [DEBUG api:63] [ 158s] 5908 ============================== target debug ============================== [DEBUG session:54] [ 158s] 5909 debug via '/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/bin/python' /usr/lib/python3.8/site-packages/virtualenv/create/debug.py [DEBUG creator:182] [ 158s] 5908 { [ 158s] "sys": { [ 158s] "executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "_base_executable": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/bin/python", [ 158s] "prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_prefix": "/usr", [ 158s] "real_prefix": null, [ 158s] "exec_prefix": "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j", [ 158s] "base_exec_prefix": "/usr", [ 158s] "path": [ [ 158s] "/home/abuild/rpmbuild/BUILD/virtualenv-20.0.10", [ 158s] "/home/abuild/rpmbuild/BUILDROOT/python-virtualenv-test-20.0.10-0.x86_64/usr/lib/python3.8/site-packages", [ 158s] "/usr/lib/python38.zip", [ 158s] "/usr/lib64/python3.8", [ 158s] "/usr/lib64/python3.8/lib-dynload", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib64/python3.8/site-packages", [ 158s] "/tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ \u00e8\u0440\u0442\ud83d\ude92\u265e\u4e2d\u7247-j/lib/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/site-packages", [ 158s] "/usr/lib64/python3.8/_import_failed", [ 158s] "/usr/lib/python3.8/site-packages" [ 158s] ], [ 158s] "meta_path": [ [ 158s] "", [ 158s] "", [ 158s] "", [ 158s] "" [ 158s] ], [ 158s] "fs_encoding": "utf-8", [ 158s] "io_encoding": "utf-8" [ 158s] }, [ 158s] "version": "3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]", [ 158s] "os": "", [ 158s] "site": "", [ 158s] "datetime": "", [ 158s] "math": "", [ 158s] "json": "" [ 158s] } [DEBUG session:55] [ 158s] 5941 write /tmp/pytest-of-abuild/pytest-40/test_create_no_seed_venv_venv_3/e-$ èрт🚒♞中片-j/pyvenv.cfg [DEBUG pyenv_cfg:34] [ 158s] 5942 home = /usr/bin [DEBUG pyenv_cfg:38] [ 158s] 5942 implementation = CPython [DEBUG pyenv_cfg:38] [ 158s] 5942 version_info = 3.8.2.final.0 [DEBUG pyenv_cfg:38] [ 158s] 5942 virtualenv = 20.0.10 [DEBUG pyenv_cfg:38] [ 158s] 5942 include-system-site-packages = true [DEBUG pyenv_cfg:38] [ 158s] 5942 version = 3.8.2 [DEBUG pyenv_cfg:38] [ 158s] --------------------------- Captured stdout teardown --------------------------- [ 158s] 5967 Attempting to acquire lock 140000401797520 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:270] [ 158s] 5967 Lock 140000401797520 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:274] [ 158s] 5967 Attempting to acquire lock 140000401798048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:270] [ 158s] 5967 Lock 140000401798048 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:274] [ 158s] 5967 Attempting to release lock 140000401798048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [DEBUG filelock:315] [ 158s] 5967 Lock 140000401798048 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [INFO filelock:318] [ 158s] 5967 Attempting to release lock 140000401797520 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [DEBUG filelock:315] [ 158s] 5968 Lock 140000401797520 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [INFO filelock:318] [ 158s] ---------------------------- Captured log teardown ----------------------------- [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000401797520 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000401797520 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] DEBUG filelock:filelock.py:270 Attempting to acquire lock 140000401798048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:274 Lock 140000401798048 acquired on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000401798048 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000401798048 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6.lock [ 158s] DEBUG filelock:filelock.py:315 Attempting to release lock 140000401797520 on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] INFO filelock:filelock.py:318 Lock 140000401797520 released on /tmp/pytest-of-abuild/pytest-40/session-app-data0/py_info/20.0.10/.lock [ 158s] =========================== short test summary info ============================ [ 158s] SKIPPED [2] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:227: BatchActivator not supported [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:230: Csh( [ 158s] version=FileNotFoundError(2, 'No such file or directory'), [ 158s] creator=CPython3Posix(dest=/tmp/pytest-of-abuild/pytest-40/activation-tester-env0/e-$ èрт🚒♞中片-j, clear=False, global=False), [ 158s] interpreter=PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8)) is not available due [Errno 2] No such file or directory: 'csh' [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:230: Fish( [ 158s] version=FileNotFoundError(2, 'No such file or directory'), [ 158s] creator=CPython3Posix(dest=/tmp/pytest-of-abuild/pytest-40/activation-tester-env0/e-$ èрт🚒♞中片-j, clear=False, global=False), [ 158s] interpreter=PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8)) is not available due [Errno 2] No such file or directory: 'fish' [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:230: Csh( [ 158s] version=FileNotFoundError(2, 'No such file or directory'), [ 158s] creator=CPython3Posix(dest=/tmp/pytest-of-abuild/pytest-40/activation-tester-env1/e-$ èрт🚒♞中片-j, clear=False, global=False), [ 158s] interpreter=PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8)) is not available due [Errno 2] No such file or directory: 'csh' [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:230: Fish( [ 158s] version=FileNotFoundError(2, 'No such file or directory'), [ 158s] creator=CPython3Posix(dest=/tmp/pytest-of-abuild/pytest-40/activation-tester-env1/e-$ èрт🚒♞中片-j, clear=False, global=False), [ 158s] interpreter=PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8)) is not available due [Errno 2] No such file or directory: 'fish' [ 158s] SKIPPED [1] tests/unit/create/test_creator.py:235: python 2 only tests [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/create/test_creator.py:256: venv without clear might fail [ 158s] SKIPPED [1] tests/unit/create/test_creator.py:339: OS does not have an altsep [ 158s] SKIPPED [2] tests/unit/create/test_creator.py:397: we rewrite sys.path only on PY2 [ 158s] SKIPPED [1] tests/unit/discovery/windows/test_windows_pep514.py:14: no Windows registry [ 158s] SKIPPED [1] tests/unit/discovery/windows/test_windows_pep514.py:33: no Windows registry [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:230: PowerShell( [ 158s] version=FileNotFoundError(2, 'No such file or directory'), [ 158s] creator=CPython3Posix(dest=/tmp/pytest-of-abuild/pytest-40/activation-tester-env2/e-$ èрт🚒♞中片-j, clear=False, global=False), [ 158s] interpreter=PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8)) is not available due [Errno 2] No such file or directory: 'pwsh' [ 158s] SKIPPED [1] /home/abuild/rpmbuild/BUILD/virtualenv-20.0.10/tests/unit/activation/conftest.py:230: PowerShell( [ 158s] version=FileNotFoundError(2, 'No such file or directory'), [ 158s] creator=CPython3Posix(dest=/tmp/pytest-of-abuild/pytest-40/activation-tester-env3/e-$ èрт🚒♞中片-j, clear=False, global=False), [ 158s] interpreter=PythonInfo(spec=CPython3.8.2.final.0-64, exe=/usr/bin/python3, platform=linux, version='3.8.2 (default, Mar 05 2020, 18:58:42) [GCC]', encoding_fs_io=utf-8-utf-8)) is not available due [Errno 2] No such file or directory: 'pwsh' [ 158s] SKIPPED [1] tests/integration/test_zipapp.py:78: need --int option to run [ 158s] SKIPPED [2] tests/integration/test_zipapp.py:85: need --int option to run [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[root-venv-symlinks-isolated] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[root-venv-symlinks-global] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-symlinks-isolated] [ 158s] FAILED tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-symlinks-global] [ 158s] ====== 8 failed, 181 passed, 18 skipped, 7 deselected in 80.75s (0:01:20) ====== [ 158s] error: Bad exit status from /var/tmp/rpm-tmp.k4useV (%check) [ 158s] [ 158s] [ 158s] RPM build errors: [ 158s] Bad exit status from /var/tmp/rpm-tmp.k4useV (%check) [ 158s] [ 158s] bugaboo failed "build python-virtualenv.spec" at Fri Mar 13 10:50:14 UTC 2020. [ 158s]