worldofpeace_ changed the topic of #nixos-dev to: #nixos-dev NixOS Development (#nixos for questions) | NixOS 20.03 BETA Announced https://discourse.nixos.org/t/nixos-20-03-beta/5935 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite; 20.03: worldofpeace, disasm | https://logs.nix.samueldr.com/nixos-dev
orivej has quit [Ping timeout: 256 seconds]
avn has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
avn has joined #nixos-dev
bhipple has joined #nixos-dev
<puck> for whomever is interested in the random nix repl segfaults, i think i found the exact cause: https://github.com/NixOS/nix/issues/3175#issuecomment-600940078
* cole-h goes to start up my VM again and verify
<cole-h> s/my/his/... lol
<puck> i haven't been able to find a reliable reproducer though, sadly
<puck> the best thing i've found so far is .. well
<puck> a multiplayer rock-paper-scissors game written in pure nix
<flokli> :-)
<puck> i don't quite know why though. i think you need lots of "memory churn" but i haven't found a reliable way of doing that
<cole-h> Here's the one I get in my VM when I try to tab-complete `builtin.` in `nix repl '<nixpkgs>'`: https://paste.rs/mZ8.jpg
<cole-h> (Note: it does not happen in plain `nix repl`)
<cole-h> Some day I'll pull an actual ISO and see if it's just my home-grown ISOs that exhibit this problem
ris has quit [Ping timeout: 272 seconds]
<puck> .. oh wow
<puck> i think that's the same error
<cole-h> It's 100% reproducible for me lmao
<puck> it isn't for me, hrmm
<puck> i guess it's memory related
<cole-h> Try my repro steps? `nix repl '<nixpkgs>'` and try to tab complete `builtins.anything`
<cole-h> (Unless you already did)
<puck> yeah, that works for me
<puck> but i have A Lot Of Memory
<puck> cole-h: hrm
<cole-h> Ah, I was running qemu with 2048MB
<cole-h> Could be it lol
<puck> can you try env GC_DONT_GC=1 nix repl '<nixpkgs>'
* cole-h tries with 4096
<cole-h> puck++ That works
<{^_^}> puck's karma got increased to 3
<puck> memory or env flag?
<cole-h> No segfault that way (it still segfaulted with 4096 MB in qemu lol)
<cole-h> env flag
<puck> .. huh.
<puck> interesting.
<puck> but yeah, that's the GC issue then
<cole-h> Feel free to post my picture on the issue if you think it'll help
<cole-h> (should post it to GH itself though rather than the paste.rs link, since I occasionally go around and delete all of those)
<puck> the backtrace is pretty much the same as the other ones i've seen
<cole-h> Thanks for linking that issue -- subscribing :^)
<drakonis> has the meeting taken place today?
<samueldr> drakonis: it did
<drakonis> hm, i see.
drakonis has quit [Quit: WeeChat 2.7.1]
drakonis has joined #nixos-dev
drakonis1 has joined #nixos-dev
drakonis has quit [Client Quit]
drakonis1 is now known as drakonis
<drakonis> any public plans?
<samueldr> the minutes should be published tomorrow, I believe
<samueldr> it was late for the europeans
<drakonis> ah, okay.
justanotheruser has joined #nixos-dev
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos-dev
abathur has quit [Ping timeout: 256 seconds]
bhipple has quit [Ping timeout: 256 seconds]
bhipple has joined #nixos-dev
abathur has joined #nixos-dev
bhipple has quit [Ping timeout: 256 seconds]
bhipple has joined #nixos-dev
abathur has quit [Ping timeout: 256 seconds]
bhipple has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos-dev
alp has quit [Ping timeout: 256 seconds]
alp has joined #nixos-dev
abathur has joined #nixos-dev
lovesegfault has quit [Quit: WeeChat 2.7.1]
drakonis has quit [Quit: WeeChat 2.7.1]
abathur has quit [Ping timeout: 256 seconds]
orivej has joined #nixos-dev
FRidh has joined #nixos-dev
cole-h has quit [Ping timeout: 250 seconds]
FRidh2 has joined #nixos-dev
FRidh has quit [Ping timeout: 264 seconds]
<mkg20001> Anyone mind helping me with https://github.com/NixOS/nix/pull/3425 ?
Jackneill has joined #nixos-dev
jared-w has quit [Ping timeout: 256 seconds]
feepo has quit [Ping timeout: 256 seconds]
claudiii has quit [Ping timeout: 272 seconds]
dmj` has quit [Ping timeout: 272 seconds]
cbarrett has quit [Ping timeout: 272 seconds]
claudiii has joined #nixos-dev
nh2 has quit [Ping timeout: 256 seconds]
carter has quit [Ping timeout: 256 seconds]
teehemkay has quit [Ping timeout: 256 seconds]
aria has quit [Ping timeout: 240 seconds]
teozkr has quit [Ping timeout: 240 seconds]
cbarrett has joined #nixos-dev
feepo has joined #nixos-dev
jared-w has joined #nixos-dev
dmj` has joined #nixos-dev
aria has joined #nixos-dev
teozkr has joined #nixos-dev
teehemkay has joined #nixos-dev
carter has joined #nixos-dev
nh2 has joined #nixos-dev
Jackneill has quit [Ping timeout: 250 seconds]
Jackneill has joined #nixos-dev
__monty__ has joined #nixos-dev
orivej has quit [Ping timeout: 256 seconds]
FRidh has joined #nixos-dev
FRidh2 has quit [Ping timeout: 250 seconds]
FRidh2 has joined #nixos-dev
FRidh has quit [Ping timeout: 250 seconds]
FRidh2 has quit [Quit: Konversation terminated!]
FRidh2 has joined #nixos-dev
<yorick> niksnut: moving the evalstate to the heap will blind the gc from it, right?
<puck> yorick: there's a second commit before that, which i missed
<yorick> ooh
<yorick> inheriting from gc seems a lot better than what I've been doing
<niksnut> yeah EvalState should not be visible
<arianvp> niksnut: with flakes, will the `nixpkgs.` options in nixos become obsolete?
<arianvp> and at the same time, make us be able to fix the issue of nixos tests evaluating pkgs over and over?
<arianvp> i.e. a nixos config always takes a fully evaluated pkgs as an argument, instead of self-influencing it
<domenkozar[m]> https://opencollective.com/nix-errors-enhancement phase 1 goal almost reached :)
<Mic92> sphalerite: worldofpeace spacekookie niksnut are we using mumble today for the meeting?
<spacekookie> Oh shit, I forgot it was a mumble 😱
<spacekookie> Should test my ap'and
<spacekookie> *app
<Mic92> spacekookie: you still got some time
<sphalerite> Works for me, I've got a server at sphalerite.org if we want to use that
<spacekookie> Wanna share the details? sphalerite
<sphalerite> spacekookie: just sphalerite.org :)
<spacekookie> One thing I'm still trying to understand is how we can build a better community but like, port and is there a pw?
<sphalerite> standard port, 64738, no password
<worldofpeace> Can't make this one either. The next one everything should be back to normal though once I'm back in the US.
<Mic92> sphalerite: joining?
<Mic92> * I mean spacekookie
<spacekookie> 1 sec
<spacekookie> I thought it was 1400utc?
<niksnut> no 14:30
<Mic92> spacekookie: use jitsi for today
<sphalerite> 13:30 utc I think
<garbas> domenkozar[m]: would be possible to get access to google webmaster tools (or whatever they call it this days) for nixos.org? to see what we broke :)
<domenkozar[m]> yes
<domenkozar[m]> not sure how
<domenkozar[m]> :D
<domenkozar[m]> I'll check
<domenkozar[m]> garbas: I think you should be able to just add it yourself
<domenkozar[m]> ah I can add users
orivej has joined #nixos-dev
<garbas> tnx. my gmail send via PM
abathur has joined #nixos-dev
abathur has quit [Quit: abathur]
abathur has joined #nixos-dev
FRidh has joined #nixos-dev
FRidh2 has quit [Ping timeout: 264 seconds]
<clever> gchristensen: what does the nixos hydra look like for `ls -lhd /nix/store/.links/`
justanotheruser has quit [Ping timeout: 272 seconds]
<gchristensen> I don't think it uses that
<gchristensen> but I can check
justanotheruser has joined #nixos-dev
drakonis has joined #nixos-dev
drakonis has quit [Ping timeout: 246 seconds]
misuzu has quit [Quit: leaving]
misuzu has joined #nixos-dev
drakonis has joined #nixos-dev
cole-h has joined #nixos-dev
<cole-h> puck++ Woo! Thanks for tracking down that segfault issue, so that it could get fixed! Now I just have to wait for the next nixUnstable bump
<cole-h> Can't +rep offline users... :(
<samueldr> it should work
<cole-h> Oh, bot's dead.
<cole-h> ,ping
FRidh has quit [Quit: Konversation terminated!]
<gchristensen> infinisil: can you restart your end? :)
<infinisil> Hm weird, don't see anything odd in the logs
<infinisil> Restarted
{^_^} has quit [Remote host closed the connection]
<infinisil> ,ping
<infinisil> Oh
<gchristensen> oh what
<infinisil> Mar 19 18:52:48 protos nixbot[5798]: [ThreadId 1] Exception: ConnectionClosedException Abnormal "Could not connect to any of the provided brokers: [((\"events.nix.gsc.io\",5671),HostCannotConnect \"events.nix.gsc.io\" [Network.Socket.connect: <socket: 3>: does not exist (Connection refused),Network.Socket.connect: <socket: 3>: does not exist (Connection refused)])]"
<infinisil> Got that only after restarting though
<clever> gchristensen: had a chance to check?
<infinisil> ,ping
<gchristensen> working on it :)
<infinisil> Oh, I just now realize that {^_^} isn't here
<gchristensen> grrrr.... order of events: I lit my home system on fire => on startup, wireguard didn't work quite right => wireguard tunnel on {^_^}'s server failed => monitoring didn't catch it => znapzend could'nt send snaps -> znapzend wouldn't clean up snaps -> disk ran out of space
<andi-> sounds like you should decouple a few things :)
<gchristensen> :P
<clever> gchristensen: ran out of firewood?
<gchristensen> or set up some more alerting?
<cransom> see? always a network problem.
<gchristensen> wait 'til I tell you about DNS ...
<gchristensen> BTW not able to fix this for the next ~10 minutes, I have a high priority thing about giving capacity back to Packet, and then a dr. appointment
<gchristensen> ~40 min* I estimate
lovesegfault has joined #nixos-dev
<LnL> hope the packet thing isn't bad news
<gchristensen> nope
<gchristensen> they got a customer who needed a lot of capacity all of a sudden :P
<andi-> jitsi? :P
<gchristensen> it turns out remote work makes reasons to scale
<gchristensen> our packet account also had 2x as many of a certain instance type than I intended, too, because they had a bug where my spot market requests were not being deleted properly
<LnL> cool, figured it would be something like that :)
<LnL> oh, heh
<gchristensen> it seems my doctor appointment is delayed
<samueldr> I have this weird thing with my toy hydra instance where the queue will seemingly get stuck with jobs it should be able to handle
<gchristensen> what do the queue runner stats say?
ris has joined #nixos-dev
<andi-> samueldr: I've had that as well, typically restarting the queue runner fixes it
<samueldr> gchristensen: what's that URL again?
<samueldr> andi-: yeah, I kick down the whole hydra-in-a-bag and it picks back up
<samueldr> obviously I'm asking since this is a small enough scale, and toy enough that I can trivially play with the code and even break it without worries
<lovesegfault> Eh, why do we use clang 7 to build webkitgtk?
<samueldr> gchristensen: `hydra-queue-runner --status | jq` output if that's what you needed
lovesegfault has quit [Quit: WeeChat 2.7.1]
orivej has quit [Quit: orivej]
orivej has joined #nixos-dev
lovesegfault has joined #nixos-dev
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos-dev
drakonis has quit [Ping timeout: 246 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
<samueldr> <3 infinisil
<samueldr> testing your fix
<infinisil> :D
drakonis has joined #nixos-dev
<cole-h> For the first time, I didn't get pinged before my PR was even finished loading
<cole-h> RIP {^_^} :'(
<samueldr> RIP gr*ham's free time
<gchristensen> it is recovering now!
puck has quit [Remote host closed the connection]
puck has joined #nixos-dev
puck has quit [Excess Flood]
puck has joined #nixos-dev
justanotheruser has quit [Ping timeout: 250 seconds]
<samueldr> once I added new jobs to the stuck queue, it eventually started processing some
garbas has quit [Quit: WeeChat 2.7.1]
garbas has joined #nixos-dev
<samueldr> and there it is, stuck with now 25 queued, 0 going on, anything I can dump, or try?
<samueldr> updated the gist
garbas has quit [Quit: WeeChat 2.7.1]
garbas has joined #nixos-dev
{^_^} has joined #nixos-dev
Jackneill has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
justanotheruser has joined #nixos-dev
<samueldr> hmm, restarting the queue runner doesn't seem to make them go
<samueldr> how can I know why there's 29 unfinished steps, but 7 runnable?
m1cr0m4n has quit [Ping timeout: 268 seconds]
lovesegfault has quit [Quit: WeeChat 2.7.1]
<niksnut> samueldr: under machineTypes it shows "x86_64-linux:big-parallel", but you don't have a machine with that feature
<samueldr> oh, from the "machineTypes" name I assumed it was a machine type that was available
<samueldr> so it's something like "buildsPerMachineState"?
<niksnut> yeah, it's the types of machines required by the steps
<samueldr> alright
<samueldr> how can the only machine (localhost) advertise itself as big-parallel?
<niksnut> I think you need to make a nix.machines file
<samueldr> is it as simple as making a "machines" file with "localhost ... ... ..."?
<niksnut> but we should fix the default
<niksnut> nix itself sets some default features: StringSet features{"nixos-test", "benchmark", "big-parallel", "recursive-nix"};
<niksnut> but hydra doesn't
<Ericson2314> niksnut: so the next thing I am thinking is that whenver there is an input for which we don't have an output path, we can use some generalization of the placeholder mechanism
<samueldr> look at that, queue being filled
<samueldr> thanks niksnut
<samueldr> though I did get some weirdness at some point, so I'll keep my eyes peeled for when it'll happen
<samueldr> (I had the machine set in a machines file, but with samuel@localhost and it made two machines, which I think muddied things up)
<samueldr> (well, not what I shown, but before that)
<niksnut> yeah, there are periodic reports of jobs getting stuck for no apparent reason
<samueldr> I think my underpowered local aarch64 builder may have been causing some grief in the queue, but that's juste a feeling, no tangible proof