!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

483 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.151 Servers

Load older messages


SenderMessageTime
24 Jun 2026
@vcunat:matrix.orgVladimír ČunátIf a builder needs a path which is missing in S3, it will build and upload it, if I understand the current implementation right.07:11:46
@vcunat:matrix.orgVladimír ČunátThat helps recovery. But we have some leaf builds left which show succeeded on Hydra but don't have a (usable) result in S3.07:12:52
@k900:0upti.meK900Not sure why, but the build logs no longer strip ANSI escapes07:18:14
@k900:0upti.meK900Might have something to do with how the new runner calls the builds?07:18:25
@vcunat:matrix.orgVladimír ČunátTracked in https://github.com/NixOS/hydra/issues/180207:20:52
@k900:0upti.meK900Honestly rendering on the frontend should be pretty doable with something like https://github.com/drudru/ansi_up07:24:07
@dramforever:matrix.orgdramforeverspeaking of, i just realized that the build logs doesn't seem to be uploaded to cache.nixos.org anymore. is this normal?07:24:08
@dramforever:matrix.orgdramforever* speaking of logs, i just realized that the build logs doesn't seem to be uploaded to cache.nixos.org anymore. is this normal?07:24:13
@k900:0upti.meK900(I think that one is what gitlab CI is using)07:24:16
@joerg:thalheim.ioMic92Looks like clients are racing to upload nars, which wouldn't be a problem for nix but than fastly caches different filesizes because of non-reproducible compression, which produces the error we see.07:26:17
@dramforever:matrix.orgdramforever for example, this is a build https://hydra.nixos.org/build/331688229/nixlog/160 for /nix/store/wvhfhvkgb4qwlhl5d32sjrr9bw13g02b-nixos-graphical-26.11pre1019198.459bc06669f8-x86_64-linux.iso.drv, with output /nix/store/9rgmsc5vxymhmj2jf8rmz3m52f49j038-nixos-graphical-26.11pre1019198.459bc06669f8-x86_64-linux.iso. The latter is on c.n.o, but https://cache.nixos.org/log/wvhfhvkgb4qwlhl5d32sjrr9bw13g02b-nixos-graphical-26.11pre1019198.459bc06669f8-x86_64-linux.iso.drv is 404 07:26:22
@joerg:thalheim.ioMic92To fix the existing errors, we can flush the fastly cache.07:27:13
@vcunat:matrix.orgVladimír ČunátThat sounds like a design problem? We need to lock each .drv hash in the queue-runner then?07:27:49
@joerg:thalheim.ioMic92 and the hydra fix would be s3 upload + If-None-Match 07:27:59
@joerg:thalheim.ioMic92so it's write once07:28:07
@joerg:thalheim.ioMic92The looser will try to download the nar as well in case the original uploader never returns07:28:27
@k900:0upti.meK900OK actually it's like five lines of code07:28:59
@k900:0upti.meK900Let me just do a PR07:29:01
@vcunat:matrix.orgVladimír ČunátI still wouldn't be too happy if a builder built stuff against a local version of a dependency instead of waiting for the official one which ends up in S3.07:29:29
@vcunat:matrix.orgVladimír Čunát* I still wouldn't be too happy if a builder built stuff against a local version of a dependency instead of waiting for the "official one" which ends up in S3.07:29:40
@vcunat:matrix.orgVladimír ČunátSmells like rare weird effects if for stuff which isn't 100% binary reproducible.07:30:15
@vcunat:matrix.orgVladimír Čunát* Smells like rare weird effects for stuff which isn't 100% binary reproducible.07:30:22
@joerg:thalheim.ioMic92it's actually the same NAR in this case07:30:29
@joerg:thalheim.ioMic92so same content07:30:43
@vcunat:matrix.orgVladimír ČunátI meant generally.07:30:57
@vcunat:matrix.orgVladimír ČunátWe probably can't afford to assume that the NAR would always be the same.07:31:22
@joerg:thalheim.ioMic92I think queue runner itself should dedup derivation already at a higher level07:32:10
@joerg:thalheim.ioMic92so it's not like the same build run twice07:32:37
@dramforever:matrix.orgdramforever we upload nar/{narhash}.nar.zst now right? 07:32:48
@vcunat:matrix.orgVladimír Čunát🤔 but that won't persist if we restart the queue-runner and the leftover build result might persist on the builder?07:32:54

Show newer messages


Back to Room ListRoom Version: 6