==> Building on froslass ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-psutil ./ .SRCINFO 910 100% 0.00kB/s 0:00:00 910 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) .nvchecker.toml 48 100% 46.88kB/s 0:00:00 48 100% 46.88kB/s 0:00:00 (xfr#2, to-chk=3/6) PKGBUILD 2,160 100% 2.06MB/s 0:00:00 2,160 100% 2.06MB/s 0:00:00 (xfr#3, to-chk=2/6) python-psutil-7.0.0-1.log 248 100% 242.19kB/s 0:00:00 248 100% 242.19kB/s 0:00:00 (xfr#4, to-chk=1/6) python-psutil-dont-package-tests.patch 616 100% 601.56kB/s 0:00:00 616 100% 601.56kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 2,473 bytes received 159 bytes 1,754.67 bytes/sec total size is 3,929 speedup is 1.49 ==> Applying RISC-V patches... sending incremental file list ./ psutil-riscv.patch 1,589 100% 0.00kB/s 0:00:00 1,589 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) riscv64.patch 934 100% 912.11kB/s 0:00:00 934 100% 912.11kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,312 bytes received 57 bytes 2,738.00 bytes/sec total size is 2,523 speedup is 1.84 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 --repo extra on remote host... ==> WARNING: unsupported architecture: riscv64 ==> Building python-psutil  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building python-psutil for [extra] (riscv64) ]2;🔵 Container arch-nspawn-535404 on froslass.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... error: restricting filesystem access failed because landlock is not supported by the kernel! :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: python-psutil 7.0.0-1 (Mon Apr 14 22:03:09 2025) ==> Retrieving sources...  -> Downloading python-psutil-7.0.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 36869 0 36869 0 0 30494 0 --:--:-- 0:00:01 --:--:-- 30494 100 1952k 0 1952k 0 0 1102k 0 --:--:-- 0:00:01 --:--:-- 3415k  -> Found python-psutil-dont-package-tests.patch  -> Found psutil-riscv.patch ==> Validating source files with sha512sums... python-psutil-7.0.0.tar.gz ... Passed python-psutil-dont-package-tests.patch ... Passed psutil-riscv.patch ... Passed ]2;🔵 Container arch-nspawn-536485 on froslass.felixc.at\==> Making package: python-psutil 7.0.0-1 (Mon Apr 14 22:03:32 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change extra/mpdecimal 4.0.0-2 0.29 MiB core/python 3.13.2-1 108.68 MiB Total Installed Size: 108.97 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (18) New Version Net Change Download Size extra/python-autocommand 2.2.2-7 0.08 MiB extra/python-iniconfig 2.1.0-1 0.04 MiB 0.01 MiB extra/python-jaraco.collections 5.1.0-1 0.10 MiB extra/python-jaraco.context 6.0.1-1 0.04 MiB extra/python-jaraco.functools 4.1.0-1 0.07 MiB extra/python-jaraco.text 4.0.0-2 0.08 MiB extra/python-more-itertools 10.6.0-1 0.66 MiB extra/python-packaging 24.2-3 0.66 MiB extra/python-platformdirs 4.3.6-2 0.24 MiB extra/python-pluggy 1.5.0-3 0.20 MiB extra/python-pyproject-hooks 1.2.0-3 0.10 MiB core/net-tools 2.10-3 0.46 MiB 0.14 MiB core/procps-ng 4.0.5-3 2.38 MiB 0.88 MiB extra/python-build 1.2.2-3 0.20 MiB extra/python-installer 0.7.0-10 0.17 MiB extra/python-pytest 1:8.3.5-1 3.93 MiB extra/python-setuptools 1:75.8.0-1 8.15 MiB extra/python-wheel 0.45.1-1 0.28 MiB Total Download Size: 1.04 MiB Total Installed Size: 17.85 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... procps-ng-4.0.5-3-riscv64 downloading... net-tools-2.10-3-riscv64 downloading... python-iniconfig-2.1.0-1-any downloading... error: restricting filesystem access failed because landlock is not supported by the kernel! checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing net-tools... installing procps-ng... installing python-iniconfig... installing python-pluggy... installing python-pytest... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources...  -> Found python-psutil-7.0.0.tar.gz  -> Found python-psutil-dont-package-tests.patch  -> Found psutil-riscv.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-psutil-7.0.0.tar.gz with bsdtar ==> Starting prepare()... patching file setup.py Hunk #1 succeeded at 26 with fuzz 2 (offset 4 lines). Hunk #2 succeeded at 491 (offset 5 lines). patching file psutil/tests/__init__.py Hunk #2 succeeded at 191 (offset -1 lines). Hunk #3 succeeded at 201 (offset -1 lines). ==> Starting build()... * Getting build dependencies for wheel... running egg_info creating psutil.egg-info writing psutil.egg-info/PKG-INFO writing dependency_links to psutil.egg-info/dependency_links.txt writing requirements to psutil.egg-info/requires.txt writing top-level names to psutil.egg-info/top_level.txt writing manifest file 'psutil.egg-info/SOURCES.txt' reading manifest file 'psutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'psutil.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build/lib.linux-riscv64-cpython-313/psutil copying psutil/_psaix.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_pswindows.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_common.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_psosx.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_pslinux.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_psposix.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_pssunos.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/__init__.py -> build/lib.linux-riscv64-cpython-313/psutil copying psutil/_psbsd.py -> build/lib.linux-riscv64-cpython-313/psutil running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-riscv64-cpython-313/psutil creating build/temp.linux-riscv64-cpython-313/psutil/arch/linux gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/_psutil_common.c -o build/temp.linux-riscv64-cpython-313/psutil/_psutil_common.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/_psutil_linux.c -o build/temp.linux-riscv64-cpython-313/psutil/_psutil_linux.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-cpython-313/psutil/_psutil_posix.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/arch/linux/disk.c -o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/disk.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/arch/linux/mem.c -o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/mem.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/arch/linux/net.c -o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/net.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/arch/linux/proc.c -o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/proc.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/arch/linux/users.c -o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/users.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto build/temp.linux-riscv64-cpython-313/psutil/_psutil_common.o build/temp.linux-riscv64-cpython-313/psutil/_psutil_linux.o build/temp.linux-riscv64-cpython-313/psutil/_psutil_posix.o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/disk.o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/mem.o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/net.o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/proc.o build/temp.linux-riscv64-cpython-313/psutil/arch/linux/users.o -L/usr/lib -o build/lib.linux-riscv64-cpython-313/psutil/_psutil_linux.abi3.so building 'psutil._psutil_posix' extension gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/_psutil_common.c -o build/temp.linux-riscv64-cpython-313/psutil/_psutil_common.o gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/usr/include/python3.13 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-cpython-313/psutil/_psutil_posix.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-psutil/src=/usr/src/debug/python-psutil -flto=auto build/temp.linux-riscv64-cpython-313/psutil/_psutil_common.o build/temp.linux-riscv64-cpython-313/psutil/_psutil_posix.o -L/usr/lib -o build/lib.linux-riscv64-cpython-313/psutil/_psutil_posix.abi3.so installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/psutil copying build/lib.linux-riscv64-cpython-313/psutil/_psaix.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_pswindows.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_common.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_psosx.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_psutil_linux.abi3.so -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_pslinux.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_psposix.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_pssunos.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/__init__.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_psbsd.py -> build/bdist.linux-riscv64/wheel/./psutil copying build/lib.linux-riscv64-cpython-313/psutil/_psutil_posix.abi3.so -> build/bdist.linux-riscv64/wheel/./psutil running install_egg_info running egg_info writing psutil.egg-info/PKG-INFO writing dependency_links to psutil.egg-info/dependency_links.txt writing requirements to psutil.egg-info/requires.txt writing top-level names to psutil.egg-info/top_level.txt reading manifest file 'psutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'psutil.egg-info/SOURCES.txt' Copying psutil.egg-info to build/bdist.linux-riscv64/wheel/./psutil-7.0.0-py3.13.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/psutil-7.0.0.dist-info/WHEEL creating '/build/python-psutil/src/psutil-release-7.0.0/dist/.tmp-5imncc1_/psutil-7.0.0-cp36-abi3-linux_riscv64.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'psutil/__init__.py' adding 'psutil/_common.py' adding 'psutil/_psaix.py' adding 'psutil/_psbsd.py' adding 'psutil/_pslinux.py' adding 'psutil/_psosx.py' adding 'psutil/_psposix.py' adding 'psutil/_pssunos.py' adding 'psutil/_psutil_linux.abi3.so' adding 'psutil/_psutil_posix.abi3.so' adding 'psutil/_pswindows.py' adding 'psutil-7.0.0.dist-info/LICENSE' adding 'psutil-7.0.0.dist-info/METADATA' adding 'psutil-7.0.0.dist-info/WHEEL' adding 'psutil-7.0.0.dist-info/top_level.txt' adding 'psutil-7.0.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built psutil-7.0.0-cp36-abi3-linux_riscv64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 rootdir: /build/python-psutil/src/psutil-release-7.0.0 configfile: pyproject.toml collected 683 items / 4 deselected / 679 selected test-env/lib/python3.13/site-packages/psutil/tests/test_aix.py sssss [ 0%] test-env/lib/python3.13/site-packages/psutil/tests/test_bsd.py sssssssss [ 2%] sssssssssssssssssssssssssssssssssssssss [ 7%] test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py . [ 7%] ................ [ 10%] test-env/lib/python3.13/site-packages/psutil/tests/test_contracts.py ... [ 10%] s................s.................. [ 16%] test-env/lib/python3.13/site-packages/psutil/tests/test_linux.py ....s.. [ 17%] ...s.....................s.F.F...................s.s........sssssssss... [ 27%] .............................. [ 32%] test-env/lib/python3.13/site-packages/psutil/tests/test_memleaks.py .... [ 32%] ...................s...s.......s.......................s...s.......sss.. [ 43%] ........s.............. [ 46%] test-env/lib/python3.13/site-packages/psutil/tests/test_misc.py ........ [ 47%] ...................................... [ 53%] test-env/lib/python3.13/site-packages/psutil/tests/test_osx.py sssssssss [ 54%] sssss [ 55%] test-env/lib/python3.13/site-packages/psutil/tests/test_posix.py ....... [ 56%] ...............ss. [ 59%] test-env/lib/python3.13/site-packages/psutil/tests/test_process.py ..... [ 59%] ..................s.............s.......................s............... [ 70%] ... [ 70%] test-env/lib/python3.13/site-packages/psutil/tests/test_process_all.py . [ 71%] . [ 71%] test-env/lib/python3.13/site-packages/psutil/tests/test_scripts.py sssss [ 72%] sssssssssssssssssssssss [ 75%] test-env/lib/python3.13/site-packages/psutil/tests/test_sunos.py ss [ 75%] test-env/lib/python3.13/site-packages/psutil/tests/test_system.py ...... [ 76%] ......s...s.F.................s....s... [ 82%] test-env/lib/python3.13/site-packages/psutil/tests/test_testutils.py ... [ 82%] .......................s............. [ 88%] test-env/lib/python3.13/site-packages/psutil/tests/test_unicode.py ..... [ 88%] ....sssssssss. [ 91%] test-env/lib/python3.13/site-packages/psutil/tests/test_windows.py sssss [ 91%] ssssssssssssssssssssssssssssssssssssssssssssssssssssssss [100%] =================================== FAILURES =================================== ________________ TestSystemCPUFrequency.test_emulate_multi_cpu _________________ self = @pytest.mark.skipif(not HAS_CPU_FREQ, reason="not supported") def test_emulate_multi_cpu(self): def open_mock(name, *args, **kwargs): n = name if n.endswith('/scaling_cur_freq') and n.startswith( "/sys/devices/system/cpu/cpufreq/policy0" ): return io.BytesIO(b"100000") elif n.endswith('/scaling_min_freq') and n.startswith( "/sys/devices/system/cpu/cpufreq/policy0" ): return io.BytesIO(b"200000") elif n.endswith('/scaling_max_freq') and n.startswith( "/sys/devices/system/cpu/cpufreq/policy0" ): return io.BytesIO(b"300000") elif n.endswith('/scaling_cur_freq') and n.startswith( "/sys/devices/system/cpu/cpufreq/policy1" ): return io.BytesIO(b"400000") elif n.endswith('/scaling_min_freq') and n.startswith( "/sys/devices/system/cpu/cpufreq/policy1" ): return io.BytesIO(b"500000") elif n.endswith('/scaling_max_freq') and n.startswith( "/sys/devices/system/cpu/cpufreq/policy1" ): return io.BytesIO(b"600000") elif name == '/proc/cpuinfo': return io.BytesIO(b"cpu MHz : 100\ncpu MHz : 400") else: return orig_open(name, *args, **kwargs) orig_open = open with mock.patch("builtins.open", side_effect=open_mock): with mock.patch('os.path.exists', return_value=True): with mock.patch( 'psutil._pslinux.cpu_count_logical', return_value=2 ): freq = psutil.cpu_freq(percpu=True) assert freq[0].current == 100.0 if freq[0].min != 0.0: assert freq[0].min == 200.0 if freq[0].max != 0.0: assert freq[0].max == 300.0 > assert freq[1].current == 400.0 E IndexError: list index out of range test-env/lib/python3.13/site-packages/psutil/tests/test_linux.py:882: IndexError _______________ TestSystemCPUFrequency.test_emulate_use_cpuinfo ________________ self = @pytest.mark.skipif(not HAS_CPU_FREQ, reason="not supported") @pytest.mark.skipif( AARCH64, reason="aarch64 does not report mhz in /proc/cpuinfo" ) def test_emulate_use_cpuinfo(self): # Emulate a case where /sys/devices/system/cpu/cpufreq* does not # exist and /proc/cpuinfo is used instead. def path_exists_mock(path): if path.startswith('/sys/devices/system/cpu/'): return False else: return os_path_exists(path) os_path_exists = os.path.exists try: with mock.patch("os.path.exists", side_effect=path_exists_mock): reload_module(psutil._pslinux) ret = psutil.cpu_freq() > assert ret, ret E AssertionError: None E assert None test-env/lib/python3.13/site-packages/psutil/tests/test_linux.py:795: AssertionError __________________________ TestCpuAPIs.test_cpu_freq ___________________________ self = @pytest.mark.skipif( MACOS and platform.machine() == 'arm64', reason="skipped due to #1892" ) @pytest.mark.skipif(not HAS_CPU_FREQ, reason="not supported") def test_cpu_freq(self): def check_ls(ls): for nt in ls: assert nt._fields == ('current', 'min', 'max') if nt.max != 0.0: assert nt.current <= nt.max for name in nt._fields: value = getattr(nt, name) assert isinstance(value, (int, float)) assert value >= 0 ls = psutil.cpu_freq(percpu=True) if (FREEBSD or AARCH64) and not ls: raise pytest.skip( "returns empty list on FreeBSD and Linux aarch64" ) assert ls, ls check_ls([psutil.cpu_freq(percpu=False)]) if LINUX: > assert len(ls) == psutil.cpu_count() E assert 1 == 4 E + where 1 = len([scpufreq(current=1848.0, min=300.0, max=1848.0)]) E + and 4 = () E + where = psutil.cpu_count test-env/lib/python3.13/site-packages/psutil/tests/test_system.py:610: AssertionError =============================== warnings summary =============================== test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py:56 /build/python-psutil/src/psutil-release-7.0.0/test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py:56: PytestUnknownMarkWarning: Unknown pytest.mark.xdist_group - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xdist_group(name="serial") test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py:105 /build/python-psutil/src/psutil-release-7.0.0/test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py:105: PytestUnknownMarkWarning: Unknown pytest.mark.xdist_group - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xdist_group(name="serial") test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py:199 /build/python-psutil/src/psutil-release-7.0.0/test-env/lib/python3.13/site-packages/psutil/tests/test_connections.py:199: PytestUnknownMarkWarning: Unknown pytest.mark.xdist_group - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xdist_group(name="serial") test-env/lib/python3.13/site-packages/psutil/tests/test_testutils.py:367 /build/python-psutil/src/psutil-release-7.0.0/test-env/lib/python3.13/site-packages/psutil/tests/test_testutils.py:367: PytestUnknownMarkWarning: Unknown pytest.mark.xdist_group - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xdist_group(name="serial") test-env/lib/python3.13/site-packages/psutil/tests/test_unicode.py:149 /build/python-psutil/src/psutil-release-7.0.0/test-env/lib/python3.13/site-packages/psutil/tests/test_unicode.py:149: PytestUnknownMarkWarning: Unknown pytest.mark.xdist_group - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.xdist_group(name="serial") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test-env/lib/python3.13/site-packages/psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_multi_cpu FAILED test-env/lib/python3.13/site-packages/psutil/tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo FAILED test-env/lib/python3.13/site-packages/psutil/tests/test_system.py::TestCpuAPIs::test_cpu_freq ==== 3 failed, 474 passed, 202 skipped, 4 deselected, 5 warnings in 32.26s ===== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list python-psutil-7.0.0-1-riscv64-build.log python-psutil-7.0.0-1-riscv64-check.log python-psutil-7.0.0-1-riscv64-prepare.log sent 81 bytes received 3,798 bytes 7,758.00 bytes/sec total size is 22,169 speedup is 5.72