!zghijEASpYQWYFzriI:nixos.org

Hydra

383 Members
109 Servers

Load older messages


SenderMessageTime
14 Apr 2023
@linus:schreibt.jetzt@linus:schreibt.jetztopenssh doesn't like the host key being accessible to anyone other than root08:26:42
@linus:schreibt.jetzt@linus:schreibt.jetztand won't use it if that's the case08:26:52
@aciceri:nixos.devaciceri otherwise I can change the ssh key path to the one in hydra-queue-runner's HOME 08:27:04
@linus:schreibt.jetzt@linus:schreibt.jetztyeah that sounds reasonable08:27:23
@aciceri:nixos.devaciceriI will not be able to remote build using cli and a different user08:27:27
@linus:schreibt.jetzt@linus:schreibt.jetztyes you will08:27:33
@aciceri:nixos.devaciceriwhy?08:27:42
@janne.hess:helsinki-systems.dedas_j
In reply to @linus:schreibt.jetzt
yes you will
ACLs to the rescue?
08:27:45
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @aciceri:nixos.dev
why?
because it all goes through the nix daemon which runs as root
08:27:51
@aciceri:nixos.devaciceriah right08:28:01
@aciceri:nixos.devacicerinothing to do :(08:30:37
@aciceri:nixos.devaciceri same logs for hydra-queue-runner 08:31:14
@aciceri:nixos.devaciceriisn't there a way to get better errors?08:31:43
@linus:schreibt.jetzt@linus:schreibt.jetzt systemctl edit --runtime hydra-queue-runner and add more -vs 08:33:21
@linus:schreibt.jetzt@linus:schreibt.jetztmaybe08:33:22
@linus:schreibt.jetzt@linus:schreibt.jetztlol08:33:23
@aciceri:nixos.devacicerihaven't I to restart hydra every time, right? I can simply click "restart" from the Hydra UI, right?08:33:38
@linus:schreibt.jetzt@linus:schreibt.jetztI think so08:34:14
@aciceri:nixos.devaciceri
In reply to @linus:schreibt.jetzt
systemctl edit --runtime hydra-queue-runner and add more -vs
I simply add more v to the command and then I don't have to restart the service, right?
08:41:00
@aciceri:nixos.devaciceri I think I never used systemctl edit 08:41:10
@linus:schreibt.jetzt@linus:schreibt.jetztyou do have to restart it08:41:11
@linus:schreibt.jetzt@linus:schreibt.jetzt

so what you want is the following content:

[Service
08:41:58
@linus:schreibt.jetzt@linus:schreibt.jetzt *

so what you want is the following content:

[Service]
ExecStart=
ExecStart=...hydra-queue-runner -vvvvv
08:42:13
@linus:schreibt.jetzt@linus:schreibt.jetzt(replacing the ... with the path)08:42:23
@aciceri:nixos.devaciceri
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: got notification: builds restarted
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: checking the queue for builds > 0...
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: loading build 371 (trotten:master:aarch64-linux.treefmt)
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/7bg507zig8qgd9ia7mwxx2f3s9dr98m4-treefmt-check.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: checking substituter 'https://cache.nixos.org' for path '/nix/store/rnv6ihvxwpifsrf08ygz512d8vmjmbsn-treefmt-check'
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: creating build step ‘/nix/store/7bg507zig8qgd9ia7mwxx2f3s9dr98m4-treefmt-check.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/4lfglvkwn03h7wvkyqvc1p1phrkxl4bc-treefmt.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: checking substituter 'https://cache.nixos.org' for path '/nix/store/xbg6zhljgis3cxh9nnjvhdz7dpzivr7d-treefmt'
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: creating build step ‘/nix/store/4lfglvkwn03h7wvkyqvc1p1phrkxl4bc-treefmt.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/1w9rfhqrx5a02w4i5n5c1cv9lrikhzmx-treefmt-0.5.0.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/cf0kfmf12cqrcvjjsp48zbzp20nw1q5q-treefmt.toml.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: checking substituter 'https://cache.nixos.org' for path '/nix/store/drs571mfnnr403fk41888s5h5hl1igzf-treefmt.toml'
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: creating build step ‘/nix/store/cf0kfmf12cqrcvjjsp48zbzp20nw1q5q-treefmt.toml.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/bvfd3rifjjqdvfznhmgbmxlswzdm1hxm-python3.10-remarshal-0.14.0.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/kjml9xax070ypa3i0xbzypkhksqmjq0r-bash-5.2-p15.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/vqbz4jksa1zvnipdh6phvpbvbp8icpmr-clang-tools-14.0.6.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/x596syczphr08qvrf9nj47mv265w8x3i-stdenv-linux.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/zlf873z5j0ng6y9mfdahv3c5m1k49mg2-alejandra-3.0.0.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: considering derivation ‘/nix/store/7ygdrhj2hbsqkh7v7dkdp0vhij7ysaiz-git-2.39.2.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: added build 371 (top-level step /nix/store/7bg507zig8qgd9ia7mwxx2f3s9dr98m4-treefmt-check.drv, 3 new steps)
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: got 1 new runnable steps from 1 new builds
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: step ‘/nix/store/cf0kfmf12cqrcvjjsp48zbzp20nw1q5q-treefmt.toml.drv’ is now runnable
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: dispatcher woken up
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: machine 'localhost' does not support step '/nix/store/cf0kfmf12cqrcvjjsp48zbzp20nw1q5q-treefmt.toml.drv' (system type 'aarch64-linux')
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: aborting unsupported build step '/nix/store/cf0kfmf12cqrcvjjsp48zbzp20nw1q5q-treefmt.toml.drv' (type 'aarch64-linux')
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: marking build 371 as failed
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: finishing build step ‘/nix/store/cf0kfmf12cqrcvjjsp48zbzp20nw1q5q-treefmt.toml.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: finishing build step ‘/nix/store/4lfglvkwn03h7wvkyqvc1p1phrkxl4bc-treefmt.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: finishing build step ‘/nix/store/7bg507zig8qgd9ia7mwxx2f3s9dr98m4-treefmt-check.drv’
Apr 14 10:46:43 mothership hydra-queue-runner[3404956]: dispatcher sleeping for 7541910033s
08:46:59
@aciceri:nixos.devaciceri
In reply to @linus:schreibt.jetzt

so what you want is the following content:

[Service]
ExecStart=
ExecStart=...hydra-queue-runner -vvvvv
oh thanks :) I just figured it out that I had to clear ExecStart before. This systemctl edit is really convenient
08:47:40
@aciceri:nixos.devaciceriit seems that it doesn't even know that it has a remote builder08:48:34
@aciceri:nixos.devaciceriimage.png
Download image.png
08:48:37
@aciceri:nixos.devaciceribut here it seems to know08:48:48
15 Apr 2023
@janik0:matrix.org@janik0:matrix.org changed their display name from Janik (they/them) (es/ihr) to Janik.11:28:13

Show newer messages


Back to Room ListRoom Version: 6