!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

544 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30123 Servers

Load older messages


SenderMessageTime
23 Aug 2021
@davidak:matrix.orgdavidakyes, in that case not. but i added my user to trustedUsers, but it still builds everything. that's a bit strange. not used cachix before, so i'm not sure if the cache is maybe outdated16:28:13
@andi:kack.itandi-

try reproducing the error with this:

let pkgs = import <nixpkgs> {}; in
pkgs.fetchurl {
  url = "mirror://gnu/whatever/something-v1234.tar.gz";
  sha256 = "0000000000000000000000000000000000000000000000000000000000000000";
}
16:31:43
@andi:kack.itandi- It might also be a case of many downloads happening at the same time where some of them are then causing the DNS thing to fall over? 16:33:14
@andi:kack.itandi-Looking at the Nix issue that pretty much looks like it is fetching all the (missing) sources.16:33:34
@baloo_:matrix.orgbaloo nrdxp: https://github.com/baloo/emmett for now 16:37:48
@andi:kack.itandi-

Use this to verify the latter:

let
  pkgs = import <nixpkgs> { };
  d = "0000000000000000000000000000000000000000000000000000000000000000";
in
pkgs.symlinkJoin {
  name = "whatever";
  paths = builtins.genList
    (x:
      let s = toString x; in
      pkgs.fetchurl {
        url = "mirror://gnu/whatever/something-v${s}.tar.gz";
        sha256 = s + (builtins.substring 0 (builtins.stringLength d - builtins.stringLength s) d);
      }) 1000;
}
``
16:37:55
@andi:kack.itandi-that just tries to fetch 1000 imaginary packages that will never exist and should stress the fetching code out.16:38:19
@baloo_:matrix.orgbalooit's reproducible with only 118:09:25
@baloo_:matrix.orgbaloo(here)18:09:35
@baloo_:matrix.orgbalooand makes less noise18:10:11
@tomberek:matrix.orgtomberekI'm getting a bunch of unchecked now as well.18:12:45
@baloo_:matrix.orgbalooso nix invokes curl, which forks and straight out opens /var/run/nscd/socket18:15:37
@baloo_:matrix.orgbaloofork which then open nsswitch, then hosts, then resolv.conf18:16:28
@baloo_:matrix.orgbaloothen libnss_dns.so, then looks up from the resolver just fine18:19:20
@baloo_:matrix.orgbalooit fails when it picks up mirror.cict.fr, and keeps retrying the same over and over18:23:23
@baloo_:matrix.orgbaloothat comes from pkgs/build-support/fetchurl/mirrors.nix18:23:34
@baloo_:matrix.orgbaloobut it ... appears out of date18:23:40
@baloo_:matrix.orgbaloo(mirror.cict.fr does not resolve)18:23:56
@baloo_:matrix.orgbalooand does not exists anymore afaict18:24:03
@baloo_:matrix.orgbaloobut this is a different issue18:50:07
@baloo_:matrix.orgbaloohttps://github.com/NixOS/nixpkgs/pull/13546418:56:53
@baloo_:matrix.orgbaloo andi-: I can't reproduce the issue anymore with this applied 18:59:24
@baloo_:matrix.orgbaloois this the same you were hitting?18:59:37
@andi:kack.itandi-I wasn't hitting any of those errors. I was just confirming that hydra.nixos.org had it22:57:29
@andi:kack.itandi-I personally never had that issue22:57:33
@baloo_:matrix.orgbaloorunning with resolver 127.0.0.1?22:59:02
@baloo_:matrix.orgbalooBesides the ones I fixed in the last PR, I can't find any other issue.23:00:45
@andi:kack.itandi-I'm running a recursive resolver on almost all of my machines so that might be a difference23:02:55
@baloo_:matrix.orgbalooyeah same here23:03:04
24 Aug 2021
@baloo_:matrix.orgbaloogot my mirrors PR merged, but r13y rebuilt before that.16:54:20

Show newer messages


Back to Room ListRoom Version: 6