!zghijEASpYQWYFzriI:nixos.org

Hydra

343 Members
99 Servers

Load older messages


SenderMessageTime
19 Mar 2024
@k900:0upti.meK900Somewhere17:07:42
@elvishjerricco:matrix.orgElvishJerriccoit's just a GHC build so it's within what I find acceptable17:07:48
@elvishjerricco:matrix.orgElvishJerriccough this is the biggest problem with hydra. Zero documentation, even for basic shit like "how do I increase the size limit"17:08:47
@elvishjerricco:matrix.orgElvishJerricco after grepping some code, I think it's max_output_size in the config file 17:14:22
@elvishjerricco:matrix.orgElvishJerricco nixos's infra is open source, isn't it? I'm guessing it sets max_output_size somewhere? 17:18:23
@ma27:nicht-so.sexyma27 https://github.com/NixOS/infra/blob/33c54eca931a3435776308f8117850dda5912b48/delft/hydra.nix#L58 17:18:56
@elvishjerricco:matrix.orgElvishJerriccohuh, only 3GB17:19:41
@casey:hubns.net@casey:hubns.net

fwiw, these were my tunings back when i was using hydra and it was creating (larger) disk images:

  462       max_output_size = ${builtins.toString (1024 * 1024 * 1024 * 16)}
  463       #512 megs of logs
  464       max_log_size = ${builtins.toString (1024 * 1024 * 512)}
  465       #nar_buffer_size = ${builtins.toString (1024 * 1024 * 1024 * 6)}
17:19:43
@elvishjerricco:matrix.orgElvishJerriccoso I guess GHC is really cutting it close17:19:46
@elvishjerricco:matrix.orgElvishJerricco cransom: What is nar_buffer_size? 17:20:25
@ma27:nicht-so.sexyma27IIRC it was increased for ghc in the past already?17:20:36
@elvishjerricco:matrix.orgElvishJerricco * huh, only 3GiB17:20:48
@casey:hubns.net@casey:hubns.netthat's a good question. its commented out so it seems i didn't need it.17:20:49
@elvishjerricco:matrix.orgElvishJerriccoit doesn't grep in the hydra repo so maybe it's an old thing that got removed17:21:19
@elvishjerricco:matrix.orgElvishJerricco
In reply to @ma27:nicht-so.sexy
IIRC it was increased for ghc in the past already?
oof
17:21:29
@elvishjerricco:matrix.orgElvishJerricco actually... nix path-info -h -s says GHC is only 1.7G, which is below the default max_output_size 17:23:32
@elvishjerricco:matrix.orgElvishJerriccoso that's weird17:23:38
@elvishjerricco:matrix.orgElvishJerricco yea, even the build in my hydra is 1.6G, which is unexpectedly slightly smaller, but more importantly still below the default max_output_size of 2 << 30 17:27:43
@elvishjerricco:matrix.orgElvishJerricco I guess we'll see if increasing max_output_size to 16G does the trick 17:29:09
@casey:hubns.net@casey:hubns.neti also ran into hijinx with auto-optimise-store with reporting output sizes, if you have that enabled. though, iirc, that was with disk image projected size rather than general outputs. or if you might be running a compressed fs17:40:10
@elvishjerricco:matrix.orgElvishJerricco cransom: hm that might be confusing things 17:52:26
@elvishjerricco:matrix.orgElvishJerriccohard to say17:52:30
@elvishjerricco:matrix.orgElvishJerriccodammit I still got the output limit error20:16:42
@elvishjerricco:matrix.orgElvishJerriccodoes it cache the error, regardless of if the conf conditions change?20:17:13
@elvishjerricco:matrix.orgElvishJerriccohow could I fix that?20:17:18
@elvishjerricco:matrix.orgElvishJerriccofuck I'm going to build on staging aren't I20:17:54
@ma27:nicht-so.sexyma27 aren't failures cached (as well as successes) in Hydra as long as the drv doesn't change?
not sure what you're up to, but the cheapest trick is probably to just add another env var to the drv to force a rebuild.
21:06:18
@linus:schreibt.jetzt@linus:schreibt.jetzt
In reply to @ma27:nicht-so.sexy
IIRC it was increased for ghc in the past already?
Specifically for GHC on ARM, if I'm remembering right, because it's much bigger for reasons
21:50:02
@bumperboat:matrix.orgbumperboat set a profile picture.22:20:52
20 Mar 2024
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlhttps://github.com/NixOS/nixpkgs/pull/297392, would be great if someone could check what's going wrong here, haven't looked very deeply. But hydra seems to be running fine on my end with that change.09:24:50

Show newer messages


Back to Room ListRoom Version: 6