!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

175 Members
Number of builds and evals in queue: https://ofborg.org/prometheus/graph?g0.expr=ofborg_queue_evaluator_waiting&g0.tab=1&g0.stacked=0&g0.show_exemplars=0&g0.range_input=2h&g1.expr=ofborg_queue_builder_waiting%7Barch!~%22.*-lowprior%22%7D&g1.tab=1&g1.stacked=0&g1.show_exemplars=0&g1.range_input=2h64 Servers

Load older messages


SenderMessageTime
19 Feb 2025
@hexa:lossy.networkhexa
$ nix-build --eval-system aarch64-darwin -A esphome -A esphome.tests --eval-system aarch64-darwin --keep-going --always-allow-substitutes
[...]
error: a 'aarch64-linux' with features {} is required to build '/nix/store/fcbvsy7z7y8p42ps667glhz6rn8kdi99-linux-6.12.15.tar.xz.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
15:39:00
@hexa:lossy.networkhexa🤨15:39:19
@janne.hess:helsinki-systems.deJanne HeßUmmm17:51:10
@janne.hess:helsinki-systems.deJanne Heß That's all due to the evaluator being removed and ofborg not really being able to tell what attrs actually exist :( 17:52:49
@lily:lily.flowersLily Foster wait why is it not failing the meta.platforms check and throwing an eval error (which should be ignored iirc) instead of trying to build for the wrong platform 18:01:27
@lily:lily.flowersLily Fosterare nixos tests fucky on darwin by rewriting the system from -darwin to -linux when evaluating for a -darwin nixpkgs...?18:03:11
@lily:lily.flowersLily Foster(regardless, you should probably be building the attr list individually for this kind of reason or otherwise be using something that can handle eval errors or inability to build)18:04:11
@lily:lily.flowersLily Foster yeah they expect you to have the "remote" builder VM set up to run nixos tests on darwin (i remember this change now -- ofborg has had problems with it since it was introduced) https://github.com/NixOS/nixpkgs/pull/282401 18:15:54
@emilazy:matrix.orgemilythe actual test harness runs on macOS19:43:45
@emilazy:matrix.orgemilyit just spawns Linux VMs19:43:51
@emilazy:matrix.orgemilythough of course there is no reason for ofborg to build NixOS tests on macOS19:44:06
@emilazy:matrix.orgemily perhaps they should have hydraPlatforms = [ ]; and ofborg should respect that 19:45:43
@lily:lily.flowersLily Foster
In reply to @emilazy:matrix.org
it just spawns Linux VMs
does it do so automatically? the log above uh indicates that it may not (or at least not usefully, e.g. if it still depends on building some derivations using linux platform before spawning vm harness)
19:46:07
@emilazy:matrix.orgemilyof course, it has to build the NixOS configurations19:46:22
@emilazy:matrix.orgemilyyou can set up the Linux builder with nix-darwin and then it all just works (which itself relies on the QEMU harness supporting macOS + Hydra building the base builder config)19:47:11
@emilazy:matrix.orgemilybut for ofborg that is pointless19:47:15
@emilazy:matrix.orgemily(I mean, "all just works" – not every test does)19:47:28
@lily:lily.flowersLily Fosteri mean ofborg should just be skipping those attrs regardless19:48:10
@lily:lily.flowersLily Foster (but it is a bit of surprising behavior that you can nix-build something and get a realisation error rather than eval/build error in this case when platforms mismatch) 19:49:15
@emilazy:matrix.orgemilybuilding passthru tests on ofborg seems good? (incl. NixOS tests on Linux)19:49:18
@emilazy:matrix.orgemilyit's not really a mismatch though19:49:32
@lily:lily.flowersLily Foster
In reply to @emilazy:matrix.org
building passthru tests on ofborg seems good? (incl. NixOS tests on Linux)
no i mean skipping attrs it can't build
19:49:35
@emilazy:matrix.orgemilythere's nothing about "orchestrate some NixOS VMs" that requires a NixOS host platform19:49:46
@emilazy:matrix.orgemilyit's just like any cross scenario19:49:51
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
no i mean skipping attrs it can't build
(i'm not suggesting to drop passthru.tests)
19:50:04
@lily:lily.flowersLily Foster
In reply to @emilazy:matrix.org
it's just like any cross scenario
well it would specifically be non-cross (it's trying to build native) to be the same scenario
19:50:43
@emilazy:matrix.orgemilyfair19:50:49
@emilazy:matrix.orgemilyin an ideal world we could build NixOS systems cross from Darwin19:50:56
@lily:lily.flowersLily Foster(but again this mostly just doesn't matter)19:51:02
@emilazy:matrix.orgemily I do agree that the s/darwin/linux/ is kinda ugly 19:51:11

Show newer messages


Back to Room ListRoom Version: 6