running pytest running egg_info creating nodeenv.egg-info writing nodeenv.egg-info/PKG-INFO writing dependency_links to nodeenv.egg-info/dependency_links.txt writing entry points to nodeenv.egg-info/entry_points.txt writing top-level names to nodeenv.egg-info/top_level.txt writing manifest file 'nodeenv.egg-info/SOURCES.txt' reading manifest file 'nodeenv.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'setup.cfg' no previously-included directories found matching 'debian-upstream/nodeenv' no previously-included directories found matching 'debian-upstream/sdist' warning: no previously-included files matching '*.log' found under directory 'debian-upstream' warning: no previously-included files matching '*.substvars' found under directory 'debian-upstream' warning: no previously-included files matching 'files' found under directory 'debian-upstream' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'nodeenv.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-nodeenv/src/nodeenv-1.6.0, configfile: tox.ini collected 14 items tests/nodeenv_test.py F....... [ 57%] tests/test_install_activate.py ...... [100%] =================================== FAILURES =================================== __________________________________ test_smoke __________________________________ tmpdir = local('/tmp/pytest-of-builduser/pytest-0/test_smoke0') @pytest.mark.integration def test_smoke(tmpdir): nenv_path = tmpdir.join('nenv').strpath > subprocess.check_call([ # Enable coverage 'coverage', 'run', '-p', '-m', 'nodeenv', '--prebuilt', nenv_path, ]) tests/nodeenv_test.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['coverage', 'run', '-p', '-m', 'nodeenv', '--prebuilt', ...],) kwargs = {}, retcode = 1 cmd = ['coverage', 'run', '-p', '-m', 'nodeenv', '--prebuilt', ...] def check_call(*popenargs, **kwargs): """Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the call function. Example: check_call(["ls", "-l"]) """ retcode = call(*popenargs, **kwargs) if retcode: cmd = kwargs.get("args") if cmd is None: cmd = popenargs[0] > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['coverage', 'run', '-p', '-m', 'nodeenv', '--prebuilt', '/tmp/pytest-of-builduser/pytest-0/test_smoke0/nenv']' returned non-zero exit status 1. /usr/lib/python3.10/subprocess.py:369: CalledProcessError ----------------------------- Captured stderr call ----------------------------- * Install prebuilt node (17.3.0) Traceback (most recent call last): File "/build/python-nodeenv/src/nodeenv-1.6.0/nodeenv.py", line 1494, in main() File "/build/python-nodeenv/src/nodeenv-1.6.0/nodeenv.py", line 1079, in main create_environment(env_dir, opt) File "/build/python-nodeenv/src/nodeenv-1.6.0/nodeenv.py", line 956, in create_environment install_node(env_dir, src_dir, opt) File "/build/python-nodeenv/src/nodeenv-1.6.0/nodeenv.py", line 721, in install_node install_node_wrapped(env_dir, src_dir, opt) File "/build/python-nodeenv/src/nodeenv-1.6.0/nodeenv.py", line 737, in install_node_wrapped node_url = get_node_bin_url(opt.node) File "/build/python-nodeenv/src/nodeenv-1.6.0/nodeenv.py", line 537, in get_node_bin_url 'arch': archmap[platform.machine()], KeyError: 'riscv64' =============================== warnings summary =============================== tests/nodeenv_test.py:50 /build/python-nodeenv/src/nodeenv-1.6.0/tests/nodeenv_test.py:50: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def mock_index_json(): tests/nodeenv_test.py:58 /build/python-nodeenv/src/nodeenv-1.6.0/tests/nodeenv_test.py:58: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def cap_logging_info(): -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/nodeenv_test.py::test_smoke - subprocess.CalledProcessError: Com... ================== 1 failed, 13 passed, 2 warnings in 11.18s =================== ==> ERROR: A failure occurred in check().  Aborting...