extra-x86_64-build :: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra] (x86_64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [builduser]...done ==> Making package: python-tox 3.20.1-1 (Mon Nov 9 12:05:42 2020) ==> Retrieving sources... -> Downloading tox-3.20.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 122 100 122 0 0 1109 0 --:--:-- --:--:-- --:--:-- 1099 100 267 100 267 0 0 850 0 --:--:-- --:--:-- --:--:-- 850 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 299k 100 299k 0 0 523k 0 --:--:-- --:--:-- --:--:-- 523k ==> Validating source files with sha512sums... tox-3.20.1.tar.gz ... Passed ==> Making package: python-tox 3.20.1-1 (Mon 09 Nov 2020 12:05:45 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (68) libnsl-1.3.0-1 python-3.8.6-1 python-apipkg-1.5-3 python-appdirs-1.4.4-1 python-attrs-20.3.0-1 python-dateutil-2.8.1-3 python-distlib-0.3.1-1 python-importlib-metadata-2.0.0-1 python-iniconfig-1.0.1-1 python-more-itertools-8.6.0-1 python-ordered-set-4.0.2-1 python-packaging-20.4-1 python-pyparsing-2.4.7-1 python-pytest-6.1.2-1 python-setuptools-1:50.3.2-1 python-six-1.15.0-1 python-zipp-3.4.0-1 python2-2.7.18-2 python2-apipkg-1.5-3 python2-appdirs-1.4.4-1 python2-atomicwrites-1.4.0-1 python2-attrs-20.3.0-1 python2-backports-1.0-3 python2-backports.functools_lru_cache-1.6.1-2 python2-configparser-4.0.2-2 python2-contextlib2-0.6.0.post1-1 python2-dateutil-2.8.1-3 python2-distlib-0.3.1-1 python2-funcsigs-1.0.2-3 python2-importlib-metadata-2.0.0-1 python2-importlib_resources-1.0.2-2 python2-iniconfig-1.0.1-1 python2-mock-3.0.5-3 python2-more-itertools-5.0.0-2 python2-ordered-set-3.1.1-3 python2-packaging-20.4-1 python2-pbr-5.5.1-1 python2-pyparsing-2.4.7-1 python2-pytest-4.6.11-1 python2-scandir-1.10.0-3 python2-setuptools-2:44.1.1-1 python2-six-1.15.0-1 python2-typing-3.7.4.3-1 python2-wcwidth-0.2.5-1 python2-wheel-0.35.1-2 python2-zipp-1:1.1.1-1 python-filelock-3.0.12-3 python-flaky-3.7.0-1 python-freezegun-0.3.15-1 python-pathlib2-2.3.3-4 python-pluggy-0.13.1-2 python-py-1.9.0-1 python-pytest-mock-2.0.0-1 python-pytest-runner-5.2-1 python-setuptools-scm-4.1.2-1 python-toml-0.10.2-1 python-virtualenv-20.1.0-1 python2-filelock-3.0.12-3 python2-flaky-3.7.0-1 python2-freezegun-0.3.15-1 python2-pathlib2-2.3.5-1 python2-pluggy-0.13.1-2 python2-py-1.9.0-1 python2-pytest-mock-2.0.0-1 python2-pytest-runner-5.2-1 python2-setuptools-scm-4.1.2-1 python2-toml-0.10.2-1 python2-virtualenv-20.1.0-1 Total Download Size: 3.50 MiB Total Installed Size: 192.86 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python2-virtualenv-20.1.0-1-any 3.4 MiB 4.31 MiB/s 00:01 [####################################################################] 100% python2-attrs-20.3.0-1-any 67.1 KiB 16.4 MiB/s 00:00 [####################################################################] 100% (68/68) checking keys in keyring [####################################################################] 100% (68/68) checking package integrity [####################################################################] 100% (68/68) loading package files [####################################################################] 100% (68/68) checking for file conflicts [####################################################################] 100% :: Processing package changes... ( 1/68) installing libnsl [####################################################################] 100% ( 2/68) installing python [####################################################################] 100% Optional dependencies for python python-setuptools [pending] python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter ( 3/68) installing python-appdirs [####################################################################] 100% ( 4/68) installing python-pyparsing [####################################################################] 100% ( 5/68) installing python-six [####################################################################] 100% ( 6/68) installing python-packaging [####################################################################] 100% ( 7/68) installing python-ordered-set [####################################################################] 100% ( 8/68) installing python-setuptools [####################################################################] 100% ( 9/68) installing python-setuptools-scm [####################################################################] 100% (10/68) installing python2 [####################################################################] 100% Optional dependencies for python2 tk: for IDLE python2-setuptools [pending] python2-pip (11/68) installing python2-appdirs [####################################################################] 100% (12/68) installing python2-pyparsing [####################################################################] 100% (13/68) installing python2-six [####################################################################] 100% (14/68) installing python2-packaging [####################################################################] 100% (15/68) installing python2-ordered-set [####################################################################] 100% (16/68) installing python2-setuptools [####################################################################] 100% (17/68) installing python2-setuptools-scm [####################################################################] 100% (18/68) installing python-iniconfig [####################################################################] 100% (19/68) installing python-apipkg [####################################################################] 100% (20/68) installing python-py [####################################################################] 100% (21/68) installing python2-iniconfig [####################################################################] 100% (22/68) installing python2-apipkg [####################################################################] 100% (23/68) installing python2-py [####################################################################] 100% (24/68) installing python-distlib [####################################################################] 100% (25/68) installing python-filelock [####################################################################] 100% (26/68) installing python-virtualenv [####################################################################] 100% (27/68) installing python2-distlib [####################################################################] 100% (28/68) installing python2-filelock [####################################################################] 100% (29/68) installing python2-contextlib2 [####################################################################] 100% (30/68) installing python2-zipp [####################################################################] 100% (31/68) installing python2-backports [####################################################################] 100% (32/68) installing python2-configparser [####################################################################] 100% (33/68) installing python2-scandir [####################################################################] 100% (34/68) installing python2-pathlib2 [####################################################################] 100% (35/68) installing python2-importlib-metadata [####################################################################] 100% (36/68) installing python2-typing [####################################################################] 100% (37/68) installing python2-wheel [####################################################################] 100% Optional dependencies for python2-wheel python2-xdg: for wheel.signatures (38/68) installing python2-importlib_resources [####################################################################] 100% (39/68) installing python2-virtualenv [####################################################################] 100% (40/68) installing python-zipp [####################################################################] 100% (41/68) installing python-importlib-metadata [####################################################################] 100% (42/68) installing python-pluggy [####################################################################] 100% (43/68) installing python2-pluggy [####################################################################] 100% (44/68) installing python-toml [####################################################################] 100% (45/68) installing python2-toml [####################################################################] 100% (46/68) installing python-dateutil [####################################################################] 100% (47/68) installing python-freezegun [####################################################################] 100% (48/68) installing python2-dateutil [####################################################################] 100% (49/68) installing python2-freezegun [####################################################################] 100% (50/68) installing python-attrs [####################################################################] 100% (51/68) installing python-more-itertools [####################################################################] 100% (52/68) installing python-pytest [####################################################################] 100% (53/68) installing python-pytest-runner [####################################################################] 100% (54/68) installing python2-attrs [####################################################################] 100% (55/68) installing python2-more-itertools [####################################################################] 100% (56/68) installing python2-atomicwrites [####################################################################] 100% (57/68) installing python2-backports.functools_lru_cache [####################################################################] 100% (58/68) installing python2-wcwidth [####################################################################] 100% (59/68) installing python2-funcsigs [####################################################################] 100% (60/68) installing python2-pytest [####################################################################] 100% (61/68) installing python2-pytest-runner [####################################################################] 100% (62/68) installing python-pytest-mock [####################################################################] 100% (63/68) installing python2-pbr [####################################################################] 100% (64/68) installing python2-mock [####################################################################] 100% (65/68) installing python2-pytest-mock [####################################################################] 100% (66/68) installing python-flaky [####################################################################] 100% (67/68) installing python2-flaky [####################################################################] 100% (68/68) installing python-pathlib2 [####################################################################] 100% ==> Retrieving sources... -> Found tox-3.20.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting tox-3.20.1.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/tox copying src/tox/__init__.py -> build/lib/tox copying src/tox/venv.py -> build/lib/tox copying src/tox/constants.py -> build/lib/tox copying src/tox/exception.py -> build/lib/tox copying src/tox/version.py -> build/lib/tox copying src/tox/reporter.py -> build/lib/tox copying src/tox/action.py -> build/lib/tox copying src/tox/__main__.py -> build/lib/tox copying src/tox/cli.py -> build/lib/tox copying src/tox/_quickstart.py -> build/lib/tox copying src/tox/hookspecs.py -> build/lib/tox copying src/tox/_pytestplugin.py -> build/lib/tox creating build/lib/tox/logs copying src/tox/logs/__init__.py -> build/lib/tox/logs copying src/tox/logs/env.py -> build/lib/tox/logs copying src/tox/logs/result.py -> build/lib/tox/logs copying src/tox/logs/command.py -> build/lib/tox/logs creating build/lib/tox/package copying src/tox/package/view.py -> build/lib/tox/package copying src/tox/package/__init__.py -> build/lib/tox/package copying src/tox/package/local.py -> build/lib/tox/package creating build/lib/tox/interpreters copying src/tox/interpreters/__init__.py -> build/lib/tox/interpreters copying src/tox/interpreters/via_path.py -> build/lib/tox/interpreters copying src/tox/interpreters/common.py -> build/lib/tox/interpreters copying src/tox/interpreters/unix.py -> build/lib/tox/interpreters copying src/tox/interpreters/py_spec.py -> build/lib/tox/interpreters creating build/lib/tox/session copying src/tox/session/__init__.py -> build/lib/tox/session creating build/lib/tox/util copying src/tox/util/__init__.py -> build/lib/tox/util copying src/tox/util/main.py -> build/lib/tox/util copying src/tox/util/lock.py -> build/lib/tox/util copying src/tox/util/spinner.py -> build/lib/tox/util copying src/tox/util/path.py -> build/lib/tox/util copying src/tox/util/stdlib.py -> build/lib/tox/util copying src/tox/util/graph.py -> build/lib/tox/util creating build/lib/tox/helper copying src/tox/helper/get_site_package_dir.py -> build/lib/tox/helper copying src/tox/helper/__init__.py -> build/lib/tox/helper copying src/tox/helper/build_requires.py -> build/lib/tox/helper copying src/tox/helper/build_isolated.py -> build/lib/tox/helper copying src/tox/helper/get_version.py -> build/lib/tox/helper creating build/lib/tox/config copying src/tox/config/parallel.py -> build/lib/tox/config copying src/tox/config/__init__.py -> build/lib/tox/config copying src/tox/config/reporter.py -> build/lib/tox/config creating build/lib/tox/package/builder copying src/tox/package/builder/__init__.py -> build/lib/tox/package/builder copying src/tox/package/builder/isolated.py -> build/lib/tox/package/builder copying src/tox/package/builder/legacy.py -> build/lib/tox/package/builder creating build/lib/tox/interpreters/windows copying src/tox/interpreters/windows/__init__.py -> build/lib/tox/interpreters/windows copying src/tox/interpreters/windows/pep514.py -> build/lib/tox/interpreters/windows creating build/lib/tox/session/commands copying src/tox/session/commands/__init__.py -> build/lib/tox/session/commands copying src/tox/session/commands/provision.py -> build/lib/tox/session/commands copying src/tox/session/commands/help.py -> build/lib/tox/session/commands copying src/tox/session/commands/show_config.py -> build/lib/tox/session/commands copying src/tox/session/commands/help_ini.py -> build/lib/tox/session/commands copying src/tox/session/commands/show_env.py -> build/lib/tox/session/commands creating build/lib/tox/session/commands/run copying src/tox/session/commands/run/parallel.py -> build/lib/tox/session/commands/run copying src/tox/session/commands/run/__init__.py -> build/lib/tox/session/commands/run copying src/tox/session/commands/run/sequential.py -> build/lib/tox/session/commands/run running build running build_py creating build creating build/lib creating build/lib/tox copying src/tox/__init__.py -> build/lib/tox copying src/tox/venv.py -> build/lib/tox copying src/tox/constants.py -> build/lib/tox copying src/tox/exception.py -> build/lib/tox copying src/tox/version.py -> build/lib/tox copying src/tox/reporter.py -> build/lib/tox copying src/tox/action.py -> build/lib/tox copying src/tox/__main__.py -> build/lib/tox copying src/tox/cli.py -> build/lib/tox copying src/tox/_quickstart.py -> build/lib/tox copying src/tox/hookspecs.py -> build/lib/tox copying src/tox/_pytestplugin.py -> build/lib/tox creating build/lib/tox/logs copying src/tox/logs/__init__.py -> build/lib/tox/logs copying src/tox/logs/env.py -> build/lib/tox/logs copying src/tox/logs/result.py -> build/lib/tox/logs copying src/tox/logs/command.py -> build/lib/tox/logs creating build/lib/tox/package copying src/tox/package/view.py -> build/lib/tox/package copying src/tox/package/__init__.py -> build/lib/tox/package copying src/tox/package/local.py -> build/lib/tox/package creating build/lib/tox/interpreters copying src/tox/interpreters/__init__.py -> build/lib/tox/interpreters copying src/tox/interpreters/via_path.py -> build/lib/tox/interpreters copying src/tox/interpreters/common.py -> build/lib/tox/interpreters copying src/tox/interpreters/unix.py -> build/lib/tox/interpreters copying src/tox/interpreters/py_spec.py -> build/lib/tox/interpreters creating build/lib/tox/session copying src/tox/session/__init__.py -> build/lib/tox/session creating build/lib/tox/util copying src/tox/util/__init__.py -> build/lib/tox/util copying src/tox/util/main.py -> build/lib/tox/util copying src/tox/util/lock.py -> build/lib/tox/util copying src/tox/util/spinner.py -> build/lib/tox/util copying src/tox/util/path.py -> build/lib/tox/util copying src/tox/util/stdlib.py -> build/lib/tox/util copying src/tox/util/graph.py -> build/lib/tox/util creating build/lib/tox/helper copying src/tox/helper/get_site_package_dir.py -> build/lib/tox/helper copying src/tox/helper/__init__.py -> build/lib/tox/helper copying src/tox/helper/build_requires.py -> build/lib/tox/helper copying src/tox/helper/build_isolated.py -> build/lib/tox/helper copying src/tox/helper/get_version.py -> build/lib/tox/helper creating build/lib/tox/config copying src/tox/config/parallel.py -> build/lib/tox/config copying src/tox/config/__init__.py -> build/lib/tox/config copying src/tox/config/reporter.py -> build/lib/tox/config creating build/lib/tox/package/builder copying src/tox/package/builder/__init__.py -> build/lib/tox/package/builder copying src/tox/package/builder/isolated.py -> build/lib/tox/package/builder copying src/tox/package/builder/legacy.py -> build/lib/tox/package/builder creating build/lib/tox/interpreters/windows copying src/tox/interpreters/windows/__init__.py -> build/lib/tox/interpreters/windows copying src/tox/interpreters/windows/pep514.py -> build/lib/tox/interpreters/windows creating build/lib/tox/session/commands copying src/tox/session/commands/__init__.py -> build/lib/tox/session/commands copying src/tox/session/commands/provision.py -> build/lib/tox/session/commands copying src/tox/session/commands/help.py -> build/lib/tox/session/commands copying src/tox/session/commands/show_config.py -> build/lib/tox/session/commands copying src/tox/session/commands/help_ini.py -> build/lib/tox/session/commands copying src/tox/session/commands/show_env.py -> build/lib/tox/session/commands creating build/lib/tox/session/commands/run copying src/tox/session/commands/run/parallel.py -> build/lib/tox/session/commands/run copying src/tox/session/commands/run/__init__.py -> build/lib/tox/session/commands/run copying src/tox/session/commands/run/sequential.py -> build/lib/tox/session/commands/run ==> Starting check()... created virtual environment CPython3.8.6.final.0-64 in 224ms creator CPython3Posix(dest=/build/python-tox/src/pyvenv, clear=False, global=True) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==20.2.4, setuptools==50.3.2, wheel==0.35.1 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator running install running bdist_egg running egg_info writing src/tox.egg-info/PKG-INFO writing dependency_links to src/tox.egg-info/dependency_links.txt writing entry points to src/tox.egg-info/entry_points.txt writing requirements to src/tox.egg-info/requires.txt writing top-level names to src/tox.egg-info/top_level.txt reading manifest file 'src/tox.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.rst' warning: no files found matching 'README.rst' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution writing manifest file 'src/tox.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py copying src/tox/version.py -> build/lib/tox creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/__init__.py -> build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/env.py -> build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/result.py -> build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/command.py -> build/bdist.linux-x86_64/egg/tox/logs creating build/bdist.linux-x86_64/egg/tox/package copying build/lib/tox/package/view.py -> build/bdist.linux-x86_64/egg/tox/package copying build/lib/tox/package/__init__.py -> build/bdist.linux-x86_64/egg/tox/package creating build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/builder/__init__.py -> build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/builder/isolated.py -> build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/builder/legacy.py -> build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/local.py -> build/bdist.linux-x86_64/egg/tox/package copying build/lib/tox/__init__.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/__init__.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/via_path.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/common.py -> build/bdist.linux-x86_64/egg/tox/interpreters creating build/bdist.linux-x86_64/egg/tox/interpreters/windows copying build/lib/tox/interpreters/windows/__init__.py -> build/bdist.linux-x86_64/egg/tox/interpreters/windows copying build/lib/tox/interpreters/windows/pep514.py -> build/bdist.linux-x86_64/egg/tox/interpreters/windows copying build/lib/tox/interpreters/unix.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/py_spec.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/venv.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/session copying build/lib/tox/session/__init__.py -> build/bdist.linux-x86_64/egg/tox/session creating build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/__init__.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/provision.py -> build/bdist.linux-x86_64/egg/tox/session/commands creating build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/run/parallel.py -> build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/run/__init__.py -> build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/run/sequential.py -> build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/help.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/show_config.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/help_ini.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/show_env.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/constants.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/exception.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/version.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/__init__.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/main.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/lock.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/spinner.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/path.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/stdlib.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/graph.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/reporter.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/action.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/__main__.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/get_site_package_dir.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/__init__.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/build_requires.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/build_isolated.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/get_version.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/cli.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/config/parallel.py -> build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/config/__init__.py -> build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/config/reporter.py -> build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/_quickstart.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/hookspecs.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/_pytestplugin.py -> build/bdist.linux-x86_64/egg/tox byte-compiling build/bdist.linux-x86_64/egg/tox/logs/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/logs/env.py to env.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/logs/result.py to result.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/logs/command.py to command.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/view.py to view.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/builder/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/builder/isolated.py to isolated.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/builder/legacy.py to legacy.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/local.py to local.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/via_path.py to via_path.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/common.py to common.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/windows/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/windows/pep514.py to pep514.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/unix.py to unix.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/py_spec.py to py_spec.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/venv.py to venv.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/provision.py to provision.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/run/parallel.py to parallel.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/run/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/run/sequential.py to sequential.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/help.py to help.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/show_config.py to show_config.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/help_ini.py to help_ini.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/show_env.py to show_env.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/constants.py to constants.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/exception.py to exception.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/version.py to version.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/main.py to main.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/lock.py to lock.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/spinner.py to spinner.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/path.py to path.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/stdlib.py to stdlib.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/graph.py to graph.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/reporter.py to reporter.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/action.py to action.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/__main__.py to __main__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/get_site_package_dir.py to get_site_package_dir.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/build_requires.py to build_requires.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/build_isolated.py to build_isolated.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/get_version.py to get_version.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/cli.py to cli.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/config/parallel.py to parallel.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/config/__init__.py to __init__.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/config/reporter.py to reporter.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/_quickstart.py to _quickstart.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/hookspecs.py to hookspecs.cpython-38.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/_pytestplugin.py to _pytestplugin.cpython-38.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... tox.__pycache__._pytestplugin.cpython-38: module references __file__ tox.__pycache__.constants.cpython-38: module references __file__ tox.config.__pycache__.__init__.cpython-38: module references __file__ tox.helper.__pycache__.build_isolated.cpython-38: module references __file__ tox.session.__pycache__.__init__.cpython-38: module references __file__ creating dist creating 'dist/tox-3.20.1-py3.8.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing tox-3.20.1-py3.8.egg creating /build/python-tox/src/pyvenv/lib/python3.8/site-packages/tox-3.20.1-py3.8.egg Extracting tox-3.20.1-py3.8.egg to /build/python-tox/src/pyvenv/lib/python3.8/site-packages Adding tox 3.20.1 to easy-install.pth file Installing tox script to /build/python-tox/src/pyvenv/bin Installing tox-quickstart script to /build/python-tox/src/pyvenv/bin Installed /build/python-tox/src/pyvenv/lib/python3.8/site-packages/tox-3.20.1-py3.8.egg Processing dependencies for tox==3.20.1 Searching for virtualenv==20.1.0 Best match: virtualenv 20.1.0 Adding virtualenv 20.1.0 to easy-install.pth file Installing virtualenv script to /build/python-tox/src/pyvenv/bin Using /usr/lib/python3.8/site-packages Searching for toml==0.10.2 Best match: toml 0.10.2 Adding toml 0.10.2 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for six==1.15.0 Best match: six 1.15.0 Adding six 1.15.0 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for py==1.9.0 Best match: py 1.9.0 Adding py 1.9.0 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for pluggy==0.13.1 Best match: pluggy 0.13.1 Adding pluggy 0.13.1 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for packaging==20.4 Best match: packaging 20.4 Adding packaging 20.4 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for filelock==3.0.12 Best match: filelock 3.0.12 Adding filelock 3.0.12 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for distlib==0.3.1 Best match: distlib 0.3.1 Adding distlib 0.3.1 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for appdirs==1.4.4 Best match: appdirs 1.4.4 Adding appdirs 1.4.4 to easy-install.pth file Using /usr/lib/python3.8/site-packages Searching for pyparsing==2.4.7 Best match: pyparsing 2.4.7 Adding pyparsing 2.4.7 to easy-install.pth file Using /usr/lib/python3.8/site-packages Finished processing dependencies for tox==3.20.1 running pytest running egg_info writing src/tox.egg-info/PKG-INFO writing dependency_links to src/tox.egg-info/dependency_links.txt writing entry points to src/tox.egg-info/entry_points.txt writing requirements to src/tox.egg-info/requires.txt writing top-level names to src/tox.egg-info/top_level.txt reading manifest file 'src/tox.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.rst' warning: no files found matching 'README.rst' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution writing manifest file 'src/tox.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.8.6, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 tox comes from: '/build/python-tox/src/tox-3.20.1/src/tox/__init__.py' rootdir: /build/python-tox/src/tox-3.20.1, configfile: tox.ini, testpaths: tests plugins: mock-2.0.0, flaky-3.7.0 collected 585 items tests/integration/test_jython_env_create.py s [ 0%] tests/integration/test_package_int.py .s. [ 0%] tests/integration/test_parallel_inception.py . [ 0%] tests/integration/test_parallel_interrupt.py . [ 1%] tests/integration/test_provision_int.py ... [ 1%] tests/unit/test_docs.py ....................... [ 5%] tests/unit/test_pytest_plugins.py ............................... [ 10%] tests/unit/test_quickstart.py ............... [ 13%] tests/unit/test_result.py ................. [ 16%] tests/unit/test_venv.py ................................................ [ 24%] ................. [ 27%] tests/unit/test_z_cmdline.py ........................................s.. [ 34%] ........................ [ 38%] tests/unit/config/test_config.py ....................................... [ 45%] ........................................................................ [ 57%] ........................................................................ [ 70%] ............................................... [ 78%] tests/unit/config/test_config_parallel.py ......... [ 79%] tests/unit/interpreters/test_interpreters.py .............. [ 82%] tests/unit/interpreters/test_py_spec.py ... [ 82%] tests/unit/interpreters/windows/test_pep514.py ss [ 82%] tests/unit/interpreters/windows/test_windows.py s [ 83%] tests/unit/package/test_package.py ........ [ 84%] tests/unit/package/test_package_parallel.py . [ 84%] tests/unit/package/test_package_view.py .. [ 84%] tests/unit/package/builder/test_package_builder_isolated.py ........... [ 86%] tests/unit/package/builder/test_package_builder_legacy.py . [ 87%] tests/unit/session/test_list_env.py ......... [ 88%] tests/unit/session/test_parallel.py ............. [ 90%] tests/unit/session/test_provision.py ......... [ 92%] tests/unit/session/test_session.py ................ [ 95%] tests/unit/session/test_show_config.py ....... [ 96%] tests/unit/util/test_graph.py ...... [ 97%] tests/unit/util/test_spinner.py ............. [ 99%] tests/unit/util/test_util.py ... [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1230 /usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1230: PytestConfigWarning: Unknown config option: looponfailroots self._warn_or_fail_if_strict("Unknown config option: {}\n".format(key)) ../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1230 /usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1230: PytestConfigWarning: Unknown config option: rsyncdirs self._warn_or_fail_if_strict("Unknown config option: {}\n".format(key)) ../../../../usr/lib/python3.8/site-packages/pathlib2/__init__.py:15 /usr/lib/python3.8/site-packages/pathlib2/__init__.py:15: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working from collections import Sequence tests/unit/test_z_cmdline.py::test_notest /build/python-tox/src/tox-3.20.1/src/tox/config/__init__.py:642: UserWarning: conflicting basepython version (set 3.8, should be 2.6) for env 'py26';resolve conflict or set ignore_basepython_conflict warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ SKIPPED [1] tests/integration/test_jython_env_create.py:5: needs jython and dev cut of virtualenv SKIPPED [1] tests/integration/test_package_int.py:35: git is not available SKIPPED [1] tests/unit/test_z_cmdline.py:773: Platform doesnt support alwayscopy SKIPPED [1] tests/unit/interpreters/windows/test_pep514.py:10: non posix test SKIPPED [1] tests/unit/interpreters/windows/test_pep514.py:17: non posix test SKIPPED [1] tests/unit/interpreters/windows/test_windows.py:4: non posix test ============ 579 passed, 6 skipped, 4 warnings in 184.93s (0:03:04) ============ created virtual environment CPython2.7.18.final.0-64 in 1150ms creator CPython2Posix(dest=/build/python-tox/src/pyvenv-py2, clear=False, global=True) seeder FromAppData(download=False, pip=bundle, wheel=bundle, setuptools=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) added seed packages: pip==20.2.4, setuptools==44.1.1, wheel==0.35.1 activators PythonActivator,CShellActivator,FishActivator,PowerShellActivator,BashActivator running install running bdist_egg running egg_info writing requirements to src/tox.egg-info/requires.txt writing src/tox.egg-info/PKG-INFO writing top-level names to src/tox.egg-info/top_level.txt writing dependency_links to src/tox.egg-info/dependency_links.txt writing entry points to src/tox.egg-info/entry_points.txt reading manifest file 'src/tox.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.rst' warning: no files found matching 'README.rst' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution writing manifest file 'src/tox.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py copying src/tox/version.py -> build/lib/tox creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/__init__.py -> build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/env.py -> build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/result.py -> build/bdist.linux-x86_64/egg/tox/logs copying build/lib/tox/logs/command.py -> build/bdist.linux-x86_64/egg/tox/logs creating build/bdist.linux-x86_64/egg/tox/package copying build/lib/tox/package/view.py -> build/bdist.linux-x86_64/egg/tox/package copying build/lib/tox/package/__init__.py -> build/bdist.linux-x86_64/egg/tox/package creating build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/builder/__init__.py -> build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/builder/isolated.py -> build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/builder/legacy.py -> build/bdist.linux-x86_64/egg/tox/package/builder copying build/lib/tox/package/local.py -> build/bdist.linux-x86_64/egg/tox/package copying build/lib/tox/__init__.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/__init__.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/via_path.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/common.py -> build/bdist.linux-x86_64/egg/tox/interpreters creating build/bdist.linux-x86_64/egg/tox/interpreters/windows copying build/lib/tox/interpreters/windows/__init__.py -> build/bdist.linux-x86_64/egg/tox/interpreters/windows copying build/lib/tox/interpreters/windows/pep514.py -> build/bdist.linux-x86_64/egg/tox/interpreters/windows copying build/lib/tox/interpreters/unix.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/interpreters/py_spec.py -> build/bdist.linux-x86_64/egg/tox/interpreters copying build/lib/tox/venv.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/session copying build/lib/tox/session/__init__.py -> build/bdist.linux-x86_64/egg/tox/session creating build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/__init__.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/provision.py -> build/bdist.linux-x86_64/egg/tox/session/commands creating build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/run/parallel.py -> build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/run/__init__.py -> build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/run/sequential.py -> build/bdist.linux-x86_64/egg/tox/session/commands/run copying build/lib/tox/session/commands/help.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/show_config.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/help_ini.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/session/commands/show_env.py -> build/bdist.linux-x86_64/egg/tox/session/commands copying build/lib/tox/constants.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/exception.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/version.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/__init__.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/main.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/lock.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/spinner.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/path.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/stdlib.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/util/graph.py -> build/bdist.linux-x86_64/egg/tox/util copying build/lib/tox/reporter.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/action.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/__main__.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/get_site_package_dir.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/__init__.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/build_requires.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/build_isolated.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/helper/get_version.py -> build/bdist.linux-x86_64/egg/tox/helper copying build/lib/tox/cli.py -> build/bdist.linux-x86_64/egg/tox creating build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/config/parallel.py -> build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/config/__init__.py -> build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/config/reporter.py -> build/bdist.linux-x86_64/egg/tox/config copying build/lib/tox/_quickstart.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/hookspecs.py -> build/bdist.linux-x86_64/egg/tox copying build/lib/tox/_pytestplugin.py -> build/bdist.linux-x86_64/egg/tox byte-compiling build/bdist.linux-x86_64/egg/tox/logs/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/logs/env.py to env.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/logs/result.py to result.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/logs/command.py to command.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/view.py to view.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/builder/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/builder/isolated.py to isolated.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/builder/legacy.py to legacy.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/package/local.py to local.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/via_path.py to via_path.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/common.py to common.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/windows/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/windows/pep514.py to pep514.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/unix.py to unix.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/interpreters/py_spec.py to py_spec.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/venv.py to venv.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/provision.py to provision.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/run/parallel.py to parallel.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/run/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/run/sequential.py to sequential.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/help.py to help.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/show_config.py to show_config.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/help_ini.py to help_ini.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/session/commands/show_env.py to show_env.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/constants.py to constants.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/exception.py to exception.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/version.py to version.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/main.py to main.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/lock.py to lock.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/spinner.py to spinner.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/path.py to path.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/stdlib.py to stdlib.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/util/graph.py to graph.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/reporter.py to reporter.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/action.py to action.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/__main__.py to __main__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/get_site_package_dir.py to get_site_package_dir.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/build_requires.py to build_requires.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/build_isolated.py to build_isolated.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/helper/get_version.py to get_version.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/cli.py to cli.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/config/parallel.py to parallel.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/config/__init__.py to __init__.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/config/reporter.py to reporter.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/_quickstart.py to _quickstart.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/hookspecs.py to hookspecs.pyc byte-compiling build/bdist.linux-x86_64/egg/tox/_pytestplugin.py to _pytestplugin.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying src/tox.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... tox._pytestplugin: module references __file__ tox.constants: module references __file__ tox.config.__init__: module references __file__ tox.helper.build_isolated: module references __file__ tox.session.__init__: module references __file__ creating dist creating 'dist/tox-3.20.1-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing tox-3.20.1-py2.7.egg creating /build/python-tox/src/pyvenv-py2/lib/python2.7/site-packages/tox-3.20.1-py2.7.egg Extracting tox-3.20.1-py2.7.egg to /build/python-tox/src/pyvenv-py2/lib/python2.7/site-packages Adding tox 3.20.1 to easy-install.pth file Installing tox script to /build/python-tox/src/pyvenv-py2/bin Installing tox-quickstart script to /build/python-tox/src/pyvenv-py2/bin Installed /build/python-tox/src/pyvenv-py2/lib/python2.7/site-packages/tox-3.20.1-py2.7.egg Processing dependencies for tox==3.20.1 Searching for importlib-metadata==2.0.0 Best match: importlib-metadata 2.0.0 Adding importlib-metadata 2.0.0 to easy-install.pth file Using /usr/lib/python2.7/site-packages Searching for virtualenv==20.1.0 Best match: virtualenv 20.1.0 virtualenv 20.1.0 is already the active version in easy-install.pth Installing virtualenv script to /build/python-tox/src/pyvenv-py2/bin Using /usr/lib/python2.7/site-packages Searching for toml==0.10.2 Best match: toml 0.10.2 toml 0.10.2 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for six==1.15.0 Best match: six 1.15.0 six 1.15.0 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for py==1.9.0 Best match: py 1.9.0 py 1.9.0 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for pluggy==0.13.1 Best match: pluggy 0.13.1 pluggy 0.13.1 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for packaging==20.4 Best match: packaging 20.4 packaging 20.4 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for filelock==3.0.12 Best match: filelock 3.0.12 filelock 3.0.12 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for configparser==4.0.2 Best match: configparser 4.0.2 configparser 4.0.2 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for contextlib2==0.6.0.post1 Best match: contextlib2 0.6.0.post1 contextlib2 0.6.0.post1 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for pathlib2==2.3.5 Best match: pathlib2 2.3.5 pathlib2 2.3.5 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for zipp==1.1.1 Best match: zipp 1.1.1 zipp 1.1.1 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for importlib-resources==1.0.2 Best match: importlib-resources 1.0.2 importlib-resources 1.0.2 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for distlib==0.3.1 Best match: distlib 0.3.1 distlib 0.3.1 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for appdirs==1.4.4 Best match: appdirs 1.4.4 appdirs 1.4.4 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for pyparsing==2.4.7 Best match: pyparsing 2.4.7 pyparsing 2.4.7 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for scandir==1.10.0 Best match: scandir 1.10.0 scandir 1.10.0 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Searching for typing==3.7.4.3 Best match: typing 3.7.4.3 typing 3.7.4.3 is already the active version in easy-install.pth Using /usr/lib/python2.7/site-packages Finished processing dependencies for tox==3.20.1 running pytest running egg_info writing requirements to src/tox.egg-info/requires.txt writing src/tox.egg-info/PKG-INFO writing top-level names to src/tox.egg-info/top_level.txt writing dependency_links to src/tox.egg-info/dependency_links.txt writing entry points to src/tox.egg-info/entry_points.txt reading manifest file 'src/tox.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGELOG.rst' warning: no files found matching 'README.rst' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[cod]' found anywhere in distribution writing manifest file 'src/tox.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-4.6.11, py-1.9.0, pluggy-0.13.1 tox comes from: '/build/python-tox/src/tox-3.20.1-py2/src/tox/__init__.py' rootdir: /build/python-tox/src/tox-3.20.1-py2, inifile: tox.ini, testpaths: tests plugins: mock-2.0.0, flaky-3.7.0 collected 585 items tests/integration/test_jython_env_create.py s [ 0%] tests/integration/test_package_int.py .ss [ 0%] tests/integration/test_parallel_inception.py . [ 0%] tests/integration/test_parallel_interrupt.py F [ 1%] tests/integration/test_provision_int.py ... [ 1%] tests/unit/test_docs.py ....................... [ 5%] tests/unit/test_pytest_plugins.py ............................... [ 10%] tests/unit/test_quickstart.py ............... [ 13%] tests/unit/test_result.py ................. [ 16%] tests/unit/test_venv.py ................................................ [ 24%] ................. [ 27%] tests/unit/test_z_cmdline.py ........................................... [ 34%] .......................F [ 38%] tests/unit/config/test_config.py .FFFFFF.FFFFFF...F.......FFFFFFFFFFFFFF [ 45%] FFF..FFFFFFFFFFFFFFFFFFF..FFF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 57%] FFFFFFFFFFFFFFFFFF..FFFF.....FFFFFF.FFFFFFFF.FF.FFFFFFFFFFFFFFFFFFFFFFFF [ 70%] FFFFFFFFFF.FFF...FFFFF........FFFFFFFFF.FF.FFFF [ 78%] tests/unit/config/test_config_parallel.py ......FFF [ 79%] tests/unit/interpreters/test_interpreters.py .F...F........ [ 82%] tests/unit/interpreters/test_py_spec.py ... [ 82%] tests/unit/interpreters/windows/test_pep514.py ss [ 82%] tests/unit/interpreters/windows/test_windows.py s [ 83%] tests/unit/package/test_package.py F.FFFFFF [ 84%] tests/unit/package/test_package_parallel.py F [ 84%] tests/unit/package/test_package_view.py FF [ 84%] tests/unit/package/builder/test_package_builder_isolated.py FFFFFFFFFFF [ 86%] tests/unit/package/builder/test_package_builder_legacy.py F [ 87%] tests/unit/session/test_list_env.py FFFFFFFFF [ 88%] tests/unit/session/test_parallel.py FFFFFFFFEEEEE [ 90%] tests/unit/session/test_provision.py FFFFFEFEF [ 92%] tests/unit/session/test_session.py ..FF..FFFFFFFFFF [ 95%] tests/unit/session/test_show_config.py FEEEFFF [ 96%] tests/unit/util/test_graph.py ...... [ 97%] tests/unit/util/test_spinner.py FFFFF........ [ 99%] tests/unit/util/test_util.py ... [100%] ==================================== ERRORS ==================================== ________________ ERROR at setup of test_parallel_no_spinner_on _________________ initproj = @pytest.fixture() def parallel_project(initproj): return initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" > """, }, ) initproj = tests/unit/session/test_parallel.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_no_spinner_on0/pkg123/tox.ini') data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_no_spinner_on0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ ERROR at setup of test_parallel_no_spinner_off ________________ initproj = @pytest.fixture() def parallel_project(initproj): return initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" > """, }, ) initproj = tests/unit/session/test_parallel.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_no_spinner_off0/pkg123/tox.ini') data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_no_spinner_off0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ ERROR at setup of test_parallel_no_spinner_not_set ______________ initproj = @pytest.fixture() def parallel_project(initproj): return initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" > """, }, ) initproj = tests/unit/session/test_parallel.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_no_spinner_not_s0/pkg123/tox.ini') data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_no_spinner_not_s0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ ERROR at setup of test_parallel_result_json __________________ initproj = @pytest.fixture() def parallel_project(initproj): return initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" > """, }, ) initproj = tests/unit/session/test_parallel.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_result_json0/pkg123/tox.ini') data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_result_json0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ ERROR at setup of test_parallel_result_json_concurrent ____________ initproj = @pytest.fixture() def parallel_project(initproj): return initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" > """, }, ) initproj = tests/unit/session/test_parallel.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_result_json_conc0/pkg123/tox.ini') data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skipsdist = True envlist = a, b [testenv] skip_install = True commands=python -c "import sys; print(sys.executable)" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_result_json_conc0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ ERROR at setup of test_provision_cli_args_ignore _______________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e37e0b90> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0') @pytest.fixture() def plugin(monkeypatch, tmp_path): dest = tmp_path / "a" > shutil.copytree(str(py.path.local(__file__).dirpath().join("plugin")), str(dest)) dest = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e37e0b90> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0') tests/unit/session/test_provision.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src = '/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin' dst = '/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a' symlinks = False, ignore = None def copytree(src, dst, symlinks=False, ignore=None): """Recursively copy a directory tree using copy2(). The destination directory must not already exist. If exception(s) occur, an Error is raised with a list of reasons. If the optional symlinks flag is true, symbolic links in the source tree result in symbolic links in the destination tree; if it is false, the contents of the files pointed to by symbolic links are copied. The optional ignore argument is a callable. If given, it is called with the `src` parameter, which is the directory being visited by copytree(), and `names` which is the list of `src` contents, as returned by os.listdir(): callable(src, names) -> ignored_names Since copytree() is called recursively, the callable will be called once for each directory that is copied. It returns a list of names relative to the `src` directory that should not be copied. XXX Consider this example code rather than the ultimate tool. """ names = os.listdir(src) if ignore is not None: ignored_names = ignore(src, names) else: ignored_names = set() os.makedirs(dst) errors = [] for name in names: if name in ignored_names: continue srcname = os.path.join(src, name) dstname = os.path.join(dst, name) try: if symlinks and os.path.islink(srcname): linkto = os.readlink(srcname) os.symlink(linkto, dstname) elif os.path.isdir(srcname): copytree(srcname, dstname, symlinks, ignore) else: # Will raise a SpecialFileError for unsupported file types copy2(srcname, dstname) # catch the Error from the recursive copytree so that we can # continue with other files except Error, err: errors.extend(err.args[0]) except EnvironmentError, why: errors.append((srcname, dstname, str(why))) try: copystat(src, dst) except OSError, why: if WindowsError is not None and isinstance(why, WindowsError): # Copying file access times may fail on Windows pass else: errors.append((src, dst, str(why))) if errors: > raise Error, errors E Error: [('/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin/setup.py', '/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a/setup.py', '[Errno 28] No space left on device'), ('/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin/setup.cfg', '/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a/setup.cfg', '[Errno 28] No space left on device'), ('/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin/a/__init__.py', '/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a/a/__init__.py', '[Errno 28] No space left on device')] dst = '/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a' dstname = '/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a/a' err = Error([('/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin/a/__in...ion_cli_args_ignore0/a/a/__init__.py', '[Errno 28] No space left on device')],) errors = [('/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin/setup.py', '/tmp/pytest-of-builduser/pytest-1/test_p...p/pytest-of-builduser/pytest-1/test_provision_cli_args_ignore0/a/a/__init__.py', '[Errno 28] No space left on device')] ignore = None ignored_names = set([]) name = 'a' names = ['setup.py', 'setup.cfg', 'a'] src = '/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin' srcname = '/build/python-tox/src/tox-3.20.1-py2/tests/unit/session/plugin/a' symlinks = False why = IOError(28, 'No space left on device') /usr/lib/python2.7/shutil.py:231: Error ______________ ERROR at setup of test_provision_non_canonical_dep ______________ wheel = @pytest.fixture(scope="session") def tox_wheel(wheel): > return wheel(THIS_PROJECT_ROOT) wheel = tests/unit/session/test_provision.py:195: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ path = PosixPath('/build/python-tox/src/tox-3.20.1-py2') def _wheel(path): state["at"] += 1 dest_path = tmp_path_factory.mktemp("wheel-{}-".format(state["at"])) env = os.environ.copy() try: subprocess.check_output( [ sys.executable, "-m", "pip", "wheel", "-w", str(dest_path), "--no-deps", str(path), ], universal_newlines=True, stderr=subprocess.STDOUT, env=env, ) except subprocess.CalledProcessError as exception: > assert not exception.returncode, exception.output E AssertionError: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. E Processing /build/python-tox/src/tox-3.20.1-py2 E Installing build dependencies: started E Installing build dependencies: finished with status 'done' E Getting requirements to build wheel: started E Getting requirements to build wheel: finished with status 'done' E Preparing wheel metadata: started E Preparing wheel metadata: finished with status 'done' E Building wheels for collected packages: tox E Building wheel for tox (PEP 517): started E Building wheel for tox (PEP 517): finished with status 'done' E Created wheel for tox: filename=tox-3.20.1-py2.py3-none-any.whl size=83791 sha256=ceca0ca180f20dc157016f5a5eb6305ea485b602b43f376f83df7d84610541b1 E Stored in directory: /build/.cache/pip/wheels/a2/1a/4b/5602b68ca911c2037c1d50730c854f829126fd822bb8edfadd E Successfully built tox E ERROR: Exception: E Traceback (most recent call last): E File "/build/python-tox/src/pyvenv-py2/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main E status = self.run(options, args) E File "/build/python-tox/src/pyvenv-py2/lib/python2.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper E return func(self, options, args) E File "/build/python-tox/src/pyvenv-py2/lib/python2.7/site-packages/pip/_internal/commands/wheel.py", line 176, in run E shutil.copy(req.local_file_path, options.wheel_dir) E File "/usr/lib/python2.7/shutil.py", line 139, in copy E copyfile(src, dst) E File "/usr/lib/python2.7/shutil.py", line 98, in copyfile E copyfileobj(fsrc, fdst) E File "/usr/lib/python2.7/shutil.py", line 66, in copyfileobj E fdst.write(buf) E IOError: [Errno 28] No space left on device E E assert not 2 E + where 2 = CalledProcessError().returncode dest_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/wheel-1-0') env = {'CFLAGS': '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt', 'CHOST': 'x86_64-pc-linux-gnu', 'COMMAND_MODE': 'legacy', 'CPPFLAGS': '-D_FORTIFY_SOURCE=2', ...} exception = CalledProcessError() path = PosixPath('/build/python-tox/src/tox-3.20.1-py2') state = {'at': 1} tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-builduser/pytest-1')) tests/unit/session/test_provision.py:180: AssertionError ____________________ ERROR at setup of test_showconfig[all] ____________________ initproj = @pytest.fixture() def setup_mixed_conf(initproj): initproj( "force_dep_version", filedefs={ "tox.ini": """ [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs > """, }, ) initproj = tests/unit/session/test_show_config.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_all_0/force_dep_version/tox.ini') data = ' [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_all_0/force_dep_version/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ ERROR at setup of test_showconfig[default_only] ________________ initproj = @pytest.fixture() def setup_mixed_conf(initproj): initproj( "force_dep_version", filedefs={ "tox.ini": """ [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs > """, }, ) initproj = tests/unit/session/test_show_config.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_default_only_0/force_dep_version/tox.ini') data = ' [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_default_only_0/force_dep_version/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ ERROR at setup of test_showconfig[-e] _____________________ initproj = @pytest.fixture() def setup_mixed_conf(initproj): initproj( "force_dep_version", filedefs={ "tox.ini": """ [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs > """, }, ) initproj = tests/unit/session/test_show_config.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig__e_0/force_dep_version/tox.ini') data = ' [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py37,py27,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig__e_0/force_dep_version/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError =================================== FAILURES =================================== ___________________________ test_parallel_interrupt ____________________________ initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42277d0> capfd = <_pytest.capture.CaptureFixture object at 0x7f67e4227910> @flaky(max_runs=3) @pytest.mark.skipif(INFO.IS_PYPY, reason="TODO: process numbers work differently on pypy") @pytest.mark.skipif( "sys.platform == 'win32'", reason="triggering SIGINT reliably on Windows is hard", ) def test_parallel_interrupt(initproj, monkeypatch, capfd): monkeypatch.setenv(str("_TOX_SKIP_ENV_CREATION_TEST"), str("1")) monkeypatch.setenv(str("TOX_REPORTER_TIMESTAMP"), str("1")) start = datetime.now() initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] envlist = a, b [testenv] skip_install = True commands = python -c "open('{{envname}}', 'w').write('done'); \ import time; time.sleep(100)" allowlist_externals = {} """.format( sys.executable, ), }, ) process = subprocess.Popen( [sys.executable, MAIN_FILE, "-p", "all"], creationflags=( subprocess.CREATE_NEW_PROCESS_GROUP if sys.platform == "win32" else 0 # needed for Windows signal send ability (CTRL+C) ), ) try: import psutil current_process = psutil.Process(process.pid) except ImportError: current_process = None wait_for_env_startup(process) all_children = [] if current_process is not None: all_children.append(current_process) all_children.extend(current_process.children(recursive=True)) assert len(all_children) >= 1 + 2 + 2, all_children end = datetime.now() - start assert end process.send_signal(signal.CTRL_C_EVENT if sys.platform == "win32" else signal.SIGINT) process.wait() out, err = capfd.readouterr() output = "{}\n{}".format(out, err) assert "KeyboardInterrupt parallel - stopping children" in output, output assert "ERROR: a: parallel child exit code " in output, output > assert "ERROR: b: parallel child exit code " in output, output x [2] a | b0:00:00.483478 [5260] KeyboardInterrupt parallel - stopping children * [2] a | b0:00:00.509542 ERROR: invocation failed (exit code 2), logfile: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt2/pkg123/.tox/a/log/a-0.log E ================================== log start =================================== E 0:00:00.509698 0:00:00.110149 a create: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt2/pkg123/.tox/a E 0:00:00.324110 a installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.,apipkg==1.5,appdirs==1.4.4,atomicwrites==1.4.0,attrs==20.3.0,backports.functools-lru-cache==1.6.1,configparser==4.0.2,contextlib2==0.6.0.post1,distlib==0.3.1,filelock==3.0.12,flaky==3.7.0,freezegun==0.3.15,funcsigs==1.0.2,importlib-metadata==2.0.0,importlib-resources==1.0.2,iniconfig==0.0.0,mock==3.0.5,more-itertools==5.0.0,ordered-set==3.1.1,packaging==20.4,pathlib2==2.3.5,pbr==5.5.1,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==4.6.11,pytest-mock==2.0.0,pytest-runner==5.2,python-dateutil==2.8.1,scandir==1.10.0,setuptools-scm==4.1.2,six==1.15.0,toml==0.10.2,tox==3.20.1,typing==3.7.4.3,virtualenv==20.1.0,wcwidth==0.2.5,zipp==1.1.1 E 0:00:00.324499 a run-test-pre: PYTHONHASHSEED='1155045387' E 0:00:00.324646 a run-test: commands[0] | python -c 'open('"'"'a'"'"', '"'"'w'"'"').write('"'"'done'"'"'); import time; time.sleep(100)' E 0:00:00.334221 ERROR: got KeyboardInterrupt signal E Traceback (most recent call last): E File "", line 1, in E KeyboardInterrupt E E =================================== log end ==================================== ___________________________________ summary ____________________________________ E 0:01:40.631454 ERROR: a: parallel child exit code 2 E 0:01:40.631526 b: commands succeeded E E x [2] a | b0:00:00.483478 [5260] KeyboardInterrupt parallel - stoppin..._______________________\n0:01:40.631454 ERROR: a: parallel child exit code 2\n0:01:40.631526 b: commands succeeded\n\n' all_children = [] capfd = <_pytest.capture.CaptureFixture object at 0x7f67e4227910> current_process = None end = datetime.timedelta(0, 0, 528194) err = '' initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42277d0> x [2] a | b0:00:00.483478 [5260] KeyboardInterrupt parallel - stoppin...________________________ 0:01:40.631454 ERROR: a: parallel child exit code 2 0:01:40.631526 b: commands succeeded ' x [2] a | b0:00:00.483478 [5260] KeyboardInterrupt parallel - stoppin..._______________________ 0:01:40.631454 ERROR: a: parallel child exit code 2 0:01:40.631526 b: commands succeeded ' process = start = datetime.datetime(2020, 11, 9, 12, 12, 27, 536720) /build/python-tox/src/tox-3.20.1-py2/tests/integration/test_parallel_interrupt.py:75: AssertionError ______________________________ test_exit_code[6] _______________________________ initproj = cmd = , exit_code = 6 mocker = @pytest.mark.parametrize("exit_code", [0, 6]) def test_exit_code(initproj, cmd, exit_code, mocker): """Check for correct InvocationError, with exit code, except for zero exit code""" import tox.exception mocker.spy(tox.exception, "exit_code_str") tox_ini_content = "[testenv:foo]\ncommands=python -c 'import sys; sys.exit({:d})'".format( exit_code, ) initproj("foo", filedefs={"tox.ini": tox_ini_content}) cmd() if exit_code: # need mocker.spy above > assert tox.exception.exit_code_str.call_count == 1 E AssertionError: assert 2 == 1 E + where 2 = .call_count E + where = .exit_code_str E + where = .exception cmd = exit_code = 6 initproj = mocker = tox = tox_ini_content = "[testenv:foo]\ncommands=python -c 'import sys; sys.exit(6)'" /build/python-tox/src/tox-3.20.1-py2/tests/unit/test_z_cmdline.py:1131: AssertionError _________________ TestVenvConfig.test_config_parsing_multienv __________________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_config_parsing_multienv0') newconfig = def test_config_parsing_multienv(self, tmpdir, newconfig): config = newconfig( [], """ [tox] toxworkdir = {} indexserver = xyz = xyz_repo [testenv:py1] deps=hello [testenv:py2] deps= world1 :xyz:http://hello/world """.format( > tmpdir, ), ) newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_config_parsing_multienv0') tests/unit/config/test_config.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parsing_multienv0/tox.ini') data = ' [tox] toxworkdir = /tmp/pytest-of-builduser/pytest-1/test_config_parsing_multienv0 indexserver = xyz = xyz_repo [testenv:py1] deps=hello [testenv:py2] deps= world1 :xyz:http://hello/world ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] toxworkdir = /tmp/pytest-of-builduser/pytest-1/test_config_parsing_multienv0 indexserver = xyz = xyz_repo [testenv:py1] deps=hello [testenv:py2] deps= world1 :xyz:http://hello/world ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parsing_multienv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestVenvConfig.test_envdir_set_manually ____________________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_envdir_set_manually0') newconfig = def test_envdir_set_manually(self, tmpdir, newconfig): config = newconfig( [], """ [testenv:dev] envdir = dev > """, ) newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_envdir_set_manually0') tests/unit/config/test_config.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envdir_set_manually0/tox.ini') data = ' [testenv:dev] envdir = dev ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:dev] envdir = dev ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envdir_set_manually0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestVenvConfig.test_envdir_set_manually_with_substitutions __________ self = newconfig = def test_envdir_set_manually_with_substitutions(self, newconfig): config = newconfig( [], """ [testenv:dev] envdir = {toxworkdir}/foobar > """, ) newconfig = self = tests/unit/config/test_config.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envdir_set_manually_with_0/tox.ini') data = ' [testenv:dev] envdir = {toxworkdir}/foobar ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:dev] envdir = {toxworkdir}/foobar ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envdir_set_manually_with_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestVenvConfig.test_force_dep_version _____________________ self = initproj = def test_force_dep_version(self, initproj): """ Make sure we can override dependencies configured in tox.ini when using the command line option --force-dep. """ initproj( "example123-0.5", filedefs={ "tox.ini": """ [tox] [testenv] deps= dep1==1.0 dep2>=2.0 dep3 dep4==4.0 > """, }, ) initproj = self = tests/unit/config/test_config.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_force_dep_version0/example123/tox.ini') data = ' [tox] [testenv] deps= dep1==1.0 dep2>=2.0 dep3 dep4==4.0 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] [testenv] deps= dep1==1.0 dep2>=2.0 dep3 dep4==4.0 ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_force_dep_version0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestVenvConfig.test_force_dep_with_url ____________________ self = initproj = def test_force_dep_with_url(self, initproj): initproj( "example123-0.5", filedefs={ "tox.ini": """ [tox] [testenv] deps= dep1==1.0 https://pypi.org/xyz/pkg1.tar.gz > """, }, ) initproj = self = tests/unit/config/test_config.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_force_dep_with_url0/example123/tox.ini') data = ' [tox] [testenv] deps= dep1==1.0 https://pypi.org/xyz/pkg1.tar.gz ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] [testenv] deps= dep1==1.0 https://pypi.org/xyz/pkg1.tar.gz ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_force_dep_with_url0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestVenvConfig.test_process_deps _______________________ self = newconfig = def test_process_deps(self, newconfig): config = newconfig( [], """ [testenv] deps = -r requirements.txt yapf>=0.25.0,<0.27 # pyup: < 0.27 # disable updates --index-url https://pypi.org/simple pywin32 >=1.0 ; sys_platform == '#my-magic-platform' # so what now -fhttps://pypi.org/packages --global-option=foo -v dep1 --help dep2 > """, ) # note that those last two are invalid newconfig = self = tests/unit/config/test_config.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_process_deps0/tox.ini') data = " [testenv] deps = -r requirements.txt yapf>=0.25.0,<0.27 # pyup: < 0.27 # disable updates --index-url ht...#my-magic-platform' # so what now -fhttps://pypi.org/packages --global-option=foo -v dep1 --help dep2 " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " [testenv] deps = -r requirements.txt yapf>=0.25.0,<0.27 # pyup: < 0.27 # disable updates --index-url ht...#my-magic-platform' # so what now -fhttps://pypi.org/packages --global-option=foo -v dep1 --help dep2 " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_process_deps0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____ TestVenvConfig.test_suicide_interrupt_terminate_timeout_set_manually _____ self = newconfig = def test_suicide_interrupt_terminate_timeout_set_manually(self, newconfig): config = newconfig( [], """ [testenv:dev] suicide_timeout = 30.0 interrupt_timeout = 5.0 terminate_timeout = 10.0 [testenv:other] > """, ) newconfig = self = tests/unit/config/test_config.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_suicide_interrupt_termina0/tox.ini') data = ' [testenv:dev] suicide_timeout = 30.0 interrupt_timeout = 5.0 terminate_timeout = 10.0 [testenv:other] ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:dev] suicide_timeout = 30.0 interrupt_timeout = 5.0 terminate_timeout = 10.0 [testenv:other] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_suicide_interrupt_termina0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigPlatform.test_config_parse_platform _________________ self = newconfig = def test_config_parse_platform(self, newconfig): config = newconfig( [], """ [testenv:py1] platform = linux2 > """, ) newconfig = self = tests/unit/config/test_config.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform0/tox.ini') data = ' [testenv:py1] platform = linux2 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py1] platform = linux2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestConfigPlatform.test_config_parse_platform_rex _______________ self = newconfig = mocksession = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3e3d490> def test_config_parse_platform_rex(self, newconfig, mocksession, monkeypatch): config = newconfig( [], """ [testenv:py1] platform = a123|b123 > """, ) mocksession = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3e3d490> newconfig = self = tests/unit/config/test_config.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_rex0/tox.ini') data = ' [testenv:py1] platform = a123|b123 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py1] platform = a123|b123 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_rex0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______ TestConfigPlatform.test_config_parse_platform_with_factors[win] ________ self = newconfig = , plat = 'win' @pytest.mark.parametrize("plat", ["win", "lin", "osx"]) def test_config_parse_platform_with_factors(self, newconfig, plat): config = newconfig( [], """ [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 > """, ) newconfig = plat = 'win' self = tests/unit/config/test_config.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_wit0/tox.ini') data = ' [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_wit0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______ TestConfigPlatform.test_config_parse_platform_with_factors[lin] ________ self = newconfig = , plat = 'lin' @pytest.mark.parametrize("plat", ["win", "lin", "osx"]) def test_config_parse_platform_with_factors(self, newconfig, plat): config = newconfig( [], """ [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 > """, ) newconfig = plat = 'lin' self = tests/unit/config/test_config.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_wit1/tox.ini') data = ' [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_wit1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______ TestConfigPlatform.test_config_parse_platform_with_factors[osx] ________ self = newconfig = , plat = 'osx' @pytest.mark.parametrize("plat", ["win", "lin", "osx"]) def test_config_parse_platform_with_factors(self, newconfig, plat): config = newconfig( [], """ [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 > """, ) newconfig = plat = 'osx' self = tests/unit/config/test_config.py:244: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_wit2/tox.ini') data = ' [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27-{win, lin,osx } [testenv] platform = win: win32 lin: linux2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_parse_platform_wit2/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ TestConfigPackage.test_project_paths _____________________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_project_paths0') newconfig = def test_project_paths(self, tmpdir, newconfig): config = newconfig( """ [tox] toxworkdir={} """.format( > tmpdir, ), ) newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_project_paths0') tests/unit/config/test_config.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_project_paths0/tox.ini') data = ' [tox] toxworkdir=/tmp/pytest-of-builduser/pytest-1/test_project_paths0 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] toxworkdir=/tmp/pytest-of-builduser/pytest-1/test_project_paths0 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_project_paths0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestIniParserAgainstCommandsKey.test_command_substitution_from_other_section _ self = newconfig = def test_command_substitution_from_other_section(self, newconfig): config = newconfig( """ [section] key = whatever [testenv] commands = echo {[section]key} > """, ) newconfig = self = tests/unit/config/test_config.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_substitution_from0/tox.ini') data = ' [section] key = whatever [testenv] commands = echo {[section]key} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key = whatever [testenv] commands = echo {[section]key} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_substitution_from0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestIniParserAgainstCommandsKey.test_command_substitution_from_other_section_multiline _ self = newconfig = def test_command_substitution_from_other_section_multiline(self, newconfig): """Ensure referenced multiline commands form from other section injected as multiple commands.""" config = newconfig( """ [section] commands = cmd1 param11 param12 # comment is omitted cmd2 param21 \ param22 [base] commands = cmd 1 \ 2 3 4 cmd 2 [testenv] commands = {[section]commands} {[section]commands} # comment is omitted echo {[base]commands} > """, ) newconfig = self = tests/unit/config/test_config.py:384: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_substitution_from1/tox.ini') data = ' [section] commands = cmd1 param11 param12 # comment is omitted cmd2 param21 ...estenv] commands = {[section]commands} {[section]commands} # comment is omitted echo {[base]commands} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] commands = cmd1 param11 param12 # comment is omitted cmd2 param21 ...estenv] commands = {[section]commands} {[section]commands} # comment is omitted echo {[base]commands} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_substitution_from1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestIniParserAgainstCommandsKey.test_command_substitution_from_other_section_posargs _ self = newconfig = def test_command_substitution_from_other_section_posargs(self, newconfig): """Ensure subsitition from other section with posargs succeeds""" config = newconfig( """ [section] key = thing {posargs} arg2 [testenv] commands = {[section]key} > """, ) newconfig = self = tests/unit/config/test_config.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_substitution_from2/tox.ini') data = ' [section] key = thing {posargs} arg2 [testenv] commands = {[section]key} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key = thing {posargs} arg2 [testenv] commands = {[section]key} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_substitution_from2/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestIniParserAgainstCommandsKey.test_command_section_and_posargs_substitution _ self = newconfig = def test_command_section_and_posargs_substitution(self, newconfig): """Ensure subsitition from other section with posargs succeeds""" config = newconfig( """ [section] key = thing arg1 [testenv] commands = {[section]key} {posargs} endarg > """, ) newconfig = self = tests/unit/config/test_config.py:422: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_section_and_posar0/tox.ini') data = ' [section] key = thing arg1 [testenv] commands = {[section]key} {posargs} endarg ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key = thing arg1 [testenv] commands = {[section]key} {posargs} endarg ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_section_and_posar0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________ TestIniParserAgainstCommandsKey.test_command_env_substitution _________ self = newconfig = def test_command_env_substitution(self, newconfig): """Ensure referenced {env:key:default} values are substituted correctly.""" config = newconfig( """ [testenv:py27] setenv = TEST=testvalue commands = ls {env:TEST} > """, ) newconfig = self = tests/unit/config/test_config.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_env_substitution0/tox.ini') data = ' [testenv:py27] setenv = TEST=testvalue commands = ls {env:TEST} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] setenv = TEST=testvalue commands = ls {env:TEST} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_env_substitution0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____ TestIniParserAgainstCommandsKey.test_command_env_substitution_global _____ self = newconfig = def test_command_env_substitution_global(self, newconfig): """Ensure referenced {env:key:default} values are substituted correctly.""" config = newconfig( """ [testenv] setenv = FOO = bar commands = echo {env:FOO} > """, ) newconfig = self = tests/unit/config/test_config.py:451: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_env_substitution_0/tox.ini') data = ' [testenv] setenv = FOO = bar commands = echo {env:FOO} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = FOO = bar commands = echo {env:FOO} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_command_env_substitution_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________ TestIniParserAgainstCommandsKey.test_regression_issue595 ___________ self = newconfig = def test_regression_issue595(self, newconfig): config = newconfig( """ [tox] envlist = foo [testenv] setenv = VAR = x [testenv:bar] setenv = {[testenv]setenv} [testenv:baz] setenv = > """, ) newconfig = self = tests/unit/config/test_config.py:467: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_regression_issue5950/tox.ini') data = ' [tox] envlist = foo [testenv] setenv = VAR = x [testenv:bar] setenv = {[testenv]setenv} [testenv:baz] setenv = ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = foo [testenv] setenv = VAR = x [testenv:bar] setenv = {[testenv]setenv} [testenv:baz] setenv = ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_regression_issue5950/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ TestIniParser.test_getstring_single ______________________ self = newconfig = def test_getstring_single(self, newconfig): config = newconfig( """ [section] key=value > """, ) newconfig = self = tests/unit/config/test_config.py:480: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_single0/tox.ini') data = ' [section] key=value ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key=value ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_single0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestIniParser.test_missing_substitution ____________________ self = newconfig = def test_missing_substitution(self, newconfig): config = newconfig( """ [mydefault] key2={xyz} > """, ) newconfig = self = tests/unit/config/test_config.py:494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_missing_substitution0/tox.ini') data = ' [mydefault] key2={xyz} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [mydefault] key2={xyz} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_missing_substitution0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestIniParser.test_getstring_fallback_sections ________________ self = newconfig = def test_getstring_fallback_sections(self, newconfig): config = newconfig( """ [mydefault] key2=value2 [section] key=value > """, ) newconfig = self = tests/unit/config/test_config.py:508: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_fallback_sectio0/tox.ini') data = ' [mydefault] key2=value2 [section] key=value ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [mydefault] key2=value2 [section] key=value ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_fallback_sectio0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestIniParser.test_getstring_substitution ___________________ self = newconfig = def test_getstring_substitution(self, newconfig): config = newconfig( """ [mydefault] key2={value2} [section] key={value} > """, ) newconfig = self = tests/unit/config/test_config.py:525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_substitution0/tox.ini') data = ' [mydefault] key2={value2} [section] key={value} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [mydefault] key2={value2} [section] key={value} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_substitution0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ TestIniParser.test_getlist __________________________ self = newconfig = def test_getlist(self, newconfig): config = newconfig( """ [section] key2= item1 {item2} > """, ) newconfig = self = tests/unit/config/test_config.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getlist0/tox.ini') data = ' [section] key2= item1 {item2} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key2= item1 {item2} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getlist0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ TestIniParser.test_getdict __________________________ self = newconfig = def test_getdict(self, newconfig): config = newconfig( """ [section] key2= key1=item1 key2={item2} > """, ) newconfig = self = tests/unit/config/test_config.py:557: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getdict0/tox.ini') data = ' [section] key2= key1=item1 key2={item2} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key2= key1=item1 key2={item2} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getdict0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestIniParser.test_normal_env_sub_works ____________________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e399b590> newconfig = def test_normal_env_sub_works(self, monkeypatch, newconfig): monkeypatch.setenv("VAR", "hello") > config = newconfig("[section]\nkey={env:VAR}") monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e399b590> newconfig = self = tests/unit/config/test_config.py:572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_normal_env_sub_works0/tox.ini') data = '[section] key={env:VAR}', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[section] key={env:VAR}' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_normal_env_sub_works0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____ TestIniParser.test_missing_env_sub_raises_config_error_in_non_testenv _____ self = newconfig = def test_missing_env_sub_raises_config_error_in_non_testenv(self, newconfig): > config = newconfig("[section]\nkey={env:VAR}") newconfig = self = tests/unit/config/test_config.py:576: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_missing_env_sub_raises_co0/tox.ini') data = '[section] key={env:VAR}', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[section] key={env:VAR}' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_missing_env_sub_raises_co0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestIniParser.test_missing_env_sub_populates_missing_subs ___________ self = newconfig = def test_missing_env_sub_populates_missing_subs(self, newconfig): > config = newconfig("[testenv:foo]\ncommands={env:VAR}") newconfig = self = tests/unit/config/test_config.py:581: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_missing_env_sub_populates0/tox.ini') data = '[testenv:foo] commands={env:VAR}', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[testenv:foo] commands={env:VAR}' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_missing_env_sub_populates0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______ TestIniParser.test_getstring_environment_substitution_with_default ______ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3932bd0> newconfig = def test_getstring_environment_substitution_with_default(self, monkeypatch, newconfig): monkeypatch.setenv("KEY1", "hello") config = newconfig( """ [section] key1={env:KEY1:DEFAULT_VALUE} key2={env:KEY2:DEFAULT_VALUE} key3={env:KEY3:} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3932bd0> newconfig = self = tests/unit/config/test_config.py:593: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_environment_sub0/tox.ini') data = ' [section] key1={env:KEY1:DEFAULT_VALUE} key2={env:KEY2:DEFAULT_VALUE} key3={env:KEY3:} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key1={env:KEY1:DEFAULT_VALUE} key2={env:KEY2:DEFAULT_VALUE} key3={env:KEY3:} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_environment_sub0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________ TestIniParser.test_getstring_other_section_substitution ____________ self = newconfig = def test_getstring_other_section_substitution(self, newconfig): config = newconfig( """ [section] key = rue [testenv] key = t{[section]key} > """, ) newconfig = self = tests/unit/config/test_config.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_other_section_s0/tox.ini') data = ' [section] key = rue [testenv] key = t{[section]key} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key = rue [testenv] key = t{[section]key} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getstring_other_section_s0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ TestIniParser.test_argvlist __________________________ self = newconfig = def test_argvlist(self, newconfig): config = newconfig( """ [section] key2= cmd1 {item1} {item2} cmd2 {item2} > """, ) newconfig = self = tests/unit/config/test_config.py:631: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist0/tox.ini') data = ' [section] key2= cmd1 {item1} {item2} cmd2 {item2} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key2= cmd1 {item1} {item2} cmd2 {item2} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestIniParser.test_argvlist_windows_escaping _________________ self = newconfig = def test_argvlist_windows_escaping(self, newconfig): config = newconfig( """ [section] comm = pytest {posargs} > """, ) newconfig = self = tests/unit/config/test_config.py:644: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_windows_escaping0/tox.ini') data = ' [section] comm = pytest {posargs} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] comm = pytest {posargs} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_windows_escaping0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestIniParser.test_argvlist_multiline _____________________ self = newconfig = def test_argvlist_multiline(self, newconfig): config = newconfig( """ [section] key2= cmd1 {item1} \ {item2} > """, ) newconfig = self = tests/unit/config/test_config.py:658: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_multiline0/tox.ini') data = ' [section] key2= cmd1 {item1} {item2} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key2= cmd1 {item1} {item2} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_multiline0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestIniParser.test_argvlist_quoting_in_command ________________ self = newconfig = def test_argvlist_quoting_in_command(self, newconfig): config = newconfig( """ [section] key1= cmd1 'part one' \ 'part two' > """, ) newconfig = self = tests/unit/config/test_config.py:673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_quoting_in_comma0/tox.ini') data = " [section] key1= cmd1 'part one' 'part two' " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " [section] key1= cmd1 'part one' 'part two' " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_quoting_in_comma0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestIniParser.test_argvlist_comment_after_command _______________ self = newconfig = def test_argvlist_comment_after_command(self, newconfig): config = newconfig( """ [section] key1= cmd1 --flag # run the flag on the command > """, ) newconfig = self = tests/unit/config/test_config.py:685: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_comment_after_co0/tox.ini') data = ' [section] key1= cmd1 --flag # run the flag on the command ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key1= cmd1 --flag # run the flag on the command ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_comment_after_co0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestIniParser.test_argvlist_command_contains_hash _______________ self = newconfig = def test_argvlist_command_contains_hash(self, newconfig): config = newconfig( """ [section] key1= cmd1 --re "use the # symbol for an arg" > """, ) newconfig = self = tests/unit/config/test_config.py:697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_command_contains0/tox.ini') data = ' [section] key1= cmd1 --re "use the # symbol for an arg" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key1= cmd1 --re "use the # symbol for an arg" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_command_contains0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestIniParser.test_argvlist_positional_substitution ______________ self = newconfig = def test_argvlist_positional_substitution(self, newconfig): config = newconfig( """ [section] key2= cmd1 [] cmd2 {posargs:{item2} \ other} > """, ) newconfig = self = tests/unit/config/test_config.py:711: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_positional_subst0/tox.ini') data = ' [section] key2= cmd1 [] cmd2 {posargs:{item2} other} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key2= cmd1 [] cmd2 {posargs:{item2} other} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_positional_subst0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestIniParser.test_argvlist_quoted_posargs __________________ self = newconfig = def test_argvlist_quoted_posargs(self, newconfig): config = newconfig( """ [section] key2= cmd1 --foo-args='{posargs}' cmd2 -f '{posargs}' cmd3 -f {posargs} > """, ) newconfig = self = tests/unit/config/test_config.py:736: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_quoted_posargs0/tox.ini') data = " [section] key2= cmd1 --foo-args='{posargs}' cmd2 -f '{posargs}' cmd3 -f {posargs} " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " [section] key2= cmd1 --foo-args='{posargs}' cmd2 -f '{posargs}' cmd3 -f {posargs} " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_quoted_posargs0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ TestIniParser.test_argvlist_posargs_with_quotes ________________ self = newconfig = def test_argvlist_posargs_with_quotes(self, newconfig): config = newconfig( """ [section] key2= cmd1 -f {posargs} > """, ) newconfig = self = tests/unit/config/test_config.py:755: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_posargs_with_quo0/tox.ini') data = ' [section] key2= cmd1 -f {posargs} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key2= cmd1 -f {posargs} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_argvlist_posargs_with_quo0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestIniParser.test_positional_arguments_are_only_replaced_when_standing_alone _ self = newconfig = def test_positional_arguments_are_only_replaced_when_standing_alone(self, newconfig): config = newconfig( """ [section] key= cmd0 [] cmd1 -m '[abc]' cmd2 -m '\'something\'' [] cmd3 something[]else > """, ) newconfig = self = tests/unit/config/test_config.py:782: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_positional_arguments_are_0/tox.ini') data = " [section] key= cmd0 [] cmd1 -m '[abc]' cmd2 -m ''something'' [] cmd3 something[]else " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " [section] key= cmd0 [] cmd1 -m '[abc]' cmd2 -m ''something'' [] cmd3 something[]else " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_positional_arguments_are_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestIniParser.test_posargs_are_added_escaped_issue310 _____________ self = newconfig = def test_posargs_are_added_escaped_issue310(self, newconfig): config = newconfig( """ [section] key= cmd0 {posargs} > """, ) newconfig = self = tests/unit/config/test_config.py:799: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_posargs_are_added_escaped0/tox.ini') data = ' [section] key= cmd0 {posargs} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key= cmd0 {posargs} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_posargs_are_added_escaped0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestIniParser.test_substitution_with_multiple_words ______________ self = newconfig = def test_substitution_with_multiple_words(self, newconfig): inisource = """ [section] key = pytest -n5 --junitxml={envlogdir}/junit-{envname}.xml [] """ > config = newconfig(inisource) inisource = '\n [section]\n key = pytest -n5 --junitxml={envlogdir}/junit-{envname}.xml []\n ' newconfig = self = tests/unit/config/test_config.py:812: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_with_multipl0/tox.ini') data = ' [section] key = pytest -n5 --junitxml={envlogdir}/junit-{envname}.xml [] ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key = pytest -n5 --junitxml={envlogdir}/junit-{envname}.xml [] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_with_multipl0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ TestIniParser.test_getargv __________________________ self = newconfig = def test_getargv(self, newconfig): config = newconfig( """ [section] key=some command "with quoting" > """, ) newconfig = self = tests/unit/config/test_config.py:825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getargv0/tox.ini') data = ' [section] key=some command "with quoting" ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key=some command "with quoting" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getargv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ TestIniParser.test_getpath __________________________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_getpath0') newconfig = def test_getpath(self, tmpdir, newconfig): config = newconfig( """ [section] path1={HELLO} > """, ) newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_getpath0') tests/unit/config/test_config.py:836: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getpath0/tox.ini') data = ' [section] path1={HELLO} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] path1={HELLO} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getpath0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ TestIniParser.test_getbool __________________________ self = newconfig = def test_getbool(self, newconfig): config = newconfig( """ [section] key1=True key2=False key1a=true key2a=falsE key5=yes > """, ) newconfig = self = tests/unit/config/test_config.py:852: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getbool0/tox.ini') data = ' [section] key1=True key2=False key1a=true key2a=falsE key5=yes ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] key1=True key2=False key1a=true key2a=falsE key5=yes ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getbool0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestIniParser.test_expand_section_name ____________________ self = newconfig = def test_expand_section_name(self, newconfig): config = newconfig( """ [testenv:custom{,-one,-two,-three}-{four,five}-six] > """, ) newconfig = self = tests/unit/config/test_config.py:870: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_expand_section_name0/tox.ini') data = ' [testenv:custom{,-one,-two,-three}-{four,five}-six] ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:custom{,-one,-two,-three}-{four,five}-six] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_expand_section_name0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestIniParserPrefix.test_basic_section_access _________________ self = newconfig = def test_basic_section_access(self, newconfig): config = newconfig( """ [p:section] key=value > """, ) newconfig = self = tests/unit/config/test_config.py:883: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_basic_section_access0/tox.ini') data = ' [p:section] key=value ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [p:section] key=value ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_basic_section_access0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestIniParserPrefix.test_fallback_sections __________________ self = newconfig = def test_fallback_sections(self, newconfig): config = newconfig( """ [p:mydefault] key2=value2 [p:section] key=value > """, ) newconfig = self = tests/unit/config/test_config.py:899: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_fallback_sections0/tox.ini') data = ' [p:mydefault] key2=value2 [p:section] key=value ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [p:mydefault] key2=value2 [p:section] key=value ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_fallback_sections0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestIniParserPrefix.test_other_section_substitution ______________ self = newconfig = def test_other_section_substitution(self, newconfig): config = newconfig( """ [p:section] key = rue [p:testenv] key = t{[p:section]key} > """, ) newconfig = self = tests/unit/config/test_config.py:929: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_other_section_substitutio0/tox.ini') data = ' [p:section] key = rue [p:testenv] key = t{[p:section]key} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [p:section] key = rue [p:testenv] key = t{[p:section]key} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_other_section_substitutio0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestConfigTestEnv.test_commentchars_issue33 __________________ self = newconfig = def test_commentchars_issue33(self, newconfig): config = newconfig( """ [testenv] # hello deps = http://abc#123 commands= python -c "x ; y" > """, ) newconfig = self = tests/unit/config/test_config.py:944: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_commentchars_issue330/tox.ini') data = ' [testenv] # hello deps = http://abc#123 commands= python -c "x ; y" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] # hello deps = http://abc#123 commands= python -c "x ; y" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_commentchars_issue330/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestConfigTestEnv.test_defaults ________________________ self = newconfig = def test_defaults(self, newconfig): config = newconfig( """ [testenv] commands= xyz --abc > """, ) newconfig = self = tests/unit/config/test_config.py:956: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_defaults1/tox.ini') data = ' [testenv] commands= xyz --abc ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] commands= xyz --abc ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_defaults1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_installpkg_tops_develop ________________ self = newconfig = def test_installpkg_tops_develop(self, newconfig): config = newconfig( ["--installpkg=abc"], """ [testenv] usedevelop = True > """, ) newconfig = self = tests/unit/config/test_config.py:990: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_installpkg_tops_develop0/tox.ini') data = ' [testenv] usedevelop = True ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] usedevelop = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_installpkg_tops_develop0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestConfigTestEnv.test_specific_command_overrides _______________ self = newconfig = def test_specific_command_overrides(self, newconfig): config = newconfig( """ [testenv] commands=xyz [testenv:py] commands=abc > """, ) newconfig = self = tests/unit/config/test_config.py:1001: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_specific_command_override0/tox.ini') data = ' [testenv] commands=xyz [testenv:py] commands=abc ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] commands=xyz [testenv:py] commands=abc ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_specific_command_override0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestConfigTestEnv.test_allowlist_externals __________________ self = newconfig = def test_allowlist_externals(self, newconfig): config = newconfig( """ [testenv] allowlist_externals = xyz commands=xyz [testenv:x] [testenv:py] allowlist_externals = xyz2 commands=abc > """, ) newconfig = self = tests/unit/config/test_config.py:1018: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_allowlist_externals0/tox.ini') data = ' [testenv] allowlist_externals = xyz commands=xyz [testenv:x] [testenv:py] allowlist_externals = xyz2 commands=abc ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] allowlist_externals = xyz commands=xyz [testenv:x] [testenv:py] allowlist_externals = xyz2 commands=abc ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_allowlist_externals0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestConfigTestEnv.test_changedir _______________________ self = newconfig = def test_changedir(self, newconfig): config = newconfig( """ [testenv] changedir=xyz > """, ) newconfig = self = tests/unit/config/test_config.py:1032: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_changedir0/tox.ini') data = ' [testenv] changedir=xyz ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] changedir=xyz ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_changedir0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ TestConfigTestEnv.test_ignore_errors _____________________ self = newconfig = def test_ignore_errors(self, newconfig): config = newconfig( """ [testenv] ignore_errors=True > """, ) newconfig = self = tests/unit/config/test_config.py:1044: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_ignore_errors0/tox.ini') data = ' [testenv] ignore_errors=True ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ignore_errors=True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_ignore_errors0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestConfigTestEnv.test_envbindir _______________________ self = newconfig = def test_envbindir(self, newconfig): config = newconfig( """ [testenv] basepython=python > """, ) newconfig = self = tests/unit/config/test_config.py:1055: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir0/tox.ini') data = ' [testenv] basepython=python ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] basepython=python ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ TestConfigTestEnv.test_envbindir_jython[jython] ________________ self = newconfig = , bp = 'jython' @pytest.mark.parametrize("bp", ["jython", "pypy", "pypy3"]) def test_envbindir_jython(self, newconfig, bp): config = newconfig( """ [testenv] basepython={} """.format( > bp, ), ) bp = 'jython' newconfig = self = tests/unit/config/test_config.py:1068: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir_jython_jython_0/tox.ini') data = ' [testenv] basepython=jython ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] basepython=jython ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir_jython_jython_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_envbindir_jython[pypy] _________________ self = newconfig = , bp = 'pypy' @pytest.mark.parametrize("bp", ["jython", "pypy", "pypy3"]) def test_envbindir_jython(self, newconfig, bp): config = newconfig( """ [testenv] basepython={} """.format( > bp, ), ) bp = 'pypy' newconfig = self = tests/unit/config/test_config.py:1068: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir_jython_pypy_0/tox.ini') data = ' [testenv] basepython=pypy ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] basepython=pypy ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir_jython_pypy_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_envbindir_jython[pypy3] ________________ self = newconfig = , bp = 'pypy3' @pytest.mark.parametrize("bp", ["jython", "pypy", "pypy3"]) def test_envbindir_jython(self, newconfig, bp): config = newconfig( """ [testenv] basepython={} """.format( > bp, ), ) bp = 'pypy3' newconfig = self = tests/unit/config/test_config.py:1068: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir_jython_pypy3_0/tox.ini') data = ' [testenv] basepython=pypy3 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] basepython=pypy3 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envbindir_jython_pypy3_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________ TestConfigTestEnv.test_passenv_as_multiline_list[win32] ____________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3ea1750> plat = 'win32' @pytest.mark.parametrize("plat", ["win32", "linux2"]) def test_passenv_as_multiline_list(self, newconfig, monkeypatch, plat): monkeypatch.setattr(tox.INFO, "IS_WIN", plat == "win32") monkeypatch.setenv("A123A", "a") monkeypatch.setenv("A123B", "b") monkeypatch.setenv("BX23", "0") config = newconfig( """ [testenv] passenv = A123* # isolated comment B?23 > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3ea1750> newconfig = plat = 'win32' self = tests/unit/config/test_config.py:1091: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_multiline_list0/tox.ini') data = ' [testenv] passenv = A123* # isolated comment B?23 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] passenv = A123* # isolated comment B?23 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_multiline_list0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________ TestConfigTestEnv.test_passenv_as_multiline_list[linux2] ___________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e45aaf50> plat = 'linux2' @pytest.mark.parametrize("plat", ["win32", "linux2"]) def test_passenv_as_multiline_list(self, newconfig, monkeypatch, plat): monkeypatch.setattr(tox.INFO, "IS_WIN", plat == "win32") monkeypatch.setenv("A123A", "a") monkeypatch.setenv("A123B", "b") monkeypatch.setenv("BX23", "0") config = newconfig( """ [testenv] passenv = A123* # isolated comment B?23 > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e45aaf50> newconfig = plat = 'linux2' self = tests/unit/config/test_config.py:1091: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_multiline_list1/tox.ini') data = ' [testenv] passenv = A123* # isolated comment B?23 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] passenv = A123* # isolated comment B?23 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_multiline_list1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________ TestConfigTestEnv.test_passenv_as_space_separated_list[win32] _________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3a13190> plat = 'win32' @pytest.mark.parametrize("plat", ["win32", "linux2"]) def test_passenv_as_space_separated_list(self, newconfig, monkeypatch, plat): monkeypatch.setattr(tox.INFO, "IS_WIN", plat == "win32") monkeypatch.setenv("A123A", "a") monkeypatch.setenv("A123B", "b") monkeypatch.setenv("BX23", "0") config = newconfig( """ [testenv] passenv = # comment A123* B?23 > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3a13190> newconfig = plat = 'win32' self = tests/unit/config/test_config.py:1137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_space_separate0/tox.ini') data = ' [testenv] passenv = # comment A123* B?23 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] passenv = # comment A123* B?23 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_space_separate0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________ TestConfigTestEnv.test_passenv_as_space_separated_list[linux2] ________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4098f10> plat = 'linux2' @pytest.mark.parametrize("plat", ["win32", "linux2"]) def test_passenv_as_space_separated_list(self, newconfig, monkeypatch, plat): monkeypatch.setattr(tox.INFO, "IS_WIN", plat == "win32") monkeypatch.setenv("A123A", "a") monkeypatch.setenv("A123B", "b") monkeypatch.setenv("BX23", "0") config = newconfig( """ [testenv] passenv = # comment A123* B?23 > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4098f10> newconfig = plat = 'linux2' self = tests/unit/config/test_config.py:1137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_space_separate1/tox.ini') data = ' [testenv] passenv = # comment A123* B?23 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] passenv = # comment A123* B?23 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_as_space_separate1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestConfigTestEnv.test_passenv_with_factor __________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e43ee3d0> def test_passenv_with_factor(self, newconfig, monkeypatch): monkeypatch.setenv("A123A", "a") monkeypatch.setenv("A123B", "b") monkeypatch.setenv("A123C", "c") monkeypatch.setenv("A123D", "d") monkeypatch.setenv("BX23", "0") monkeypatch.setenv("CCA43", "3") monkeypatch.setenv("CB21", "4") config = newconfig( """ [tox] envlist = {x1,x2} [testenv] passenv = x1: A123A CC* x1: CB21 # passed to both environments A123C x2: A123B A123D > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e43ee3d0> newconfig = self = tests/unit/config/test_config.py:1175: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_with_factor0/tox.ini') data = ' [tox] envlist = {x1,x2} [testenv] passenv = x1: A123A CC* x1: CB21 # passed to both environments A123C x2: A123B A123D ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {x1,x2} [testenv] passenv = x1: A123A CC* x1: CB21 # passed to both environments A123C x2: A123B A123D ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_with_factor0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_passenv_from_global_env ________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e441cdd0> def test_passenv_from_global_env(self, newconfig, monkeypatch): monkeypatch.setenv("A1", "a1") monkeypatch.setenv("A2", "a2") monkeypatch.setenv("TOX_TESTENV_PASSENV", "A1") config = newconfig( """ [testenv] passenv = A2 > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e441cdd0> newconfig = self = tests/unit/config/test_config.py:1203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_from_global_env0/tox.ini') data = ' [testenv] passenv = A2 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] passenv = A2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_from_global_env0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestConfigTestEnv.test_passenv_glob_from_global_env ______________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3bffdd0> def test_passenv_glob_from_global_env(self, newconfig, monkeypatch): monkeypatch.setenv("A1", "a1") monkeypatch.setenv("A2", "a2") monkeypatch.setenv("TOX_TESTENV_PASSENV", "A*") config = newconfig( """ [testenv] > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3bffdd0> newconfig = self = tests/unit/config/test_config.py:1216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_glob_from_global_0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passenv_glob_from_global_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ TestConfigTestEnv.test_no_spinner _______________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42a7f10> def test_no_spinner(self, newconfig, monkeypatch): monkeypatch.setenv("TOX_PARALLEL_NO_SPINNER", "1") config = newconfig( """ [testenv] passenv = TOX_PARALLEL_NO_SPINNER > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42a7f10> newconfig = self = tests/unit/config/test_config.py:1228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_no_spinner0/tox.ini') data = ' [testenv] passenv = TOX_PARALLEL_NO_SPINNER ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] passenv = TOX_PARALLEL_NO_SPINNER ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_no_spinner0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestConfigTestEnv.test_changedir_override ___________________ self = newconfig = def test_changedir_override(self, newconfig): config = newconfig( """ [testenv] changedir=xyz [testenv:python] changedir=abc basepython=python3.6 > """, ) newconfig = self = tests/unit/config/test_config.py:1241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_changedir_override0/tox.ini') data = ' [testenv] changedir=xyz [testenv:python] changedir=abc basepython=python3.6 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] changedir=xyz [testenv:python] changedir=abc basepython=python3.6 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_changedir_override0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_install_command_setting ________________ self = newconfig = def test_install_command_setting(self, newconfig): config = newconfig( """ [testenv] install_command=some_install {packages} > """, ) newconfig = self = tests/unit/config/test_config.py:1253: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_install_command_setting0/tox.ini') data = ' [testenv] install_command=some_install {packages} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] install_command=some_install {packages} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_install_command_setting0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________ TestConfigTestEnv.test_install_command_must_contain_packages _________ self = newconfig = def test_install_command_must_contain_packages(self, newconfig): with pytest.raises(tox.exception.ConfigError): > newconfig("[testenv]\ninstall_command=pip install") newconfig = self = tests/unit/config/test_config.py:1260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_install_command_must_cont0/tox.ini') data = '[testenv] install_command=pip install', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[testenv] install_command=pip install' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_install_command_must_cont0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestConfigTestEnv.test_install_command_substitutions _____________ self = newconfig = def test_install_command_substitutions(self, newconfig): config = newconfig( """ [testenv] install_command=some_install --arg={toxinidir}/foo \ {envname} {opts} {packages} > """, ) newconfig = self = tests/unit/config/test_config.py:1268: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_install_command_substitut0/tox.ini') data = ' [testenv] install_command=some_install --arg={toxinidir}/foo {envname} {opts} {packages} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] install_command=some_install --arg={toxinidir}/foo {envname} {opts} {packages} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_install_command_substitut0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ TestConfigTestEnv.test_pip_pre ________________________ self = newconfig = def test_pip_pre(self, newconfig): config = newconfig( """ [testenv] pip_pre=true > """, ) newconfig = self = tests/unit/config/test_config.py:1285: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_pip_pre0/tox.ini') data = ' [testenv] pip_pre=true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] pip_pre=true ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_pip_pre0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ TestConfigTestEnv.test_pip_pre_cmdline_override ________________ self = newconfig = def test_pip_pre_cmdline_override(self, newconfig): config = newconfig( ["--pre"], """ [testenv] pip_pre=false > """, ) newconfig = self = tests/unit/config/test_config.py:1296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_pip_pre_cmdline_override0/tox.ini') data = ' [testenv] pip_pre=false ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] pip_pre=false ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_pip_pre_cmdline_override0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ TestConfigTestEnv.test_simple _________________________ self = newconfig = def test_simple(self, newconfig): config = newconfig( """ [testenv:py36] basepython=python3.6 [testenv:py27] basepython=python2.7 > """, ) newconfig = self = tests/unit/config/test_config.py:1308: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_simple0/tox.ini') data = ' [testenv:py36] basepython=python3.6 [testenv:py27] basepython=python2.7 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py36] basepython=python3.6 [testenv:py27] basepython=python2.7 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_simple0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestConfigTestEnv.test_substitution_error ___________________ self = newconfig = def test_substitution_error(self, newconfig): with pytest.raises(tox.exception.ConfigError): > newconfig("[testenv:py27]\nbasepython={xyz}") newconfig = self = tests/unit/config/test_config.py:1316: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_error0/tox.ini') data = '[testenv:py27] basepython={xyz}', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[testenv:py27] basepython={xyz}' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_error0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestConfigTestEnv.test_substitution_defaults _________________ self = newconfig = def test_substitution_defaults(self, newconfig): config = newconfig( """ [testenv:py27] commands = {toxinidir} {toxworkdir} {envdir} {envbindir} {envtmpdir} {envpython} {homedir} {distshare} {envlogdir} > """, ) newconfig = self = tests/unit/config/test_config.py:1332: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_defaults0/tox.ini') data = ' [testenv:py27] commands = {toxinidir} {toxworkdir} {envdir} {envbindir} {envtmpdir} {envpython} {homedir} {distshare} {envlogdir} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] commands = {toxinidir} {toxworkdir} {envdir} {envbindir} {envtmpdir} {envpython} {homedir} {distshare} {envlogdir} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_defaults0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestConfigTestEnv.test_substitution_notfound_issue246 _____________ self = newconfig = def test_substitution_notfound_issue246(self, newconfig): config = newconfig( """ [testenv:py27] setenv = FOO={envbindir} BAR={envsitepackagesdir} > """, ) newconfig = self = tests/unit/config/test_config.py:1353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_notfound_iss0/tox.ini') data = ' [testenv:py27] setenv = FOO={envbindir} BAR={envsitepackagesdir} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] setenv = FOO={envbindir} BAR={envsitepackagesdir} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_notfound_iss0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestConfigTestEnv.test_substitution_notfound_issue515 _____________ self = newconfig = def test_substitution_notfound_issue515(self, newconfig): config = newconfig( """ [tox] envlist = standard-greeting [testenv:standard-greeting] commands = python -c 'print("Hello, world!")' [testenv:custom-greeting] passenv = NAME commands = python -c 'print("Hello, {env:NAME}!")' > """, ) newconfig = self = tests/unit/config/test_config.py:1375: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_notfound_iss1/tox.ini') data = ' [tox] envlist = standard-greeting [testenv:standard-greeting] commands = python -c \'print("Hello, world!")\' [testenv:custom-greeting] passenv = NAME commands = python -c \'print("Hello, {env:NAME}!")\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = standard-greeting [testenv:standard-greeting] commands = python -c \'print("Hello, world!")\' [testenv:custom-greeting] passenv = NAME commands = python -c \'print("Hello, {env:NAME}!")\' ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_notfound_iss1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________ TestConfigTestEnv.test_substitution_nested_env_defaults ____________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e40a0790> def test_substitution_nested_env_defaults(self, newconfig, monkeypatch): monkeypatch.setenv("IGNORE_STATIC_DEFAULT", "env") monkeypatch.setenv("IGNORE_DYNAMIC_DEFAULT", "env") config = newconfig( """ [testenv:py27] passenv = IGNORE_STATIC_DEFAULT USE_STATIC_DEFAULT IGNORE_DYNAMIC_DEFAULT USE_DYNAMIC_DEFAULT setenv = OTHER_VAR=other IGNORE_STATIC_DEFAULT={env:IGNORE_STATIC_DEFAULT:default} USE_STATIC_DEFAULT={env:USE_STATIC_DEFAULT:default} IGNORE_DYNAMIC_DEFAULT={env:IGNORE_DYNAMIC_DEFAULT:{env:OTHER_VAR}+default} USE_DYNAMIC_DEFAULT={env:USE_DYNAMIC_DEFAULT:{env:OTHER_VAR}+default} IGNORE_OTHER_DEFAULT={env:OTHER_VAR:{env:OTHER_VAR}+default} USE_OTHER_DEFAULT={env:NON_EXISTENT_VAR:{env:OTHER_VAR}+default} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e40a0790> newconfig = self = tests/unit/config/test_config.py:1399: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_nested_env_d0/tox.ini') data = ' [testenv:py27] passenv = IGNORE_STATIC_DEFAULT USE_STATIC_DEFAULT IGNORE_DYNAMIC_DEFAULT USE_DYNAMIC..._DEFAULT={env:OTHER_VAR:{env:OTHER_VAR}+default} USE_OTHER_DEFAULT={env:NON_EXISTENT_VAR:{env:OTHER_VAR}+default} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] passenv = IGNORE_STATIC_DEFAULT USE_STATIC_DEFAULT IGNORE_DYNAMIC_DEFAULT USE_DYNAMIC..._DEFAULT={env:OTHER_VAR:{env:OTHER_VAR}+default} USE_OTHER_DEFAULT={env:NON_EXISTENT_VAR:{env:OTHER_VAR}+default} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_nested_env_d0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_substitution_positional ________________ self = newconfig = def test_substitution_positional(self, newconfig): inisource = """ [testenv:py27] commands = cmd1 [hello] \ world cmd1 {posargs:hello} \ world """ > conf = newconfig([], inisource).envconfigs["py27"] inisource = '\n [testenv:py27]\n commands =\n cmd1 [hello] world\n cmd1 {posargs:hello} world\n ' newconfig = self = tests/unit/config/test_config.py:1419: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_positional0/tox.ini') data = ' [testenv:py27] commands = cmd1 [hello] world cmd1 {posargs:hello} world ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] commands = cmd1 [hello] world cmd1 {posargs:hello} world ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_positional0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestConfigTestEnv.test_substitution_noargs_issue240 ______________ self = newconfig = def test_substitution_noargs_issue240(self, newconfig): inisource = """ [testenv] commands = echo {posargs:foo} """ > conf = newconfig([""], inisource).envconfigs["python"] inisource = '\n [testenv]\n commands = echo {posargs:foo}\n ' newconfig = self = tests/unit/config/test_config.py:1433: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_noargs_issue0/tox.ini') data = ' [testenv] commands = echo {posargs:foo} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] commands = echo {posargs:foo} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_noargs_issue0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestConfigTestEnv.test_substitution_double __________________ self = newconfig = def test_substitution_double(self, newconfig): inisource = """ [params] foo = bah foo2 = [params]foo [testenv:py27] commands = echo {{[params]foo2}} """ > conf = newconfig([], inisource).envconfigs["py27"] inisource = '\n [params]\n foo = bah\n foo2 = [params]foo\n\n [testenv:py27]\n commands =\n echo {{[params]foo2}}\n ' newconfig = self = tests/unit/config/test_config.py:1447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_double0/tox.ini') data = ' [params] foo = bah foo2 = [params]foo [testenv:py27] commands = echo {{[params]foo2}} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [params] foo = bah foo2 = [params]foo [testenv:py27] commands = echo {{[params]foo2}} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_double0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestConfigTestEnv.test_posargs_backslashed_or_quoted _____________ self = newconfig = def test_posargs_backslashed_or_quoted(self, newconfig): inisource = r""" [testenv:py27] commands = echo "\{posargs\}" = {posargs} echo "posargs = " "{posargs}" """ > conf = newconfig([], inisource).envconfigs["py27"] inisource = '\n [testenv:py27]\n commands =\n echo "\\{posargs\\}" = {posargs}\n echo "posargs = " "{posargs}"\n ' newconfig = self = tests/unit/config/test_config.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_posargs_backslashed_or_qu0/tox.ini') data = ' [testenv:py27] commands = echo "\{posargs\}" = {posargs} echo "posargs = " "{posargs}" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] commands = echo "\{posargs\}" = {posargs} echo "posargs = " "{posargs}" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_posargs_backslashed_or_qu0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestConfigTestEnv.test_rewrite_posargs ____________________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_rewrite_posargs0') newconfig = def test_rewrite_posargs(self, tmpdir, newconfig): inisource = """ [testenv:py27] args_are_paths = True changedir = tests commands = cmd1 {posargs:hello} """ > conf = newconfig([], inisource).envconfigs["py27"] inisource = '\n [testenv:py27]\n args_are_paths = True\n changedir = tests\n commands = cmd1 {posargs:hello}\n ' newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_rewrite_posargs0') tests/unit/config/test_config.py:1475: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_rewrite_posargs0/tox.ini') data = ' [testenv:py27] args_are_paths = True changedir = tests commands = cmd1 {posargs:hello} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] args_are_paths = True changedir = tests commands = cmd1 {posargs:hello} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_rewrite_posargs0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_rewrite_simple_posargs _________________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_rewrite_simple_posargs0') newconfig = def test_rewrite_simple_posargs(self, tmpdir, newconfig): inisource = """ [testenv:py27] args_are_paths = True changedir = tests commands = cmd1 {posargs} """ > conf = newconfig([], inisource).envconfigs["py27"] inisource = '\n [testenv:py27]\n args_are_paths = True\n changedir = tests\n commands = cmd1 {posargs}\n ' newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_rewrite_simple_posargs0') tests/unit/config/test_config.py:1495: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_rewrite_simple_posargs0/tox.ini') data = ' [testenv:py27] args_are_paths = True changedir = tests commands = cmd1 {posargs} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] args_are_paths = True changedir = tests commands = cmd1 {posargs} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_rewrite_simple_posargs0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestConfigTestEnv.test_take_dependencies_from_other_testenv[envlist0-deps0] __ self = newconfig = envlist = ['py27'], deps = ('pytest', 'pytest-cov') @pytest.mark.parametrize( "envlist, deps", [ (["py27"], ("pytest", "pytest-cov")), (["py27", "py34"], ("pytest", "py{27,34}: pytest-cov")), ], ) def test_take_dependencies_from_other_testenv(self, newconfig, envlist, deps): inisource = """ [tox] envlist = {envlist} [testenv] deps={deps} [testenv:py27] deps= {{[testenv]deps}} fun frob{{env:ENV_VAR:>1.0,<2.0}} """.format( envlist=",".join(envlist), deps="\n" + "\n".join([" " * 17 + d for d in deps]), ) > conf = newconfig([], inisource).envconfigs["py27"] d = 'pytest-cov' deps = ('pytest', 'pytest-cov') envlist = ['py27'] inisource = '\n [tox]\n envlist = py27\n [testenv]\n deps=\n pytest\n ... deps=\n {[testenv]deps}\n fun\n frob{env:ENV_VAR:>1.0,<2.0}\n ' newconfig = self = tests/unit/config/test_config.py:1530: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_take_dependencies_from_ot0/tox.ini') data = ' [tox] envlist = py27 [testenv] deps= pytest pytest-cov [testenv:py27] deps= {[testenv]deps} fun frob{env:ENV_VAR:>1.0,<2.0} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27 [testenv] deps= pytest pytest-cov [testenv:py27] deps= {[testenv]deps} fun frob{env:ENV_VAR:>1.0,<2.0} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_take_dependencies_from_ot0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _ TestConfigTestEnv.test_take_dependencies_from_other_testenv[envlist1-deps1] __ self = newconfig = envlist = ['py27', 'py34'], deps = ('pytest', 'py{27,34}: pytest-cov') @pytest.mark.parametrize( "envlist, deps", [ (["py27"], ("pytest", "pytest-cov")), (["py27", "py34"], ("pytest", "py{27,34}: pytest-cov")), ], ) def test_take_dependencies_from_other_testenv(self, newconfig, envlist, deps): inisource = """ [tox] envlist = {envlist} [testenv] deps={deps} [testenv:py27] deps= {{[testenv]deps}} fun frob{{env:ENV_VAR:>1.0,<2.0}} """.format( envlist=",".join(envlist), deps="\n" + "\n".join([" " * 17 + d for d in deps]), ) > conf = newconfig([], inisource).envconfigs["py27"] d = 'py{27,34}: pytest-cov' deps = ('pytest', 'py{27,34}: pytest-cov') envlist = ['py27', 'py34'] inisource = '\n [tox]\n envlist = py27,py34\n [testenv]\n deps=\n pyte... deps=\n {[testenv]deps}\n fun\n frob{env:ENV_VAR:>1.0,<2.0}\n ' newconfig = self = tests/unit/config/test_config.py:1530: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_take_dependencies_from_ot1/tox.ini') data = ' [tox] envlist = py27,py34 [testenv] deps= pytest py{27,34}: pytest-cov [testenv:py27] deps= {[testenv]deps} fun frob{env:ENV_VAR:>1.0,<2.0} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27,py34 [testenv] deps= pytest py{27,34}: pytest-cov [testenv:py27] deps= {[testenv]deps} fun frob{env:ENV_VAR:>1.0,<2.0} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_take_dependencies_from_ot1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestConfigTestEnv.test_regression_test_issue_706[envlist0] __________ self = newconfig = envlist = ['py27', 'coverage', 'other'] @pytest.mark.parametrize("envlist", [["py27", "coverage", "other"]]) def test_regression_test_issue_706(self, newconfig, envlist): inisource = """ [tox] envlist = {envlist} [testenv] deps= flake8 coverage: coverage [testenv:py27] deps= {{[testenv]deps}} fun """.format( envlist=",".join(envlist), ) > conf = newconfig([], inisource).envconfigs["coverage"] envlist = ['py27', 'coverage', 'other'] inisource = '\n [tox]\n envlist = py27,coverage,other\n [testenv]\n deps=\n ...overage\n [testenv:py27]\n deps=\n {[testenv]deps}\n fun\n ' newconfig = self = tests/unit/config/test_config.py:1551: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_regression_test_issue_7060/tox.ini') data = ' [tox] envlist = py27,coverage,other [testenv] deps= flake8 coverage: coverage [testenv:py27] deps= {[testenv]deps} fun ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27,coverage,other [testenv] deps= flake8 coverage: coverage [testenv:py27] deps= {[testenv]deps} fun ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_regression_test_issue_7060/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestConfigTestEnv.test_factor_expansion ____________________ self = newconfig = def test_factor_expansion(self, newconfig): inisource = """ [tox] envlist = {py27, py37}-cover [testenv] deps= {py27}: foo {py37}: bar """ > conf = newconfig([], inisource).envconfigs["py27-cover"] inisource = '\n [tox]\n envlist = {py27, py37}-cover\n [testenv]\n deps=\n {py27}: foo\n {py37}: bar\n ' newconfig = self = tests/unit/config/test_config.py:1572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factor_expansion0/tox.ini') data = ' [tox] envlist = {py27, py37}-cover [testenv] deps= {py27}: foo {py37}: bar ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {py27, py37}-cover [testenv] deps= {py27}: foo {py37}: bar ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factor_expansion0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestConfigTestEnv.test_factors_support_curly_braces ______________ self = newconfig = def test_factors_support_curly_braces(self, newconfig): inisource = """ [tox] envlist = style sdist bdist_wheel {py27,py34,py35,py36,pypy,pypy3}-cover {py27,py34,py35,py36,pypy,pypy3}-nocov [testenv] deps = cover: coverage cover: codecov {py27}: unittest2 {py27}: mysql-python {py27,py36}: mmtf-python {py27,py35}: reportlab {py27,py34,py35,py36}: psycopg2-binary {py27,py34,py35,py35}: mysql-connector-python-rf {py27,py35,pypy}: rdflib {pypy,pypy3}: numpy==1.12.1 {py27,py34,py36}: numpy {py36}: scipy {py27}: networkx {py36}: matplotlib """ > conf = newconfig([], inisource).envconfigs["style"] inisource = '\n [tox]\n envlist =\n style\n sdist\n bdist_wheel...: numpy\n {py36}: scipy\n {py27}: networkx\n {py36}: matplotlib\n ' newconfig = self = tests/unit/config/test_config.py:1608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_support_curly_bra0/tox.ini') data = ' [tox] envlist = style sdist bdist_wheel {py27,py34,py35,py36,pypy,pypy3}-cover {py27,py34,py35,p...{pypy,pypy3}: numpy==1.12.1 {py27,py34,py36}: numpy {py36}: scipy {py27}: networkx {py36}: matplotlib ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = style sdist bdist_wheel {py27,py34,py35,py36,pypy,pypy3}-cover {py27,py34,py35,p...{pypy,pypy3}: numpy==1.12.1 {py27,py34,py36}: numpy {py36}: scipy {py27}: networkx {py36}: matplotlib ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_support_curly_bra0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestConfigTestEnv.test_do_not_substitute_more_than_needed ___________ self = newconfig = def test_do_not_substitute_more_than_needed(self, newconfig): inisource = """ [tox] envlist = django_master-py{36,35} django20-py{36,35,34,py3} django111-py{36,35,34,27,py} django18-py{35,34,27,py} lint docs [testenv] deps = .[test] django18: {[django]1.8.x} django111: {[django]1.11.x} django20: {[django]2.0.x} django_master: {[django]master} [django] 1.8.x = Django>=1.8.0,<1.9.0 django-reversion==1.10.0 djangorestframework>=3.3.3,<3.7.0 1.11.x = Django>=1.11.0,<2.0.0 django-reversion>=2.0.8 djangorestframework>=3.6.2 2.0.x = Django>=2.0,<2.1 django-reversion>=2.0.8 djangorestframework>=3.7.3 master = https://github.com/django/django/tarball/master django-reversion>=2.0.8 djangorestframework>=3.6.2 """ > conf = newconfig([], inisource).envconfigs["django_master-py36"] inisource = '\n [tox]\n envlist =\n django_master-py{36,35}\n django20-py{36,3...go/tarball/master\n django-reversion>=2.0.8\n djangorestframework>=3.6.2\n ' newconfig = self = tests/unit/config/test_config.py:1741: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_do_not_substitute_more_th0/tox.ini') data = ' [tox] envlist = django_master-py{36,35} django20-py{36,35,34,py3} django111-py{36,35,34,27,py} djang... https://github.com/django/django/tarball/master django-reversion>=2.0.8 djangorestframework>=3.6.2 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = django_master-py{36,35} django20-py{36,35,34,py3} django111-py{36,35,34,27,py} djang... https://github.com/django/django/tarball/master django-reversion>=2.0.8 djangorestframework>=3.6.2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_do_not_substitute_more_th0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________ TestConfigTestEnv.test_take_dependencies_from_other_section __________ self = newconfig = def test_take_dependencies_from_other_section(self, newconfig): inisource = """ [testing:pytest] deps= pytest pytest-cov [testing:mock] deps= mock [testenv] deps= {[testing:pytest]deps} {[testing:mock]deps} fun """ > conf = newconfig([], inisource) inisource = '\n [testing:pytest]\n deps=\n pytest\n pytest-cov\n [t... deps=\n {[testing:pytest]deps}\n {[testing:mock]deps}\n fun\n ' newconfig = self = tests/unit/config/test_config.py:1800: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_take_dependencies_from_ot2/tox.ini') data = ' [testing:pytest] deps= pytest pytest-cov [testing:mock] deps= mock [testenv] deps= {[testing:pytest]deps} {[testing:mock]deps} fun ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testing:pytest] deps= pytest pytest-cov [testing:mock] deps= mock [testenv] deps= {[testing:pytest]deps} {[testing:mock]deps} fun ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_take_dependencies_from_ot2/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_multilevel_substitution ________________ self = newconfig = def test_multilevel_substitution(self, newconfig): inisource = """ [testing:pytest] deps= pytest pytest-cov [testing:mock] deps= mock [testing] deps= {[testing:pytest]deps} {[testing:mock]deps} [testenv] deps= {[testing]deps} fun """ > conf = newconfig([], inisource) inisource = '\n [testing:pytest]\n deps=\n pytest\n pytest-cov\n [t...mock]deps}\n\n [testenv]\n deps=\n {[testing]deps}\n fun\n ' newconfig = self = tests/unit/config/test_config.py:1825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_multilevel_substitution0/tox.ini') data = ' [testing:pytest] deps= pytest pytest-cov [testing:mock] deps= mock [testing] deps= {[testing:pytest]deps} {[testing:mock]deps} [testenv] deps= {[testing]deps} fun ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testing:pytest] deps= pytest pytest-cov [testing:mock] deps= mock [testing] deps= {[testing:pytest]deps} {[testing:mock]deps} [testenv] deps= {[testing]deps} fun ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_multilevel_substitution0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestConfigTestEnv.test_recursive_substitution_cycle_fails ___________ self = newconfig = def test_recursive_substitution_cycle_fails(self, newconfig): inisource = """ [testing:pytest] deps= {[testing:mock]deps} [testing:mock] deps= {[testing:pytest]deps} [testenv] deps= {[testing:pytest]deps} """ with pytest.raises(tox.exception.ConfigError): > newconfig([], inisource) inisource = '\n [testing:pytest]\n deps=\n {[testing:mock]deps}\n [testing:mock]\n... {[testing:pytest]deps}\n\n [testenv]\n deps=\n {[testing:pytest]deps}\n ' newconfig = self = tests/unit/config/test_config.py:1844: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_recursive_substitution_cy0/tox.ini') data = ' [testing:pytest] deps= {[testing:mock]deps} [testing:mock] deps= {[testing:pytest]deps} [testenv] deps= {[testing:pytest]deps} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testing:pytest] deps= {[testing:mock]deps} [testing:mock] deps= {[testing:pytest]deps} [testenv] deps= {[testing:pytest]deps} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_recursive_substitution_cy0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestConfigTestEnv.test_single_value_from_other_secton _____________ self = newconfig = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_single_value_from_other_s0') def test_single_value_from_other_secton(self, newconfig, tmpdir): inisource = """ [common] changedir = testing [testenv] changedir = {[common]changedir} """ > conf = newconfig([], inisource).envconfigs["python"] inisource = '\n [common]\n changedir = testing\n [testenv]\n changedir = {[common]changedir}\n ' newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_single_value_from_other_s0') tests/unit/config/test_config.py:1853: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_single_value_from_other_s0/tox.ini') data = ' [common] changedir = testing [testenv] changedir = {[common]changedir} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [common] changedir = testing [testenv] changedir = {[common]changedir} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_single_value_from_other_s0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ TestConfigTestEnv.test_factors ________________________ self = newconfig = def test_factors(self, newconfig): inisource = """ [tox] envlist = a-x,b [testenv] deps= dep-all a: dep-a b: dep-b x: dep-x !a: dep-!a !b: dep-!b !x: dep-!x """ > conf = newconfig([], inisource) inisource = '\n [tox]\n envlist = a-x,b\n\n [testenv]\n deps=\n dep-all... x: dep-x\n !a: dep-!a\n !b: dep-!b\n !x: dep-!x\n ' newconfig = self = tests/unit/config/test_config.py:1872: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors0/tox.ini') data = ' [tox] envlist = a-x,b [testenv] deps= dep-all a: dep-a b: dep-b x: dep-x !a: dep-!a !b: dep-!b !x: dep-!x ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = a-x,b [testenv] deps= dep-all a: dep-a b: dep-b x: dep-x !a: dep-!a !b: dep-!b !x: dep-!x ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ TestConfigTestEnv.test_factor_ops _______________________ self = newconfig = def test_factor_ops(self, newconfig): inisource = """ [tox] envlist = {a,b}-{x,y} [testenv] deps= a,b: dep-a-or-b a-x: dep-a-and-x {a,b}-y: dep-ab-and-y a-!x: dep-a-and-!x a,!x: dep-a-or-!x !a-!x: dep-!a-and-!x !a,!x: dep-!a-or-!x !a-!b: dep-!a-and-!b !a-!b-!x-!y: dep-!a-and-!b-and-!x-and-!y """ > configs = newconfig([], inisource).envconfigs inisource = '\n [tox]\n envlist = {a,b}-{x,y}\n\n [testenv]\n deps=\n a...dep-!a-or-!x\n !a-!b: dep-!a-and-!b\n !a-!b-!x-!y: dep-!a-and-!b-and-!x-and-!y\n ' newconfig = self = tests/unit/config/test_config.py:1900: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factor_ops0/tox.ini') data = ' [tox] envlist = {a,b}-{x,y} [testenv] deps= a,b: dep-a-or-b a-x: dep-a-and-x {a,b}-y: dep-ab-and-y ... !a-!x: dep-!a-and-!x !a,!x: dep-!a-or-!x !a-!b: dep-!a-and-!b !a-!b-!x-!y: dep-!a-and-!b-and-!x-and-!y ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {a,b}-{x,y} [testenv] deps= a,b: dep-a-or-b a-x: dep-a-and-x {a,b}-y: dep-ab-and-y ... !a-!x: dep-!a-and-!x !a,!x: dep-!a-or-!x !a-!b: dep-!a-and-!b !a-!b-!x-!y: dep-!a-and-!b-and-!x-and-!y ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factor_ops0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestConfigTestEnv.test_envconfigs_based_on_factors ______________ self = newconfig = def test_envconfigs_based_on_factors(self, newconfig): inisource = """ [testenv] some-setting= a: something b,c: something d-e: something !f: something !g,!h: something !i-!j: something [unknown-section] some-setting= eggs: something """ > config = newconfig(["-e spam"], inisource) inisource = '\n [testenv]\n some-setting=\n a: something\n b,c: something\n ...i-!j: something\n\n [unknown-section]\n some-setting=\n eggs: something\n ' newconfig = self = tests/unit/config/test_config.py:1927: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envconfigs_based_on_facto0/tox.ini') data = ' [testenv] some-setting= a: something b,c: something d-e: something !f: something !g,!h: something !i-!j: something [unknown-section] some-setting= eggs: something ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] some-setting= a: something b,c: something d-e: something !f: something !g,!h: something !i-!j: something [unknown-section] some-setting= eggs: something ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envconfigs_based_on_facto0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestConfigTestEnv.test_default_factors ____________________ self = newconfig = def test_default_factors(self, newconfig): inisource = """ [tox] envlist = py{27,34,36}-dep [testenv] deps= dep: dep """ > conf = newconfig([], inisource) inisource = '\n [tox]\n envlist = py{27,34,36}-dep\n\n [testenv]\n deps=\n dep: dep\n ' newconfig = self = tests/unit/config/test_config.py:1951: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors0/tox.ini') data = ' [tox] envlist = py{27,34,36}-dep [testenv] deps= dep: dep ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py{27,34,36}-dep [testenv] deps= dep: dep ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ TestConfigTestEnv.test_default_factors_conflict ________________ self = newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3f54090> def test_default_factors_conflict(self, newconfig, capsys): with pytest.warns(UserWarning, match=r"conflicting basepython .*"): exe = "pypy3" if tox.INFO.IS_PYPY else "python3" env = "pypy27" if tox.INFO.IS_PYPY else "py27" config = newconfig( """\ [testenv] basepython={} [testenv:{}] commands = python --version """.format( exe, > env, ), ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3f54090> env = 'py27' exe = 'python3' newconfig = self = tests/unit/config/test_config.py:1968: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict0/tox.ini') data = '[testenv] basepython=python3 [testenv:py27] commands = python --version ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[testenv] basepython=python3 [testenv:py27] commands = python --version ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestConfigTestEnv.test_default_factors_conflict_lying_name __________ self = newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3c56c90> tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict_0') recwarn = WarningsRecorder(record=True) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3c56f10> def test_default_factors_conflict_lying_name( self, newconfig, capsys, tmpdir, recwarn, monkeypatch, ): # we first need to create a lying Python here, let's mock out here from tox.interpreters import Interpreters def get_executable(self, envconfig): return sys.executable monkeypatch.setattr(Interpreters, "get_executable", get_executable) major, minor = sys.version_info[0:2] config = newconfig( """ [testenv:py{0}{1}] basepython=python{0}.{2} commands = python --version """.format( major, minor, > minor - 1, ), ) Interpreters = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3c56c90> get_executable = major = 2 minor = 7 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3c56f10> newconfig = recwarn = WarningsRecorder(record=True) self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict_0') tests/unit/config/test_config.py:2000: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict_0/tox.ini') data = ' [testenv:py27] basepython=python2.6 commands = python --version ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] basepython=python2.6 commands = python --version ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestConfigTestEnv.test_default_single_digit_factors ______________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e44496d0> def test_default_single_digit_factors(self, newconfig, monkeypatch): from tox.interpreters import Interpreters def get_executable(self, envconfig): return sys.executable monkeypatch.setattr(Interpreters, "get_executable", get_executable) major, minor = sys.version_info[0:2] with pytest.warns(None) as lying: config = newconfig( """ [testenv:py{0}] basepython=python{0}.{1} commands = python --version """.format( major, > minor - 1, ), ) Interpreters = get_executable = lying = WarningsChecker(record=True) major = 2 minor = 7 monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e44496d0> newconfig = self = tests/unit/config/test_config.py:2025: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_single_digit_fact0/tox.ini') data = ' [testenv:py2] basepython=python2.6 commands = python --version ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py2] basepython=python2.6 commands = python --version ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_single_digit_fact0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestConfigTestEnv.test_default_factors_conflict_ignore ____________ self = newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4896690> def test_default_factors_conflict_ignore(self, newconfig, capsys): with pytest.warns(None) as record: config = newconfig( """ [tox] ignore_basepython_conflict=True [testenv] basepython=python3 [testenv:py27] commands = python --version > """, ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4896690> newconfig = record = WarningsChecker(record=True) self = tests/unit/config/test_config.py:2059: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict_1/tox.ini') data = ' [tox] ignore_basepython_conflict=True [testenv] basepython=python3 [testenv:py27] commands = python --version ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] ignore_basepython_conflict=True [testenv] basepython=python3 [testenv:py27] commands = python --version ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default_factors_conflict_1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestConfigTestEnv.test_factors_in_boolean ___________________ self = newconfig = def test_factors_in_boolean(self, newconfig): inisource = """ [tox] envlist = py{27,36} [testenv] recreate = py27: True """ > configs = newconfig([], inisource).envconfigs inisource = '\n [tox]\n envlist = py{27,36}\n\n [testenv]\n recreate =\n py27: True\n ' newconfig = self = tests/unit/config/test_config.py:2075: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_in_boolean0/tox.ini') data = ' [tox] envlist = py{27,36} [testenv] recreate = py27: True ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py{27,36} [testenv] recreate = py27: True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_in_boolean0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestConfigTestEnv.test_factors_in_setenv ___________________ self = newconfig = def test_factors_in_setenv(self, newconfig): inisource = """ [tox] envlist = py27,py36 [testenv] setenv = py27: X = 1 """ > configs = newconfig([], inisource).envconfigs inisource = '\n [tox]\n envlist = py27,py36\n\n [testenv]\n setenv =\n py27: X = 1\n ' newconfig = self = tests/unit/config/test_config.py:2088: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_in_setenv0/tox.ini') data = ' [tox] envlist = py27,py36 [testenv] setenv = py27: X = 1 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27,py36 [testenv] setenv = py27: X = 1 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_in_setenv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_curly_braces_in_setenv _________________ self = newconfig = def test_curly_braces_in_setenv(self, newconfig): inisource = r""" [testenv] setenv = VAR = \{val\} """ > configs = newconfig([], inisource).envconfigs inisource = '\n [testenv]\n setenv =\n VAR = \\{val\\}\n ' newconfig = self = tests/unit/config/test_config.py:2098: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_curly_braces_in_setenv0/tox.ini') data = ' [testenv] setenv = VAR = \{val\} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = VAR = \{val\} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_curly_braces_in_setenv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestConfigTestEnv.test_factor_use_not_checked _________________ self = newconfig = def test_factor_use_not_checked(self, newconfig): inisource = """ [tox] envlist = py27-{a,b} [testenv] deps = b: test """ > configs = newconfig([], inisource).envconfigs inisource = '\n [tox]\n envlist = py27-{a,b}\n\n [testenv]\n deps = b: test\n ' newconfig = self = tests/unit/config/test_config.py:2109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factor_use_not_checked0/tox.ini') data = ' [tox] envlist = py27-{a,b} [testenv] deps = b: test ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27-{a,b} [testenv] deps = b: test ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factor_use_not_checked0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestConfigTestEnv.test_factors_groups_touch __________________ self = newconfig = def test_factors_groups_touch(self, newconfig): inisource = """ [tox] envlist = {a,b}{-x,} [testenv] deps= a,b,x,y: dep """ > configs = newconfig([], inisource).envconfigs inisource = '\n [tox]\n envlist = {a,b}{-x,}\n\n [testenv]\n deps=\n a,b,x,y: dep\n ' newconfig = self = tests/unit/config/test_config.py:2121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_groups_touch0/tox.ini') data = ' [tox] envlist = {a,b}{-x,} [testenv] deps= a,b,x,y: dep ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {a,b}{-x,} [testenv] deps= a,b,x,y: dep ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_factors_groups_touch0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestConfigTestEnv.test_period_in_factor ____________________ self = newconfig = def test_period_in_factor(self, newconfig): inisource = """ [tox] envlist = py27-{django1.6,django1.7} [testenv] deps = django1.6: Django==1.6 django1.7: Django==1.7 """ > configs = newconfig([], inisource).envconfigs inisource = '\n [tox]\n envlist = py27-{django1.6,django1.7}\n\n [testenv]\n deps =\n django1.6: Django==1.6\n django1.7: Django==1.7\n ' newconfig = self = tests/unit/config/test_config.py:2134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_period_in_factor0/tox.ini') data = ' [tox] envlist = py27-{django1.6,django1.7} [testenv] deps = django1.6: Django==1.6 django1.7: Django==1.7 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27-{django1.6,django1.7} [testenv] deps = django1.6: Django==1.6 django1.7: Django==1.7 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_period_in_factor0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestConfigTestEnv.test_ignore_outcome _____________________ self = newconfig = def test_ignore_outcome(self, newconfig): inisource = """ [testenv] ignore_outcome=True """ > config = newconfig([], inisource).envconfigs inisource = '\n [testenv]\n ignore_outcome=True\n ' newconfig = self = tests/unit/config/test_config.py:2143: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_ignore_outcome0/tox.ini') data = ' [testenv] ignore_outcome=True ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ignore_outcome=True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_ignore_outcome0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestGlobalOptions.test_verbosity[args1-1] ___________________ self = , args = ['-v'] expected = 1, newconfig = @pytest.mark.parametrize( "args, expected", [([], 0), (["-v"], 1), (["-vv"], 2), (["--verbose", "--verbose"], 2), (["-vvv"], 3)], ) def test_verbosity(self, args, expected, newconfig): > config = newconfig(args, "") args = ['-v'] expected = 1 newconfig = self = tests/unit/config/test_config.py:2159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:114: in create_new_config_file_ return parseconfig(args, plugins=plugins) src/tox/config/__init__.py:278: in parseconfig ParseIni(config, config_file, content) src/tox/config/__init__.py:1094: in __init__ using("tox.ini: {} (pid {})".format(config.toxinipath, os.getpid())) src/tox/reporter.py:100: in using self.logline_if(Verbosity.INFO, "using", msg, "using ", bold=True) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args1_1_0/tox.ini (pid 5080)\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args1_1_0/tox.ini (pid 5080)\n' self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError __________________ TestGlobalOptions.test_verbosity[args2-2] ___________________ self = args = ['-vv'], expected = 2 newconfig = @pytest.mark.parametrize( "args, expected", [([], 0), (["-v"], 1), (["-vv"], 2), (["--verbose", "--verbose"], 2), (["-vvv"], 3)], ) def test_verbosity(self, args, expected, newconfig): > config = newconfig(args, "") args = ['-vv'] expected = 2 newconfig = self = tests/unit/config/test_config.py:2159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:114: in create_new_config_file_ return parseconfig(args, plugins=plugins) src/tox/config/__init__.py:278: in parseconfig ParseIni(config, config_file, content) src/tox/config/__init__.py:1094: in __init__ using("tox.ini: {} (pid {})".format(config.toxinipath, os.getpid())) src/tox/reporter.py:100: in using self.logline_if(Verbosity.INFO, "using", msg, "using ", bold=True) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args2_2_0/tox.ini (pid 5080)\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args2_2_0/tox.ini (pid 5080)\n' self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError __________________ TestGlobalOptions.test_verbosity[args3-2] ___________________ self = args = ['--verbose', '--verbose'], expected = 2 newconfig = @pytest.mark.parametrize( "args, expected", [([], 0), (["-v"], 1), (["-vv"], 2), (["--verbose", "--verbose"], 2), (["-vvv"], 3)], ) def test_verbosity(self, args, expected, newconfig): > config = newconfig(args, "") args = ['--verbose', '--verbose'] expected = 2 newconfig = self = tests/unit/config/test_config.py:2159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:114: in create_new_config_file_ return parseconfig(args, plugins=plugins) src/tox/config/__init__.py:278: in parseconfig ParseIni(config, config_file, content) src/tox/config/__init__.py:1094: in __init__ using("tox.ini: {} (pid {})".format(config.toxinipath, os.getpid())) src/tox/reporter.py:100: in using self.logline_if(Verbosity.INFO, "using", msg, "using ", bold=True) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args3_2_0/tox.ini (pid 5080)\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args3_2_0/tox.ini (pid 5080)\n' self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError __________________ TestGlobalOptions.test_verbosity[args4-3] ___________________ self = args = ['-vvv'], expected = 3 newconfig = @pytest.mark.parametrize( "args, expected", [([], 0), (["-v"], 1), (["-vv"], 2), (["--verbose", "--verbose"], 2), (["-vvv"], 3)], ) def test_verbosity(self, args, expected, newconfig): > config = newconfig(args, "") args = ['-vvv'] expected = 3 newconfig = self = tests/unit/config/test_config.py:2159: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:114: in create_new_config_file_ return parseconfig(args, plugins=plugins) src/tox/config/__init__.py:278: in parseconfig ParseIni(config, config_file, content) src/tox/config/__init__.py:1094: in __init__ using("tox.ini: {} (pid {})".format(config.toxinipath, os.getpid())) src/tox/reporter.py:100: in using self.logline_if(Verbosity.INFO, "using", msg, "using ", bold=True) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args4_3_0/tox.ini (pid 5080)\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'using tox.ini: /tmp/pytest-of-builduser/pytest-1/test_verbosity_args4_3_0/tox.ini (pid 5080)\n' self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ______________ TestGlobalOptions.test_substitution_jenkins_global ______________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3f3e290> newconfig = def test_substitution_jenkins_global(self, monkeypatch, newconfig): monkeypatch.setenv("HUDSON_URL", "xyz") config = newconfig( """ [tox:tox] envlist = py37 """, > filename="setup.cfg", ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3f3e290> newconfig = self = tests/unit/config/test_config.py:2177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_glob0/setup.cfg') data = ' [tox:tox] envlist = py37 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox:tox] envlist = py37 ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_glob0/setup.cfg') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestGlobalOptions.test_substitution_jenkins_default ______________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3cb0990> newconfig = def test_substitution_jenkins_default(self, monkeypatch, newconfig): monkeypatch.setenv("HUDSON_URL", "xyz") config = newconfig( """ [testenv:py27] commands = {distshare} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3cb0990> newconfig = self = tests/unit/config/test_config.py:2188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_defa0/tox.ini') data = ' [testenv:py27] commands = {distshare} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py27] commands = {distshare} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_defa0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestGlobalOptions.test_substitution_jenkins_context ______________ self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_cont0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3e5fe50> newconfig = def test_substitution_jenkins_context(self, tmpdir, monkeypatch, newconfig): monkeypatch.setenv("HUDSON_URL", "xyz") monkeypatch.setenv("WORKSPACE", str(tmpdir)) config = newconfig( """ [tox:jenkins] distshare = {env:WORKSPACE}/hello [testenv:py27] commands = {distshare} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3e5fe50> newconfig = self = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_cont0') tests/unit/config/test_config.py:2205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_cont0/tox.ini') data = ' [tox:jenkins] distshare = {env:WORKSPACE}/hello [testenv:py27] commands = {distshare} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox:jenkins] distshare = {env:WORKSPACE}/hello [testenv:py27] commands = {distshare} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_substitution_jenkins_cont0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestGlobalOptions.test_sdist_specification __________________ self = newconfig = def test_sdist_specification(self, newconfig): config = newconfig( """ [tox] sdistsrc = {distshare}/xyz.zip > """, ) newconfig = self = tests/unit/config/test_config.py:2217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_sdist_specification0/tox.ini') data = ' [tox] sdistsrc = {distshare}/xyz.zip ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] sdistsrc = {distshare}/xyz.zip ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_sdist_specification0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestGlobalOptions.test_env_selection_with_section_name ____________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4170550> def test_env_selection_with_section_name(self, newconfig, monkeypatch): inisource = """ [tox] envlist = py36 [testenv:py36] basepython=python3.6 [testenv:py35] basepython=python3.5 [testenv:py27] basepython=python2.7 """ > config = newconfig([], inisource) inisource = '\n [tox]\n envlist = py36\n [testenv:py36]\n basepython=python3.6\n ...estenv:py35]\n basepython=python3.5\n [testenv:py27]\n basepython=python2.7\n ' monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4170550> newconfig = self = tests/unit/config/test_config.py:2234: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_env_selection_with_sectio0/tox.ini') data = ' [tox] envlist = py36 [testenv:py36] basepython=python3.6 [testenv:py35] basepython=python3.5 [testenv:py27] basepython=python2.7 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py36 [testenv:py36] basepython=python3.6 [testenv:py35] basepython=python3.5 [testenv:py27] basepython=python2.7 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_env_selection_with_sectio0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestGlobalOptions.test_env_selection_expanded_envlist _____________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3b230d0> def test_env_selection_expanded_envlist(self, newconfig, monkeypatch): inisource = """ [tox] envlist = py{36,35,27} [testenv:py36] basepython=python3.6 """ > config = newconfig([], inisource) inisource = '\n [tox]\n envlist = py{36,35,27}\n [testenv:py36]\n basepython=python3.6\n ' monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3b230d0> newconfig = self = tests/unit/config/test_config.py:2256: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_env_selection_expanded_en0/tox.ini') data = ' [tox] envlist = py{36,35,27} [testenv:py36] basepython=python3.6 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py{36,35,27} [testenv:py36] basepython=python3.6 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_env_selection_expanded_en0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________ TestGlobalOptions.test_no_implicit_venv_from_cli_with_envlist _________ self = newconfig = def test_no_implicit_venv_from_cli_with_envlist(self, newconfig): # See issue 1160. inisource = """ [tox] envlist = stated-factors """ > config = newconfig(["-etypo-factor"], inisource) inisource = '\n [tox]\n envlist = stated-factors\n ' newconfig = self = tests/unit/config/test_config.py:2272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_no_implicit_venv_from_cli0/tox.ini') data = ' [tox] envlist = stated-factors ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = stated-factors ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_no_implicit_venv_from_cli0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____ TestGlobalOptions.test_correct_basepython_chosen_from_default_factors _____ self = newconfig = def test_correct_basepython_chosen_from_default_factors(self, newconfig): envs = { "py": sys.executable, "py2": "python2", "py3": "python3", "py27": "python2.7", "py36": "python3.6", "py310": "python3.10", "pypy": "pypy", "pypy2": "pypy2", "pypy3": "pypy3", "pypy36": "pypy3.6", "jython": "jython", } > config = newconfig([], "[tox]\nenvlist={}".format(", ".join(envs))) envs = {'jython': 'jython', 'py': '/build/python-tox/src/pyvenv-py2/bin/python', 'py2': 'python2', 'py27': 'python2.7', ...} newconfig = self = tests/unit/config/test_config.py:2289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_correct_basepython_chosen0/tox.ini') data = '[tox] envlist=pypy36, jython, py2, py3, py310, pypy, py27, py36, py, pypy3, pypy2' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] envlist=pypy36, jython, py2, py3, py310, pypy, py27, py36, py, pypy3, pypy2' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_correct_basepython_chosen0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestGlobalOptions.test_envlist_expansion ___________________ self = newconfig = def test_envlist_expansion(self, newconfig): inisource = """ [tox] envlist = py{36,27},docs """ > config = newconfig([], inisource) inisource = '\n [tox]\n envlist = py{36,27},docs\n ' newconfig = self = tests/unit/config/test_config.py:2300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envlist_expansion0/tox.ini') data = ' [tox] envlist = py{36,27},docs ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py{36,27},docs ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envlist_expansion0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestGlobalOptions.test_envlist_cross_product _________________ self = newconfig = def test_envlist_cross_product(self, newconfig): inisource = """ [tox] envlist = py{36,27}-dep{1,2} """ > config = newconfig([], inisource) inisource = '\n [tox]\n envlist = py{36,27}-dep{1,2}\n ' newconfig = self = tests/unit/config/test_config.py:2308: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envlist_cross_product0/tox.ini') data = ' [tox] envlist = py{36,27}-dep{1,2} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py{36,27}-dep{1,2} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envlist_cross_product0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestGlobalOptions.test_envlist_multiline ___________________ self = newconfig = def test_envlist_multiline(self, newconfig): inisource = """ [tox] envlist = py27 py34 """ > config = newconfig([], inisource) inisource = '\n [tox]\n envlist =\n py27\n py34\n ' newconfig = self = tests/unit/config/test_config.py:2319: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envlist_multiline0/tox.ini') data = ' [tox] envlist = py27 py34 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27 py34 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_envlist_multiline0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestGlobalOptions.test_skip_missing_interpreters_true _____________ self = newconfig = def test_skip_missing_interpreters_true(self, newconfig): ini_source = """ [tox] skip_missing_interpreters = True """ > config = newconfig([], ini_source) ini_source = '\n [tox]\n skip_missing_interpreters = True\n ' newconfig = self = tests/unit/config/test_config.py:2327: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters0/tox.ini') data = ' [tox] skip_missing_interpreters = True ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skip_missing_interpreters = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ TestGlobalOptions.test_skip_missing_interpreters_false ____________ self = newconfig = def test_skip_missing_interpreters_false(self, newconfig): ini_source = """ [tox] skip_missing_interpreters = False """ > config = newconfig([], ini_source) ini_source = '\n [tox]\n skip_missing_interpreters = False\n ' newconfig = self = tests/unit/config/test_config.py:2335: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters1/tox.ini') data = ' [tox] skip_missing_interpreters = False ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skip_missing_interpreters = False ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________ TestGlobalOptions.test_skip_missing_interpreters_cli_no_arg __________ self = newconfig = def test_skip_missing_interpreters_cli_no_arg(self, newconfig): ini_source = """ [tox] skip_missing_interpreters = False """ > config = newconfig(["--skip-missing-interpreters"], ini_source) ini_source = '\n [tox]\n skip_missing_interpreters = False\n ' newconfig = self = tests/unit/config/test_config.py:2343: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters2/tox.ini') data = ' [tox] skip_missing_interpreters = False ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skip_missing_interpreters = False ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters2/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____ TestGlobalOptions.test_skip_missing_interpreters_cli_overrides_true ______ self = newconfig = def test_skip_missing_interpreters_cli_overrides_true(self, newconfig): ini_source = """ [tox] skip_missing_interpreters = False """ > config = newconfig(["--skip-missing-interpreters", "true"], ini_source) ini_source = '\n [tox]\n skip_missing_interpreters = False\n ' newconfig = self = tests/unit/config/test_config.py:2355: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters4/tox.ini') data = ' [tox] skip_missing_interpreters = False ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skip_missing_interpreters = False ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters4/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____ TestGlobalOptions.test_skip_missing_interpreters_cli_overrides_false _____ self = newconfig = def test_skip_missing_interpreters_cli_overrides_false(self, newconfig): ini_source = """ [tox] skip_missing_interpreters = True """ > config = newconfig(["--skip-missing-interpreters", "false"], ini_source) ini_source = '\n [tox]\n skip_missing_interpreters = True\n ' newconfig = self = tests/unit/config/test_config.py:2363: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters5/tox.ini') data = ' [tox] skip_missing_interpreters = True ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] skip_missing_interpreters = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_skip_missing_interpreters5/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestGlobalOptions.test_defaultenv_partial_override ______________ self = newconfig = def test_defaultenv_partial_override(self, newconfig): inisource = """ [tox] envlist = py27 [testenv:py27] commands= xyz """ > config = newconfig([], inisource) inisource = '\n [tox]\n envlist = py27\n [testenv:py27]\n commands= xyz\n ' newconfig = self = tests/unit/config/test_config.py:2379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_defaultenv_partial_overri0/tox.ini') data = ' [tox] envlist = py27 [testenv:py27] commands= xyz ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27 [testenv:py27] commands= xyz ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_defaultenv_partial_overri0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestHashseedOption.test_default ________________________ self = newconfig = def test_default(self, newconfig): > self._check_testenv(newconfig, "123456789") newconfig = self = tests/unit/config/test_config.py:2418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_default0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestHashseedOption.test_passing_integer ____________________ self = newconfig = def test_passing_integer(self, newconfig): args = ["--hashseed", "1"] > self._check_testenv(newconfig, "1", args=args) args = ['--hashseed', '1'] newconfig = self = tests/unit/config/test_config.py:2422: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_integer0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_integer0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestHashseedOption.test_passing_string ____________________ self = newconfig = def test_passing_string(self, newconfig): args = ["--hashseed", "random"] > self._check_testenv(newconfig, "random", args=args) args = ['--hashseed', 'random'] newconfig = self = tests/unit/config/test_config.py:2426: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_string0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_string0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestHashseedOption.test_passing_empty_string _________________ self = newconfig = def test_passing_empty_string(self, newconfig): args = ["--hashseed", ""] > self._check_testenv(newconfig, "", args=args) args = ['--hashseed', ''] newconfig = self = tests/unit/config/test_config.py:2430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_empty_string0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_empty_string0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestHashseedOption.test_passing_no_argument __________________ self = newconfig = def test_passing_no_argument(self, newconfig): """Test that passing no arguments to --hashseed is not allowed.""" args = ["--hashseed"] try: > self._check_testenv(newconfig, "", args=args) args = ['--hashseed'] newconfig = self = tests/unit/config/test_config.py:2436: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_no_argument0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_passing_no_argument0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ TestHashseedOption.test_setenv ________________________ self = newconfig = def test_setenv(self, newconfig): """Check that setenv takes precedence.""" tox_ini = """ [testenv] setenv = PYTHONHASHSEED = 2 """ > self._check_testenv(newconfig, "2", tox_ini=tox_ini) newconfig = self = tox_ini = '\n [testenv]\n setenv =\n PYTHONHASHSEED = 2\n ' tests/unit/config/test_config.py:2449: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv0/tox.ini') data = ' [testenv] setenv = PYTHONHASHSEED = 2 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = PYTHONHASHSEED = 2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ TestHashseedOption.test_noset _________________________ self = newconfig = def test_noset(self, newconfig): args = ["--hashseed", "noset"] > envconfig = self._get_envconfig(newconfig, args=args) args = ['--hashseed', 'noset'] newconfig = self = tests/unit/config/test_config.py:2455: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_noset0/tox.ini') data = ' [testenv] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_noset0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestHashseedOption.test_noset_with_setenv ___________________ self = newconfig = def test_noset_with_setenv(self, newconfig): tox_ini = """ [testenv] setenv = PYTHONHASHSEED = 2 """ args = ["--hashseed", "noset"] > self._check_testenv(newconfig, "2", args=args, tox_ini=tox_ini) args = ['--hashseed', 'noset'] newconfig = self = tox_ini = '\n [testenv]\n setenv =\n PYTHONHASHSEED = 2\n ' tests/unit/config/test_config.py:2465: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2414: in _check_testenv envconfig = self._get_envconfig(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2407: in _get_envconfig envconfigs = self._get_envconfigs(newconfig, args=args, tox_ini=tox_ini) tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_noset_with_setenv0/tox.ini') data = ' [testenv] setenv = PYTHONHASHSEED = 2 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = PYTHONHASHSEED = 2 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_noset_with_setenv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestHashseedOption.test_one_random_hashseed __________________ self = newconfig = def test_one_random_hashseed(self, newconfig): """Check that different testenvs use the same random seed.""" tox_ini = """ [testenv:hash1] [testenv:hash2] """ next_seed = [1000] # This function is guaranteed to generate a different value each time. def make_hashseed(): next_seed[0] += 1 return str(next_seed[0]) # Check that make_hashseed() works. assert make_hashseed() == "1001" > envconfigs = self._get_envconfigs(newconfig, tox_ini=tox_ini, make_hashseed=make_hashseed) make_hashseed = newconfig = next_seed = [1001] self = tox_ini = '\n [testenv:hash1]\n [testenv:hash2]\n ' tests/unit/config/test_config.py:2483: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_one_random_hashseed0/tox.ini') data = ' [testenv:hash1] [testenv:hash2] ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:hash1] [testenv:hash2] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_one_random_hashseed0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestHashseedOption.test_setenv_in_one_testenv _________________ self = newconfig = def test_setenv_in_one_testenv(self, newconfig): """Check using setenv in one of multiple testenvs.""" tox_ini = """ [testenv:hash1] setenv = PYTHONHASHSEED = 2 [testenv:hash2] """ > envconfigs = self._get_envconfigs(newconfig, tox_ini=tox_ini) newconfig = self = tox_ini = '\n [testenv:hash1]\n setenv =\n PYTHONHASHSEED = 2\n [testenv:hash2]\n ' tests/unit/config/test_config.py:2496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/config/test_config.py:2401: in _get_envconfigs config = newconfig(args, tox_ini) src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_in_one_testenv0/tox.ini') data = ' [testenv:hash1] setenv = PYTHONHASHSEED = 2 [testenv:hash2] ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:hash1] setenv = PYTHONHASHSEED = 2 [testenv:hash2] ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_in_one_testenv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ TestSetenv.test_getdict_lazy _________________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4251750> def test_getdict_lazy(self, newconfig, monkeypatch): monkeypatch.setenv("X", "2") config = newconfig( """ [testenv:X] key0 = key1 = {env:X} key2 = {env:Y:1} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4251750> newconfig = self = tests/unit/config/test_config.py:2510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getdict_lazy0/tox.ini') data = ' [testenv:X] key0 = key1 = {env:X} key2 = {env:Y:1} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:X] key0 = key1 = {env:X} key2 = {env:Y:1} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getdict_lazy0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ TestSetenv.test_getdict_lazy_update ______________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e423d390> def test_getdict_lazy_update(self, newconfig, monkeypatch): monkeypatch.setenv("X", "2") config = newconfig( """ [testenv:X] key0 = key1 = {env:X} key2 = {env:Y:1} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e423d390> newconfig = self = tests/unit/config/test_config.py:2525: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getdict_lazy_update0/tox.ini') data = ' [testenv:X] key0 = key1 = {env:X} key2 = {env:Y:1} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:X] key0 = key1 = {env:X} key2 = {env:Y:1} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_getdict_lazy_update0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestSetenv.test_setenv_uses_os_environ ____________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42447d0> def test_setenv_uses_os_environ(self, newconfig, monkeypatch): monkeypatch.setenv("X", "1") config = newconfig( """ [testenv:env1] setenv = X = {env:X} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42447d0> newconfig = self = tests/unit/config/test_config.py:2540: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_uses_os_environ0/tox.ini') data = ' [testenv:env1] setenv = X = {env:X} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:env1] setenv = X = {env:X} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_uses_os_environ0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestSetenv.test_setenv_default_os_environ ___________________ self = newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42c6c50> def test_setenv_default_os_environ(self, newconfig, monkeypatch): monkeypatch.delenv("X", raising=False) config = newconfig( """ [testenv:env1] setenv = X = {env:X:2} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e42c6c50> newconfig = self = tests/unit/config/test_config.py:2551: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_default_os_environ0/tox.ini') data = ' [testenv:env1] setenv = X = {env:X:2} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:env1] setenv = X = {env:X:2} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_default_os_environ0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestSetenv.test_setenv_uses_other_setenv ___________________ self = newconfig = def test_setenv_uses_other_setenv(self, newconfig): config = newconfig( """ [testenv:env1] setenv = Y = 5 X = {env:Y} > """, ) newconfig = self = tests/unit/config/test_config.py:2562: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_uses_other_setenv0/tox.ini') data = ' [testenv:env1] setenv = Y = 5 X = {env:Y} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:env1] setenv = Y = 5 X = {env:Y} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_uses_other_setenv0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ TestSetenv.test_setenv_recursive_direct ____________________ self = newconfig = def test_setenv_recursive_direct(self, newconfig): config = newconfig( """ [testenv:env1] setenv = X = {env:X:3} > """, ) newconfig = self = tests/unit/config/test_config.py:2572: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_recursive_direct0/tox.ini') data = ' [testenv:env1] setenv = X = {env:X:3} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:env1] setenv = X = {env:X:3} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_recursive_direct0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestSetenv.test_setenv_overrides _______________________ self = newconfig = def test_setenv_overrides(self, newconfig): config = newconfig( """ [testenv] setenv = PYTHONPATH = something ANOTHER_VAL=else > """, ) newconfig = self = tests/unit/config/test_config.py:2583: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_overrides0/tox.ini') data = ' [testenv] setenv = PYTHONPATH = something ANOTHER_VAL=else ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = PYTHONPATH = something ANOTHER_VAL=else ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_overrides0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ TestSetenv.test_setenv_with_envdir_and_basepython _______________ self = newconfig = def test_setenv_with_envdir_and_basepython(self, newconfig): config = newconfig( """ [testenv] setenv = VAL = {envdir} basepython = {env:VAL} > """, ) newconfig = self = tests/unit/config/test_config.py:2599: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_with_envdir_and_ba0/tox.ini') data = ' [testenv] setenv = VAL = {envdir} basepython = {env:VAL} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = VAL = {envdir} basepython = {env:VAL} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_with_envdir_and_ba0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ TestSetenv.test_setenv_ordering_1 _______________________ self = newconfig = def test_setenv_ordering_1(self, newconfig): config = newconfig( """ [testenv] setenv= VAL={envdir} commands=echo {env:VAL} > """, ) newconfig = self = tests/unit/config/test_config.py:2614: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_ordering_10/tox.ini') data = ' [testenv] setenv= VAL={envdir} commands=echo {env:VAL} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv= VAL={envdir} commands=echo {env:VAL} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_ordering_10/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ TestSetenv.test_setenv_cross_section_subst_issue294 ______________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e44f2750> newconfig = def test_setenv_cross_section_subst_issue294(self, monkeypatch, newconfig): """test that we can do cross-section substitution with setenv""" monkeypatch.delenv("TEST", raising=False) config = newconfig( """ [section] x = NOT_TEST={env:TEST:defaultvalue} [testenv] setenv = {[section]x} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e44f2750> newconfig = self = tests/unit/config/test_config.py:2633: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_cross_section_subs0/tox.ini') data = ' [section] x = NOT_TEST={env:TEST:defaultvalue} [testenv] setenv = {[section]x} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] x = NOT_TEST={env:TEST:defaultvalue} [testenv] setenv = {[section]x} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_cross_section_subs0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ TestSetenv.test_setenv_cross_section_subst_twice _______________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e480a4d0> newconfig = def test_setenv_cross_section_subst_twice(self, monkeypatch, newconfig): """test that we can do cross-section substitution with setenv""" monkeypatch.delenv("TEST", raising=False) config = newconfig( """ [section] x = NOT_TEST={env:TEST:defaultvalue} [section1] y = {[section]x} [testenv] setenv = {[section1]y} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e480a4d0> newconfig = self = tests/unit/config/test_config.py:2650: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_cross_section_subs1/tox.ini') data = ' [section] x = NOT_TEST={env:TEST:defaultvalue} [section1] y = {[section]x} [testenv] setenv = {[section1]y} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] x = NOT_TEST={env:TEST:defaultvalue} [section1] y = {[section]x} [testenv] setenv = {[section1]y} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_cross_section_subs1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestSetenv.test_setenv_cross_section_mixed __________________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e397a190> newconfig = def test_setenv_cross_section_mixed(self, monkeypatch, newconfig): """test that we can do cross-section substitution with setenv""" monkeypatch.delenv("TEST", raising=False) config = newconfig( """ [section] x = NOT_TEST={env:TEST:defaultvalue} [testenv] setenv = {[section]x} y = 7 > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e397a190> newconfig = self = tests/unit/config/test_config.py:2666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_cross_section_mixe0/tox.ini') data = ' [section] x = NOT_TEST={env:TEST:defaultvalue} [testenv] setenv = {[section]x} y = 7 ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [section] x = NOT_TEST={env:TEST:defaultvalue} [testenv] setenv = {[section]x} y = 7 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_cross_section_mixe0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ TestSetenv.test_setenv_comment ________________________ self = newconfig = def test_setenv_comment(self, newconfig): """Check that setenv ignores comments.""" envconfig = newconfig( """ [testenv] setenv = # MAGIC = yes > """, ).envconfigs["python"] newconfig = self = tests/unit/config/test_config.py:2679: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_comment0/tox.ini') data = ' [testenv] setenv = # MAGIC = yes ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = # MAGIC = yes ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_comment0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ TestSetenv.test_setenv_env_file[None-False] __________________ self = newconfig = , content = None has_magic = False tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_None_Fals0') @pytest.mark.parametrize( "content, has_magic", [ (None, False), ("\n", False), ("#MAGIC = yes", False), ("MAGIC=yes", True), ("\nMAGIC = yes", True), ], ) def test_setenv_env_file(self, newconfig, content, has_magic, tmp_path): """Check that setenv handles env files.""" env_path = tmp_path / ".env" if content else None if content: env_path.write_text(content.decode() if PY2 else content) env_config = newconfig( """ [testenv] setenv = ALPHA = 1 file| {} """.format( > env_path, ), ).envconfigs["python"] content = None env_path = None has_magic = False newconfig = self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_None_Fals0') tests/unit/config/test_config.py:2705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_None_Fals0/tox.ini') data = ' [testenv] setenv = ALPHA = 1 file| None ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = ALPHA = 1 file| None ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_None_Fals0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ TestSetenv.test_setenv_env_file[\n-False] ___________________ self = newconfig = , content = '\n' has_magic = False tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__n_False_0') @pytest.mark.parametrize( "content, has_magic", [ (None, False), ("\n", False), ("#MAGIC = yes", False), ("MAGIC=yes", True), ("\nMAGIC = yes", True), ], ) def test_setenv_env_file(self, newconfig, content, has_magic, tmp_path): """Check that setenv handles env files.""" env_path = tmp_path / ".env" if content else None if content: > env_path.write_text(content.decode() if PY2 else content) content = '\n' env_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__n_False_0/.env') has_magic = False newconfig = self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__n_False_0') tests/unit/config/test_config.py:2697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__n_False_0/.env') data = ' ', encoding = None, errors = None def write_text(self, data, encoding=None, errors=None): """ Open the file in text mode, write to it, and close the file. """ if not isinstance(data, six.text_type): raise TypeError( 'data must be %s, not %s' % (six.text_type.__name__, data.__class__.__name__)) with self.open(mode='w', encoding=encoding, errors=errors) as f: > return f.write(data) E IOError: [Errno 28] No space left on device data = ' ' encoding = None errors = None f = <_io.TextIOWrapper name='/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__n_False_0/.env' encoding='UTF-8'> self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__n_False_0/.env') /usr/lib/python2.7/site-packages/pathlib2/__init__.py:1502: IOError _____________ TestSetenv.test_setenv_env_file[#MAGIC = yes-False] ______________ self = newconfig = content = '#MAGIC = yes', has_magic = False tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__MAGIC___0') @pytest.mark.parametrize( "content, has_magic", [ (None, False), ("\n", False), ("#MAGIC = yes", False), ("MAGIC=yes", True), ("\nMAGIC = yes", True), ], ) def test_setenv_env_file(self, newconfig, content, has_magic, tmp_path): """Check that setenv handles env files.""" env_path = tmp_path / ".env" if content else None if content: > env_path.write_text(content.decode() if PY2 else content) content = '#MAGIC = yes' env_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__MAGIC___0/.env') has_magic = False newconfig = self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__MAGIC___0') tests/unit/config/test_config.py:2697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__MAGIC___0/.env') data = '#MAGIC = yes', encoding = None, errors = None def write_text(self, data, encoding=None, errors=None): """ Open the file in text mode, write to it, and close the file. """ if not isinstance(data, six.text_type): raise TypeError( 'data must be %s, not %s' % (six.text_type.__name__, data.__class__.__name__)) with self.open(mode='w', encoding=encoding, errors=errors) as f: > return f.write(data) E IOError: [Errno 28] No space left on device data = '#MAGIC = yes' encoding = None errors = None f = <_io.TextIOWrapper name='/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__MAGIC___0/.env' encoding='UTF-8'> self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__MAGIC___0/.env') /usr/lib/python2.7/site-packages/pathlib2/__init__.py:1502: IOError _______________ TestSetenv.test_setenv_env_file[MAGIC=yes-True] ________________ self = newconfig = content = 'MAGIC=yes', has_magic = True tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_MAGIC_yes0') @pytest.mark.parametrize( "content, has_magic", [ (None, False), ("\n", False), ("#MAGIC = yes", False), ("MAGIC=yes", True), ("\nMAGIC = yes", True), ], ) def test_setenv_env_file(self, newconfig, content, has_magic, tmp_path): """Check that setenv handles env files.""" env_path = tmp_path / ".env" if content else None if content: > env_path.write_text(content.decode() if PY2 else content) content = 'MAGIC=yes' env_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_MAGIC_yes0/.env') has_magic = True newconfig = self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_MAGIC_yes0') tests/unit/config/test_config.py:2697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_MAGIC_yes0/.env') data = 'MAGIC=yes', encoding = None, errors = None def write_text(self, data, encoding=None, errors=None): """ Open the file in text mode, write to it, and close the file. """ if not isinstance(data, six.text_type): raise TypeError( 'data must be %s, not %s' % (six.text_type.__name__, data.__class__.__name__)) with self.open(mode='w', encoding=encoding, errors=errors) as f: > return f.write(data) E IOError: [Errno 28] No space left on device data = 'MAGIC=yes' encoding = None errors = None f = <_io.TextIOWrapper name='/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_MAGIC_yes0/.env' encoding='UTF-8'> self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file_MAGIC_yes0/.env') /usr/lib/python2.7/site-packages/pathlib2/__init__.py:1502: IOError _____________ TestSetenv.test_setenv_env_file[\nMAGIC = yes-True] ______________ self = newconfig = content = '\nMAGIC = yes', has_magic = True tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__nMAGIC__0') @pytest.mark.parametrize( "content, has_magic", [ (None, False), ("\n", False), ("#MAGIC = yes", False), ("MAGIC=yes", True), ("\nMAGIC = yes", True), ], ) def test_setenv_env_file(self, newconfig, content, has_magic, tmp_path): """Check that setenv handles env files.""" env_path = tmp_path / ".env" if content else None if content: > env_path.write_text(content.decode() if PY2 else content) content = '\nMAGIC = yes' env_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__nMAGIC__0/.env') has_magic = True newconfig = self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__nMAGIC__0') tests/unit/config/test_config.py:2697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__nMAGIC__0/.env') data = ' MAGIC = yes', encoding = None, errors = None def write_text(self, data, encoding=None, errors=None): """ Open the file in text mode, write to it, and close the file. """ if not isinstance(data, six.text_type): raise TypeError( 'data must be %s, not %s' % (six.text_type.__name__, data.__class__.__name__)) with self.open(mode='w', encoding=encoding, errors=errors) as f: > return f.write(data) E IOError: [Errno 28] No space left on device data = ' MAGIC = yes' encoding = None errors = None f = <_io.TextIOWrapper name='/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__nMAGIC__0/.env' encoding='UTF-8'> self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_setenv_env_file__nMAGIC__0/.env') /usr/lib/python2.7/site-packages/pathlib2/__init__.py:1502: IOError _______________________ TestIndexServer.test_indexserver _______________________ self = newconfig = def test_indexserver(self, newconfig): config = newconfig( """ [tox] indexserver = name1 = XYZ name2 = ABC > """, ) newconfig = self = tests/unit/config/test_config.py:2724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_indexserver0/tox.ini') data = ' [tox] indexserver = name1 = XYZ name2 = ABC ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] indexserver = name1 = XYZ name2 = ABC ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_indexserver0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestIndexServer.test_parse_indexserver ____________________ self = newconfig = def test_parse_indexserver(self, newconfig): inisource = """ [tox] indexserver = default = https://pypi.somewhere.org name1 = whatever """ > config = newconfig([], inisource) inisource = '\n [tox]\n indexserver =\n default = https://pypi.somewhere.org\n name1 = whatever\n ' newconfig = self = tests/unit/config/test_config.py:2737: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parse_indexserver0/tox.ini') data = ' [tox] indexserver = default = https://pypi.somewhere.org name1 = whatever ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] indexserver = default = https://pypi.somewhere.org name1 = whatever ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parse_indexserver0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______ TestIndexServer.test_multiple_homedir_relative_local_indexservers _______ self = newconfig = def test_multiple_homedir_relative_local_indexservers(self, newconfig): inisource = """ [tox] indexserver = default = file://{homedir}/.pip/downloads/simple local1 = file://{homedir}/.pip/downloads/simple local2 = file://{toxinidir}/downloads/simple pypi = https://pypi.org/simple """ > config = newconfig([], inisource) inisource = '\n [tox]\n indexserver =\n default = file://{homedir}/.pip/downloads/simple\n ... local2 = file://{toxinidir}/downloads/simple\n pypi = https://pypi.org/simple\n ' newconfig = self = tests/unit/config/test_config.py:2761: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_multiple_homedir_relative0/tox.ini') data = ' [tox] indexserver = default = file://{homedir}/.pip/downloads/simple local1 = file://{homedir}/.pip/downloads/simple local2 = file://{toxinidir}/downloads/simple pypi = https://pypi.org/simple ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] indexserver = default = file://{homedir}/.pip/downloads/simple local1 = file://{homedir}/.pip/downloads/simple local2 = file://{toxinidir}/downloads/simple pypi = https://pypi.org/simple ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_multiple_homedir_relative0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestConfigConstSubstitutions.test_replace_pathsep_unix[:] ___________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3799dd0> newconfig = , pathsep = ':' @pytest.mark.parametrize("pathsep", [":", ";"]) def test_replace_pathsep_unix(self, monkeypatch, newconfig, pathsep): monkeypatch.setattr("os.pathsep", pathsep) config = newconfig( """ [testenv] setenv = PATH = dira{:}dirb{:}dirc > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3799dd0> newconfig = pathsep = ':' self = tests/unit/config/test_config.py:2776: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_replace_pathsep_unix___0/tox.ini') data = ' [testenv] setenv = PATH = dira{:}dirb{:}dirc ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = PATH = dira{:}dirb{:}dirc ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_replace_pathsep_unix___0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________ TestConfigConstSubstitutions.test_replace_pathsep_unix[;] ___________ self = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3a2a710> newconfig = , pathsep = ';' @pytest.mark.parametrize("pathsep", [":", ";"]) def test_replace_pathsep_unix(self, monkeypatch, newconfig, pathsep): monkeypatch.setattr("os.pathsep", pathsep) config = newconfig( """ [testenv] setenv = PATH = dira{:}dirb{:}dirc > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3a2a710> newconfig = pathsep = ';' self = tests/unit/config/test_config.py:2776: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_replace_pathsep_unix___1/tox.ini') data = ' [testenv] setenv = PATH = dira{:}dirb{:}dirc ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv] setenv = PATH = dira{:}dirb{:}dirc ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_replace_pathsep_unix___1/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ TestParseEnv.test_parse_recreate _______________________ self = newconfig = def test_parse_recreate(self, newconfig): inisource = "" config = newconfig([], inisource) assert not config.envconfigs["python"].recreate config = newconfig(["--recreate"], inisource) assert config.envconfigs["python"].recreate config = newconfig(["-r"], inisource) assert config.envconfigs["python"].recreate inisource = """ [testenv:hello] recreate = True """ > config = newconfig([], inisource) config = inisource = '\n [testenv:hello]\n recreate = True\n ' newconfig = self = tests/unit/config/test_config.py:2804: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parse_recreate0/tox.ini') data = ' [testenv:hello] recreate = True ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:hello] recreate = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parse_recreate0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ TestCmdInvocation.test_help __________________________ self = cmd = initproj = def test_help(self, cmd, initproj): > initproj("help", filedefs={"tox.ini": ""}) cmd = initproj = self = tests/unit/config/test_config.py:2810: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_help0/help/setup.py') data = " from setuptools import setup, find_packages setup( name='help', description='help project', version='0.1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='help', description='help project', version='0.1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_help0/help/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ TestCmdInvocation.test_version_simple _____________________ self = cmd = initproj = def test_version_simple(self, cmd, initproj): > initproj("help", filedefs={"tox.ini": ""}) cmd = initproj = self = tests/unit/config/test_config.py:2816: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_version_simple0/help/setup.py') data = " from setuptools import setup, find_packages setup( name='help', description='help project', version='0.1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='help', description='help project', version='0.1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_version_simple0/help/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ TestCmdInvocation.test_no_tox_ini _______________________ self = cmd = initproj = def test_no_tox_ini(self, cmd, initproj): > initproj("noini-0.5") cmd = initproj = self = tests/unit/config/test_config.py:2867: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_no_tox_ini0/noini/setup.py') data = " from setuptools import setup, find_packages setup( name='noini', description='noini project', version='0.5', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='noini', description='noini project', version='0.5', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_no_tox_ini0/noini/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_env_spec[-e py36-run_envlist0] ______________________ initproj = , cli_args = '-e py36' run_envlist = ['py36'] @pytest.mark.parametrize( "cli_args,run_envlist", [ ("-e py36", ["py36"]), ("-e py36,py34", ["py36", "py34"]), ("-e py36,py36", ["py36", "py36"]), ("-e py36,py34 -e py34,py27", ["py36", "py34", "py34", "py27"]), ], ) def test_env_spec(initproj, cli_args, run_envlist): initproj( "env_spec", filedefs={ "tox.ini": """ [tox] envlist = [testenv] commands = python -c "" > """, }, ) cli_args = '-e py36' initproj = run_envlist = ['py36'] tests/unit/config/test_config.py:2894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_run_envl0/env_spec/tox.ini') data = ' [tox] envlist = [testenv] commands = python -c "" ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = [testenv] commands = python -c "" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_run_envl0/env_spec/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_env_spec[-e py36,py34-run_envlist1] ___________________ initproj = , cli_args = '-e py36,py34' run_envlist = ['py36', 'py34'] @pytest.mark.parametrize( "cli_args,run_envlist", [ ("-e py36", ["py36"]), ("-e py36,py34", ["py36", "py34"]), ("-e py36,py36", ["py36", "py36"]), ("-e py36,py34 -e py34,py27", ["py36", "py34", "py34", "py27"]), ], ) def test_env_spec(initproj, cli_args, run_envlist): initproj( "env_spec", filedefs={ "tox.ini": """ [tox] envlist = [testenv] commands = python -c "" > """, }, ) cli_args = '-e py36,py34' initproj = run_envlist = ['py36', 'py34'] tests/unit/config/test_config.py:2894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_py34_run0/env_spec/tox.ini') data = ' [tox] envlist = [testenv] commands = python -c "" ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = [testenv] commands = python -c "" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_py34_run0/env_spec/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_env_spec[-e py36,py36-run_envlist2] ___________________ initproj = , cli_args = '-e py36,py36' run_envlist = ['py36', 'py36'] @pytest.mark.parametrize( "cli_args,run_envlist", [ ("-e py36", ["py36"]), ("-e py36,py34", ["py36", "py34"]), ("-e py36,py36", ["py36", "py36"]), ("-e py36,py34 -e py34,py27", ["py36", "py34", "py34", "py27"]), ], ) def test_env_spec(initproj, cli_args, run_envlist): initproj( "env_spec", filedefs={ "tox.ini": """ [tox] envlist = [testenv] commands = python -c "" > """, }, ) cli_args = '-e py36,py36' initproj = run_envlist = ['py36', 'py36'] tests/unit/config/test_config.py:2894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_py36_run0/env_spec/tox.ini') data = ' [tox] envlist = [testenv] commands = python -c "" ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = [testenv] commands = python -c "" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_py36_run0/env_spec/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ test_env_spec[-e py36,py34 -e py34,py27-run_envlist3] _____________ initproj = cli_args = '-e py36,py34 -e py34,py27' run_envlist = ['py36', 'py34', 'py34', 'py27'] @pytest.mark.parametrize( "cli_args,run_envlist", [ ("-e py36", ["py36"]), ("-e py36,py34", ["py36", "py34"]), ("-e py36,py36", ["py36", "py36"]), ("-e py36,py34 -e py34,py27", ["py36", "py34", "py34", "py27"]), ], ) def test_env_spec(initproj, cli_args, run_envlist): initproj( "env_spec", filedefs={ "tox.ini": """ [tox] envlist = [testenv] commands = python -c "" > """, }, ) cli_args = '-e py36,py34 -e py34,py27' initproj = run_envlist = ['py36', 'py34', 'py34', 'py27'] tests/unit/config/test_config.py:2894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_py34__e_0/env_spec/tox.ini') data = ' [tox] envlist = [testenv] commands = python -c "" ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = [testenv] commands = python -c "" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_env_spec__e_py36_py34__e_0/env_spec/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________ TestCommandParser.test_commands_with_backslash ________________ self = newconfig = def test_commands_with_backslash(self, newconfig): config = newconfig( [r"hello\world"], """ [testenv:py36] commands = some {posargs} > """, ) newconfig = self = tests/unit/config/test_config.py:3006: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_commands_with_backslash0/tox.ini') data = ' [testenv:py36] commands = some {posargs} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py36] commands = some {posargs} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_commands_with_backslash0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ test_isolated_build_env_cannot_be_in_envlist _________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4784f50> def test_isolated_build_env_cannot_be_in_envlist(newconfig, capsys): inisource = """ [tox] envlist = py36,package isolated_build = True isolated_build_env = package """ with pytest.raises( tox.exception.ConfigError, match="isolated_build_env package cannot be part of envlist", ): > newconfig([], inisource) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4784f50> inisource = '\n [tox]\n envlist = py36,package\n isolated_build = True\n isolated_build_env = package\n ' newconfig = tests/unit/config/test_config.py:3023: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_env_cannot0/tox.ini') data = ' [tox] envlist = py36,package isolated_build = True isolated_build_env = package ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py36,package isolated_build = True isolated_build_env = package ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_env_cannot0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ test_isolated_build_overrides _________________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3a071d0> def test_isolated_build_overrides(newconfig, capsys): inisource = """ [tox] isolated_build = True [testenv] deps = something crazy here [testenv:.package] deps = """ > config = newconfig([], inisource) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3a071d0> inisource = '\n [tox]\n isolated_build = True\n\n [testenv]\n deps = something crazy here\n\n [testenv:.package]\n deps =\n ' newconfig = tests/unit/config/test_config.py:3041: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_overrides0/tox.ini') data = ' [tox] isolated_build = True [testenv] deps = something crazy here [testenv:.package] deps = ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = True [testenv] deps = something crazy here [testenv:.package] deps = ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_overrides0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________ test_isolated_build_ignores[deps-crazy-default0] _______________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3eaa810>, key = 'deps' set_value = 'crazy', default = [] @pytest.mark.parametrize( "key, set_value, default", [("deps", "crazy", []), ("sitepackages", "True", False)], ) def test_isolated_build_ignores(newconfig, capsys, key, set_value, default): config = newconfig( [], """ [tox] isolated_build = True [testenv] {} = {} """.format( key, > set_value, ), ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3eaa810> default = [] key = 'deps' newconfig = set_value = 'crazy' tests/unit/config/test_config.py:3061: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_ignores_de0/tox.ini') data = ' [tox] isolated_build = True [testenv] deps = crazy ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = True [testenv] deps = crazy ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_ignores_de0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ test_isolated_build_ignores[sitepackages-True-False] _____________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e489a1d0> key = 'sitepackages', set_value = 'True', default = False @pytest.mark.parametrize( "key, set_value, default", [("deps", "crazy", []), ("sitepackages", "True", False)], ) def test_isolated_build_ignores(newconfig, capsys, key, set_value, default): config = newconfig( [], """ [tox] isolated_build = True [testenv] {} = {} """.format( key, > set_value, ), ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e489a1d0> default = False key = 'sitepackages' newconfig = set_value = 'True' tests/unit/config/test_config.py:3061: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_ignores_si0/tox.ini') data = ' [tox] isolated_build = True [testenv] sitepackages = True ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = True [testenv] sitepackages = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_isolated_build_ignores_si0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_config_via_pyproject_legacy _______________________ initproj = def test_config_via_pyproject_legacy(initproj): initproj( "config_via_pyproject_legacy-0.5", filedefs={ "pyproject.toml": ''' [tool.tox] legacy_tox_ini = """ [tox] envlist = py27 """ > ''', }, ) initproj = tests/unit/config/test_config.py:3079: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_config_via_pyproject_lega0/config_via_pyproject_legacy/pyproject.toml') data = ' [tool.tox] legacy_tox_ini = """ [tox] envlist = py27 """ ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tool.tox] legacy_tox_ini = """ [tox] envlist = py27 """ ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_config_via_pyproject_lega0/config_via_pyproject_legacy/pyproject.toml') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_config_bad_pyproject_specified ______________________ initproj = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e39fdf50> def test_config_bad_pyproject_specified(initproj, capsys): > base = initproj("config_via_pyproject_legacy-0.5", filedefs={"pyproject.toml": ""}) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e39fdf50> initproj = tests/unit/config/test_config.py:3087: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_bad_pyproject_spec0/config_via_pyproject_legacy/setup.py') data = " from setuptools import setup, find_packages setup( name='config_via_pyproject_legacy', description='config_v....5', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='config_via_pyproject_legacy', description='config_v....5', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_bad_pyproject_spec0/config_via_pyproject_legacy/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_config_setup_cfg_no_tox_section _____________________ initproj = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4767350> def test_config_setup_cfg_no_tox_section(initproj, capsys): setup_cfg = """ [nope:nope] envlist = py37 """ > initproj("setup_cfg_no_tox-0.1", filedefs={"setup.cfg": setup_cfg}) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4767350> initproj = setup_cfg = '\n [nope:nope]\n envlist = py37\n ' tests/unit/config/test_config.py:3102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_config_setup_cfg_no_tox_s0/setup_cfg_no_tox/setup.cfg') data = ' [nope:nope] envlist = py37 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [nope:nope] envlist = py37 ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_config_setup_cfg_no_tox_s0/setup_cfg_no_tox/setup.cfg') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ test_config_file_not_required_with_devenv ___________________ initproj = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4233550> def test_config_file_not_required_with_devenv(initproj, capsys): > initproj("no_tox_config-0.7") capsys = <_pytest.capture.CaptureFixture object at 0x7f67e4233550> initproj = tests/unit/config/test_config.py:3113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_file_not_required_0/no_tox_config/setup.py') data = " from setuptools import setup, find_packages setup( name='no_tox_config', description='no_tox_config project'....7', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='no_tox_config', description='no_tox_config project'....7', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_file_not_required_0/no_tox_config/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________________ test_interactive_na ______________________________ newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4675250> def test_interactive_na(newconfig, monkeypatch): monkeypatch.setattr(tox.config, "is_interactive", lambda: False) config = newconfig( """ [testenv:py] setenv = A = {tty:X:Y} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4675250> newconfig = tests/unit/config/test_config.py:3147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_interactive_na0/tox.ini') data = ' [testenv:py] setenv = A = {tty:X:Y} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py] setenv = A = {tty:X:Y} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_interactive_na0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ test_interactive_available __________________________ newconfig = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e48e46d0> def test_interactive_available(newconfig, monkeypatch): monkeypatch.setattr(tox.config, "is_interactive", lambda: True) config = newconfig( """ [testenv:py] setenv = A = {tty:X:Y} > """, ) monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e48e46d0> newconfig = tests/unit/config/test_config.py:3158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_interactive_available0/tox.ini') data = ' [testenv:py] setenv = A = {tty:X:Y} ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py] setenv = A = {tty:X:Y} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_interactive_available0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________________ test_config_current_py ____________________________ newconfig = current_tox_py = 'py27', cmd = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_config_current_py0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d27f10> def test_config_current_py(newconfig, current_tox_py, cmd, tmpdir, monkeypatch): monkeypatch.chdir(tmpdir) config = newconfig( """ [tox] envlist = {0} skipsdist = True [testenv:{0}] commands = python -c "print('all')" """.format( > current_tox_py, ), ) cmd = current_tox_py = 'py27' monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d27f10> newconfig = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_config_current_py0') /build/python-tox/src/tox-3.20.1-py2/tests/unit/config/test_config.py:3178: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-tox/src/tox-3.20.1-py2/src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_current_py0/tox.ini') data = ' [tox] envlist = py27 skipsdist = True [testenv:py27] commands = python -c "print(\'all\')" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py27 skipsdist = True [testenv:py27] commands = python -c "print(\'all\')" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_current_py0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_posargs_relative_changedir ________________________ newconfig = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_posargs_relative_changedi0') def test_posargs_relative_changedir(newconfig, tmpdir): dir1 = tmpdir.join("dir1").ensure() tmpdir.join("dir2").ensure() with tmpdir.as_cwd(): config = newconfig( """\ [tox] [testenv] changedir = dir2 commands = echo {posargs} > """, ) dir1 = local('/tmp/pytest-of-builduser/pytest-1/test_posargs_relative_changedi0/dir1') newconfig = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_posargs_relative_changedi0') tests/unit/config/test_config.py:3197: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_posargs_relative_changedi0/tox.ini') data = '[tox] [testenv] changedir = dir2 commands = echo {posargs} ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] [testenv] changedir = dir2 commands = echo {posargs} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_posargs_relative_changedi0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_config_no_version_data_in__name _____________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3d1a950> def test_config_no_version_data_in__name(newconfig, capsys): newconfig( """ [tox] envlist = py, pypy, jython [testenv] basepython = python > """, ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3d1a950> newconfig = tests/unit/config/test_config.py:3219: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_no_version_data_in0/tox.ini') data = ' [tox] envlist = py, pypy, jython [testenv] basepython = python ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py, pypy, jython [testenv] basepython = python ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_config_no_version_data_in0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_overwrite_skip_install_override _____________________ newconfig = def test_overwrite_skip_install_override(newconfig): source = """ [tox] envlist = py, skip [testenv:skip] skip_install = True """ > config = newconfig(args=[], source=source) newconfig = source = '\n [tox]\n envlist = py, skip\n [testenv:skip]\n skip_install = True\n ' tests/unit/config/test_config.py:3233: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_overwrite_skip_install_ov0/tox.ini') data = ' [tox] envlist = py, skip [testenv:skip] skip_install = True ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py, skip [testenv:skip] skip_install = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_overwrite_skip_install_ov0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________________ test_depends _________________________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e45032d0> def test_depends(newconfig, capsys): config = newconfig( """\ [tox] [testenv:py] depends = py37, py36 > """, ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e45032d0> newconfig = tests/unit/config/test_config_parallel.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_depends0/tox.ini') data = '[tox] [testenv:py] depends = py37, py36 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] [testenv:py] depends = py37, py36 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_depends0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ test_depends_multi_row_facotr _________________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e44a0c50> def test_depends_multi_row_facotr(newconfig, capsys): config = newconfig( """\ [tox] [testenv:py] depends = py37, {py36}-{a,b} > """, ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e44a0c50> newconfig = tests/unit/config/test_config_parallel.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_depends_multi_row_facotr0/tox.ini') data = '[tox] [testenv:py] depends = py37, {py36}-{a,b} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] [testenv:py] depends = py37, {py36}-{a,b} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_depends_multi_row_facotr0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________________ test_depends_factor ______________________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3c15d90> def test_depends_factor(newconfig, capsys): config = newconfig( """\ [tox] [testenv:py] depends = {py37, py36}-{cov,no} > """, ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e3c15d90> newconfig = tests/unit/config/test_config_parallel.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_depends_factor0/tox.ini') data = '[tox] [testenv:py] depends = {py37, py36}-{cov,no} ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] [testenv:py] depends = {py37, py36}-{cov,no} ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_depends_factor0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________________ test_find_alias_on_path ____________________________ monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3b235d0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_find_alias_on_path0') mocker = @pytest.mark.skipif("sys.platform == 'win32'", reason="symlink execution unreliable on Windows") def test_find_alias_on_path(monkeypatch, tmp_path, mocker): reporter.update_default_reporter(Verbosity.DEFAULT, Verbosity.DEBUG) magic = tmp_path / "magic{}".format(os.path.splitext(sys.executable)[1]) os.symlink(sys.executable, str(magic)) monkeypatch.setenv( str("PATH"), os.pathsep.join([str(tmp_path)] + os.environ.get(str("PATH"), "").split(os.pathsep)), ) class envconfig: basepython = "magic" envname = "pyxx" config = mocker.MagicMock() config.return_value.option.return_value.discover = [] detected = py.path.local.sysfind("magic") assert detected > t = tox_get_python_executable(envconfig).lower() detected = local(u'/tmp/pytest-of-builduser/pytest-1/test_find_alias_on_path0/magic') envconfig = magic = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_find_alias_on_path0/magic') mocker = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3b235d0> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_find_alias_on_path0') tests/unit/interpreters/test_interpreters.py:97: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/interpreters/unix.py:19: in tox_get_python_executable return check_with_path(candidates, spec) src/tox/interpreters/via_path.py:24: in check_with_path cur_spec = exe_spec(path, base) src/tox/interpreters/via_path.py:47: in exe_spec reporter.verbosity2("{} ({}) is {}".format(base, python_exe, info)) src/tox/reporter.py:121: in verbosity2 self.logline_if(Verbosity.DEBUG, "verbosity2", msg, **opts) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = "magic (/tmp/pytest-of-builduser/pytest-1/test_find_alias_on_path0/magic) is {u'sysplatform': u'linux2', u'executable'...'version_info': [2, 7, 18, u'final', 0], u'implementation': u'CPython', u'is_64': True, u'extra_version_info': None}\n" def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = "magic (/tmp/pytest-of-builduser/pytest-1/test_find_alias_on_path0/magic) is {u'sysplatform': u'linux2', u'executable'...'version_info': [2, 7, 18, u'final', 0], u'implementation': u'CPython', u'is_64': True, u'extra_version_info': None}\n" self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ________________ TestInterpreters.test_get_info_uses_hook_path _________________ self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_get_info_uses_hook_path0') @pytest.mark.skipif("sys.platform == 'win32'", reason="Uses a unix only wrapper") def test_get_info_uses_hook_path(self, tmp_path): magic = tmp_path / "magic{}".format(os.path.splitext(sys.executable)[1]) wrapper = ( "#!{executable}\n" "import subprocess\n" "import sys\n" 'sys.exit(subprocess.call(["{executable}"] + sys.argv[1:]))\n' ).format(executable=sys.executable) > magic.write_text(wrapper) magic = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_get_info_uses_hook_path0/magic') self = tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_get_info_uses_hook_path0') wrapper = '#!/build/python-tox/src/pyvenv-py2/bin/python import subprocess import sys sys.exit(subprocess.call(["/build/python-tox/src/pyvenv-py2/bin/python"] + sys.argv[1:])) ' tests/unit/interpreters/test_interpreters.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_get_info_uses_hook_path0/magic') data = '#!/build/python-tox/src/pyvenv-py2/bin/python import subprocess import sys sys.exit(subprocess.call(["/build/python-tox/src/pyvenv-py2/bin/python"] + sys.argv[1:])) ' encoding = None, errors = None def write_text(self, data, encoding=None, errors=None): """ Open the file in text mode, write to it, and close the file. """ if not isinstance(data, six.text_type): raise TypeError( 'data must be %s, not %s' % (six.text_type.__name__, data.__class__.__name__)) with self.open(mode='w', encoding=encoding, errors=errors) as f: > return f.write(data) E IOError: [Errno 28] No space left on device data = '#!/build/python-tox/src/pyvenv-py2/bin/python import subprocess import sys sys.exit(subprocess.call(["/build/python-tox/src/pyvenv-py2/bin/python"] + sys.argv[1:])) ' encoding = None errors = None f = <_io.TextIOWrapper name='/tmp/pytest-of-builduser/pytest-1/test_get_info_uses_hook_path0/magic' encoding='UTF-8'> self = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_get_info_uses_hook_path0/magic') /usr/lib/python2.7/site-packages/pathlib2/__init__.py:1502: IOError _________________________ test_install_via_installpkg __________________________ mock_venv = OrderedDict(), initproj = cmd = def test_install_via_installpkg(mock_venv, initproj, cmd): base = initproj( "pkg-0.1", filedefs={ "tox.ini": """ [tox] install_cmd = python -m -c 'print("ok")' -- {opts} {packages}' > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/package/test_package.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_install_via_installpkg0/pkg/tox.ini') data = ' [tox] install_cmd = python -m -c \'print("ok")\' -- {opts} {packages}\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] install_cmd = python -m -c \'print("ok")\' -- {opts} {packages}\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_install_via_installpkg0/pkg/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________________ test_sdist_latest _______________________________ tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0') newconfig = def test_sdist_latest(tmpdir, newconfig): distshare = tmpdir.join("distshare") config = newconfig( [], """ [tox] distshare={} sdistsrc={{distshare}}/pkg123-* """.format( > distshare, ), ) distshare = local('/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0/distshare') newconfig = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0') tests/unit/package/test_package.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0/tox.ini') data = ' [tox] distshare=/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0/distshare sdistsrc={distshare}/pkg123-* ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] distshare=/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0/distshare sdistsrc={distshare}/pkg123-* ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_sdist_latest0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_separate_sdist_no_sdistfile _______________________ cmd = initproj = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0') def test_separate_sdist_no_sdistfile(cmd, initproj, tmpdir): distshare = tmpdir.join("distshare") initproj( ("pkg123-foo", "0.7"), filedefs={ "tox.ini": """ [tox] distshare={} """.format( > distshare, ), }, ) cmd = distshare = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0/distshare') initproj = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0') tests/unit/package/test_package.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0/pkg123-foo/tox.ini') data = ' [tox] distshare=/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0/distshare ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] distshare=/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0/distshare ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist_no_sdistfi0/pkg123-foo/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________________ test_sdistonly ________________________________ initproj = cmd = def test_sdistonly(initproj, cmd): initproj( "example123", filedefs={ "tox.ini": """ > """, }, ) cmd = initproj = tests/unit/package/test_package.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_sdistonly0/example123/tox.ini') data = ' ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_sdistonly0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________________ test_make_sdist ________________________________ initproj = def test_make_sdist(initproj): initproj( "example123-0.5", filedefs={ "tests": {"test_hello.py": "def test_hello(): pass"}, "tox.ini": """ > """, }, ) initproj = tests/unit/package/test_package.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:491: in create_files create_files(base.ensure(key, dir=1), value) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist0/example123/tests/test_hello.py') data = 'def test_hello(): pass', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = 'def test_hello(): pass' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist0/example123/tests/test_hello.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_build_backend_without_submodule _____________________ initproj = cmd = def test_build_backend_without_submodule(initproj, cmd): # The important part of this test is that the build backend # "inline_backend" is just a base package without a submodule. # (Regression test for #1344) initproj( "magic-0.1", filedefs={ "tox.ini": """\ [tox] isolated_build = true [testenv:.package] basepython = {} [testenv] setenv = PYTHONPATH = {{toxinidir}} """.format( sys.executable, ), "pyproject.toml": """\ [build-system] requires = [] build-backend = "inline_backend" """, # To trigger original bug, must be package with __init__.py "inline_backend": { "__init__.py": """\ def get_requires_for_build_sdist(*args, **kwargs): return ["pathlib2"] def build_sdist(sdist_directory, config_settings=None): import pathlib2 (pathlib2.Path(sdist_directory) / "magic-0.1.0.tar.gz").touch() return "magic-0.1.0.tar.gz" """, }, ".gitignore": ".tox", }, > add_missing_setup_py=False, ) cmd = initproj = tests/unit/package/test_package.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:491: in create_files create_files(base.ensure(key, dir=1), value) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_build_backend_without_sub0/magic/inline_backend/__init__.py') data = 'def get_requires_for_build_sdist(*args, **kwargs): return ["pathlib2"] def build_sdist(sdist_directory, config_s... import pathlib2 (pathlib2.Path(sdist_directory) / "magic-0.1.0.tar.gz").touch() return "magic-0.1.0.tar.gz" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = 'def get_requires_for_build_sdist(*args, **kwargs): return ["pathlib2"] def build_sdist(sdist_directory, config_s... import pathlib2 (pathlib2.Path(sdist_directory) / "magic-0.1.0.tar.gz").touch() return "magic-0.1.0.tar.gz" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_build_backend_without_sub0/magic/inline_backend/__init__.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________________ test_package_inject ______________________________ initproj = cmd = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3e8c050> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_package_inject0') def test_package_inject(initproj, cmd, monkeypatch, tmp_path): monkeypatch.delenv(str("PYTHONPATH"), raising=False) initproj( "example123-0.5", filedefs={ "tox.ini": """ [testenv:py] passenv = PYTHONPATH commands = python -c 'import os; assert os.path.exists(os.environ["TOX_PACKAGE"])' > """, }, ) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3e8c050> tmp_path = PosixPath('/tmp/pytest-of-builduser/pytest-1/test_package_inject0') tests/unit/package/test_package.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_inject0/example123/tox.ini') data = ' [testenv:py] passenv = PYTHONPATH commands = python -c \'import os; assert os.path.exists(os.environ["TOX_PACKAGE"])\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [testenv:py] passenv = PYTHONPATH commands = python -c \'import os; assert os.path.exists(os.environ["TOX_PACKAGE"])\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_inject0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ test_tox_parallel_build_safe _________________________ initproj = cmd = , mock_venv = OrderedDict() monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d62410> @flaky(max_runs=3) def test_tox_parallel_build_safe(initproj, cmd, mock_venv, monkeypatch): initproj( "env_var_test", filedefs={ "tox.ini": """ [tox] envlist = py install_cmd = python -m -c 'print("ok")' -- {opts} {packages}' [testenv] commands = python -c 'import sys; print(sys.version)' > """, }, ) cmd = initproj = mock_venv = OrderedDict() monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d62410> tests/unit/package/test_package_parallel.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_tox_parallel_build_safe2/env_var_test/tox.ini') data = ' [tox] envlist = py install_cmd = python -m -c \'print("ok")\' -- {opts} {packages}\' [testenv] commands = python -c \'import sys; print(sys.version)\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py install_cmd = python -m -c \'print("ok")\' -- {opts} {packages}\' [testenv] commands = python -c \'import sys; print(sys.version)\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_tox_parallel_build_safe2/env_var_test/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ test_make_sdist_distshare ___________________________ tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist_distshare0') initproj = def test_make_sdist_distshare(tmpdir, initproj): distshare = tmpdir.join("distshare") initproj( "example123-0.6", filedefs={ "tests": {"test_hello.py": "def test_hello(): pass"}, "tox.ini": """ [tox] distshare={} """.format( > distshare, ), }, ) distshare = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist_distshare0/distshare') initproj = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist_distshare0') tests/unit/package/test_package_view.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:491: in create_files create_files(base.ensure(key, dir=1), value) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist_distshare0/example123/tests/test_hello.py') data = 'def test_hello(): pass', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = 'def test_hello(): pass' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_make_sdist_distshare0/example123/tests/test_hello.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________________ test_separate_sdist ______________________________ cmd = initproj = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0') def test_separate_sdist(cmd, initproj, tmpdir): distshare = tmpdir.join("distshare") initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] distshare={} sdistsrc={{distshare}}/pkg123-0.7.zip """.format( > distshare, ), }, ) cmd = distshare = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0/distshare') initproj = tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0') tests/unit/package/test_package_view.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0/pkg123/tox.ini') data = ' [tox] distshare=/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0/distshare sdistsrc={distshare}/pkg123-0.7.zip ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] distshare=/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0/distshare sdistsrc={distshare}/pkg123-0.7.zip ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_separate_sdist0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ test_verbose_isolated_build __________________________ initproj = , mock_venv = OrderedDict() cmd = def test_verbose_isolated_build(initproj, mock_venv, cmd): initproj( "example123-0.5", filedefs={ "tox.ini": """ [tox] isolated_build = true """, "pyproject.toml": """ [build-system] requires = ["setuptools >= 35.0.2"] build-backend = 'setuptools.build_meta' > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/package/builder/test_package_builder_isolated.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_verbose_isolated_build0/example123/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_verbose_isolated_build0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_dist_exists_version_change ________________________ mock_venv = OrderedDict(), initproj = cmd = def test_dist_exists_version_change(mock_venv, initproj, cmd): base = initproj( "package_toml-{}".format("0.1"), filedefs={ "tox.ini": """ [tox] isolated_build = true """, "pyproject.toml": """ [build-system] requires = ["setuptools >= 35.0.2"] build-backend = 'setuptools.build_meta' > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/package/builder/test_package_builder_isolated.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_dist_exists_version_chang0/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_dist_exists_version_chang0/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_package_isolated_no_pyproject_toml ____________________ initproj = cmd = def test_package_isolated_no_pyproject_toml(initproj, cmd): initproj( "package_no_toml-0.1", filedefs={ "tox.ini": """ [tox] isolated_build = true > """, }, ) cmd = initproj = tests/unit/package/builder/test_package_builder_isolated.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_no_pypro0/package_no_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_no_pypro0/package_no_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________ test_package_isolated_toml_no_build_system __________________ initproj = def test_package_isolated_toml_no_build_system(initproj): > toml_file_check(initproj, 1, "build-system section missing", "") initproj = tests/unit/package/builder/test_package_builder_isolated.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_no_0/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_no_0/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_package_isolated_toml_no_requires ____________________ initproj = def test_package_isolated_toml_no_requires(initproj): toml_file_check( initproj, 2, "missing requires key at build-system section", """ [build-system] > """, ) initproj = tests/unit/package/builder/test_package_builder_isolated.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_no_1/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_no_1/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_package_isolated_toml_no_backend _____________________ initproj = def test_package_isolated_toml_no_backend(initproj): toml_file_check( initproj, 3, "missing build-backend key at build-system section", """ [build-system] requires = [] > """, ) initproj = tests/unit/package/builder/test_package_builder_isolated.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_no_2/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_no_2/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_package_isolated_toml_bad_requires ____________________ initproj = def test_package_isolated_toml_bad_requires(initproj): toml_file_check( initproj, 4, "requires key at build-system section must be a list of string", """ [build-system] requires = "" build-backend = "" > """, ) initproj = tests/unit/package/builder/test_package_builder_isolated.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bad0/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bad0/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_package_isolated_toml_bad_backend ____________________ initproj = def test_package_isolated_toml_bad_backend(initproj): toml_file_check( initproj, 5, "build-backend key at build-system section must be a string", """ [build-system] requires = [] build-backend = [] > """, ) initproj = tests/unit/package/builder/test_package_builder_isolated.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bad1/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bad1/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ test_package_isolated_toml_bad_backend_path __________________ initproj = def test_package_isolated_toml_bad_backend_path(initproj): """Verify that a non-list 'backend-path' is forbidden.""" toml_file_check( initproj, 6, "backend-path key at build-system section must be a list, if specified", """ [build-system] requires = [] build-backend = 'setuptools.build_meta' backend-path = 42 > """, ) initproj = tests/unit/package/builder/test_package_builder_isolated.py:154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bad2/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bad2/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ test_package_isolated_toml_backend_path_outside_root _____________ initproj = def test_package_isolated_toml_backend_path_outside_root(initproj): """Verify that a 'backend-path' outside the project root is forbidden.""" toml_file_check( initproj, 6, "backend-path must exist in the project root", """ [build-system] requires = [] build-backend = 'setuptools.build_meta' backend-path = ['..'] > """, ) initproj = tests/unit/package/builder/test_package_builder_isolated.py:169: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/package/builder/test_package_builder_isolated.py:79: in toml_file_check "pyproject.toml": toml, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bac0/package_toml/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_package_isolated_toml_bac0/package_toml/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________________ test_verbose_isolated_build_in_tree ______________________ initproj = , mock_venv = OrderedDict() cmd = def test_verbose_isolated_build_in_tree(initproj, mock_venv, cmd): initproj( "example123-0.5", filedefs={ "tox.ini": """ [tox] isolated_build = true """, "build.py": """ from setuptools.build_meta import * """, "pyproject.toml": """ [build-system] requires = ["setuptools >= 35.0.2"] build-backend = 'build' backend-path = ['.'] > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/package/builder/test_package_builder_isolated.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_verbose_isolated_build_in0/example123/tox.ini') data = ' [tox] isolated_build = true ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_verbose_isolated_build_in0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ test_verbose_legacy_build ___________________________ initproj = , mock_venv = OrderedDict() cmd = def test_verbose_legacy_build(initproj, mock_venv, cmd): initproj( "example123-0.5", filedefs={ "tox.ini": """ [tox] isolated_build = false > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/package/builder/test_package_builder_legacy.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_verbose_legacy_build0/example123/tox.ini') data = ' [tox] isolated_build = false ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = false ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_verbose_legacy_build0/example123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________________ test_listenvs _________________________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e40a0450> def test_listenvs(cmd, initproj, monkeypatch): monkeypatch.delenv(str("TOXENV"), raising=False) initproj( "listenvs", filedefs={ "tox.ini": """ [tox] envlist=py36,py27,py37,pypi,docs description= py27: run pytest on Python 2.7 py37: run pytest on Python 3.6 pypi: publish to PyPI docs: document stuff notincluded: random extra [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs > """, }, ) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e40a0450> tests/unit/session/test_list_env.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs0/listenvs/tox.ini') data = ' [tox] envlist=py36,py27,py37,pypi,docs description= py27: run pytest on Python 2.7 py37: run pytest on ...f notincluded: random extra [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist=py36,py27,py37,pypi,docs description= py27: run pytest on Python 2.7 py37: run pytest on ...f notincluded: random extra [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs0/listenvs/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ test_listenvs_verbose_description _______________________ cmd = initproj = def test_listenvs_verbose_description(cmd, initproj): initproj( "listenvs_verbose_description", filedefs={ "tox.ini": """ [tox] envlist=py36,py27,py37,pypi,docs [testenv] description= py36: run pytest on Python 3.6 py27: run pytest on Python 2.7 py37: run pytest on Python 3.7 pypi: publish to PyPI docs: document stuff notincluded: random extra [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs description = let me overwrite that > """, }, ) cmd = initproj = tests/unit/session/test_list_env.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_verbose_descript0/listenvs_verbose_description/tox.ini') data = ' [tox] envlist=py36,py27,py37,pypi,docs [testenv] description= py36: run pytest on Python 3.6 py27: run ...xtra [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs description = let me overwrite that ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist=py36,py27,py37,pypi,docs [testenv] description= py36: run pytest on Python 3.6 py27: run ...xtra [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs description = let me overwrite that ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_verbose_descript0/listenvs_verbose_description/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________________ test_listenvs_all _______________________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d09190> def test_listenvs_all(cmd, initproj, monkeypatch): initproj( "listenvs_all", filedefs={ "tox.ini": """ [tox] envlist=py36,py27,py37,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs > """, }, ) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d09190> tests/unit/session/test_list_env.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all0/listenvs_all/tox.ini') data = ' [tox] envlist=py36,py27,py37,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist=py36,py27,py37,pypi,docs [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all0/listenvs_all/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_listenvs_all_verbose_description _____________________ cmd = initproj = def test_listenvs_all_verbose_description(cmd, initproj): initproj( "listenvs_all_verbose_description", filedefs={ "tox.ini": """ [tox] envlist={py27,py36}-{windows,linux} # py35 [testenv] description= py27: run pytest on Python 2.7 py36: run pytest on Python 3.6 windows: on Windows platform linux: on Linux platform docs: generate documentation commands=pytest {posargs} [testenv:docs] changedir = docs > """, }, ) cmd = initproj = tests/unit/session/test_list_env.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_verbose_desc0/listenvs_all_verbose_description/tox.ini') data = ' [tox] envlist={py27,py36}-{windows,linux} # py35 [testenv] description= py27: run pytest on Python 2.7 ...n Linux platform docs: generate documentation commands=pytest {posargs} [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist={py27,py36}-{windows,linux} # py35 [testenv] description= py27: run pytest on Python 2.7 ...n Linux platform docs: generate documentation commands=pytest {posargs} [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_verbose_desc0/listenvs_all_verbose_description/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______ test_listenvs_all_verbose_description_no_additional_environments _______ cmd = initproj = def test_listenvs_all_verbose_description_no_additional_environments(cmd, initproj): initproj( "listenvs_all_verbose_description", filedefs={ "tox.ini": """ [tox] envlist=py27,py36 > """, }, ) cmd = initproj = tests/unit/session/test_list_env.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_verbose_desc1/listenvs_all_verbose_description/tox.ini') data = ' [tox] envlist=py27,py36 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist=py27,py36 ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_verbose_desc1/listenvs_all_verbose_description/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_listenvs_packaging_excluded _______________________ cmd = initproj = def test_listenvs_packaging_excluded(cmd, initproj): initproj( "listenvs", filedefs={ "tox.ini": """ [tox] envlist = py36,py27,py37,pypi,docs isolated_build = True [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs > """, }, ) cmd = initproj = tests/unit/session/test_list_env.py:171: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_packaging_exclud0/listenvs/tox.ini') data = ' [tox] envlist = py36,py27,py37,pypi,docs isolated_build = True [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py36,py27,py37,pypi,docs isolated_build = True [testenv:notincluded] changedir = whatever [testenv:docs] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_packaging_exclud0/listenvs/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ test_listenvs_all_extra_definition_order_decreasing ______________ cmd = initproj = def test_listenvs_all_extra_definition_order_decreasing(cmd, initproj): initproj( "listenvs_all", filedefs={ "tox.ini": """ [tox] envlist=py36 [testenv:b] changedir = whatever [testenv:a] changedir = docs > """, }, ) cmd = initproj = tests/unit/session/test_list_env.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_extra_defini0/listenvs_all/tox.ini') data = ' [tox] envlist=py36 [testenv:b] changedir = whatever [testenv:a] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist=py36 [testenv:b] changedir = whatever [testenv:a] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_extra_defini0/listenvs_all/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _____________ test_listenvs_all_extra_definition_order_increasing ______________ cmd = initproj = def test_listenvs_all_extra_definition_order_increasing(cmd, initproj): initproj( "listenvs_all", filedefs={ "tox.ini": """ [tox] envlist=py36 [testenv:a] changedir = whatever [testenv:b] changedir = docs > """, }, ) cmd = initproj = tests/unit/session/test_list_env.py:213: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_extra_defini1/listenvs_all/tox.ini') data = ' [tox] envlist=py36 [testenv:a] changedir = whatever [testenv:b] changedir = docs ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist=py36 [testenv:a] changedir = whatever [testenv:b] changedir = docs ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_listenvs_all_extra_defini1/listenvs_all/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ test_listenvs_without_default_envs ______________________ cmd = initproj = def test_listenvs_without_default_envs(cmd, initproj): """When running tox -l without any default envirinments, nothing happens.""" initproj( "logsnada", > filedefs={"tox.ini": ""}, ) cmd = initproj = tests/unit/session/test_list_env.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_listenvs_without_default_0/logsnada/setup.py') data = " from setuptools import setup, find_packages setup( name='logsnada', description='logsnada project', vers....1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='logsnada', description='logsnada project', vers....1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_listenvs_without_default_0/logsnada/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________________ test_parallel _________________________________ cmd = initproj = def test_parallel(cmd, initproj): initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] envlist = a, b isolated_build = true [testenv] commands=python -c "import sys; print(sys.executable)" [testenv:b] depends = a """, "pyproject.toml": """ [build-system] requires = ["setuptools >= 35.0.2"] build-backend = 'setuptools.build_meta' > """, }, ) cmd = initproj = tests/unit/session/test_parallel.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel0/pkg123/tox.ini') data = ' [tox] envlist = a, b isolated_build = true [testenv] commands=python -c "import sys; print(sys.executable)" [testenv:b] depends = a ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = a, b isolated_build = true [testenv] commands=python -c "import sys; print(sys.executable)" [testenv:b] depends = a ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________________ test_parallel_live ______________________________ cmd = initproj = @flaky(max_runs=3) def test_parallel_live(cmd, initproj): initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] isolated_build = true envlist = a, b [testenv] commands=python -c "import sys; print(sys.executable)" """, "pyproject.toml": """ [build-system] requires = ["setuptools >= 35.0.2"] build-backend = 'setuptools.build_meta' > """, }, ) cmd = initproj = tests/unit/session/test_parallel.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_live2/pkg123/tox.ini') data = ' [tox] isolated_build = true envlist = a, b [testenv] commands=python -c "import sys; print(sys.executable)" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true envlist = a, b [testenv] commands=python -c "import sys; print(sys.executable)" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_live2/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________________ test_parallel_circular ____________________________ cmd = initproj = def test_parallel_circular(cmd, initproj): initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] isolated_build = true envlist = a, b [testenv:a] depends = b [testenv:b] depends = a """, "pyproject.toml": """ [build-system] requires = ["setuptools >= 35.0.2"] build-backend = 'setuptools.build_meta' > """, }, ) cmd = initproj = tests/unit/session/test_parallel.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_circular0/pkg123/tox.ini') data = ' [tox] isolated_build = true envlist = a, b [testenv:a] depends = b [testenv:b] depends = a ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true envlist = a, b [testenv:a] depends = b [testenv:b] depends = a ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_circular0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_parallel_error_report[True] _______________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3ab2e90> live = True @pytest.mark.parametrize("live", [True, False]) def test_parallel_error_report(cmd, initproj, monkeypatch, live): monkeypatch.setenv(str("_TOX_SKIP_ENV_CREATION_TEST"), str("1")) initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] isolated_build = true envlist = a [testenv] skip_install = true commands=python -c "import sys, os; sys.stderr.write(str(12345) + os.linesep);\ raise SystemExit(17)" allowlist_externals = {} """.format( > sys.executable, ), }, ) cmd = initproj = live = True monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3ab2e90> tests/unit/session/test_parallel.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_error_report_Tru0/pkg123/tox.ini') data = ' [tox] isolated_build = true envlist = a [testenv] skip_install = true commands=python -c "import sys, os; sys.stderr...5) + os.linesep); raise SystemExit(17)" allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true envlist = a [testenv] skip_install = true commands=python -c "import sys, os; sys.stderr...5) + os.linesep); raise SystemExit(17)" allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_error_report_Tru0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ test_parallel_error_report[False] _______________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4434450> live = False @pytest.mark.parametrize("live", [True, False]) def test_parallel_error_report(cmd, initproj, monkeypatch, live): monkeypatch.setenv(str("_TOX_SKIP_ENV_CREATION_TEST"), str("1")) initproj( "pkg123-0.7", filedefs={ "tox.ini": """ [tox] isolated_build = true envlist = a [testenv] skip_install = true commands=python -c "import sys, os; sys.stderr.write(str(12345) + os.linesep);\ raise SystemExit(17)" allowlist_externals = {} """.format( > sys.executable, ), }, ) cmd = initproj = live = False monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4434450> tests/unit/session/test_parallel.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_error_report_Fal0/pkg123/tox.ini') data = ' [tox] isolated_build = true envlist = a [testenv] skip_install = true commands=python -c "import sys, os; sys.stderr...5) + os.linesep); raise SystemExit(17)" allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = true envlist = a [testenv] skip_install = true commands=python -c "import sys, os; sys.stderr...5) + os.linesep); raise SystemExit(17)" allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_error_report_Fal0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________________ test_parallel_deadlock ____________________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d3ff50> def test_parallel_deadlock(cmd, initproj, monkeypatch): monkeypatch.setenv(str("_TOX_SKIP_ENV_CREATION_TEST"), str("1")) tox_ini = """\ [tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = {} commands = python -c '[print("hello world") for _ in range(5000)]' """.format( sys.executable, ) > initproj("pkg123-0.7", filedefs={"tox.ini": tox_ini}) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d3ff50> tox_ini = '[tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python commands = python -c \'[print("hello world") for _ in range(5000)]\' ' tests/unit/session/test_parallel.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_deadlock0/pkg123/tox.ini') data = '[tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python commands = python -c \'[print("hello world") for _ in range(5000)]\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python commands = python -c \'[print("hello world") for _ in range(5000)]\' ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_deadlock0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________________ test_parallel_recreate ____________________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4350190> def test_parallel_recreate(cmd, initproj, monkeypatch): monkeypatch.setenv(str("_TOX_SKIP_ENV_CREATION_TEST"), str("1")) tox_ini = """\ [tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = {} commands = python -c '[print("hello world") for _ in range(1)]' """.format( sys.executable, ) > cwd = initproj("pkg123-0.7", filedefs={"tox.ini": tox_ini}) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e4350190> tox_ini = '[tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python commands = python -c \'[print("hello world") for _ in range(1)]\' ' tests/unit/session/test_parallel.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_recreate0/pkg123/tox.ini') data = '[tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python commands = python -c \'[print("hello world") for _ in range(1)]\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] envlist = e1,e2 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/python commands = python -c \'[print("hello world") for _ in range(1)]\' ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_recreate0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ test_parallel_show_output ___________________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d62310> @flaky(max_runs=3) def test_parallel_show_output(cmd, initproj, monkeypatch): monkeypatch.setenv(str("_TOX_SKIP_ENV_CREATION_TEST"), str("1")) tox_ini = """\ [tox] envlist = e1,e2,e3 skipsdist = true [testenv] allowlist_externals = {} commands = python -c 'import sys; sys.stderr.write("stderr env"); sys.stdout.write("stdout env")' [testenv:e3] commands = python -c 'import sys; sys.stderr.write("stderr always "); sys.stdout.write("stdout always ")' parallel_show_output = True """.format( sys.executable, ) > initproj("pkg123-0.7", filedefs={"tox.ini": tox_ini}) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3d62310> tox_ini = '[tox] envlist = e1,e2,e3 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/pytho...-c \'import sys; sys.stderr.write("stderr always "); sys.stdout.write("stdout always ")\' parallel_show_output = True ' tests/unit/session/test_parallel.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_show_output2/pkg123/tox.ini') data = '[tox] envlist = e1,e2,e3 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/pytho...-c \'import sys; sys.stderr.write("stderr always "); sys.stdout.write("stdout always ")\' parallel_show_output = True ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] envlist = e1,e2,e3 skipsdist = true [testenv] allowlist_externals = /build/python-tox/src/pyvenv-py2/bin/pytho...-c \'import sys; sys.stderr.write("stderr always "); sys.stdout.write("stdout always ")\' parallel_show_output = True ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_parallel_show_output2/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_provision_min_version_is_requires ____________________ newconfig = next_tox_major = '10.0.0' def test_provision_min_version_is_requires(newconfig, next_tox_major): with pytest.raises(MissingRequirement) as context: newconfig( [], """\ [tox] minversion = {} """.format( > next_tox_major, ), ) context = newconfig = next_tox_major = '10.0.0' tests/unit/session/test_provision.py:31: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_min_version_is_0/tox.ini') data = '[tox] minversion = 10.0.0 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] minversion = 10.0.0 ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_min_version_is_0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ test_provision_tox_change_name ________________________ newconfig = def test_provision_tox_change_name(newconfig): config = newconfig( [], """\ [tox] provision_tox_env = magic > """, ) newconfig = tests/unit/session/test_provision.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_tox_change_name0/tox.ini') data = '[tox] provision_tox_env = magic ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] provision_tox_env = magic ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_tox_change_name0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_provision_basepython_global_only _____________________ newconfig = next_tox_major = '10.0.0' def test_provision_basepython_global_only(newconfig, next_tox_major): """we don't want to inherit basepython from global""" with pytest.raises(MissingRequirement) as context: newconfig( [], """\ [tox] minversion = {} [testenv] basepython = what """.format( > next_tox_major, ), ) context = newconfig = next_tox_major = '10.0.0' tests/unit/session/test_provision.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_basepython_glob0/tox.ini') data = '[tox] minversion = 10.0.0 [testenv] basepython = what ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] minversion = 10.0.0 [testenv] basepython = what ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_basepython_glob0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _______________________ test_provision_basepython_local ________________________ newconfig = next_tox_major = '10.0.0' def test_provision_basepython_local(newconfig, next_tox_major): """however adhere to basepython when explicitly set""" with pytest.raises(MissingRequirement) as context: newconfig( [], """\ [tox] minversion = {} [testenv:.tox] basepython = what """.format( > next_tox_major, ), ) context = newconfig = next_tox_major = '10.0.0' tests/unit/session/test_provision.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_basepython_loca0/tox.ini') data = '[tox] minversion = 10.0.0 [testenv:.tox] basepython = what ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] minversion = 10.0.0 [testenv:.tox] basepython = what ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_basepython_loca0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ test_provision_bad_requires __________________________ newconfig = capsys = <_pytest.capture.CaptureFixture object at 0x7f67e44355d0> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3a82590> def test_provision_bad_requires(newconfig, capsys, monkeypatch): with pytest.raises(BadRequirement): newconfig( [], """\ [tox] requires = sad >sds d ok > """, ) capsys = <_pytest.capture.CaptureFixture object at 0x7f67e44355d0> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3a82590> newconfig = tests/unit/session/test_provision.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:111: in create_new_config_file_ p.write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_bad_requires0/tox.ini') data = '[tox] requires = sad >sds d ok ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] requires = sad >sds d ok ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_bad_requires0/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________ test_provision_cli_args_not_ignored_if_provision_false ____________ cmd = initproj = def test_provision_cli_args_not_ignored_if_provision_false(cmd, initproj): > initproj("test-0.1", {"tox.ini": "[tox]"}) cmd = initproj = tests/unit/session/test_provision.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_not_ig0/test/tox.ini') data = '[tox]', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox]' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_cli_args_not_ig0/test/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________ test_provision_requirement_with_environment_marker ______________ cmd = initproj = def test_provision_requirement_with_environment_marker(cmd, initproj): initproj( "proj", { "tox.ini": """\ [tox] requires = package-that-does-not-exist;python_version=="1.0" > """, }, ) cmd = initproj = tests/unit/session/test_provision.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_requirement_wit0/proj/tox.ini') data = '[tox] requires = package-that-does-not-exist;python_version=="1.0" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = '[tox] requires = package-that-does-not-exist;python_version=="1.0" ' ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_provision_requirement_wit0/proj/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_resolve_pkg_multiple_valid_versions ___________________ tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_multiple_vali0') mocksession = def test_resolve_pkg_multiple_valid_versions(tmpdir, mocksession): mocksession.logging_levels(quiet=Verbosity.DEFAULT, verbose=Verbosity.DEBUG) distshare = tmpdir.join("distshare") distshare.ensure("pkg123-1.3.5.zip") p = distshare.ensure("pkg123-1.4.5.zip") > result = resolve_package(distshare.join("pkg123-*")) distshare = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_multiple_vali0/distshare') mocksession = p = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_multiple_vali0/distshare/pkg123-1.4.5.zip') tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_multiple_vali0') tests/unit/session/test_session.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/package/local.py:19: in resolve_package _SPEC_2_PACKAGE[package_spec] = x = get_latest_version_of_package(package_spec) src/tox/package/local.py:31: in get_latest_version_of_package reporter.info("determining {}".format(p)) src/tox/reporter.py:97: in info self.logline_if(Verbosity.DEBUG, "info", msg) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = 'determining /tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_multiple_vali0/distshare/pkg123-*\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'determining /tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_multiple_vali0/distshare/pkg123-*\n' self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ____________________ test_resolve_pkg_with_invalid_version _____________________ tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_with_invalid_0') mocksession = def test_resolve_pkg_with_invalid_version(tmpdir, mocksession): distshare = tmpdir.join("distshare") distshare.ensure("pkg123-1.something_bad.zip") distshare.ensure("pkg123-1.3.5.zip") p = distshare.ensure("pkg123-1.4.5.zip") > result = resolve_package(distshare.join("pkg123-*")) distshare = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_with_invalid_0/distshare') mocksession = p = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_with_invalid_0/distshare/pkg123-1.4.5.zip') tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_with_invalid_0') tests/unit/session/test_session.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/package/local.py:19: in resolve_package _SPEC_2_PACKAGE[package_spec] = x = get_latest_version_of_package(package_spec) src/tox/package/local.py:42: in get_latest_version_of_package reporter.warning("could not determine version of: {}".format(str(filename))) src/tox/reporter.py:106: in warning self.logline_if(Verbosity.QUIET, "warning", msg, "WARNING: ", red=True) src/tox/reporter.py:76: in logline_if self.logline(of, message, **kwargs) src/tox/reporter.py:84: in logline self.tw.write(line_msg, **opts) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> obj = 'WARNING: could not determine version of: /tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_with_invalid_0/distshare/pkg123-1.something_bad.zip\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'WARNING: could not determine version of: /tmp/pytest-of-builduser/pytest-1/test_resolve_pkg_with_invalid_0/distshare/pkg123-1.something_bad.zip\n' self = <_pytest.capture.EncodedFile object at 0x7f67e4a1ea90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError _______________________________ test_skip_sdist ________________________________ cmd = initproj = def test_skip_sdist(cmd, initproj): initproj( "pkg123-0.7", filedefs={ "tests": {"test_hello.py": "def test_hello(): pass"}, "setup.py": """ syntax error """, "tox.ini": """ [tox] skipsdist=True [testenv] commands=python -c "print('done')" > """, }, ) cmd = initproj = tests/unit/session/test_session.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:491: in create_files create_files(base.ensure(key, dir=1), value) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_skip_sdist0/pkg123/tests/test_hello.py') data = 'def test_hello(): pass', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = 'def test_hello(): pass' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_skip_sdist0/pkg123/tests/test_hello.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ test_skip_install_skip_package ________________________ cmd = initproj = , mock_venv = OrderedDict() def test_skip_install_skip_package(cmd, initproj, mock_venv): initproj( "pkg123-0.7", filedefs={ "setup.py": """raise RuntimeError""", "tox.ini": """ [tox] envlist = py [testenv] skip_install = true > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/session/test_session.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_skip_install_skip_package0/pkg123/setup.py') data = 'raise RuntimeError', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = 'raise RuntimeError' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_skip_install_skip_package0/pkg123/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ______________________ test_venv_filter_empty_all_active _______________________ venv_filter_project = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e324bbd0> def test_venv_filter_empty_all_active(venv_filter_project, monkeypatch): monkeypatch.delenv("TOX_SKIP_ENV", raising=False) > active, result = venv_filter_project("-a") monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e324bbd0> venv_filter_project = tests/unit/session/test_session.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/session/test_session.py:123: in func """, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_venv_filter_empty_all_act0/pkg123/tox.ini') data = ' [tox] envlist = {py27,py36}-{nocov,cov,diffcov}{,-extra} skipsdist = true [testenv] skip_install = true commands = python -c \'print("{envname}")\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {py27,py36}-{nocov,cov,diffcov}{,-extra} skipsdist = true [testenv] skip_install = true commands = python -c \'print("{envname}")\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_venv_filter_empty_all_act0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_venv_filter_match_all_none_active ____________________ venv_filter_project = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e324bc50> def test_venv_filter_match_all_none_active(venv_filter_project, monkeypatch): monkeypatch.setenv("TOX_SKIP_ENV", ".*") > active, result = venv_filter_project("-a") monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e324bc50> venv_filter_project = tests/unit/session/test_session.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/session/test_session.py:123: in func """, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_venv_filter_match_all_non0/pkg123/tox.ini') data = ' [tox] envlist = {py27,py36}-{nocov,cov,diffcov}{,-extra} skipsdist = true [testenv] skip_install = true commands = python -c \'print("{envname}")\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {py27,py36}-{nocov,cov,diffcov}{,-extra} skipsdist = true [testenv] skip_install = true commands = python -c \'print("{envname}")\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_venv_filter_match_all_non0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_venv_filter_match_some_some_active ____________________ venv_filter_project = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3266250> def test_venv_filter_match_some_some_active(venv_filter_project, monkeypatch): monkeypatch.setenv("TOX_SKIP_ENV", "py27.*") > active, result = venv_filter_project("-avvv") monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e3266250> venv_filter_project = tests/unit/session/test_session.py:168: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/session/test_session.py:123: in func """, src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_venv_filter_match_some_so0/pkg123/tox.ini') data = ' [tox] envlist = {py27,py36}-{nocov,cov,diffcov}{,-extra} skipsdist = true [testenv] skip_install = true commands = python -c \'print("{envname}")\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = {py27,py36}-{nocov,cov,diffcov}{,-extra} skipsdist = true [testenv] skip_install = true commands = python -c \'print("{envname}")\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_venv_filter_match_some_so0/pkg123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ test_tox_env_var_flags_inserted_non_isolated _________________ popen_env_test = @pytest.mark.network def test_tox_env_var_flags_inserted_non_isolated(popen_env_test): > res = popen_env_test("py", False) popen_env_test = tests/unit/session/test_session.py:272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/session/test_session.py:201: in func initproj("env_var_test", filedefs=files) src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_tox_env_var_flags_inserte0/env_var_test/tox.ini') data = ' [tox] isolated_build = False [testenv:py] commands = python -c "print(\'ok\')" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = False [testenv:py] commands = python -c "print(\'ok\')" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_tox_env_var_flags_inserte0/env_var_test/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________ test_tox_env_var_flags_inserted_isolated ___________________ popen_env_test = @pytest.mark.network def test_tox_env_var_flags_inserted_isolated(popen_env_test): > res = popen_env_test("py", True) popen_env_test = tests/unit/session/test_session.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/session/test_session.py:201: in func initproj("env_var_test", filedefs=files) src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_tox_env_var_flags_inserte1/env_var_test/tox.ini') data = ' [tox] isolated_build = True [testenv:py] commands = python -c "print(\'ok\')" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] isolated_build = True [testenv:py] commands = python -c "print(\'ok\')" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_tox_env_var_flags_inserte1/env_var_test/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError __________________________ test_command_prev_post_ok ___________________________ cmd = initproj = , mock_venv = OrderedDict() def test_command_prev_post_ok(cmd, initproj, mock_venv): initproj( "pkg_command_test_123-0.7", filedefs={ "tox.ini": """ [tox] envlist = py [testenv] commands_pre = python -c 'print("pre")' commands = python -c 'print("command")' commands_post = python -c 'print("post")' > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/session/test_session.py:307: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_command_prev_post_ok0/pkg_command_test_123/tox.ini') data = ' [tox] envlist = py [testenv] commands_pre = python -c \'print("pre")\' commands = python -c \'print("command")\' commands_post = python -c \'print("post")\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py [testenv] commands_pre = python -c \'print("pre")\' commands = python -c \'print("command")\' commands_post = python -c \'print("post")\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_command_prev_post_ok0/pkg_command_test_123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________ test_command_prev_fail_command_skip_post_run _________________ cmd = initproj = , mock_venv = OrderedDict() def test_command_prev_fail_command_skip_post_run(cmd, initproj, mock_venv): initproj( "pkg_command_test_123-0.7", filedefs={ "tox.ini": """ [tox] envlist = py [testenv] commands_pre = python -c 'raise SystemExit(2)' commands = python -c 'print("command")' commands_post = python -c 'print("post")' > """, }, ) cmd = initproj = mock_venv = OrderedDict() tests/unit/session/test_session.py:344: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_command_prev_fail_command0/pkg_command_test_123/tox.ini') data = ' [tox] envlist = py [testenv] commands_pre = python -c \'raise SystemExit(2)\' commands = python -c \'print("command")\' commands_post = python -c \'print("post")\' ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = py [testenv] commands_pre = python -c \'raise SystemExit(2)\' commands = python -c \'print("command")\' commands_post = python -c \'print("post")\' ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_command_prev_fail_command0/pkg_command_test_123/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________ test_help_compound_ve_works __________________________ cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e37dc5d0> def test_help_compound_ve_works(cmd, initproj, monkeypatch): > initproj("test-0.1", {"tox.ini": ""}) cmd = initproj = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e37dc5d0> tests/unit/session/test_session.py:368: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:413: in initproj_ **locals() src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local(u'/tmp/pytest-of-builduser/pytest-1/test_help_compound_ve_works0/test/setup.py') data = " from setuptools import setup, find_packages setup( name='test', description='test project', version='0.1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = " from setuptools import setup, find_packages setup( name='test', description='test project', version='0.1', license='MIT', platforms=['unix', 'win32'], packages=find_packages('.'), package_dir={'':'.'}, ) " ensure = False f = mode = 'w' self = local(u'/tmp/pytest-of-builduser/pytest-1/test_help_compound_ve_works0/test/setup.py') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ____________________ test_showconfig_with_force_dep_version ____________________ cmd = initproj = def test_showconfig_with_force_dep_version(cmd, initproj): initproj( "force_dep_version", filedefs={ "tox.ini": """ [tox] [testenv] deps= dep1==2.3 dep2 > """, }, ) cmd = initproj = tests/unit/session/test_show_config.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_with_force_dep0/force_dep_version/tox.ini') data = ' [tox] [testenv] deps= dep1==2.3 dep2 ', mode = 'w' ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] [testenv] deps= dep1==2.3 dep2 ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_with_force_dep0/force_dep_version/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ________________________ test_showconfig_interpolation _________________________ cmd = initproj = def test_showconfig_interpolation(cmd, initproj): initproj( "no_interpolation", filedefs={ "tox.ini": """ [tox] envlist = %s [testenv:%s] commands = python -c "print('works')" > """, }, ) cmd = initproj = tests/unit/session/test_show_config.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_interpolation0/no_interpolation/tox.ini') data = ' [tox] envlist = %s [testenv:%s] commands = python -c "print(\'works\')" ' mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] envlist = %s [testenv:%s] commands = python -c "print(\'works\')" ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_showconfig_interpolation0/no_interpolation/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError ___________________________ test_config_specific_ini ___________________________ tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_config_specific_ini0') cmd = def test_config_specific_ini(tmpdir, cmd): ini = tmpdir.ensure("hello.ini") > output = load_config(("-c", ini, "--showconfig"), cmd) cmd = ini = local('/tmp/pytest-of-builduser/pytest-1/test_config_specific_ini0/hello.ini') tmpdir = local('/tmp/pytest-of-builduser/pytest-1/test_config_specific_ini0') tests/unit/session/test_show_config.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/unit/session/test_show_config.py:8: in load_config result = cmd(*args) src/tox/_pytestplugin.py:140: in run traceback.print_exc() /usr/lib/python2.7/traceback.py:233: in print_exc print_exception(etype, value, tb, limit, file) /usr/lib/python2.7/traceback.py:124: in print_exception _print(file, 'Traceback (most recent call last):') /usr/lib/python2.7/traceback.py:13: in _print file.write(str+terminator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e37c9510> obj = 'Traceback (most recent call last):\n' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = 'Traceback (most recent call last):\n' self = <_pytest.capture.EncodedFile object at 0x7f67e37c9510> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ____________________________ test_override_workdir _____________________________ cmd = initproj = def test_override_workdir(cmd, initproj): baddir = "badworkdir-123" gooddir = "overridden-234" initproj( "overrideworkdir-0.5", filedefs={ "tox.ini": """ [tox] toxworkdir={} """.format( > baddir, ), }, ) baddir = 'badworkdir-123' cmd = gooddir = 'overridden-234' initproj = tests/unit/session/test_show_config.py:123: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/_pytestplugin.py:396: in initproj_ create_files(base, filedefs) src/tox/_pytestplugin.py:494: in create_files base.join(key).write(s) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = local('/tmp/pytest-of-builduser/pytest-1/test_override_workdir0/overrideworkdir/tox.ini') data = ' [tox] toxworkdir=badworkdir-123 ', mode = 'w', ensure = False def write(self, data, mode='w', ensure=False): """ write data into path. If ensure is True create missing parent directories. """ if ensure: self.dirpath().ensure(dir=1) if 'b' in mode: if not py.builtin._isbytes(data): raise ValueError("can only process bytes") else: if not py.builtin._istext(data): if not py.builtin._isbytes(data): data = str(data) else: data = py.builtin._totext(data, sys.getdefaultencoding()) f = self.open(mode) try: f.write(data) finally: > f.close() E IOError: [Errno 28] No space left on device data = ' [tox] toxworkdir=badworkdir-123 ' ensure = False f = mode = 'w' self = local('/tmp/pytest-of-builduser/pytest-1/test_override_workdir0/overrideworkdir/tox.ini') /usr/lib/python2.7/site-packages/py/_path/local.py:513: IOError _________________________________ test_spinner _________________________________ capfd = <_pytest.capture.CaptureFixture object at 0x7f67e16a0650> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e16a0250> @freeze_time("2012-01-14") def test_spinner(capfd, monkeypatch): monkeypatch.setattr(sys.stdout, "isatty", lambda: False) > with spinner.Spinner(refresh_rate=100) as spin: capfd = <_pytest.capture.CaptureFixture object at 0x7f67e16a0650> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e16a0250> tests/unit/util/test_spinner.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/util/spinner.py:84: in __enter__ self.render_frame() src/tox/util/spinner.py:69: in render_frame self.clear() src/tox/util/spinner.py:56: in clear self.stream.write("\r") /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e16a0810>, obj = '\r' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = '\r' self = <_pytest.capture.EncodedFile object at 0x7f67e16a0810> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ____________________________ test_spinner_progress _____________________________ capfd = <_pytest.capture.CaptureFixture object at 0x7f67e38c0790> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e38c06d0> @freeze_time("2012-01-14") def test_spinner_progress(capfd, monkeypatch): monkeypatch.setattr(sys.stdout, "isatty", lambda: False) > with spinner.Spinner() as spin: capfd = <_pytest.capture.CaptureFixture object at 0x7f67e38c0790> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e38c06d0> tests/unit/util/test_spinner.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/util/spinner.py:84: in __enter__ self.render_frame() src/tox/util/spinner.py:69: in render_frame self.clear() src/tox/util/spinner.py:56: in clear self.stream.write("\r") /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e38c0750>, obj = '\r' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = '\r' self = <_pytest.capture.EncodedFile object at 0x7f67e38c0750> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ______________________________ test_spinner_atty _______________________________ capfd = <_pytest.capture.CaptureFixture object at 0x7f67e16609d0> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e1660950> @freeze_time("2012-01-14") def test_spinner_atty(capfd, monkeypatch): monkeypatch.setattr(sys.stdout, "isatty", lambda: True) > with spinner.Spinner(refresh_rate=100) as spin: capfd = <_pytest.capture.CaptureFixture object at 0x7f67e16609d0> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e1660950> tests/unit/util/test_spinner.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/util/spinner.py:83: in __enter__ self.disable_cursor() src/tox/util/spinner.py:142: in disable_cursor self.stream.write("\033[?25l") /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e1660050>, obj = '\x1b[?25l' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = '\x1b[?25l' self = <_pytest.capture.EncodedFile object at 0x7f67e1660050> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError _____________________________ test_spinner_report ______________________________ capfd = <_pytest.capture.CaptureFixture object at 0x7f67e38da350> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e38da5d0> @freeze_time("2012-01-14") def test_spinner_report(capfd, monkeypatch): monkeypatch.setattr(sys.stdout, "isatty", lambda: False) > with spinner.Spinner(refresh_rate=100) as spin: capfd = <_pytest.capture.CaptureFixture object at 0x7f67e38da350> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e38da5d0> tests/unit/util/test_spinner.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/util/spinner.py:84: in __enter__ self.render_frame() src/tox/util/spinner.py:69: in render_frame self.clear() src/tox/util/spinner.py:56: in clear self.stream.write("\r") /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e38da810>, obj = '\r' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = '\r' self = <_pytest.capture.EncodedFile object at 0x7f67e38da810> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError ____________________________ test_spinner_long_text ____________________________ capfd = <_pytest.capture.CaptureFixture object at 0x7f67e16acd50> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e16acc90> def test_spinner_long_text(capfd, monkeypatch): monkeypatch.setattr(sys.stdout, "isatty", lambda: False) > with spinner.Spinner(refresh_rate=100) as spin: capfd = <_pytest.capture.CaptureFixture object at 0x7f67e16acd50> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f67e16acc90> tests/unit/util/test_spinner.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/tox/util/spinner.py:84: in __enter__ self.render_frame() src/tox/util/spinner.py:69: in render_frame self.clear() src/tox/util/spinner.py:56: in clear self.stream.write("\r") /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:256: in write write_out(self._file, markupmsg) /usr/lib/python2.7/site-packages/py/_io/terminalwriter.py:406: in write_out fil.write(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.capture.EncodedFile object at 0x7f67e16acd90>, obj = '\r' def write(self, obj): if isinstance(obj, six.text_type): obj = obj.encode(self.encoding, "replace") elif _PY3: raise TypeError( "write() argument must be str, not {}".format(type(obj).__name__) ) > self.buffer.write(obj) E IOError: [Errno 28] No space left on device obj = '\r' self = <_pytest.capture.EncodedFile object at 0x7f67e16acd90> /usr/lib/python2.7/site-packages/_pytest/capture.py:441: IOError =============================== warnings summary =============================== tests/unit/test_z_cmdline.py::test_notest /build/python-tox/src/tox-3.20.1-py2/src/tox/config/__init__.py:647: UserWarning: conflicting basepython version (set 2.7, should be 2.6) for env 'py26';resolve conflict or set ignore_basepython_conflict testenv_config.envname, -- Docs: https://docs.pytest.org/en/latest/warnings.html ===Flaky Test Report=== test_parallel_interrupt failed (2 runs remaining out of 3). - [2] a | b0:00:00.742279 [5200] KeyboardInterrupt parallel - stopping children 0:00:00.763591 ERROR: invocation failed (exit code 2), logfile: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt0/pkg123/.tox/b/log/b-0.log ================================== log start =================================== 0:00:00.763742 0:00:00.106601 b create: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt0/pkg123/.tox/b 0:00:00.576800 b installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.,apipkg==1.5,appdirs==1.4.4,atomicwrites==1.4.0,attrs==20.3.0,backports.functools-lru-cache==1.6.1,configparser==4.0.2,contextlib2==0.6.0.post1,distlib==0.3.1,filelock==3.0.12,flaky==3.7.0,freezegun==0.3.15,funcsigs==1.0.2,importlib-metadata==2.0.0,importlib-resources==1.0.2,iniconfig==0.0.0,mock==3.0.5,more-itertools==5.0.0,ordered-set==3.1.1,packaging==20.4,pathlib2==2.3.5,pbr==5.5.1,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==4.6.11,pytest-mock==2.0.0,pytest-runner==5.2,python-dateutil==2.8.1,scandir==1.10.0,setuptools-scm==4.1.2,six==1.15.0,toml==0.10.2,tox==3.20.1,typing==3.7.4.3,virtualenv==20.1.0,wcwidth==0.2.5,zipp==1.1.1 0:00:00.577197 b run-test-pre: PYTHONHASHSEED='1252362808' 0:00:00.577362 b run-test: commands[0] | python -c 'open('"'"'b'"'"', '"'"'w'"'"').write('"'"'done'"'"'); import time; time.sleep(100)' 0:00:00.587135 ERROR: got KeyboardInterrupt signal Traceback (most recent call last): File "", line 1, in KeyboardInterrupt =================================== log end ==================================== ___________________________________ summary ____________________________________ 0:01:40.868117 a: commands succeeded 0:01:40.868153 ERROR: b: parallel child exit code 2 - [2] a | b0:00:00.74..._______________________\n0:01:40.868117 a: commands succeeded\n0:01:40.868153 ERROR: b: parallel child exit code 2\n\n' [] test_parallel_interrupt failed (1 runs remaining out of 3). x [2] a | b0:00:00.479091 [5230] KeyboardInterrupt parallel - stopping children * [2] a | b0:00:00.503178 ERROR: invocation failed (exit code 2), logfile: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt1/pkg123/.tox/b/log/b-0.log ================================== log start =================================== 0:00:00.503344 0:00:00.107464 b create: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt1/pkg123/.tox/b 0:00:00.322043 b installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.,apipkg==1.5,appdirs==1.4.4,atomicwrites==1.4.0,attrs==20.3.0,backports.functools-lru-cache==1.6.1,configparser==4.0.2,contextlib2==0.6.0.post1,distlib==0.3.1,filelock==3.0.12,flaky==3.7.0,freezegun==0.3.15,funcsigs==1.0.2,importlib-metadata==2.0.0,importlib-resources==1.0.2,iniconfig==0.0.0,mock==3.0.5,more-itertools==5.0.0,ordered-set==3.1.1,packaging==20.4,pathlib2==2.3.5,pbr==5.5.1,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==4.6.11,pytest-mock==2.0.0,pytest-runner==5.2,python-dateutil==2.8.1,scandir==1.10.0,setuptools-scm==4.1.2,six==1.15.0,toml==0.10.2,tox==3.20.1,typing==3.7.4.3,virtualenv==20.1.0,wcwidth==0.2.5,zipp==1.1.1 0:00:00.322322 b run-test-pre: PYTHONHASHSEED='2827526668' 0:00:00.322423 b run-test: commands[0] | python -c 'open('"'"'b'"'"', '"'"'w'"'"').write('"'"'done'"'"'); import time; time.sleep(100)' 0:00:00.331700 ERROR: got KeyboardInterrupt signal Traceback (most recent call last): File "", line 1, in KeyboardInterrupt =================================== log end ==================================== ___________________________________ summary ____________________________________ 0:01:40.625627 a: commands succeeded 0:01:40.625702 ERROR: b: parallel child exit code 2 x [2] a | b0:00:00.479091 [5230] KeyboardInterrupt parallel - stoppin..._______________________\n0:01:40.625627 a: commands succeeded\n0:01:40.625702 ERROR: b: parallel child exit code 2\n\n' [] test_parallel_interrupt failed; it passed 0 out of the required 1 times. x [2] a | b0:00:00.483478 [5260] KeyboardInterrupt parallel - stopping children * [2] a | b0:00:00.509542 ERROR: invocation failed (exit code 2), logfile: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt2/pkg123/.tox/a/log/a-0.log ================================== log start =================================== 0:00:00.509698 0:00:00.110149 a create: /tmp/pytest-of-builduser/pytest-1/test_parallel_interrupt2/pkg123/.tox/a 0:00:00.324110 a installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.,apipkg==1.5,appdirs==1.4.4,atomicwrites==1.4.0,attrs==20.3.0,backports.functools-lru-cache==1.6.1,configparser==4.0.2,contextlib2==0.6.0.post1,distlib==0.3.1,filelock==3.0.12,flaky==3.7.0,freezegun==0.3.15,funcsigs==1.0.2,importlib-metadata==2.0.0,importlib-resources==1.0.2,iniconfig==0.0.0,mock==3.0.5,more-itertools==5.0.0,ordered-set==3.1.1,packaging==20.4,pathlib2==2.3.5,pbr==5.5.1,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==4.6.11,pytest-mock==2.0.0,pytest-runner==5.2,python-dateutil==2.8.1,scandir==1.10.0,setuptools-scm==4.1.2,six==1.15.0,toml==0.10.2,tox==3.20.1,typing==3.7.4.3,virtualenv==20.1.0,wcwidth==0.2.5,zipp==1.1.1 0:00:00.324499 a run-test-pre: PYTHONHASHSEED='1155045387' 0:00:00.324646 a run-test: commands[0] | python -c 'open('"'"'a'"'"', '"'"'w'"'"').write('"'"'done'"'"'); import time; time.sleep(100)' 0:00:00.334221 ERROR: got KeyboardInterrupt signal Traceback (most recent call last): File "", line 1, in KeyboardInterrupt =================================== log end ==================================== ___________________________________ summary ____________________________________ 0:01:40.631454 ERROR: a: parallel child exit code 2 0:01:40.631526 b: commands succeeded x [2] a | b0:00:00.483478 [5260] KeyboardInterrupt parallel - stoppin..._______________________\n0:01:40.631454 ERROR: a: parallel child exit code 2\n0:01:40.631526 b: commands succeeded\n\n' [] test_tox_parallel_build_safe failed (2 runs remaining out of 3). [Errno 28] No space left on device [, , , ] test_tox_parallel_build_safe failed (1 runs remaining out of 3). [Errno 28] No space left on device [, , , ] test_tox_parallel_build_safe failed; it passed 0 out of the required 1 times. [Errno 28] No space left on device [, , , ] test_parallel_live failed (2 runs remaining out of 3). [Errno 28] No space left on device [, , , ] test_parallel_live failed (1 runs remaining out of 3). [Errno 28] No space left on device [, , , ] test_parallel_live failed; it passed 0 out of the required 1 times. [Errno 28] No space left on device [, , , ] test_parallel_show_output failed (2 runs remaining out of 3). [Errno 28] No space left on device [, , , ] test_parallel_show_output failed (1 runs remaining out of 3). [Errno 28] No space left on device [, , , ] test_parallel_show_output failed; it passed 0 out of the required 1 times. [Errno 28] No space left on device [, , , ] ===End Flaky Test Report=== =========================== short test summary info ============================ SKIPPED [1] tests/unit/interpreters/windows/test_windows.py:4: non posix test SKIPPED [1] tests/unit/interpreters/windows/test_pep514.py:10: non posix test SKIPPED [1] tests/integration/test_package_int.py:79: poetry is Python 3 only SKIPPED [1] tests/integration/test_jython_env_create.py:5: needs jython and dev cut of virtualenv SKIPPED [1] tests/unit/interpreters/windows/test_pep514.py:17: non posix test SKIPPED [1] tests/integration/test_package_int.py:35: flit is Python 3 only ERROR tests/unit/session/test_parallel.py::test_parallel_no_spinner_on - IOEr... ERROR tests/unit/session/test_parallel.py::test_parallel_no_spinner_off - IOE... ERROR tests/unit/session/test_parallel.py::test_parallel_no_spinner_not_set ERROR tests/unit/session/test_parallel.py::test_parallel_result_json - IOErro... ERROR tests/unit/session/test_parallel.py::test_parallel_result_json_concurrent ERROR tests/unit/session/test_provision.py::test_provision_cli_args_ignore - ... ERROR tests/unit/session/test_provision.py::test_provision_non_canonical_dep ERROR tests/unit/session/test_show_config.py::test_showconfig[all] - IOError:... ERROR tests/unit/session/test_show_config.py::test_showconfig[default_only] ERROR tests/unit/session/test_show_config.py::test_showconfig[-e] - IOError: ... FAILED tests/integration/test_parallel_interrupt.py::test_parallel_interrupt FAILED tests/unit/test_z_cmdline.py::test_exit_code[6] - AssertionError: asse... FAILED tests/unit/config/test_config.py::TestVenvConfig::test_config_parsing_multienv FAILED tests/unit/config/test_config.py::TestVenvConfig::test_envdir_set_manually FAILED tests/unit/config/test_config.py::TestVenvConfig::test_envdir_set_manually_with_substitutions FAILED tests/unit/config/test_config.py::TestVenvConfig::test_force_dep_version FAILED tests/unit/config/test_config.py::TestVenvConfig::test_force_dep_with_url FAILED tests/unit/config/test_config.py::TestVenvConfig::test_process_deps - ... FAILED tests/unit/config/test_config.py::TestVenvConfig::test_suicide_interrupt_terminate_timeout_set_manually FAILED tests/unit/config/test_config.py::TestConfigPlatform::test_config_parse_platform FAILED tests/unit/config/test_config.py::TestConfigPlatform::test_config_parse_platform_rex FAILED tests/unit/config/test_config.py::TestConfigPlatform::test_config_parse_platform_with_factors[win] FAILED tests/unit/config/test_config.py::TestConfigPlatform::test_config_parse_platform_with_factors[lin] FAILED tests/unit/config/test_config.py::TestConfigPlatform::test_config_parse_platform_with_factors[osx] FAILED tests/unit/config/test_config.py::TestConfigPackage::test_project_paths FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_command_substitution_from_other_section FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_command_substitution_from_other_section_multiline FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_command_substitution_from_other_section_posargs FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_command_section_and_posargs_substitution FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_command_env_substitution FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_command_env_substitution_global FAILED tests/unit/config/test_config.py::TestIniParserAgainstCommandsKey::test_regression_issue595 FAILED tests/unit/config/test_config.py::TestIniParser::test_getstring_single FAILED tests/unit/config/test_config.py::TestIniParser::test_missing_substitution FAILED tests/unit/config/test_config.py::TestIniParser::test_getstring_fallback_sections FAILED tests/unit/config/test_config.py::TestIniParser::test_getstring_substitution FAILED tests/unit/config/test_config.py::TestIniParser::test_getlist - IOErro... FAILED tests/unit/config/test_config.py::TestIniParser::test_getdict - IOErro... FAILED tests/unit/config/test_config.py::TestIniParser::test_normal_env_sub_works FAILED tests/unit/config/test_config.py::TestIniParser::test_missing_env_sub_raises_config_error_in_non_testenv FAILED tests/unit/config/test_config.py::TestIniParser::test_missing_env_sub_populates_missing_subs FAILED tests/unit/config/test_config.py::TestIniParser::test_getstring_environment_substitution_with_default FAILED tests/unit/config/test_config.py::TestIniParser::test_getstring_other_section_substitution FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist - IOErr... FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_windows_escaping FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_multiline FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_quoting_in_command FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_comment_after_command FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_command_contains_hash FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_positional_substitution FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_quoted_posargs FAILED tests/unit/config/test_config.py::TestIniParser::test_argvlist_posargs_with_quotes FAILED tests/unit/config/test_config.py::TestIniParser::test_positional_arguments_are_only_replaced_when_standing_alone FAILED tests/unit/config/test_config.py::TestIniParser::test_posargs_are_added_escaped_issue310 FAILED tests/unit/config/test_config.py::TestIniParser::test_substitution_with_multiple_words FAILED tests/unit/config/test_config.py::TestIniParser::test_getargv - IOErro... FAILED tests/unit/config/test_config.py::TestIniParser::test_getpath - IOErro... FAILED tests/unit/config/test_config.py::TestIniParser::test_getbool - IOErro... FAILED tests/unit/config/test_config.py::TestIniParser::test_expand_section_name FAILED tests/unit/config/test_config.py::TestIniParserPrefix::test_basic_section_access FAILED tests/unit/config/test_config.py::TestIniParserPrefix::test_fallback_sections FAILED tests/unit/config/test_config.py::TestIniParserPrefix::test_other_section_substitution FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_commentchars_issue33 FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_defaults - I... FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_installpkg_tops_develop FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_specific_command_overrides FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_allowlist_externals FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_changedir - ... FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_ignore_errors FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_envbindir - ... FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_envbindir_jython[jython] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_envbindir_jython[pypy] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_envbindir_jython[pypy3] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_as_multiline_list[win32] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_as_multiline_list[linux2] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_as_space_separated_list[win32] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_as_space_separated_list[linux2] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_with_factor FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_from_global_env FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_passenv_glob_from_global_env FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_no_spinner FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_changedir_override FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_install_command_setting FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_install_command_must_contain_packages FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_install_command_substitutions FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_pip_pre - IO... FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_pip_pre_cmdline_override FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_simple - IOE... FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_error FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_defaults FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_notfound_issue246 FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_notfound_issue515 FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_nested_env_defaults FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_positional FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_noargs_issue240 FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_substitution_double FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_posargs_backslashed_or_quoted FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_rewrite_posargs FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_rewrite_simple_posargs FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_take_dependencies_from_other_testenv[envlist0-deps0] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_take_dependencies_from_other_testenv[envlist1-deps1] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_regression_test_issue_706[envlist0] FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factor_expansion FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factors_support_curly_braces FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_do_not_substitute_more_than_needed FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_take_dependencies_from_other_section FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_multilevel_substitution FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_recursive_substitution_cycle_fails FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_single_value_from_other_secton FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factors - IO... FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factor_ops FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_envconfigs_based_on_factors FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_default_factors FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_default_factors_conflict FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_default_factors_conflict_lying_name FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_default_single_digit_factors FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_default_factors_conflict_ignore FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factors_in_boolean FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factors_in_setenv FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_curly_braces_in_setenv FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factor_use_not_checked FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_factors_groups_touch FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_period_in_factor FAILED tests/unit/config/test_config.py::TestConfigTestEnv::test_ignore_outcome FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_verbosity[args1-1] FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_verbosity[args2-2] FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_verbosity[args3-2] FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_verbosity[args4-3] FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_substitution_jenkins_global FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_substitution_jenkins_default FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_substitution_jenkins_context FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_sdist_specification FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_env_selection_with_section_name FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_env_selection_expanded_envlist FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_no_implicit_venv_from_cli_with_envlist FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_correct_basepython_chosen_from_default_factors FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_envlist_expansion FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_envlist_cross_product FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_envlist_multiline FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_skip_missing_interpreters_true FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_skip_missing_interpreters_false FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_skip_missing_interpreters_cli_no_arg FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_skip_missing_interpreters_cli_overrides_true FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_skip_missing_interpreters_cli_overrides_false FAILED tests/unit/config/test_config.py::TestGlobalOptions::test_defaultenv_partial_override FAILED tests/unit/config/test_config.py::TestHashseedOption::test_default - I... FAILED tests/unit/config/test_config.py::TestHashseedOption::test_passing_integer FAILED tests/unit/config/test_config.py::TestHashseedOption::test_passing_string FAILED tests/unit/config/test_config.py::TestHashseedOption::test_passing_empty_string FAILED tests/unit/config/test_config.py::TestHashseedOption::test_passing_no_argument FAILED tests/unit/config/test_config.py::TestHashseedOption::test_setenv - IO... FAILED tests/unit/config/test_config.py::TestHashseedOption::test_noset - IOE... FAILED tests/unit/config/test_config.py::TestHashseedOption::test_noset_with_setenv FAILED tests/unit/config/test_config.py::TestHashseedOption::test_one_random_hashseed FAILED tests/unit/config/test_config.py::TestHashseedOption::test_setenv_in_one_testenv FAILED tests/unit/config/test_config.py::TestSetenv::test_getdict_lazy - IOEr... FAILED tests/unit/config/test_config.py::TestSetenv::test_getdict_lazy_update FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_uses_os_environ FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_default_os_environ FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_uses_other_setenv FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_recursive_direct FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_overrides - ... FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_with_envdir_and_basepython FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_ordering_1 FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_cross_section_subst_issue294 FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_cross_section_subst_twice FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_cross_section_mixed FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_comment - IO... FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_env_file[None-False] FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_env_file[\n-False] FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_env_file[#MAGIC = yes-False] FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_env_file[MAGIC=yes-True] FAILED tests/unit/config/test_config.py::TestSetenv::test_setenv_env_file[\nMAGIC = yes-True] FAILED tests/unit/config/test_config.py::TestIndexServer::test_indexserver - ... FAILED tests/unit/config/test_config.py::TestIndexServer::test_parse_indexserver FAILED tests/unit/config/test_config.py::TestIndexServer::test_multiple_homedir_relative_local_indexservers FAILED tests/unit/config/test_config.py::TestConfigConstSubstitutions::test_replace_pathsep_unix[:] FAILED tests/unit/config/test_config.py::TestConfigConstSubstitutions::test_replace_pathsep_unix[;] FAILED tests/unit/config/test_config.py::TestParseEnv::test_parse_recreate - ... FAILED tests/unit/config/test_config.py::TestCmdInvocation::test_help - IOErr... FAILED tests/unit/config/test_config.py::TestCmdInvocation::test_version_simple FAILED tests/unit/config/test_config.py::TestCmdInvocation::test_no_tox_ini FAILED tests/unit/config/test_config.py::test_env_spec[-e py36-run_envlist0] FAILED tests/unit/config/test_config.py::test_env_spec[-e py36,py34-run_envlist1] FAILED tests/unit/config/test_config.py::test_env_spec[-e py36,py36-run_envlist2] FAILED tests/unit/config/test_config.py::test_env_spec[-e py36,py34 -e py34,py27-run_envlist3] FAILED tests/unit/config/test_config.py::TestCommandParser::test_commands_with_backslash FAILED tests/unit/config/test_config.py::test_isolated_build_env_cannot_be_in_envlist FAILED tests/unit/config/test_config.py::test_isolated_build_overrides - IOEr... FAILED tests/unit/config/test_config.py::test_isolated_build_ignores[deps-crazy-default0] FAILED tests/unit/config/test_config.py::test_isolated_build_ignores[sitepackages-True-False] FAILED tests/unit/config/test_config.py::test_config_via_pyproject_legacy - I... FAILED tests/unit/config/test_config.py::test_config_bad_pyproject_specified FAILED tests/unit/config/test_config.py::test_config_setup_cfg_no_tox_section FAILED tests/unit/config/test_config.py::test_config_file_not_required_with_devenv FAILED tests/unit/config/test_config.py::test_interactive_na - IOError: [Errn... FAILED tests/unit/config/test_config.py::test_interactive_available - IOError... FAILED tests/unit/config/test_config.py::test_config_current_py - IOError: [E... FAILED tests/unit/config/test_config.py::test_posargs_relative_changedir - IO... FAILED tests/unit/config/test_config.py::test_config_no_version_data_in__name FAILED tests/unit/config/test_config.py::test_overwrite_skip_install_override FAILED tests/unit/config/test_config_parallel.py::test_depends - IOError: [Er... FAILED tests/unit/config/test_config_parallel.py::test_depends_multi_row_facotr FAILED tests/unit/config/test_config_parallel.py::test_depends_factor - IOErr... FAILED tests/unit/interpreters/test_interpreters.py::test_find_alias_on_path FAILED tests/unit/interpreters/test_interpreters.py::TestInterpreters::test_get_info_uses_hook_path FAILED tests/unit/package/test_package.py::test_install_via_installpkg - IOEr... FAILED tests/unit/package/test_package.py::test_sdist_latest - IOError: [Errn... FAILED tests/unit/package/test_package.py::test_separate_sdist_no_sdistfile FAILED tests/unit/package/test_package.py::test_sdistonly - IOError: [Errno 2... FAILED tests/unit/package/test_package.py::test_make_sdist - IOError: [Errno ... FAILED tests/unit/package/test_package.py::test_build_backend_without_submodule FAILED tests/unit/package/test_package.py::test_package_inject - IOError: [Er... FAILED tests/unit/package/test_package_parallel.py::test_tox_parallel_build_safe FAILED tests/unit/package/test_package_view.py::test_make_sdist_distshare - I... FAILED tests/unit/package/test_package_view.py::test_separate_sdist - IOError... FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_verbose_isolated_build FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_dist_exists_version_change FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_no_pyproject_toml FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_no_build_system FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_no_requires FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_no_backend FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_bad_requires FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_bad_backend FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_bad_backend_path FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_package_isolated_toml_backend_path_outside_root FAILED tests/unit/package/builder/test_package_builder_isolated.py::test_verbose_isolated_build_in_tree FAILED tests/unit/package/builder/test_package_builder_legacy.py::test_verbose_legacy_build FAILED tests/unit/session/test_list_env.py::test_listenvs - IOError: [Errno 2... FAILED tests/unit/session/test_list_env.py::test_listenvs_verbose_description FAILED tests/unit/session/test_list_env.py::test_listenvs_all - IOError: [Err... FAILED tests/unit/session/test_list_env.py::test_listenvs_all_verbose_description FAILED tests/unit/session/test_list_env.py::test_listenvs_all_verbose_description_no_additional_environments FAILED tests/unit/session/test_list_env.py::test_listenvs_packaging_excluded FAILED tests/unit/session/test_list_env.py::test_listenvs_all_extra_definition_order_decreasing FAILED tests/unit/session/test_list_env.py::test_listenvs_all_extra_definition_order_increasing FAILED tests/unit/session/test_list_env.py::test_listenvs_without_default_envs FAILED tests/unit/session/test_parallel.py::test_parallel - IOError: [Errno 2... FAILED tests/unit/session/test_parallel.py::test_parallel_live - IOError: [Er... FAILED tests/unit/session/test_parallel.py::test_parallel_circular - IOError:... FAILED tests/unit/session/test_parallel.py::test_parallel_error_report[True] FAILED tests/unit/session/test_parallel.py::test_parallel_error_report[False] FAILED tests/unit/session/test_parallel.py::test_parallel_deadlock - IOError:... FAILED tests/unit/session/test_parallel.py::test_parallel_recreate - IOError:... FAILED tests/unit/session/test_parallel.py::test_parallel_show_output - IOErr... FAILED tests/unit/session/test_provision.py::test_provision_min_version_is_requires FAILED tests/unit/session/test_provision.py::test_provision_tox_change_name FAILED tests/unit/session/test_provision.py::test_provision_basepython_global_only FAILED tests/unit/session/test_provision.py::test_provision_basepython_local FAILED tests/unit/session/test_provision.py::test_provision_bad_requires - IO... FAILED tests/unit/session/test_provision.py::test_provision_cli_args_not_ignored_if_provision_false FAILED tests/unit/session/test_provision.py::test_provision_requirement_with_environment_marker FAILED tests/unit/session/test_session.py::test_resolve_pkg_multiple_valid_versions FAILED tests/unit/session/test_session.py::test_resolve_pkg_with_invalid_version FAILED tests/unit/session/test_session.py::test_skip_sdist - IOError: [Errno ... FAILED tests/unit/session/test_session.py::test_skip_install_skip_package - I... FAILED tests/unit/session/test_session.py::test_venv_filter_empty_all_active FAILED tests/unit/session/test_session.py::test_venv_filter_match_all_none_active FAILED tests/unit/session/test_session.py::test_venv_filter_match_some_some_active FAILED tests/unit/session/test_session.py::test_tox_env_var_flags_inserted_non_isolated FAILED tests/unit/session/test_session.py::test_tox_env_var_flags_inserted_isolated FAILED tests/unit/session/test_session.py::test_command_prev_post_ok - IOErro... FAILED tests/unit/session/test_session.py::test_command_prev_fail_command_skip_post_run FAILED tests/unit/session/test_session.py::test_help_compound_ve_works - IOEr... FAILED tests/unit/session/test_show_config.py::test_showconfig_with_force_dep_version FAILED tests/unit/session/test_show_config.py::test_showconfig_interpolation FAILED tests/unit/session/test_show_config.py::test_config_specific_ini - IOE... FAILED tests/unit/session/test_show_config.py::test_override_workdir - IOErro... FAILED tests/unit/util/test_spinner.py::test_spinner - IOError: [Errno 28] No... FAILED tests/unit/util/test_spinner.py::test_spinner_progress - IOError: [Err... FAILED tests/unit/util/test_spinner.py::test_spinner_atty - IOError: [Errno 2... FAILED tests/unit/util/test_spinner.py::test_spinner_report - IOError: [Errno... FAILED tests/unit/util/test_spinner.py::test_spinner_long_text - IOError: [Er... == 263 failed, 306 passed, 6 skipped, 1 warnings, 10 error in 455.64 seconds === ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/builduser/build