!zghijEASpYQWYFzriI:nixos.org

Hydra

364 Members
103 Servers

Load older messages


SenderMessageTime
11 May 2026
@Ericson2314:matrix.orgJohn Ericsonthis seems not unlike the the issues that hydra.nixos.org was facing frankly20:03:12
@Ericson2314:matrix.orgJohn Ericsonthe thing I am working on right now (but it is a massive refactor) is making the builder not get dependent drvs so it that it has to subsitute or fail, and rebuilding things is not possible20:03:44
@Ericson2314:matrix.orgJohn Ericsonthat also cuts down on traffic between the queue ruunner and the builder20:03:54
@Ericson2314:matrix.orgJohn Ericsonthe current thing is how really old remote building worked20:04:09
@Ericson2314:matrix.orgJohn Ericsonthe thing I am going to is how hydra workedf or the last decade or so20:05:28
@frooastside:wolkeneis.devFrooastside I was not sure which setting is actually required because it didnt work after just enabling services.hydra-queue-builder-dev.useSubstitutes = true; (on the builder) so I also set nix.settings.builders-use-substitutes = true (I am not sure where i found that) and this is of course also set nix.settings.substituters = ["https://cache.nixos.org" "https://cache.MY CACHE"] 20:07:01
@Ericson2314:matrix.orgJohn Ericsonyeah taht sounds like it should work20:08:56
@Ericson2314:matrix.orgJohn Ericsonit is just hard to debug right now I am afraid with the dependency drvs being disclosed to the builder20:09:15
@Ericson2314:matrix.orgJohn Ericsonyou could try to check nix logs and figure out what it is doing what it is doing 20:09:28
@Ericson2314:matrix.orgJohn Ericsonbut that is hard20:09:31
@Ericson2314:matrix.orgJohn Ericson(the decision to build the stuff is nix's)20:10:28
@frooastside:wolkeneis.devFrooastside

This is the process running right now

hydra-q+   84985  0.0  0.2 595328 34872 ?        Sl   21:17   0:00 nix --extra-experimental-features nix-command build --json --no-pretty --print-build-logs --log-format raw-with-logs --no-link --max-silent-time 7200 --timeout 36000 --option max-build-log-size 67108864 --option fallback true --option substitute false --option builders  /nix/store/bx33y6dvsb44avnjah0hsh25hj0axa0f-users-groups.json.drv^*

So it picked the first drv that is not in the cache and tries to build it but --option substitute false is set

20:15:15
@frooastside:wolkeneis.devFrooastsideThats whats confusing me, how is it supposed to work? When the builder is missing dependencies, should nix get them because substitutions should be on, should the queue-builder get them from the cache or should the queue-runner send them to the builder?20:21:45
@Ericson2314:matrix.orgJohn Ericsoninteresting, I am not sure where that is coming from20:34:42
@Ericson2314:matrix.orgJohn Ericsonoh nevermind I do see it20:35:24
@Ericson2314:matrix.orgJohn Ericson that is in subprojects/crates/nix-utils/src/realise.rs 20:37:02
@Ericson2314:matrix.orgJohn Ericson git log missed it becasue it was there since the initial commit (?) 20:37:17
@Ericson2314:matrix.orgJohn Ericsonoh because I was git loging the specific file20:39:10
@Ericson2314:matrix.orgJohn Ericson Frooastside: the instent is that the new builder and new queue runner will cooporate to get the inputs in place separately 20:40:09
@Ericson2314:matrix.orgJohn Ericsonso nix shouldn't need to download anything20:40:16
@Ericson2314:matrix.orgJohn Ericsonbut clearly that is not working right yet20:40:20
@frooastside:wolkeneis.devFrooastsideOk, thank you20:41:05
12 May 2026
@numinit:matrix.orgMorgan (@numinit)FYI https://nixos.org/hydra/manual/ seems broken due to CORS rules03:51:51
@numinit:matrix.orgMorgan (@numinit)Any sense where they're coming from? Took a quick look in https://github.com/NixOS/infra/blob/main/build/hydra-proxy.nix to fix it but didn't see anything03:53:31
@frooastside:wolkeneis.devFrooastsideI tried getting the old queue-runner working but i face a weird issue where it just gets stuck on "sending inputs..." it tries to copy things from the s3 store but never finishes im not even sure whats the problem there. the only option is to manually kill the nix-daemon processes, systemctl restart nix-daemon doesnt touch the stuck processes. after doing that i can manually copy the nix store paths though im not sure if it works manually because its only one at a time or something else09:10:28
@harinn:matrix.orgHarinn joined the room.18:14:22
@tomberek:matrix.orgtomberekCan the new queue-runner serve as only a coordinator/scheduler, but not perform any build/signing actions on it's own (eg: without even having a functioning Nix store locally?). Use-case: CI with ephemeral builders needing a centralized coordinator.20:49:03
@hexa:lossy.networkhexayes, it can20:49:24
@hexa:lossy.networkhexausing pki for onboarding new nodes and the presigned urls feature to decentralize uploading20:49:59
@frooastside:wolkeneis.devFrooastside I think the problem might have been nix.settings.auto-optimise-store = true it seems to work now (for at least 2 minutes and it stopped every 10 seconds or so) 22:31:22

There are no newer messages yet.


Back to Room ListRoom Version: 6