Created
January 2, 2026 13:39
-
-
Save Sigmanificient/4191fa9842691deea83711e4e5be1580 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| structuredAttrs is enabled | |
| Sourcing python-remove-tests-dir-hook | |
| Sourcing python-catch-conflicts-hook.sh | |
| Sourcing python-remove-bin-bytecode-hook.sh | |
| Sourcing pypa-build-hook | |
| Using pypaBuildPhase | |
| Sourcing python-runtime-deps-check-hook | |
| Using pythonRuntimeDepsCheckHook | |
| Sourcing pypa-install-hook | |
| Using pypaInstallPhase | |
| Sourcing python-imports-check-hook.sh | |
| Using pythonImportsCheckPhase | |
| Sourcing python-namespaces-hook | |
| Sourcing python-catch-conflicts-hook.sh | |
| Sourcing pytest-check-hook | |
| Using pytestCheckPhase | |
| Running phase: unpackPhase | |
| @nix { "action": "setPhase", "phase": "unpackPhase" } | |
| unpacking source archive /nix/store/a9qw6flmr7ipzxah2c1b92svxxp5fz18-virtualenv-20.33.1.tar.gz | |
| source root is virtualenv-20.33.1 | |
| setting SOURCE_DATE_EPOCH to timestamp 1580601600 of file "virtualenv-20.33.1/tox.ini" | |
| Running phase: patchPhase | |
| @nix { "action": "setPhase", "phase": "patchPhase" } | |
| Running phase: updateAutotoolsGnuConfigScriptsPhase | |
| @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
| Running phase: configurePhase | |
| @nix { "action": "setPhase", "phase": "configurePhase" } | |
| no configure script, doing nothing | |
| Running phase: buildPhase | |
| @nix { "action": "setPhase", "phase": "buildPhase" } | |
| Executing pypaBuildPhase | |
| Setting SETUPTOOLS_SCM_PRETEND_VERSION to 20.33.1 | |
| Including all tracked files automatically | |
| Creating a wheel... | |
| pypa build flags: --no-isolation --outdir dist/ --wheel | |
| * Getting build dependencies for wheel... | |
| * Building wheel... | |
| Successfully built virtualenv-20.33.1-py3-none-any.whl | |
| Finished creating a wheel... | |
| Finished executing pypaBuildPhase | |
| Running phase: pythonRuntimeDepsCheckHook | |
| @nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
| Executing pythonRuntimeDepsCheck | |
| Checking runtime dependencies for virtualenv-20.33.1-py3-none-any.whl | |
| Finished executing pythonRuntimeDepsCheck | |
| Running phase: installPhase | |
| @nix { "action": "setPhase", "phase": "installPhase" } | |
| Executing pypaInstallPhase | |
| Successfully installed virtualenv-20.33.1-py3-none-any.whl | |
| Finished executing pypaInstallPhase | |
| Running phase: pythonOutputDistPhase | |
| @nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
| Executing pythonOutputDistPhase | |
| Finished executing pythonOutputDistPhase | |
| Running phase: fixupPhase | |
| @nix { "action": "setPhase", "phase": "fixupPhase" } | |
| shrinking RPATHs of ELF executables and libraries in /nix/store/nphvx5z1n6x8rr4mfag6f63si3vk6x1q-python3.13-virtualenv-20.33.1-dist | |
| checking for references to /build/ in /nix/store/nphvx5z1n6x8rr4mfag6f63si3vk6x1q-python3.13-virtualenv-20.33.1-dist... | |
| patching script interpreter paths in /nix/store/nphvx5z1n6x8rr4mfag6f63si3vk6x1q-python3.13-virtualenv-20.33.1-dist | |
| shrinking RPATHs of ELF executables and libraries in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1 | |
| checking for references to /build/ in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1... | |
| patching script interpreter paths in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1 | |
| stripping (with command strip and flags -S -p) in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/bin | |
| Rewriting #!/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13 to #!/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9 | |
| wrapping `/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/bin/virtualenv'... | |
| Executing pythonRemoveTestsDir | |
| Finished executing pythonRemoveTestsDir | |
| Running phase: installCheckPhase | |
| @nix { "action": "setPhase", "phase": "installCheckPhase" } | |
| no Makefile or custom installCheckPhase, doing nothing | |
| Running phase: pythonCatchConflictsPhase | |
| @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
| Running phase: pythonRemoveBinBytecodePhase | |
| @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
| Running phase: pythonImportsCheckPhase | |
| @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
| Executing pythonImportsCheckPhase | |
| Check whether the following modules can be imported: virtualenv | |
| Running phase: pytestCheckPhase | |
| @nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
| Executing pytestCheckPhase | |
| pytest flags: -m pytest --ignore-glob=tests/unit/create/test_creator.py --ignore-glob=tests/unit/seed/embed/test_bootstrap_link_via_app_data.py -k not\ \(test_create_no_seed\)\ and\ not\ \(test_seed_link_via_app_data\)\ and\ not\ \(test_bad_exe_py_info_no_raise\)\ and\ not\ \(test_py_info_cache_invalidation_on_py_info_change\) | |
| ============================= test session starts ============================== | |
| platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 | |
| rootdir: /build/virtualenv-20.33.1 | |
| configfile: pyproject.toml | |
| plugins: flaky-3.8.1, freezegun-0.4.2, mock-3.15.1, timeout-2.4.0, time-machine-2.19.0 | |
| timeout: 600.0s | |
| timeout method: signal | |
| timeout func_only: False | |
| collected 329 items / 2 deselected / 327 selected | |
| tests/unit/activation/test_activation_support.py ............ [ 3%] | |
| tests/unit/activation/test_activator.py . [ 3%] | |
| tests/unit/activation/test_bash.py .... [ 5%] | |
| tests/unit/activation/test_batch.py ss [ 5%] | |
| tests/unit/activation/test_csh.py s [ 6%] | |
| tests/unit/activation/test_fish.py s [ 6%] | |
| tests/unit/activation/test_nushell.py s [ 6%] | |
| tests/unit/activation/test_python_activator.py . [ 7%] | |
| tests/unit/activation/test_bash.py .. [ 7%] | |
| tests/unit/activation/test_batch.py ss [ 8%] | |
| tests/unit/activation/test_csh.py s [ 8%] | |
| tests/unit/activation/test_fish.py s [ 8%] | |
| tests/unit/activation/test_nushell.py s [ 9%] | |
| tests/unit/activation/test_python_activator.py . [ 9%] | |
| tests/unit/activation/test_batch.py .. [ 10%] | |
| tests/unit/activation/test_csh.py .. [ 10%] | |
| tests/unit/activation/test_fish.py .. [ 11%] | |
| tests/unit/activation/test_nushell.py . [ 11%] | |
| tests/unit/activation/test_powershell.py .. [ 12%] | |
| tests/unit/config/cli/test_parser.py ... [ 13%] | |
| tests/unit/config/test___main__.py ....... [ 15%] | |
| tests/unit/config/test_env_var.py ........ [ 17%] | |
| tests/unit/config/test_ini.py . [ 18%] | |
| tests/unit/create/test_interpreters.py . [ 18%] | |
| tests/unit/create/via_global_ref/builtin/cpython/test_cpython3_win.py .. [ 18%] | |
| ..... [ 20%] | |
| tests/unit/create/via_global_ref/builtin/pypy/test_pypy3.py ... [ 21%] | |
| tests/unit/create/via_global_ref/test_api.py . [ 21%] | |
| tests/unit/discovery/py_info/test_py_info.py ........................... [ 29%] | |
| ...................s..s [ 37%] | |
| tests/unit/discovery/py_info/test_py_info_exe_based_of.py .............. [ 41%] | |
| ........... [ 44%] | |
| tests/unit/discovery/test_discovery.py ........................ [ 51%] | |
| tests/unit/discovery/test_py_spec.py ................................... [ 62%] | |
| .................. [ 68%] | |
| tests/unit/discovery/windows/test_windows.py ssssssssssss [ 71%] | |
| tests/unit/discovery/windows/test_windows_pep514.py ss [ 72%] | |
| tests/unit/seed/embed/test_base_embed.py .............ssss. [ 77%] | |
| tests/unit/seed/wheels/test_acquire.py ......... [ 80%] | |
| tests/unit/seed/wheels/test_acquire_find_wheel.py .... [ 81%] | |
| tests/unit/seed/wheels/test_bundle.py ..... [ 83%] | |
| tests/unit/seed/wheels/test_periodic_update.py ......................... [ 91%] | |
| .. [ 91%] | |
| tests/unit/seed/wheels/test_wheels_util.py ..... [ 93%] | |
| tests/unit/test_file_limit.py F [ 93%] | |
| tests/unit/test_run.py .... [ 94%] | |
| tests/unit/test_util.py .. [ 95%] | |
| tests/unit/activation/test_powershell.py ss [ 96%] | |
| tests/unit/create/test_interpreters.py . [ 96%] | |
| tests/unit/create/via_global_ref/test_build_c_ext.py .. [ 96%] | |
| tests/unit/seed/embed/test_pip_invoke.py .... [ 98%] | |
| tests/integration/test_cachedir_tag.py s [ 98%] | |
| tests/integration/test_run_int.py s [ 98%] | |
| tests/integration/test_zipapp.py ssss [100%] | |
| =================================== FAILURES =================================== | |
| ___________________________ test_too_many_open_files ___________________________ | |
| tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0') | |
| @pytest.mark.skipif(sys.platform == "win32", reason="resource module not available on Windows") | |
| def test_too_many_open_files(tmp_path): | |
| """ | |
| Test that we get a specific error message when we have too many open files. | |
| """ | |
| import resource # noqa: PLC0415 | |
| soft_limit, hard_limit = resource.getrlimit(resource.RLIMIT_NOFILE) | |
| if soft_limit > 1024: | |
| pytest.skip("soft limit for open files is too high to reliably trigger the error") | |
| # Lower the soft limit to a small number to trigger the error | |
| try: | |
| resource.setrlimit(resource.RLIMIT_NOFILE, (32, hard_limit)) | |
| except ValueError: | |
| pytest.skip("could not lower the soft limit for open files") | |
| # Keep some file descriptors open to make it easier to trigger the error | |
| fds = [] | |
| try: | |
| fds.extend(os.open(os.devnull, os.O_RDONLY) for _ in range(20)) | |
| with pytest.raises(SystemExit) as excinfo: | |
| > cli_run([str(tmp_path / "venv")]) | |
| excinfo = <ExceptionInfo for raises contextmanager> | |
| fd = 30 | |
| fds = [11, 12, 13, 14, 15, 16, ...] | |
| hard_limit = 1048576 | |
| resource = <module 'resource' from '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/lib/python3.13/lib-dynload/resource.cpython-313-x86_64-linux-gnu.so'> | |
| soft_limit = 1024 | |
| tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0') | |
| tests/unit/test_file_limit.py:34: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/run/__init__.py:31: in cli_run | |
| of_session = session_via_cli(args, options, setup_logging, env) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| args = ['/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0/venv'] | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| options = None | |
| setup_logging = True | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/run/__init__.py:49: in session_via_cli | |
| parser, elements = build_parser(args, options, setup_logging, env) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| args = ['/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0/venv'] | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| options = None | |
| setup_logging = True | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/run/__init__.py:78: in build_parser | |
| parser._interpreter = interpreter = discover.interpreter # noqa: SLF001 | |
| ^^^^^^^^^^^^^^^^^^^^ | |
| args = ['/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0/venv'] | |
| discover = Builtin discover of python_spec='/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| options = VirtualEnvOptions(with_traceback=False, verbose=2, quiet=0, env=environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx...0/session-app-data0, reset_app_data=False, upgrade_embed_wheels=False, discovery=builtin, python=[], try_first_with=[]) | |
| parser = VirtualEnvConfigParser(prog='virtualenv', usage=None, description=None, formatter_class=<class 'virtualenv.config.cli.parser.HelpFormatter'>, conflict_handler='error', add_help=False) | |
| setup_logging = True | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/discover.py:41: in interpreter | |
| self._interpreter = self.run() | |
| ^^^^^^^^^^ | |
| self = Builtin discover of python_spec='/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/builtin.py:64: in run | |
| result = get_interpreter(python_spec, self.try_first_with, self.app_data, self._env) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| python_spec = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| self = Builtin discover of python_spec='/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/builtin.py:81: in get_interpreter | |
| for interpreter, impl_must_match in propose_interpreters(spec, try_first_with, app_data, env): | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| key = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| proposed_paths = set() | |
| spec = PythonSpec(path=/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13) | |
| try_first_with = [] | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/builtin.py:112: in propose_interpreters | |
| yield PythonInfo.from_exe(exe_raw, app_data, env=env), True | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| exe_id = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| exe_raw = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| spec = PythonSpec(path=/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13) | |
| tested_exes = {'/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13'} | |
| try_first_with = [] | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/py_info.py:455: in from_exe | |
| proposed = from_exe(cls, app_data, exe, env=env, raise_on_error=raise_on_error, ignore_cache=ignore_cache) | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| cls = <class 'virtualenv.discovery.py_info.PythonInfo'> | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| exe = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| from_exe = <function from_exe at 0x7ffff5634040> | |
| ignore_cache = False | |
| raise_on_error = True | |
| resolve_to_host = True | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| cls = <class 'virtualenv.discovery.py_info.PythonInfo'> | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| exe = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| raise_on_error = True, ignore_cache = False | |
| def from_exe(cls, app_data, exe, env=None, raise_on_error=True, ignore_cache=False): # noqa: FBT002, PLR0913 | |
| env = os.environ if env is None else env | |
| result = _get_from_cache(cls, app_data, exe, env, ignore_cache=ignore_cache) | |
| if isinstance(result, Exception): | |
| if raise_on_error: | |
| > raise result | |
| E RuntimeError: failed to query /nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13 with code 24 err: 'Too many open files' | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| cls = <class 'virtualenv.discovery.py_info.PythonInfo'> | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| exe = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| ignore_cache = False | |
| raise_on_error = True | |
| result = RuntimeError("failed to query /nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13 with code 24 err: 'Too many open files'") | |
| /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/cached_py_info.py:35: RuntimeError | |
| ---------------------------- Captured stdout setup ----------------------------- | |
| 31283 Attempting to acquire lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:331] | |
| 31283 Lock 140737293824112 acquired on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:334] | |
| 31284 Attempting to release lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:364] | |
| 31285 Lock 140737293824112 released on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:367] | |
| ------------------------------ Captured log setup ------------------------------ | |
| DEBUG filelock:_api.py:331 Attempting to acquire lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| DEBUG filelock:_api.py:334 Lock 140737293824112 acquired on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| DEBUG filelock:_api.py:364 Attempting to release lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| DEBUG filelock:_api.py:367 Lock 140737293824112 released on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| ---------------------------- Captured log teardown ----------------------------- | |
| DEBUG filelock:_api.py:331 Attempting to acquire lock 140737289003632 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| DEBUG filelock:_api.py:334 Lock 140737289003632 acquired on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| DEBUG filelock:_api.py:364 Attempting to release lock 140737289003632 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| DEBUG filelock:_api.py:367 Lock 140737289003632 released on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| =============================== warnings summary =============================== | |
| ../../nix/store/y01qc8w1k3v7iff5phc4d231yybphr54-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/config/__init__.py:1474 | |
| /nix/store/y01qc8w1k3v7iff5phc4d231yybphr54-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/config/__init__.py:1474: PytestConfigWarning: Unknown config option: env | |
| self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") | |
| -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
| =========================== short test summary info ============================ | |
| FAILED tests/unit/test_file_limit.py::test_too_many_open_files - RuntimeError: failed to query /nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-p... | |
| = 1 failed, 288 passed, 38 skipped, 2 deselected, 1 warning in 63.73s (0:01:03) = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| structuredAttrs is enabled | |
| Sourcing python-remove-tests-dir-hook | |
| Sourcing python-catch-conflicts-hook.sh | |
| Sourcing python-remove-bin-bytecode-hook.sh | |
| Sourcing pypa-build-hook | |
| Using pypaBuildPhase | |
| Sourcing python-runtime-deps-check-hook | |
| Using pythonRuntimeDepsCheckHook | |
| Sourcing pypa-install-hook | |
| Using pypaInstallPhase | |
| Sourcing python-imports-check-hook.sh | |
| Using pythonImportsCheckPhase | |
| Sourcing python-namespaces-hook | |
| Sourcing python-catch-conflicts-hook.sh | |
| Sourcing pytest-check-hook | |
| Using pytestCheckPhase | |
| Running phase: unpackPhase | |
| @nix { "action": "setPhase", "phase": "unpackPhase" } | |
| unpacking source archive /nix/store/a9qw6flmr7ipzxah2c1b92svxxp5fz18-virtualenv-20.33.1.tar.gz | |
| source root is virtualenv-20.33.1 | |
| setting SOURCE_DATE_EPOCH to timestamp 1580601600 of file "virtualenv-20.33.1/tox.ini" | |
| Running phase: patchPhase | |
| @nix { "action": "setPhase", "phase": "patchPhase" } | |
| Running phase: updateAutotoolsGnuConfigScriptsPhase | |
| @nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
| Running phase: configurePhase | |
| @nix { "action": "setPhase", "phase": "configurePhase" } | |
| no configure script, doing nothing | |
| Running phase: buildPhase | |
| @nix { "action": "setPhase", "phase": "buildPhase" } | |
| Executing pypaBuildPhase | |
| Setting SETUPTOOLS_SCM_PRETEND_VERSION to 20.33.1 | |
| Including all tracked files automatically | |
| Creating a wheel... | |
| pypa build flags: --no-isolation --outdir dist/ --wheel | |
| [1m* Getting build dependencies for wheel...[0m | |
| [1m* Building wheel...[0m | |
| [1m[92mSuccessfully built [4mvirtualenv-20.33.1-py3-none-any.whl[0m[1m[92m[0m | |
| Finished creating a wheel... | |
| Finished executing pypaBuildPhase | |
| Running phase: pythonRuntimeDepsCheckHook | |
| @nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
| Executing pythonRuntimeDepsCheck | |
| Checking runtime dependencies for virtualenv-20.33.1-py3-none-any.whl | |
| Finished executing pythonRuntimeDepsCheck | |
| Running phase: installPhase | |
| @nix { "action": "setPhase", "phase": "installPhase" } | |
| Executing pypaInstallPhase | |
| Successfully installed virtualenv-20.33.1-py3-none-any.whl | |
| Finished executing pypaInstallPhase | |
| Running phase: pythonOutputDistPhase | |
| @nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
| Executing pythonOutputDistPhase | |
| Finished executing pythonOutputDistPhase | |
| Running phase: fixupPhase | |
| @nix { "action": "setPhase", "phase": "fixupPhase" } | |
| shrinking RPATHs of ELF executables and libraries in /nix/store/nphvx5z1n6x8rr4mfag6f63si3vk6x1q-python3.13-virtualenv-20.33.1-dist | |
| checking for references to /build/ in /nix/store/nphvx5z1n6x8rr4mfag6f63si3vk6x1q-python3.13-virtualenv-20.33.1-dist... | |
| patching script interpreter paths in /nix/store/nphvx5z1n6x8rr4mfag6f63si3vk6x1q-python3.13-virtualenv-20.33.1-dist | |
| shrinking RPATHs of ELF executables and libraries in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1 | |
| checking for references to /build/ in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1... | |
| patching script interpreter paths in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1 | |
| stripping (with command strip and flags -S -p) in /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib /nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/bin | |
| Rewriting #!/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13 to #!/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9 | |
| wrapping `/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/bin/virtualenv'... | |
| Executing pythonRemoveTestsDir | |
| Finished executing pythonRemoveTestsDir | |
| Running phase: installCheckPhase | |
| @nix { "action": "setPhase", "phase": "installCheckPhase" } | |
| no Makefile or custom installCheckPhase, doing nothing | |
| Running phase: pythonCatchConflictsPhase | |
| @nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
| Running phase: pythonRemoveBinBytecodePhase | |
| @nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
| Running phase: pythonImportsCheckPhase | |
| @nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
| Executing pythonImportsCheckPhase | |
| Check whether the following modules can be imported: virtualenv | |
| Running phase: pytestCheckPhase | |
| @nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
| Executing pytestCheckPhase | |
| pytest flags: -m pytest --ignore-glob=tests/unit/create/test_creator.py --ignore-glob=tests/unit/seed/embed/test_bootstrap_link_via_app_data.py -k not\ \(test_create_no_seed\)\ and\ not\ \(test_seed_link_via_app_data\)\ and\ not\ \(test_bad_exe_py_info_no_raise\)\ and\ not\ \(test_py_info_cache_invalidation_on_py_info_change\) | |
| [1m============================= test session starts ==============================[0m | |
| platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 | |
| rootdir: /build/virtualenv-20.33.1 | |
| configfile: pyproject.toml | |
| plugins: flaky-3.8.1, freezegun-0.4.2, mock-3.15.1, timeout-2.4.0, time-machine-2.19.0 | |
| timeout: 600.0s | |
| timeout method: signal | |
| timeout func_only: False | |
| [1mcollecting ... [0m[1m | |
| collecting 183 items [0m[1m | |
| collected 329 items / 2 deselected / 327 selected [0m | |
| tests/unit/activation/test_activation_support.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 3%][0m | |
| tests/unit/activation/test_activator.py [32m.[0m[33m [ 3%][0m | |
| tests/unit/activation/test_bash.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 5%][0m | |
| tests/unit/activation/test_batch.py [33ms[0m[33ms[0m[33m [ 5%][0m | |
| tests/unit/activation/test_csh.py [33ms[0m[33m [ 6%][0m | |
| tests/unit/activation/test_fish.py [33ms[0m[33m [ 6%][0m | |
| tests/unit/activation/test_nushell.py [33ms[0m[33m [ 6%][0m | |
| tests/unit/activation/test_python_activator.py [32m.[0m[33m [ 7%][0m | |
| tests/unit/activation/test_bash.py [32m.[0m[32m.[0m[33m [ 7%][0m | |
| tests/unit/activation/test_batch.py [33ms[0m[33ms[0m[33m [ 8%][0m | |
| tests/unit/activation/test_csh.py [33ms[0m[33m [ 8%][0m | |
| tests/unit/activation/test_fish.py [33ms[0m[33m [ 8%][0m | |
| tests/unit/activation/test_nushell.py [33ms[0m[33m [ 9%][0m | |
| tests/unit/activation/test_python_activator.py [32m.[0m[33m [ 9%][0m | |
| tests/unit/activation/test_batch.py [32m.[0m[32m.[0m[33m [ 10%][0m | |
| tests/unit/activation/test_csh.py [32m.[0m[32m.[0m[33m [ 10%][0m | |
| tests/unit/activation/test_fish.py [32m.[0m[32m.[0m[33m [ 11%][0m | |
| tests/unit/activation/test_nushell.py [32m.[0m[33m [ 11%][0m | |
| tests/unit/activation/test_powershell.py [32m.[0m[32m.[0m[33m [ 12%][0m | |
| tests/unit/config/cli/test_parser.py [32m.[0m[32m.[0m[32m.[0m[33m [ 13%][0m | |
| tests/unit/config/test___main__.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 15%][0m | |
| tests/unit/config/test_env_var.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 17%][0m | |
| tests/unit/config/test_ini.py [32m.[0m[33m [ 18%][0m | |
| tests/unit/create/test_interpreters.py [32m.[0m[33m [ 18%][0m | |
| tests/unit/create/via_global_ref/builtin/cpython/test_cpython3_win.py [32m.[0m[32m.[0m[33m [ 18%] | |
| [0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 20%][0m | |
| tests/unit/create/via_global_ref/builtin/pypy/test_pypy3.py [32m.[0m[32m.[0m[32m.[0m[33m [ 21%][0m | |
| tests/unit/create/via_global_ref/test_api.py [32m.[0m[33m [ 21%][0m | |
| tests/unit/discovery/py_info/test_py_info.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 29%] | |
| [0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33ms[0m[32m.[0m[32m.[0m[33ms[0m[33m [ 37%][0m | |
| tests/unit/discovery/py_info/test_py_info_exe_based_of.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 41%] | |
| [0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 44%][0m | |
| tests/unit/discovery/test_discovery.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 51%][0m | |
| tests/unit/discovery/test_py_spec.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 62%] | |
| [0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 68%][0m | |
| tests/unit/discovery/windows/test_windows.py [33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[33m [ 71%][0m | |
| tests/unit/discovery/windows/test_windows_pep514.py [33ms[0m[33ms[0m[33m [ 72%][0m | |
| tests/unit/seed/embed/test_base_embed.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33ms[0m[33ms[0m[33ms[0m[33ms[0m[32m.[0m[33m [ 77%][0m | |
| tests/unit/seed/wheels/test_acquire.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 80%][0m | |
| tests/unit/seed/wheels/test_acquire_find_wheel.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 81%][0m | |
| tests/unit/seed/wheels/test_bundle.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 83%][0m | |
| tests/unit/seed/wheels/test_periodic_update.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 91%] | |
| [0m[32m.[0m[32m.[0m[33m [ 91%][0m | |
| tests/unit/seed/wheels/test_wheels_util.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33m [ 93%][0m | |
| tests/unit/test_file_limit.py [31mF[0m[31m [ 93%][0m | |
| tests/unit/test_run.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 94%][0m | |
| tests/unit/test_util.py [32m.[0m[32m.[0m[31m [ 95%][0m | |
| tests/unit/activation/test_powershell.py [33ms[0m[33ms[0m[31m [ 96%][0m | |
| tests/unit/create/test_interpreters.py [32m.[0m[31m [ 96%][0m | |
| tests/unit/create/via_global_ref/test_build_c_ext.py [32m.[0m[32m.[0m[31m [ 96%][0m | |
| tests/unit/seed/embed/test_pip_invoke.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 98%][0m | |
| tests/integration/test_cachedir_tag.py [33ms[0m[31m [ 98%][0m | |
| tests/integration/test_run_int.py [33ms[0m[31m [ 98%][0m | |
| tests/integration/test_zipapp.py [33ms[0m[33ms[0m[33ms[0m[33ms[0m[31m [100%][0m | |
| =================================== FAILURES =================================== | |
| [31m[1m___________________________ test_too_many_open_files ___________________________[0m | |
| tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0') | |
| [0m[37m@pytest[39;49;00m.mark.skipif(sys.platform == [33m"[39;49;00m[33mwin32[39;49;00m[33m"[39;49;00m, reason=[33m"[39;49;00m[33mresource module not available on Windows[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
| [94mdef[39;49;00m[90m [39;49;00m[92mtest_too_many_open_files[39;49;00m(tmp_path):[90m[39;49;00m | |
| [90m [39;49;00m[33m"""[39;49;00m | |
| [33m Test that we get a specific error message when we have too many open files.[39;49;00m | |
| [33m """[39;49;00m[90m[39;49;00m | |
| [94mimport[39;49;00m[90m [39;49;00m[04m[96mresource[39;49;00m [90m# noqa: PLC0415[39;49;00m[90m[39;49;00m | |
| [90m[39;49;00m | |
| soft_limit, hard_limit = resource.getrlimit(resource.RLIMIT_NOFILE)[90m[39;49;00m | |
| [94mif[39;49;00m soft_limit > [94m1024[39;49;00m:[90m[39;49;00m | |
| pytest.skip([33m"[39;49;00m[33msoft limit for open files is too high to reliably trigger the error[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
| [90m[39;49;00m | |
| [90m# Lower the soft limit to a small number to trigger the error[39;49;00m[90m[39;49;00m | |
| [94mtry[39;49;00m:[90m[39;49;00m | |
| resource.setrlimit(resource.RLIMIT_NOFILE, ([94m32[39;49;00m, hard_limit))[90m[39;49;00m | |
| [94mexcept[39;49;00m [96mValueError[39;49;00m:[90m[39;49;00m | |
| pytest.skip([33m"[39;49;00m[33mcould not lower the soft limit for open files[39;49;00m[33m"[39;49;00m)[90m[39;49;00m | |
| [90m[39;49;00m | |
| [90m# Keep some file descriptors open to make it easier to trigger the error[39;49;00m[90m[39;49;00m | |
| fds = [][90m[39;49;00m | |
| [94mtry[39;49;00m:[90m[39;49;00m | |
| fds.extend(os.open(os.devnull, os.O_RDONLY) [94mfor[39;49;00m _ [95min[39;49;00m [96mrange[39;49;00m([94m20[39;49;00m))[90m[39;49;00m | |
| [90m[39;49;00m | |
| [94mwith[39;49;00m pytest.raises([96mSystemExit[39;49;00m) [94mas[39;49;00m excinfo:[90m[39;49;00m | |
| > cli_run([[96mstr[39;49;00m(tmp_path / [33m"[39;49;00m[33mvenv[39;49;00m[33m"[39;49;00m)])[90m[39;49;00m | |
| excinfo = <ExceptionInfo for raises contextmanager> | |
| fd = 30 | |
| fds = [11, 12, 13, 14, 15, 16, ...] | |
| hard_limit = 1048576 | |
| resource = <module 'resource' from '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/lib/python3.13/lib-dynload/resource.cpython-313-x86_64-linux-gnu.so'> | |
| soft_limit = 1024 | |
| tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0') | |
| [1m[31mtests/unit/test_file_limit.py[0m:34: | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/run/__init__.py[0m:31: in cli_run | |
| [0mof_session = session_via_cli(args, options, setup_logging, env)[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| args = ['/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0/venv'] | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| options = None | |
| setup_logging = True | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/run/__init__.py[0m:49: in session_via_cli | |
| [0mparser, elements = build_parser(args, options, setup_logging, env)[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| args = ['/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0/venv'] | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| options = None | |
| setup_logging = True | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/run/__init__.py[0m:78: in build_parser | |
| [0mparser._interpreter = interpreter = discover.interpreter [90m# noqa: SLF001[39;49;00m[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| args = ['/build/pytest-of-nixbld/pytest-0/test_too_many_open_files0/venv'] | |
| discover = Builtin discover of python_spec='/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| options = VirtualEnvOptions(with_traceback=False, verbose=2, quiet=0, env=environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx...0/session-app-data0, reset_app_data=False, upgrade_embed_wheels=False, discovery=builtin, python=[], try_first_with=[]) | |
| parser = VirtualEnvConfigParser(prog='virtualenv', usage=None, description=None, formatter_class=<class 'virtualenv.config.cli.parser.HelpFormatter'>, conflict_handler='error', add_help=False) | |
| setup_logging = True | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/discover.py[0m:41: in interpreter | |
| [0m[96mself[39;49;00m._interpreter = [96mself[39;49;00m.run()[90m[39;49;00m | |
| ^^^^^^^^^^[90m[39;49;00m | |
| self = Builtin discover of python_spec='/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/builtin.py[0m:64: in run | |
| [0mresult = get_interpreter(python_spec, [96mself[39;49;00m.try_first_with, [96mself[39;49;00m.app_data, [96mself[39;49;00m._env)[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| python_spec = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| self = Builtin discover of python_spec='/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/builtin.py[0m:81: in get_interpreter | |
| [0m[94mfor[39;49;00m interpreter, impl_must_match [95min[39;49;00m propose_interpreters(spec, try_first_with, app_data, env):[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| key = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| proposed_paths = set() | |
| spec = PythonSpec(path=/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13) | |
| try_first_with = [] | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/builtin.py[0m:112: in propose_interpreters | |
| [0m[94myield[39;49;00m PythonInfo.from_exe(exe_raw, app_data, env=env), [94mTrue[39;49;00m[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| exe_id = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| exe_raw = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| spec = PythonSpec(path=/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13) | |
| tested_exes = {'/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13'} | |
| try_first_with = [] | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/py_info.py[0m:455: in from_exe | |
| [0mproposed = from_exe([96mcls[39;49;00m, app_data, exe, env=env, raise_on_error=raise_on_error, ignore_cache=ignore_cache)[90m[39;49;00m | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[90m[39;49;00m | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| cls = <class 'virtualenv.discovery.py_info.PythonInfo'> | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| exe = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| from_exe = <function from_exe at 0x7ffff5634040> | |
| ignore_cache = False | |
| raise_on_error = True | |
| resolve_to_host = True | |
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
| cls = <class 'virtualenv.discovery.py_info.PythonInfo'> | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| exe = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| raise_on_error = True, ignore_cache = False | |
| [0m[94mdef[39;49;00m[90m [39;49;00m[92mfrom_exe[39;49;00m([96mcls[39;49;00m, app_data, exe, env=[94mNone[39;49;00m, raise_on_error=[94mTrue[39;49;00m, ignore_cache=[94mFalse[39;49;00m): [90m# noqa: FBT002, PLR0913[39;49;00m[90m[39;49;00m | |
| env = os.environ [94mif[39;49;00m env [95mis[39;49;00m [94mNone[39;49;00m [94melse[39;49;00m env[90m[39;49;00m | |
| result = _get_from_cache([96mcls[39;49;00m, app_data, exe, env, ignore_cache=ignore_cache)[90m[39;49;00m | |
| [94mif[39;49;00m [96misinstance[39;49;00m(result, [96mException[39;49;00m):[90m[39;49;00m | |
| [94mif[39;49;00m raise_on_error:[90m[39;49;00m | |
| > [94mraise[39;49;00m result[90m[39;49;00m | |
| [1m[31mE RuntimeError: failed to query /nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13 with code 24 err: 'Too many open files'[0m | |
| app_data = AppDataDiskFolder(/build/pytest-of-nixbld/pytest-0/session-app-data0) | |
| cls = <class 'virtualenv.discovery.py_info.PythonInfo'> | |
| env = environ({'SHELL': '/nix/store/pl0qg7n1h0zsf2g56fh13hsx3h8snrdq-bash-5.3p3/bin/bash', '_PYTHON_HOST_PLATFORM': 'linux-x..._file_limit.py::test_too_many_open_files (call)', 'VIRTUALENV_NO_PERIODIC_UPDATE': '1', 'VIRTUALENV_NO_DOWNLOAD': '1'}) | |
| exe = '/nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13' | |
| ignore_cache = False | |
| raise_on_error = True | |
| result = RuntimeError("failed to query /nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-python3-3.13.9/bin/python3.13 with code 24 err: 'Too many open files'") | |
| [1m[31m/nix/store/6mgn3hyd87bsl2izhp6zp6vhkv0cgw8i-python3.13-virtualenv-20.33.1/lib/python3.13/site-packages/virtualenv/discovery/cached_py_info.py[0m:35: RuntimeError | |
| ---------------------------- Captured stdout setup ----------------------------- | |
| 31283 Attempting to acquire lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:331] | |
| 31283 Lock 140737293824112 acquired on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:334] | |
| 31284 Attempting to release lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:364] | |
| 31285 Lock 140737293824112 released on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock [DEBUG _api:367] | |
| ------------------------------ Captured log setup ------------------------------ | |
| [35mDEBUG [0m filelock:_api.py:331 Attempting to acquire lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [35mDEBUG [0m filelock:_api.py:334 Lock 140737293824112 acquired on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [35mDEBUG [0m filelock:_api.py:364 Attempting to release lock 140737293824112 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [35mDEBUG [0m filelock:_api.py:367 Lock 140737293824112 released on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| ---------------------------- Captured log teardown ----------------------------- | |
| [35mDEBUG [0m filelock:_api.py:331 Attempting to acquire lock 140737289003632 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [35mDEBUG [0m filelock:_api.py:334 Lock 140737289003632 acquired on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [35mDEBUG [0m filelock:_api.py:364 Attempting to release lock 140737289003632 on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [35mDEBUG [0m filelock:_api.py:367 Lock 140737289003632 released on /build/pytest-of-nixbld/pytest-0/session-app-data0/py_info/2/.lock | |
| [33m=============================== warnings summary ===============================[0m | |
| ../../nix/store/y01qc8w1k3v7iff5phc4d231yybphr54-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/config/__init__.py:1474 | |
| /nix/store/y01qc8w1k3v7iff5phc4d231yybphr54-python3.13-pytest-8.4.2/lib/python3.13/site-packages/_pytest/config/__init__.py:1474: PytestConfigWarning: Unknown config option: env | |
| self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") | |
| -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
| [36m[1m=========================== short test summary info ============================[0m | |
| [31mFAILED[0m tests/unit/test_file_limit.py::[1mtest_too_many_open_files[0m - RuntimeError: failed to query /nix/store/83q9jy6qmldz45pi0qa7nab3s8drdl3q-p... | |
| [31m= [31m[1m1 failed[0m, [32m288 passed[0m, [33m38 skipped[0m, [33m2 deselected[0m, [33m1 warning[0m[31m in 63.73s (0:01:03)[0m[31m =[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment