!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

506 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant127 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Oct 2024
@hexa:lossy.network@hexa:lossy.networkwhat branch? what system architecture?14:47:57
@hexa:lossy.network@hexa:lossy.networkmaster on x86_64-linux:14:48:06
@hexa:lossy.network@hexa:lossy.network
chacha20poly1305-reuseable> Executing pytestCheckPhase
chacha20poly1305-reuseable> ============================= test session starts ==============================
chacha20poly1305-reuseable> platform linux -- Python 3.12.6, pytest-8.3.2, pluggy-1.5.0 -- /nix/store/wfbjq35kxs6x83c3ncpfxdyl5gbhdx4h-python3-3.12.6/bin/python3.12
chacha20poly1305-reuseable> cachedir: .pytest_cache
chacha20poly1305-reuseable> rootdir: /build/source
chacha20poly1305-reuseable> configfile: pyproject.toml
chacha20poly1305-reuseable> collected 10 items                                                             
chacha20poly1305-reuseable> 
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_data_too_large PASSED [ 10%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_generate_key PASSED [ 20%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_bad_key PASSED    [ 30%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[nonce0-data-] PASSED [ 40%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[000000000000-data1-] PASSED [ 50%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[000000000000-data-associated_data2] PASSED [ 60%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_nonce_not_12_bytes PASSED [ 70%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_decrypt_data_too_short PASSED [ 80%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_associated_data_none_equal_to_empty_bytestring PASSED [ 90%]
chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_buffer_protocol PASSED [100%]
chacha20poly1305-reuseable> 
chacha20poly1305-reuseable> ============================== 10 passed in 1.50s ==============================
chacha20poly1305-reuseable> Finished executing pytestCheckPhase
chacha20poly1305-reuseable> Running phase: pytestcachePhase
chacha20poly1305-reuseable> Running phase: pytestRemoveBytecodePhase
14:48:09
@mackeveli:matrix.orgMackeveli

Yeah it's possible that my Raspi 4 is starting to buckle at the weight of all the services it's running. I'll try again and measure the memory usage as it builds.

I'm on the unstable branch, running on the Raspberry Pi 4B using the generic AArch64 SD image noted on the wiki: https://wiki.nixos.org/wiki/NixOS_on_ARM/Raspberry_Pi_4

14:51:13
@mattleon:matrix.orgmattleonHow much ram does you pi4 have?14:51:55
@k900:0upti.meK900Please don't use threads 14:52:42
@mackeveli:matrix.orgMackeveli
In reply to @mattleon:matrix.org
How much ram does you pi4 have?
It's the 8GB variant
14:53:59
@mackeveli:matrix.orgMackeveli Yeah just tried again and it's def an out of memory problem 14:59:26
@mattleon:matrix.orgmattleon

Builds on my orangepi 5 with 8GB ram:

$ nix build nixpkgs#python3Packages.chacha20poly1305-reuseable -L --rebuild
python3.12-chacha20poly1305-reuseable> Sourcing python-remove-tests-dir-hook
python3.12-chacha20poly1305-reuseable> Sourcing python-catch-conflicts-hook.sh
python3.12-chacha20poly1305-reuseable> Sourcing python-remove-bin-bytecode-hook.sh
python3.12-chacha20poly1305-reuseable> Sourcing pypa-build-hook
python3.12-chacha20poly1305-reuseable> Using pypaBuildPhase
python3.12-chacha20poly1305-reuseable> Sourcing python-runtime-deps-check-hook
python3.12-chacha20poly1305-reuseable> Using pythonRuntimeDepsCheckHook
python3.12-chacha20poly1305-reuseable> Sourcing pypa-install-hook
python3.12-chacha20poly1305-reuseable> Using pypaInstallPhase
python3.12-chacha20poly1305-reuseable> Sourcing python-imports-check-hook.sh
python3.12-chacha20poly1305-reuseable> Using pythonImportsCheckPhase
python3.12-chacha20poly1305-reuseable> Sourcing python-namespaces-hook
python3.12-chacha20poly1305-reuseable> Sourcing python-catch-conflicts-hook.sh
python3.12-chacha20poly1305-reuseable> Sourcing pytest-check-hook
python3.12-chacha20poly1305-reuseable> Using pytestCheckPhase
python3.12-chacha20poly1305-reuseable> Running phase: unpackPhase
python3.12-chacha20poly1305-reuseable> unpacking source archive /nix/store/156x0bsp82cqq2ni86cmjlzbyv651rx9-source
python3.12-chacha20poly1305-reuseable> source root is source
python3.12-chacha20poly1305-reuseable> setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_init.py
python3.12-chacha20poly1305-reuseable> Running phase: patchPhase
python3.12-chacha20poly1305-reuseable> Running phase: updateAutotoolsGnuConfigScriptsPhase
python3.12-chacha20poly1305-reuseable> Running phase: configurePhase
python3.12-chacha20poly1305-reuseable> no configure script, doing nothing
python3.12-chacha20poly1305-reuseable> Running phase: buildPhase
python3.12-chacha20poly1305-reuseable> Executing pypaBuildPhase
python3.12-chacha20poly1305-reuseable> Creating a wheel...
python3.12-chacha20poly1305-reuseable> * Getting build dependencies for wheel...
python3.12-chacha20poly1305-reuseable> * Building wheel...
python3.12-chacha20poly1305-reuseable> Successfully built chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
python3.12-chacha20poly1305-reuseable> Finished creating a wheel...
python3.12-chacha20poly1305-reuseable> /build/source/dist /build/source
python3.12-chacha20poly1305-reuseable> Unpacking to: unpacked/chacha20poly1305_reuseable-0.13.2...OK
python3.12-chacha20poly1305-reuseable> Repacking wheel as ./chacha20poly1305_reuseable-0.13.2-py3-none-any.whl...OK
python3.12-chacha20poly1305-reuseable> /build/source
python3.12-chacha20poly1305-reuseable> Finished executing pypaBuildPhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonRuntimeDepsCheckHook
python3.12-chacha20poly1305-reuseable> Executing pythonRuntimeDepsCheck
python3.12-chacha20poly1305-reuseable> Checking runtime dependencies for chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
python3.12-chacha20poly1305-reuseable> Finished executing pythonRuntimeDepsCheck
python3.12-chacha20poly1305-reuseable> Running phase: installPhase
python3.12-chacha20poly1305-reuseable> Executing pypaInstallPhase
python3.12-chacha20poly1305-reuseable> Successfully installed chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
python3.12-chacha20poly1305-reuseable> Finished executing pypaInstallPhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonOutputDistPhase
python3.12-chacha20poly1305-reuseable> Executing pythonOutputDistPhase
python3.12-chacha20poly1305-reuseable> Finished executing pythonOutputDistPhase
python3.12-chacha20poly1305-reuseable> Running phase: fixupPhase
python3.12-chacha20poly1305-reuseable> shrinking RPATHs of ELF executables and libraries in /nix/store/954kj2rfvh4zxifr0w168f8z0k388hb4-python3.12-chacha20poly1305-reuseable-0.13.2
python3.12-chacha20poly1305-reuseable> checking for references to /build/ in /nix/store/954kj2rfvh4zxifr0w168f8z0k388hb4-python3.12-chacha20poly1305-reuseable-0.13.2...
python3.12-chacha20poly1305-reuseable> patching script interpreter paths in /nix/store/954kj2rfvh4zxifr0w168f8z0k388hb4-python3.12-chacha20poly1305-reuseable-0.13.2
python3.12-chacha20poly1305-reuseable> stripping (with command strip and flags -S -p) in  /nix/store/954kj2rfvh4zxifr0w168f8z0k388hb4-python3.12-chacha20poly1305-reuseable-0.13.2/lib
python3.12-chacha20poly1305-reuseable> shrinking RPATHs of ELF executables and libraries in /nix/store/rp3ydhkprz2b8mjiayap6dnplqdsamf2-python3.12-chacha20poly1305-reuseable-0.13.2-dist
python3.12-chacha20poly1305-reuseable> checking for references to /build/ in /nix/store/rp3ydhkprz2b8mjiayap6dnplqdsamf2-python3.12-chacha20poly1305-reuseable-0.13.2-dist...
python3.12-chacha20poly1305-reuseable> patching script interpreter paths in /nix/store/rp3ydhkprz2b8mjiayap6dnplqdsamf2-python3.12-chacha20poly1305-reuseable-0.13.2-dist
python3.12-chacha20poly1305-reuseable> Executing pythonRemoveTestsDir
python3.12-chacha20poly1305-reuseable> Finished executing pythonRemoveTestsDir
python3.12-chacha20poly1305-reuseable> Running phase: installCheckPhase
python3.12-chacha20poly1305-reuseable> no Makefile or custom installCheckPhase, doing nothing
python3.12-chacha20poly1305-reuseable> Running phase: pythonCatchConflictsPhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonRemoveBinBytecodePhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonImportsCheckPhase
python3.12-chacha20poly1305-reuseable> Executing pythonImportsCheckPhase
python3.12-chacha20poly1305-reuseable> Check whether the following modules can be imported: chacha20poly1305_reuseable
python3.12-chacha20poly1305-reuseable> Running phase: pytestCheckPhase
python3.12-chacha20poly1305-reuseable> Executing pytestCheckPhase
python3.12-chacha20poly1305-reuseable> ============================= test session starts ==============================
python3.12-chacha20poly1305-reuseable> platform linux -- Python 3.12.5, pytest-8.3.2, pluggy-1.5.0 -- /nix/store/6iq3nhgdyp8a5wzwf097zf2mn4zyqxr6-python3-3.12.5/bin/python3.12
python3.12-chacha20poly1305-reuseable> cachedir: .pytest_cache
python3.12-chacha20poly1305-reuseable> rootdir: /build/source
python3.12-chacha20poly1305-reuseable> configfile: pyproject.toml
python3.12-chacha20poly1305-reuseable> collected 10 items
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_data_too_large PASSED [ 10%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_generate_key PASSED [ 20%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_bad_key PASSED    [ 30%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[nonce0-data-] PASSED [ 40%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[000000000000-data1-] PASSED [ 50%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[000000000000-data-associated_data2] PASSED [ 60%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_nonce_not_12_bytes PASSED [ 70%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_decrypt_data_too_short PASSED [ 80%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_associated_data_none_equal_to_empty_bytestring PASSED [ 90%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_buffer_protocol PASSED [100%]
python3.12-chacha20poly1305-reuseable> ============================== 10 passed in 2.19s ==============================
python3.12-chacha20poly1305-reuseable> Finished executing pytestCheckPhase
python3.12-chacha20poly1305-reuseable> Running phase: pytestcachePhase
python3.12-chacha20poly1305-reuseable> Running phase: pytestRemoveBytecodePhase
⏎
matth@orangutan ~> nix build nixpkgs/master#python3Packages.chacha20poly1305-reuseable -L --rebuild
python3.12-chacha20poly1305-reuseable> Sourcing python-remove-tests-dir-hook
python3.12-chacha20poly1305-reuseable> Sourcing python-catch-conflicts-hook.sh
python3.12-chacha20poly1305-reuseable> Sourcing python-remove-bin-bytecode-hook.sh
python3.12-chacha20poly1305-reuseable> Sourcing pypa-build-hook
python3.12-chacha20poly1305-reuseable> Using pypaBuildPhase
python3.12-chacha20poly1305-reuseable> Sourcing python-runtime-deps-check-hook
python3.12-chacha20poly1305-reuseable> Using pythonRuntimeDepsCheckHook
python3.12-chacha20poly1305-reuseable> Sourcing pypa-install-hook
python3.12-chacha20poly1305-reuseable> Using pypaInstallPhase
python3.12-chacha20poly1305-reuseable> Sourcing python-imports-check-hook.sh
python3.12-chacha20poly1305-reuseable> Using pythonImportsCheckPhase
python3.12-chacha20poly1305-reuseable> Sourcing python-namespaces-hook
python3.12-chacha20poly1305-reuseable> Sourcing python-catch-conflicts-hook.sh
python3.12-chacha20poly1305-reuseable> Sourcing pytest-check-hook
python3.12-chacha20poly1305-reuseable> Using pytestCheckPhase
python3.12-chacha20poly1305-reuseable> Running phase: unpackPhase
python3.12-chacha20poly1305-reuseable> unpacking source archive /nix/store/156x0bsp82cqq2ni86cmjlzbyv651rx9-source
python3.12-chacha20poly1305-reuseable> source root is source
python3.12-chacha20poly1305-reuseable> setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_init.py
python3.12-chacha20poly1305-reuseable> Running phase: patchPhase
python3.12-chacha20poly1305-reuseable> Running phase: updateAutotoolsGnuConfigScriptsPhase
python3.12-chacha20poly1305-reuseable> Running phase: configurePhase
python3.12-chacha20poly1305-reuseable> no configure script, doing nothing
python3.12-chacha20poly1305-reuseable> Running phase: buildPhase
python3.12-chacha20poly1305-reuseable> Executing pypaBuildPhase
python3.12-chacha20poly1305-reuseable> Creating a wheel...
python3.12-chacha20poly1305-reuseable> * Getting build dependencies for wheel...
python3.12-chacha20poly1305-reuseable> * Building wheel...
python3.12-chacha20poly1305-reuseable> Successfully built chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
python3.12-chacha20poly1305-reuseable> Finished creating a wheel...
python3.12-chacha20poly1305-reuseable> /build/source/dist /build/source
python3.12-chacha20poly1305-reuseable> Unpacking to: unpacked/chacha20poly1305_reuseable-0.13.2...OK
python3.12-chacha20poly1305-reuseable> Repacking wheel as ./chacha20poly1305_reuseable-0.13.2-py3-none-any.whl...OK
python3.12-chacha20poly1305-reuseable> /build/source
python3.12-chacha20poly1305-reuseable> Finished executing pypaBuildPhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonRuntimeDepsCheckHook
python3.12-chacha20poly1305-reuseable> Executing pythonRuntimeDepsCheck
python3.12-chacha20poly1305-reuseable> Checking runtime dependencies for chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
python3.12-chacha20poly1305-reuseable> Finished executing pythonRuntimeDepsCheck
python3.12-chacha20poly1305-reuseable> Running phase: installPhase
python3.12-chacha20poly1305-reuseable> Executing pypaInstallPhase
python3.12-chacha20poly1305-reuseable> Successfully installed chacha20poly1305_reuseable-0.13.2-py3-none-any.whl
python3.12-chacha20poly1305-reuseable> Finished executing pypaInstallPhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonOutputDistPhase
python3.12-chacha20poly1305-reuseable> Executing pythonOutputDistPhase
python3.12-chacha20poly1305-reuseable> Finished executing pythonOutputDistPhase
python3.12-chacha20poly1305-reuseable> Running phase: fixupPhase
python3.12-chacha20poly1305-reuseable> shrinking RPATHs of ELF executables and libraries in /nix/store/7lbydv0jfprbf7vrl0bghg2mqlpnd20m-python3.12-chacha20poly1305-reuseable-0.13.2
python3.12-chacha20poly1305-reuseable> checking for references to /build/ in /nix/store/7lbydv0jfprbf7vrl0bghg2mqlpnd20m-python3.12-chacha20poly1305-reuseable-0.13.2...
python3.12-chacha20poly1305-reuseable> patching script interpreter paths in /nix/store/7lbydv0jfprbf7vrl0bghg2mqlpnd20m-python3.12-chacha20poly1305-reuseable-0.13.2
python3.12-chacha20poly1305-reuseable> stripping (with command strip and flags -S -p) in  /nix/store/7lbydv0jfprbf7vrl0bghg2mqlpnd20m-python3.12-chacha20poly1305-reuseable-0.13.2/lib
python3.12-chacha20poly1305-reuseable> shrinking RPATHs of ELF executables and libraries in /nix/store/c83bm46qdj50w9h4w5kgx6dkm6hki2jf-python3.12-chacha20poly1305-reuseable-0.13.2-dist
python3.12-chacha20poly1305-reuseable> checking for references to /build/ in /nix/store/c83bm46qdj50w9h4w5kgx6dkm6hki2jf-python3.12-chacha20poly1305-reuseable-0.13.2-dist...
python3.12-chacha20poly1305-reuseable> patching script interpreter paths in /nix/store/c83bm46qdj50w9h4w5kgx6dkm6hki2jf-python3.12-chacha20poly1305-reuseable-0.13.2-dist
python3.12-chacha20poly1305-reuseable> Executing pythonRemoveTestsDir
python3.12-chacha20poly1305-reuseable> Finished executing pythonRemoveTestsDir
python3.12-chacha20poly1305-reuseable> Running phase: installCheckPhase
python3.12-chacha20poly1305-reuseable> no Makefile or custom installCheckPhase, doing nothing
python3.12-chacha20poly1305-reuseable> Running phase: pythonCatchConflictsPhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonRemoveBinBytecodePhase
python3.12-chacha20poly1305-reuseable> Running phase: pythonImportsCheckPhase
python3.12-chacha20poly1305-reuseable> Executing pythonImportsCheckPhase
python3.12-chacha20poly1305-reuseable> Check whether the following modules can be imported: chacha20poly1305_reuseable
python3.12-chacha20poly1305-reuseable> Running phase: pytestCheckPhase
python3.12-chacha20poly1305-reuseable> Executing pytestCheckPhase
python3.12-chacha20poly1305-reuseable> ============================= test session starts ==============================
python3.12-chacha20poly1305-reuseable> platform linux -- Python 3.12.6, pytest-8.3.2, pluggy-1.5.0 -- /nix/store/pv8p76ihrnqf81xan9qnv53ks84wmp07-python3-3.12.6/bin/python3.12
python3.12-chacha20poly1305-reuseable> cachedir: .pytest_cache
python3.12-chacha20poly1305-reuseable> rootdir: /build/source
python3.12-chacha20poly1305-reuseable> configfile: pyproject.toml
python3.12-chacha20poly1305-reuseable> collected 10 items
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_data_too_large PASSED [ 10%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_generate_key PASSED [ 20%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_bad_key PASSED    [ 30%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[nonce0-data-] PASSED [ 40%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[000000000000-data1-] PASSED [ 50%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_params_not_bytes_encrypt[000000000000-data-associated_data2] PASSED [ 60%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_nonce_not_12_bytes PASSED [ 70%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_decrypt_data_too_short PASSED [ 80%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_associated_data_none_equal_to_empty_bytestring PASSED [ 90%]
python3.12-chacha20poly1305-reuseable> tests/test_init.py::TestChaCha20Poly1305Reusable::test_buffer_protocol PASSED [100%]
python3.12-chacha20poly1305-reuseable> ============================== 10 passed in 2.44s ==============================
python3.12-chacha20poly1305-reuseable> Finished executing pytestCheckPhase
python3.12-chacha20poly1305-reuseable> Running phase: pytestcachePhase
python3.12-chacha20poly1305-reuseable> Running phase: pytestRemoveBytecodePhase

15:00:01
@mackeveli:matrix.orgMackeveli It's likely dying because about 4GB of my Pi's RAM is used at any given point from the services I'm running on it. I'm gonna kill some non-essential services and see if it'll build then. Tbh I've been meaning to buy another Pi anyways, so this is a good excuse, unless y'all know of other ARM boards that work well with NixOS. 15:15:40
@k900:0upti.meK900Please don't buy RPis15:17:05
@k900:0upti.meK900Especially if you want a Pi515:17:13
@k900:0upti.meK900Just get anything Rockchip or Meson or Allwinner and it'll be miles better15:17:24
@hexa:lossy.network@hexa:lossy.networkthat or a low power x86 board15:21:12
@mackeveli:matrix.orgMackeveli
In reply to @k900:0upti.me
Just get anything Rockchip or Meson or Allwinner and it'll be miles better
Gotcha, I'll look into some SBCs with those SoCs
15:53:33
@mackeveli:matrix.orgMackeveli
In reply to @hexa:lossy.network
that or a low power x86 board
I've never done research on low-power x86 boards since most people's recommendations are ARM boards. Do you know of any particularly good low power x86 boards?
15:55:19
@hexa:lossy.network@hexa:lossy.networknothing conrete16:00:38
@hexa:lossy.network@hexa:lossy.networkbut there are n100 cores, or pentium cores16:00:48
@hexa:lossy.network@hexa:lossy.networkand people have been putting them onto the sbc form factor16:00:58

Show newer messages


Back to Room ListRoom Version: 6