!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation 🏠

110 Members
Declarative Home Automation and other Sidequests | https://nixos.wiki/wiki/Home_Assistant43 Servers

Load older messages


SenderMessageTime
3 Aug 2022
@hexa:lossy.networkhexafor whatever reason there is an actual test failure on aarch64-linux18:42:49
@esperlily:matrix.orgEsperLily [she/her]
In reply to @hexa:lossy.network
for whatever reason there is an actual test failure on aarch64-linux
is it not running tests by default when included as a dependency of home-assistant?
18:43:17
@hexa:lossy.networkhexahuh, typer has its own tests18:43:32
@esperlily:matrix.orgEsperLily [she/her]I'm building in an aarch64-linux docker container (as a remote builder)18:43:40
@hexa:lossy.networkhexa
Results (10.48s):
     566 passed
       1 failed
         - tests/test_completion/test_completion.py:24 test_install_completion
18:44:09
@hexa:lossy.networkhexa
――――――――――――――――――――――――――― test_install_completion ――――――――――――――――――――――――――――
[gw37] linux -- Python 3.10.5 /nix/store/c4xfjyf5s9ap9f73psq74ffxqpcqssqy-python3-3.10.5/bin/python3.10
def test_install_completion():
        bash_completion_path: Path = Path.home() / ".bashrc"
        text = ""
        if bash_completion_path.is_file():  # pragma: nocover
            text = bash_completion_path.read_text()
        result = subprocess.run(
            [
                "bash",
                "-c",
                f"{sys.executable} -m coverage run {mod.__file__} --install-completion",
            ],
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            encoding="utf-8",
            env={**os.environ, "SHELL": "/bin/bash", "_TYPER_COMPLETE_TESTING": "True"},
        )
        new_text = bash_completion_path.read_text()
        bash_completion_path.write_text(text)
>       assert "source" in new_text
E       AssertionError: assert 'source' in ''

tests/test_completion/test_completion.py:42: AssertionError
18:44:27
@hexa:lossy.networkhexathat test is also disabled for darwin...18:44:56
@esperlily:matrix.orgEsperLily [she/her]

weird, trying for force a rebuild is ignoring my remote builder

❯ NIXPKGS_ALLOW_BROKEN=1 nix build --rebuild --impure .#legacyPackages.aarch64-linux.python3Packages.typer
error: a 'aarch64-linux' with features {} is required to build '/nix/store/c24dg8lriwd7z6546vw9pq1ikgdiclrk-python3.10-typer-0.6.1.drv', but I am a 'aarch64-darwin' with features {benchmark, big-parallel, nixos-test}
~/.c/nix-darwin [ main][%✓][ impure]
❯ echo $NIX_CONFIG
builders = ssh-ng://dockerbuilder aarch64-linux /etc/nix/nix_builder_ed25519 5 1 benchmark - -
18:46:01
@esperlily:matrix.orgEsperLily [she/her]oh lol I rebooted it's not available right now. I wonder why it didn't complain that there's no builder available then18:46:35
@hexa:lossy.networkhexathe dark side of nix18:46:55
@hexa:lossy.networkhexano good logging of these kinds of problems18:47:07
@esperlily:matrix.orgEsperLily [she/her]oh nope, starting up the image and it still fails18:47:11
@esperlily:matrix.orgEsperLily [she/her] ok the equivalent nix-build command is running 18:48:52
@esperlily:matrix.orgEsperLily [she/her]
Results (10.04s):
     565 passed
18:49:01
@esperlily:matrix.orgEsperLily [she/her]I wonder if it fails on NixOS specifically and not generic aarch64-linux with standalone Nix installed?18:51:15
@esperlily:matrix.orgEsperLily [she/her]ooops I just copied a bunch of darwin dependencies over to my rpi because I pulled the derivation from the wrong system, oops18:54:15
@esperlily:matrix.orgEsperLily [she/her]I wish I could say "go clean up everything I just put in the store in the past 5 minutes"18:54:50
@esperlily:matrix.orgEsperLily [she/her]heh the test suite runs ridiculously slower on the rpi than it does in docker on my local machine18:56:54
@esperlily:matrix.orgEsperLily [she/her]
Results (130.69s):
     567 passed

Ok so it passes on NixOS on my rpi as well

18:58:43
@esperlily:matrix.orgEsperLily [she/her] * heh the test suite runs ridiculously slower on the rpi than it does in docker on my local machine (edit: oops my first pass was actually running the darwin suite because I misinterpreted something) 19:02:21
@js3z:m.s3z.devjs3z 19:18:03
@hexa:lossy.networkhexa j-k: that review looks thoroughly broken 🙂 21:16:08
4 Aug 2022
@j-k:matrix.orgj-kyup. I guess I'll have to try the PR out in a VM or something07:24:10
@hexa:lossy.networkhexa2022.8.0 is in master now and overall in a good state again10:13:07
@hexa:lossy.networkhexaI might need to have to update the module for the bluetooth changes10:13:31
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/18512110:24:21
@hexa:lossy.networkhexaI think this should be fine, some additional eyes would be nice10:41:24
@hexa:lossy.networkhexa * I think this should be fine, some additional eyes would be nice still10:41:26
@ar:is-a.catar joined the room.18:28:27
8 Aug 2022
@ar:hackerspace.pl@ar:hackerspace.pl left the room.07:23:00

There are no newer messages yet.


Back to Room ListRoom Version: 6