!sBfrWMVsLoSyFTCkNv:nixos.org

OfBorg

173 Members
Number of builds and evals in queue: <TBD>65 Servers

Load older messages


SenderMessageTime
24 Oct 2023
@hexa:lossy.networkhexadisk full on the aarch64-darwin builder a few hours ago09:37:13
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/263041/checks?check_run_id=1799413969509:37:18
@hexa:lossy.networkhexaor … 32m ago09:37:26
25 Oct 2023
@artturin:matrix.orgArtturinhttps://github.com/NixOS/ofborg/pull/64802:37:27
@artturin:matrix.orgArtturinchanged it to update to unstable because of an error (which is in the commit msg)02:49:19
@artturin:matrix.orgArtturinHmm03:04:16
@artturin:matrix.orgArtturin

---- nix::tests::strict_sandboxing stdout ----
thread 'nix::tests::strict_sandboxing' panicked at '

The run was expected to Fail, but did not.

   | this derivation will be built:
   |   /nix/store/ih4kj08w3x1vavdy40n08qis00ilrbjy-sandbox-violation.drv
   | building '/nix/store/ih4kj08w3x1vavdy40n08qis00ilrbjy-sandbox-violation.drv'...
   | hi
   | /nix/store/002bqs9cx1zavfag41xngiih1f2ari27-sandbox-violation


0 out of 2 required lines matched.

 - Err("access to absolute path")
 - Err("is forbidden in restricted mode")
', ofborg/src/nix.rs:545:13
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic_display
             at /build/rustc-1.72.0-src/library/core/src/panicking.rs:150:5
   3: ofborg::nix::tests::assert_run
             at ./src/nix.rs:545:13
   4: ofborg::nix::tests::strict_sandboxing
             at ./src/nix.rs:848:9
   5: ofborg::nix::tests::strict_sandboxing::{{closure}}
             at ./src/nix.rs:841:28
   6: core::ops::function::FnOnce::call_once
             at /build/rustc-1.72.0-src/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


03:04:27
@artturin:matrix.orgArtturinhttps://github.com/NixOS/ofborg/blob/de415d372959b7e6fc6b2f6c95f0c21e5010348d/ofborg/src/nix.rs#L842-L85403:04:53
@artturin:matrix.orgArtturinhttps://github.com/NixOS/ofborg/blob/de415d372959b7e6fc6b2f6c95f0c21e5010348d/ofborg/test-srcs/build/default.nix#L19-L2503:08:46
@artturin:matrix.orgArtturinWhat's even the supposed sandbox violation in that test03:23:14
@artturin:matrix.orgArtturinRedacted or Malformed Event03:33:32
@artturin:matrix.orgArtturinhttps://github.com/nixos/nix/commit/dd93c12c6a3ebf5b52fe7045d708ed10f6acd0dd this could be the cause04:00:30
@artturin:matrix.orgArtturinNah it shouldn't04:02:29
@artturin:matrix.orgArtturinThe commit that one is reverting is https://github.com/nixos/nix/commit/1cba5984a68a489c4a56691032e4c87991c678f404:04:17
@artturin:matrix.orgArtturingithub shows it was in 2.14.004:04:38
@artturin:matrix.orgArtturinwhile 23.05 is on 2.13.604:05:06
@artturin:matrix.orgArtturinchanging the nix version in flake 2_14,2_15 works 2_16 fails04:10:03
@artturin:matrix.orgArtturin * changing the nix version in flake 2_15 works 2_16 fails 04:11:15
@artturin:matrix.orgArtturin good 2.15.2(.3 too probably), bad 2.16.1(and .0)+ 04:16:59
@artturin:matrix.orgArtturin * good 2.15.2(.3 too probably), bad 2.16.1(and .0)+ 04:17:07
@artturin:matrix.orgArtturin

Can't the non-failure with

derivation {
  name = "sandbox-violation";
  system = builtins.currentSystem;
  src = ./../../../lib;
  builder = builtins.storePath <bash>;
  args = [ "-c" "echo hi; echo ${toString builtins.currentTime} > $out" ];
}

in depth0/depth1/depth3/default.nix in nixpkgs

$ nix shell "nixpkgs#nixVersions.nix_2_16" --command nix-build depth0/depth1/depth3/default.nix -I "bash=$(command -v bash)" --option restrict-eval true
error: access to absolute path '/home/artturin/nixgits/my-nixpkgs/depth0/depth1/depth3/default.nix' is forbidden in restricted mode
04:38:26
@artturin:matrix.orgArtturin *

Can't repro the non-failure with

derivation {
  name = "sandbox-violation";
  system = builtins.currentSystem;
  src = ./../../../lib;
  builder = builtins.storePath <bash>;
  args = [ "-c" "echo hi; echo ${toString builtins.currentTime} > $out" ];
}

in depth0/depth1/depth3/default.nix in nixpkgs

$ nix shell "nixpkgs#nixVersions.nix_2_16" --command nix-build depth0/depth1/depth3/default.nix -I "bash=$(command -v bash)" --option restrict-eval true
error: access to absolute path '/home/artturin/nixgits/my-nixpkgs/depth0/depth1/depth3/default.nix' is forbidden in restricted mode
04:38:36
26 Oct 2023
@pederbs:pvv.ntnu.nopbsds error: writing to file: No space left on device on aarch64-darwin: https://logs.ofborg.org/?key=nixos/nixpkgs.257760&attempt_id=2f9c3138-239d-428b-980a-22b9604619b1 11:21:20
@hexa:lossy.networkhexa
In reply to @hexa:lossy.network
https://github.com/NixOS/nixpkgs/pull/263041/checks?check_run_id=17994139695
recurrening event
11:48:57
@cole-h:matrix.orgcole-hSigh… I don’t suppose anybody knows how to write a timer like systemd has for launchd? 😅13:09:29
@lily:lily.flowersLily Foster
In reply to @cole-h:matrix.org
Sigh… I don’t suppose anybody knows how to write a timer like systemd has for launchd? 😅
i actually do since i have before. if you want me to whip up something. i'm assuming you're just wanting periodic garbage collection?
13:13:46
@lily:lily.flowersLily Fosteractually are these using nix-darwin right now? I forget. I've admittedly never used it but i imagine it has a way to specify timers?13:14:14
@adam:robins.wtf@adam:robins.wtfhere's a nix-darwin timer: https://codeberg.org/adamcstephens/dotfiles/src/commit/fd44a309d17aab3a363f5ee978922a6365e19830/parts/darwin.nix#L9313:16:06
@adam:robins.wtf@adam:robins.wtfhome-manager has similar launchd options, so you could use HM instead13:18:04
@adam:robins.wtf@adam:robins.wtf* home-manager has similar launchd options, so you could use HM instead for user timers13:18:16

Show newer messages


Back to Room ListRoom Version: 6