Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: pythone312.proxmoxer #353441

Closed
zoechi opened this issue Nov 3, 2024 · 2 comments
Closed

Build failure: pythone312.proxmoxer #353441

zoechi opened this issue Nov 3, 2024 · 2 comments
Labels

Comments

@zoechi
Copy link

zoechi commented Nov 3, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. enable Prometheus pve exporter
services.prometheus = {
  enable = true;
  exporters.pve.enable = true;
}

or add proxmoxve to Homeassistant

services.home-assistant = {
  enable = true;
  extraComponents = ["proxmoxve"];
}

Build log

Prometheus pve exporter
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/06zfbw12ivi0hv5p3mjvxlz4czk6zbyc-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/tools/test_tasks.py
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
Creating a wheel...
�[1m* Getting build dependencies for wheel...�[0m
running egg_info
creating proxmoxer.egg-info
writing proxmoxer.egg-info/PKG-INFO
writing dependency_links to proxmoxer.egg-info/dependency_links.txt
writing top-level names to proxmoxer.egg-info/top_level.txt
writing manifest file 'proxmoxer.egg-info/SOURCES.txt'
reading manifest file 'proxmoxer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.txt'
warning: no previously-included files matching '*.orig' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.log' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'proxmoxer.egg-info/SOURCES.txt'
�[1m* Building wheel...�[0m
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/proxmoxer
copying proxmoxer/__init__.py -> build/lib/proxmoxer
copying proxmoxer/core.py -> build/lib/proxmoxer
creating build/lib/proxmoxer/backends
copying proxmoxer/backends/__init__.py -> build/lib/proxmoxer/backends
copying proxmoxer/backends/https.py -> build/lib/proxmoxer/backends
copying proxmoxer/backends/local.py -> build/lib/proxmoxer/backends
copying proxmoxer/backends/command_base.py -> build/lib/proxmoxer/backends
copying proxmoxer/backends/ssh_paramiko.py -> build/lib/proxmoxer/backends
copying proxmoxer/backends/openssh.py -> build/lib/proxmoxer/backends
creating build/lib/proxmoxer/tools
copying proxmoxer/tools/__init__.py -> build/lib/proxmoxer/tools
copying proxmoxer/tools/files.py -> build/lib/proxmoxer/tools
copying proxmoxer/tools/tasks.py -> build/lib/proxmoxer/tools
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/proxmoxer
copying build/lib/proxmoxer/__init__.py -> build/bdist.linux-x86_64/wheel/proxmoxer
creating build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/backends/__init__.py -> build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/backends/https.py -> build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/backends/local.py -> build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/backends/command_base.py -> build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/backends/ssh_paramiko.py -> build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/backends/openssh.py -> build/bdist.linux-x86_64/wheel/proxmoxer/backends
copying build/lib/proxmoxer/core.py -> build/bdist.linux-x86_64/wheel/proxmoxer
creating build/bdist.linux-x86_64/wheel/proxmoxer/tools
copying build/lib/proxmoxer/tools/__init__.py -> build/bdist.linux-x86_64/wheel/proxmoxer/tools
copying build/lib/proxmoxer/tools/files.py -> build/bdist.linux-x86_64/wheel/proxmoxer/tools
copying build/lib/proxmoxer/tools/tasks.py -> build/bdist.linux-x86_64/wheel/proxmoxer/tools
running install_egg_info
running egg_info
writing proxmoxer.egg-info/PKG-INFO
writing dependency_links to proxmoxer.egg-info/dependency_links.txt
writing top-level names to proxmoxer.egg-info/top_level.txt
reading manifest file 'proxmoxer.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.txt'
warning: no previously-included files matching '*.orig' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.log' found anywhere in distribution
warning: no previously-included files matching '*.swp' found anywhere in distribution
adding license file 'LICENSE.txt'
writing manifest file 'proxmoxer.egg-info/SOURCES.txt'
Copying proxmoxer.egg-info to build/bdist.linux-x86_64/wheel/proxmoxer-2.1.0-py3.12.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/proxmoxer-2.1.0.dist-info/WHEEL
creating '/build/source/dist/.tmp-_z4l_urf/proxmoxer-2.1.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'proxmoxer/__init__.py'
adding 'proxmoxer/core.py'
adding 'proxmoxer/backends/__init__.py'
adding 'proxmoxer/backends/command_base.py'
adding 'proxmoxer/backends/https.py'
adding 'proxmoxer/backends/local.py'
adding 'proxmoxer/backends/openssh.py'
adding 'proxmoxer/backends/ssh_paramiko.py'
adding 'proxmoxer/tools/__init__.py'
adding 'proxmoxer/tools/files.py'
adding 'proxmoxer/tools/tasks.py'
adding 'proxmoxer-2.1.0.dist-info/LICENSE.txt'
adding 'proxmoxer-2.1.0.dist-info/METADATA'
adding 'proxmoxer-2.1.0.dist-info/WHEEL'
adding 'proxmoxer-2.1.0.dist-info/top_level.txt'
adding 'proxmoxer-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
�[1m�[92mSuccessfully built �[4mproxmoxer-2.1.0-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 proxmoxer-2.1.0-py3-none-any.whl
Finished executing pythonRuntimeDepsCheck
Running phase: installPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Executing pypaInstallPhase
Successfully installed proxmoxer-2.1.0-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/gla3z9wy4vkdis3mrm2xwswb5n31k2nn-python3.12-proxmoxer-2.1.0
checking for references to /build/ in /nix/store/gla3z9wy4vkdis3mrm2xwswb5n31k2nn-python3.12-proxmoxer-2.1.0...
patching script interpreter paths in /nix/store/gla3z9wy4vkdis3mrm2xwswb5n31k2nn-python3.12-proxmoxer-2.1.0
stripping (with command strip and flags -S -p) in  /nix/store/gla3z9wy4vkdis3mrm2xwswb5n31k2nn-python3.12-proxmoxer-2.1.0/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/kv34gxyk72nad36fpf4nk7k485xq3i9s-python3.12-proxmoxer-2.1.0-dist
checking for references to /build/ in /nix/store/kv34gxyk72nad36fpf4nk7k485xq3i9s-python3.12-proxmoxer-2.1.0-dist...
patching script interpreter paths in /nix/store/kv34gxyk72nad36fpf4nk7k485xq3i9s-python3.12-proxmoxer-2.1.0-dist
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: proxmoxer
Running phase: pytestCheckPhase
@nix { "action": "setPhase", "phase": "pytestCheckPhase" }
Executing pytestCheckPhase
�[1m============================= test session starts ==============================�[0m
platform linux -- Python 3.12.6, pytest-8.3.2, pluggy-1.5.0
rootdir: /build/source
configfile: pyproject.toml
�[1mcollecting ... �[0m�[1m
collected 19 items                                                             �[0m
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/build/source/proxmoxer/backends/ssh_paramiko.py", line 20, in <module>
INTERNALERROR>     import paramiko
INTERNALERROR>   File "/nix/store/hdsahpv8zxkcgl16gmkkxnks1f0dv8xw-python3.12-paramiko-3.5.0/lib/python3.12/site-packages/paramiko/__init__.py", line 22, in <module>
INTERNALERROR>     from paramiko.transport import (
INTERNALERROR>   File "/nix/store/hdsahpv8zxkcgl16gmkkxnks1f0dv8xw-python3.12-paramiko-3.5.0/lib/python3.12/site-packages/paramiko/transport.py", line 99, in <module>
INTERNALERROR>     from paramiko.ed25519key import Ed25519Key
INTERNALERROR>   File "/nix/store/hdsahpv8zxkcgl16gmkkxnks1f0dv8xw-python3.12-paramiko-3.5.0/lib/python3.12/site-packages/paramiko/ed25519key.py", line 22, in <module>
INTERNALERROR>     import nacl.signing
INTERNALERROR> ModuleNotFoundError: No module named 'nacl'
INTERNALERROR> 
INTERNALERROR> During handling of the above exception, another exception occurred:
INTERNALERROR> 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 283, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>                          ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 336, in _main
INTERNALERROR>     config.hook.pytest_collection(session=session)
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR>     raise exception.with_traceback(exception.__traceback__)
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/logging.py", line 792, in pytest_collection
INTERNALERROR>     return (yield)
INTERNALERROR>             ^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/warnings.py", line 121, in pytest_collection
INTERNALERROR>     return (yield)
INTERNALERROR>             ^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/config/__init__.py", line 1413, in pytest_collection
INTERNALERROR>     return (yield)
INTERNALERROR>             ^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 347, in pytest_collection
INTERNALERROR>     session.perform_collect()
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 809, in perform_collect
INTERNALERROR>     self.items.extend(self.genitems(node))
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 975, in genitems
INTERNALERROR>     yield from self.genitems(subnode)
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 975, in genitems
INTERNALERROR>     yield from self.genitems(subnode)
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 970, in genitems
INTERNALERROR>     rep, duplicate = self._collect_one_node(node, handle_dupes)
INTERNALERROR>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/main.py", line 835, in _collect_one_node
INTERNALERROR>     rep = collect_one_node(node)
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 567, in collect_one_node
INTERNALERROR>     rep: CollectReport = ihook.pytest_make_collect_report(collector=collector)
INTERNALERROR>                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__
INTERNALERROR>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR>     raise exception.with_traceback(exception.__traceback__)
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/capture.py", line 859, in pytest_make_collect_report
INTERNALERROR>     rep = yield
INTERNALERROR>           ^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 391, in pytest_make_collect_report
INTERNALERROR>     call = CallInfo.from_call(
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call
INTERNALERROR>     result: TResult | None = func()
INTERNALERROR>                              ^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 389, in collect
INTERNALERROR>     return list(collector.collect())
INTERNALERROR>                 ^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 549, in collect
INTERNALERROR>     self._register_setup_module_fixture()
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 562, in _register_setup_module_fixture
INTERNALERROR>     self.obj, ("setUpModule", "setup_module")
INTERNALERROR>     ^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 284, in obj
INTERNALERROR>     self._obj = obj = self._getobj()
INTERNALERROR>                       ^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 546, in _getobj
INTERNALERROR>     return importtestmodule(self.path, self.config)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 493, in importtestmodule
INTERNALERROR>     mod = import_path(
INTERNALERROR>           ^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/pathlib.py", line 582, in import_path
INTERNALERROR>     importlib.import_module(module_name)
INTERNALERROR>   File "/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/lib/python3.12/importlib/__init__.py", line 90, in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 174, in exec_module
INTERNALERROR>     exec(co, module.__dict__)
INTERNALERROR>   File "/build/source/tests/test_core.py", line 18, in <module>
INTERNALERROR>     from .test_paramiko import mock_ssh_client  # pylint: disable=unused-import # noqa: F401
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 174, in exec_module
INTERNALERROR>     exec(co, module.__dict__)
INTERNALERROR>   File "/build/source/tests/test_paramiko.py", line 11, in <module>
INTERNALERROR>     from proxmoxer.backends import ssh_paramiko
INTERNALERROR>   File "/build/source/proxmoxer/backends/ssh_paramiko.py", line 25, in <module>
INTERNALERROR>     sys.exit(1)
INTERNALERROR> SystemExit: 1
mainloop: caught unexpected SystemExit!

�[33m============================ �[33mno tests ran�[0m�[33m in 0.18s�[0m�[33m =============================�[0m

homeassistant extraComponents proxmoxve
❯ nix log /nix/store/bviwwp76c1rp9adx2nhwxrzrlvibi7ci-python3.12-proxmoxer-2.1.0.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/bviwwp76c1rp9adx2nhwxrzrlvibi7ci-python3.12-proxmoxer-2.1.0.drv^*'
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/06zfbw12ivi0hv5p3mjvxlz4czk6zbyc-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/tools/test_tasks.py
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
INTERNALERROR>     raise exception.with_traceback(exception.__traceback__)
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 122, in _multicall
INTERNALERROR>     teardown.throw(exception)  # type: ignore[union-attr]
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/capture.py", line 859, in pytest_mak>
INTERNALERROR>     rep = yield
INTERNALERROR>           ^^^^^
INTERNALERROR>   File "/nix/store/z2lf0rqj6ymsrm1lpj0x1hb4xa6c66lm-python3.12-pluggy-1.5.0/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>           ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 391, in pytest_make>
INTERNALERROR>     call = CallInfo.from_call(
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call
INTERNALERROR>     result: TResult | None = func()
INTERNALERROR>                              ^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/runner.py", line 389, in collect
INTERNALERROR>     return list(collector.collect())
INTERNALERROR>                 ^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 549, in collect
INTERNALERROR>     self._register_setup_module_fixture()
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 562, in _register_s>
INTERNALERROR>     self.obj, ("setUpModule", "setup_module")
INTERNALERROR>     ^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 284, in obj
INTERNALERROR>     self._obj = obj = self._getobj()
INTERNALERROR>                       ^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 546, in _getobj
INTERNALERROR>     return importtestmodule(self.path, self.config)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/python.py", line 493, in importtestm>
INTERNALERROR>     mod = import_path(
INTERNALERROR>           ^^^^^^^^^^^^
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/pathlib.py", line 582, in import_path
INTERNALERROR>     importlib.import_module(module_name)
INTERNALERROR>   File "/nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/lib/python3.12/importlib/__init__.py", line 90, in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 174, in >
INTERNALERROR>     exec(co, module.__dict__)
INTERNALERROR>   File "/build/source/tests/test_core.py", line 18, in <module>
INTERNALERROR>     from .test_paramiko import mock_ssh_client  # pylint: disable=unused-import # noqa: F401
INTERNALERROR>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
INTERNALERROR>   File "/nix/store/jg57r8qzv6rxscyx1d9q027m1zcm5acq-python3.12-pytest-8.3.2/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 174, in >
INTERNALERROR>     exec(co, module.__dict__)
INTERNALERROR>   File "/build/source/tests/test_paramiko.py", line 11, in <module>
INTERNALERROR>     from proxmoxer.backends import ssh_paramiko
INTERNALERROR>   File "/build/source/proxmoxer/backends/ssh_paramiko.py", line 25, in <module>
INTERNALERROR>     sys.exit(1)
INTERNALERROR> SystemExit: 1
mainloop: caught unexpected SystemExit!

============================ no tests ran in 0.15s =============================

Additional context

At first it looked like #349408
After the fix for #349408 landed I got this new error reported above.

Notify maintainers

@fabaff

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.6.58, NixOS, 24.11 (Vicuna), 24.11.20241029.807e915
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.18.8
  • nixpkgs: /nix/store/lsy6c2f9alj2gkjj36h754kk63x6701l-source

Add a 👍 reaction to issues you find important.

@zoechi zoechi added the 0.kind: build failure A package fails to build label Nov 3, 2024
@fabaff
Copy link
Member

fabaff commented Nov 6, 2024

python312Packages.proxmoxer seems to build fine on master. hydra is also not complaining (https://hydra.nixos.org/eval/1809808?filter=python312Packages.proxmoxer&compare=1809802&full=#tabs-still-succeed).

@zoechi
Copy link
Author

zoechi commented Nov 6, 2024

@fabaff Thanks for checking.
I just run nix flake update and rebuilt and both cases are building fine now.

Whatever the root cause was it was fixed recently because I'm pretty sure I re-added the failing components and tried to rebuild and it still failed only one or two days ago.

@zoechi zoechi closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants