gchristensen changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | 18.09 release managers: vcunat and samueldr | https://logs.nix.samueldr.com/nixos-dev
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-dev
<worldofpeace> Speaking of new nixpkgs committers, I've noticed we're welcoming edef as well :D
<edef> hii
<worldofpeace> edef: Off topic but, I just wanted to say that I'm living for https://pay.edef.eu/ :P
<edef> worldofpeace: :D
<edef> the post-payment page is also widely appreciated,
<Synthetica> Brexitbucks 😂
<edef> that entire thing exists because i was too lazy to fill out a W-8BEN for Patreon
<emily> sad the chromium autoplay stuff breaks it
<edef> and being sleep-deprived but awake at 6AM i cobbled that together before involuntarily passing out
<edef> emily: yeah, i'm not sure what to do about it ;_;
<emily> i think you just have to like
<emily> gate it on user interaction
<emily> you could put up a big modal gdpr privacy notice with an agree button
<samueldr> edef: alright if I pm you something? (I might accidentally have done it)
<edef> emily: the Glorious Democratic People's Republic privacy notice
jtojnar_ has joined #nixos-dev
jtojnar has quit [Quit: jtojnar]
jtojnar_ is now known as jtojnar
jtojnar_ has joined #nixos-dev
jtojnar has quit [Read error: Connection reset by peer]
jtojnar_ is now known as jtojnar
<worldofpeace> So I love that people are getting commit access, but how is this being decided?
<qyliss^work> gchristensen invited me
<qyliss^work> wrt edef there was a fairly involved discussion over a few days in this very channel, because of the specifics of her situation
<qyliss^work> (having been basically invited years ago, but then never actually getting it)
<gchristensen> https://nixos.org/nixos/community.html says people should ask for access
<gchristensen> (fwiw)
<qyliss^work> lol, I don't know if I've ever seen that page before
<gchristensen> it is the 6th link in the header! :)
drakonis_ has quit [Ping timeout: 250 seconds]
<qyliss^work> Should be linked from the manual IMO
<edef> there's also the presumably ongoing thread
<{^_^}> #50105 (by Infinisil, 4 weeks ago, open): New nixpkgs committers requirements/process
<gchristensen> definitely a good issue
<worldofpeace> gchristensen: I've never seen that page either :D
<worldofpeace> qyliss^work: Your comment in that thread is 10s across the board
jtojnar has quit [Ping timeout: 240 seconds]
yorick has quit [Ping timeout: 252 seconds]
yorick1 has joined #nixos-dev
drakonis has joined #nixos-dev
Sigyn has quit [*.net *.split]
Sigyn has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-dev
globin has quit [Ping timeout: 252 seconds]
sphalerite has quit [Ping timeout: 260 seconds]
makefu has quit [Ping timeout: 268 seconds]
sphalerite has joined #nixos-dev
fadenb has quit [Ping timeout: 252 seconds]
makefu has joined #nixos-dev
fadenb has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
worldofpeace has quit [Quit: worldofpeace]
drakonis_ has joined #nixos-dev
Drakonis__ has joined #nixos-dev
drakonis has quit [Ping timeout: 250 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
Drakonis__ has quit [Ping timeout: 268 seconds]
alp has quit [Ping timeout: 240 seconds]
alp has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<qyliss> 10s?
<qyliss> not sure I understand the question
<qyliss> *expression
typetetris has joined #nixos-dev
orivej has joined #nixos-dev
<manveru> does anyone have the data to update https://github.com/NixOS/nixos-homepage/blob/master/nixos/foundation.tt ?
orivej has quit [Ping timeout: 250 seconds]
<niksnut> manveru: ikwildrpepper hopefully
<LnL> niksnut: question, what does the ordering of computeFSClosure mean?
<LnL> I assume it has some semantics given that it can be reversed
<niksnut> ordering?
__Sander__ has joined #nixos-dev
jtojnar has joined #nixos-dev
<LnL> the iterator, is it random or do the leaves come first/last?
<niksnut> there is no ordering right? since it returns a set rather than a list
<niksnut> it would be better if it did return a topologically sorted list, since then the caller could avoid a call to topoSortPaths
<LnL> aha, that's what I was looking for then :)
Synthetica has quit [Quit: Connection closed for inactivity]
Lisanna has quit [Ping timeout: 240 seconds]
Lisanna has joined #nixos-dev
<gchristensen> so I'm suspecting that the extreme slowness on the packet-t2a-1 machine was due to not having run fstrim in ages... but we'll see. I ran fstrim -- it took 9 hours -- I also wonder if perhaps there is something about a full dentry cache, getdents64() was taking many seconds to complete
<gchristensen> or not..! the moment I sicked hydra back on it, the crazy slowness came back.
<niksnut> what filesystem does it use?
<zimbatm> /msg lewo Qmd1J7VfAYqhrrRjRtEb2mkourJPsyHzFgWcWPm65AjDg4
<zimbatm> oops :)
<domenkozar> gchristensen: how many entries in /nix/store?
<domenkozar> and how many in /nix/store/.links
<LnL> I hope hydra nodes don't run optimize
<srhb> LnL: Why is that?
<tilpner> srhb - Perhaps because of the hardlink limit of 65k on ext*
<LnL> for machines that are constantly building stuffit would be bad for performance I think
<LnL> and inode limits
<domenkozar> the main limit you hit is a few million enties in a directory
<domenkozar> if using ext4
<tilpner> Isn't that something that could easily™ be fixed without breaking any stores?
<tilpner> Just move everything into a two-level .links when Nix sees a single-level .links
<srhb> 65k sounds like a lot. I think it would only be a problem on a master that has the store on-disk, usually..
<gchristensen> only 32,000 domenkozar
<gchristensen> and 0 in .links
<gchristensen> niksnut: ext4
<gchristensen> t2a-2 also has ~30,000 in /nix/store, and no .links, and an ext4 /
<gchristensen> both running the same version of 18.09
<niksnut> gchristensen: so it's just I/O that's slow?
<niksnut> maybe you can try fio or something
<gchristensen> Packet's people suggest just replacing it, guessing it is a drive problem
<srhb> gchristensen: I was under the impression that fstrim is usually a bad idea on modern drives (provided they're properly overprovisioned) ?
orivej has joined #nixos-dev
<gchristensen> no idea?
<gchristensen> certainly isn't as necessary on properly overprovisioned disks -- which this datacenter-class disk definitely is -- but also the SMART data suggests it has degraded by 110/255
<srhb> gchristensen: A comparison with a similar fresh drive would be nice at the very least. :-P
<gchristensen> on the SMART data? the other packet node is a samsung EVO and so not comparable
<ekleog> how would fstrim be a bad idea? it's just telling the firmware a block is free, isn't it?
<ekleog> it's maybe useless, but I don't really get how it can be actively negative
<gchristensen> my understanding is: it is not good if you run it constantly, but a periodic / scheduled thing is okay
<srhb> ekleog: Right, I didn't mean to imply it's worse than useless (except for the pressure you put on the disk)
<LnL> gchristensen: have you talked to packet, maybe it's some kind of issue with the machine itself
orivej has quit [Ping timeout: 268 seconds]
globin has joined #nixos-dev
<gchristensen> LnL: yeah just this morning, they said: I would think that at this stage I’d replace with a different machine….let our ops folks help with hardware fixing. an overnight `fstrim` is a bad sign. I don’t think very many people really know how SSDs work (except that they are supposed to be very fast, and that they evidently have a finite lifespan)
<srhb> fwiw it's also worth overprovisioning them manually if they're very write-heavy.
<srhb> Well, sometimes :)
<gchristensen> my understanding is this disk is wildly overprovisioned
<ekleog> hmm, I guess the metadata sectors used by the firmware can get burned out if they aren't properly moved across the sectors upon rewrites… or maybe NAND flash works differently from the NOR flash I'm used to (with NOR I see a quite nice way to not use the same sector too much for the firmware's metadata, I think)
Synthetica has joined #nixos-dev
pie___ has joined #nixos-dev
pie__ has quit [Remote host closed the connection]
<gchristensen> it looks like linux isn't evaluating properly on hydra
<gchristensen> x86-64 -- there haven't been any many x86-64 jobs in about 3 days
<gchristensen> https://status.nixos.org/grafana/d/hkRCcV0mk/instance-metrics?orgId=1&from=1544662516546&to=1544669936922&var-instance=packet-t2a-1&var-instance=packet-t2a-2&var-instance=packet-t2a-3&var-role=All -- I added a new few graphs showing how hydra thinks of each machine: consecutive build failures, how many build jobs are assigned to the machine, and the average step build time. If you take a look at this
<gchristensen> particular graph, you'll see t2a-1 is much, much slower than t2a-2 indicating the problem we already knew about
<LnL> nice!
orivej has joined #nixos-dev
<gchristensen> one problem to be solved in hydra's names and prometheus's names don't always match up, and that makes it a bit unhappy
__Sander__ has quit [Quit: Konversation terminated!]
<LnL> oh, howso?
orivej has quit [Ping timeout: 268 seconds]
asymmetric_ has joined #nixos-dev
pie__ has joined #nixos-dev
pie___ has quit [Remote host closed the connection]
typetetris has quit [Ping timeout: 252 seconds]
<catern> (the pull request for the --dump-db change I was mentioning earlier: https://git.io/fpdVd )
asymmetric_ is now known as asymmetric
worldofpeace has joined #nixos-dev
<timokau[m]> Hydra is showing me a cached failure but links to a success. What am I missing? Or was the build restarted or something?
<timokau[m]> Regarding the R failure here: https://hydra.nixos.org/build/85817645
<srhb> timokau[m]: Hydra probably only refreshes the status of the dependencies when the dependent is refreshed?
<timokau[m]> srhb: I have no idea what that means in this context :D
<timokau[m]> It links to a specific build number, which should not change right?
<srhb> timokau[m]: Yes, it does change if restarted.
<srhb> Er
<srhb> Nonsense
<srhb> It does not
<srhb> Therefore, this problem :)
<timokau[m]> So the R build was restarted but the success doesn't automatically get propagated?
<srhb> Right
<timokau[m]> Hail Hydra
<srhb> 🐍
<gchristensen> 🐍🐍🐍🐍🐍🐍
<timokau[m]> Can anyone restart that job? The sage test failure should be transient too (no idea whats going on there, I asked for help upstream)
<timokau[m]> :snake:
asymmetric has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nixos-dev
asymmetric has joined #nixos-dev
orivej has joined #nixos-dev
<srhb> timokau[m]: Sure
<timokau[m]> Thanks!
alp has quit [Ping timeout: 268 seconds]
worldofpeace has quit [Read error: Connection reset by peer]
worldofpeace_ has joined #nixos-dev
alp has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos-dev
drakonis_ has quit [Read error: Connection reset by peer]
asymmetric_ has joined #nixos-dev
drakonis has quit [Ping timeout: 252 seconds]
asymmetric has quit [Ping timeout: 245 seconds]
asymmetric_ has quit [Ping timeout: 250 seconds]
<__Sander__> Ericson2314: hi I was curious. have you managed to find some time to take a look at https://github.com/NixOS/nixpkgs/pull/50596 ? (the android cross compiling part)
<{^_^}> #50596 (by svanderburg, 3 weeks ago, open): [WIP] Mobile updates
<__Sander__> I'm not in a rush, but basically the broken cross compiling infrastructure is blocking it
<__Sander__> I can also try to fix it further if you can give me some pointers how to fix the -lgcc problem
drakonis has joined #nixos-dev
yorick1 is now known as yorick
sir_guy_carleton has joined #nixos-dev
__Sander__ has quit [Quit: Konversation terminated!]
jtojnar has quit [Ping timeout: 250 seconds]
jtojnar has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 244 seconds]