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 https://r13y.com | 18.09 release managers: vcunat,samueldr | 19.03 RMs: samueldr,sphalerite | https://logs.nix.samueldr.com/nixos-dev
<samueldr> uh oh, the aarch64 sd_image size now passes?
* samueldr wonders about the unreproducible bits
<samueldr> though it could also realistically be a small closure increase, followed by a small closure decrease
<gchristensen> uh oh?
<samueldr> well, I'd prefer constant failures than maybe failures
<gchristensen> what is the uh oh?
<samueldr> sd_image exceeded output size
<samueldr> and now it doesn't
<gchristensen> ack
<gchristensen> ,ops
<gchristensen> ,ops = gchristensen, srhb
<{^_^}> ops defined
<gchristensen> ,ops = #nixos ops: gchristensen, srhb
<{^_^}> ops redefined, was defined as gchristensen, srhb
ajs124 has left #nixos-dev [#nixos-dev]
drakonis has quit [Ping timeout: 244 seconds]
drakonis has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.3]
orivej has joined #nixos-dev
ajs124 has joined #nixos-dev
ajs124 has left #nixos-dev ["Machine going to sleep"]
sphalerit has quit [Remote host closed the connection]
roberth has quit [Read error: Connection reset by peer]
dtz has quit [Read error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
vaibhavsagar has quit [Remote host closed the connection]
bennofs[m] has quit [Read error: Connection reset by peer]
worldofpeace has quit [Remote host closed the connection]
yegortimoshenko has quit [Remote host closed the connection]
Moredread[m] has quit [Remote host closed the connection]
thefloweringash has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
Ericson2314 has quit [Remote host closed the connection]
philipp[m] has quit [Write error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
Ericson2314 has joined #nixos-dev
ckauhaus has joined #nixos-dev
timokau[m] has joined #nixos-dev
sphalerit has joined #nixos-dev
bennofs[m] has joined #nixos-dev
dtz has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
rycee has joined #nixos-dev
Moredread[m] has joined #nixos-dev
philipp[m] has joined #nixos-dev
worldofpeace has joined #nixos-dev
roberth has joined #nixos-dev
vaibhavsagar has joined #nixos-dev
thefloweringash has joined #nixos-dev
matthewbauer has joined #nixos-dev
lopsided98 has quit [Ping timeout: 250 seconds]
lopsided98_ has joined #nixos-dev
jtojnar has joined #nixos-dev
ajs124 has joined #nixos-dev
ajs124 has left #nixos-dev [#nixos-dev]
ajs124 has joined #nixos-dev
timokau[m] has quit [Read error: Connection reset by peer]
Moredread[m] has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
sphalerit has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
roberth has quit [Remote host closed the connection]
dtz has quit [Read error: Connection reset by peer]
worldofpeace has quit [Remote host closed the connection]
matthewbauer has quit [Remote host closed the connection]
vaibhavsagar has quit [Read error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
yegortimoshenko has quit [Remote host closed the connection]
bennofs[m] has quit [Write error: Connection reset by peer]
Ericson2314 has joined #nixos-dev
JosW has joined #nixos-dev
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
JosW has joined #nixos-dev
dtz has joined #nixos-dev
rycee has joined #nixos-dev
timokau[m] has joined #nixos-dev
sphalerit has joined #nixos-dev
bennofs[m] has joined #nixos-dev
yegortimoshenko has joined #nixos-dev
Moredread[m] has joined #nixos-dev
roberth has joined #nixos-dev
worldofpeace has joined #nixos-dev
philipp[m] has joined #nixos-dev
thefloweringash has joined #nixos-dev
vaibhavsagar has joined #nixos-dev
matthewbauer has joined #nixos-dev
<tilpner> Looking for merge before it desyncs from master like my other PRs: #58029
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58029 (by tilpner, 2 weeks ago, open): godot: 3.0.6 -> 3.1
init_6 has joined #nixos-dev
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
orivej has quit [Ping timeout: 245 seconds]
lassulus has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-dev
orivej has quit [Ping timeout: 250 seconds]
justanotheruser has quit [Ping timeout: 250 seconds]
drakonis1 has joined #nixos-dev
<globin> niksnut: https://github.com/NixOS/nix/issues/2743 includes a fix for ctrl-c behaviour in nix repl, cherry-picking https://github.com/xbreak/nix/commit/fcd766097636943ff11b84747d11a4e52d3d8e38 is the included fix and should be enough
<{^_^}> nix#2743 (by xbreak, 1 week ago, open): [regression?] nix repl: ctrl-c behaviour?
<niksnut> thanks
<globin> zimbatm: ping https://github.com/moretea/yarn2nix/pull/92 do you need anything else to get that merged?
<{^_^}> moretea/yarn2nix#92 (by srghma, 12 weeks ago, open): Support git dependencies
nocent has joined #nixos-dev
<zimbatm> globin: can you ping me again in 2h? :)
<zimbatm> on the move right now
<globin> hmm, will be on my way until tomorrow or sunday in a few minutes :/
<zimbatm> this project is getting too complicated for my level of JavaScript :/
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-dev
drakonis1 has quit [Quit: WeeChat 2.3]
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 245 seconds]
drakonis_ has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 258 seconds]
joepie91 is now known as mr`pie
mr`pie is now known as joepie91
drakonis has joined #nixos-dev
page has quit [Quit: leaving]
<ekleog> please tell me 19.03 hasn't been cut off yet
<gchristensen> it has not, why do you say that?
<ekleog> I think I'm looking at a service that's missing a `stateVersion` bump
<ekleog> well, stateVersion check*
page has joined #nixos-dev
<ekleog> and I don't know for other people but the moment I personally most need rollbacks is when bumping the release
<ekleog> and nextcloud isn't exactly the smallest service in our set :/
<samueldr> ekleog: cut off yes, released no
<ekleog> right meant released, indeed :)
<samueldr> so a missing stateVersion is in the realm of hopefully-no-catastrophic-yet
<ekleog> … ok so it is indeed missing the stateVersion, as pkgs.nextcloud has been bumped from 14 to 15 since 18.09 and 18.09 already has the module
<samueldr> stateVersion is required to be added/changed only when the schema is incompatible with the previous module
<samueldr> e.g. moved where the files in /var are, or default database names
<samueldr> bumping nextcloud to 14 to 15 isn't by itself needing stateVersion
<ekleog> what I understand is that a major version bump cannot be downgraded due to database schema changes https://github.com/NixOS/nixpkgs/issues/49783#issuecomment-480309261
<ekleog> just opened https://github.com/NixOS/nixpkgs/issues/59025 to track that
<{^_^}> #59025 (by Ekleog, 14 seconds ago, open): Nextcloud cannot be downgraded
MichaelRaskin has joined #nixos-dev
<ekleog> (hopefully 1.severity:blocker is the correct tag for “let's not release while this isn't fixed”)
<samueldr> right, but as far as NixOS is concerned, has the location of things changed? or the module changed settings in an incompatible way, not considering schema upgrades from the software
<ekleog> the nixos config stays exactly the same, you can nixos-rebuild --upgrade but then if you nixos-rebuild --rollback nextcloud can't start any longer
<samueldr> room, correct me if I'm incorrect, but I'm pretty sure this isn't a case of stateVersion :/
<ekleog> … wait that's what I understood as the whole meaning of stateVersion?
<samueldr> when the nixos internals change with relation to the module
<samueldr> e.g. location of /var/ data being moved...
<gchristensen> hrm we had a similar stateversion pin around postgres
<samueldr> there's the case of postgreSQL default changing, e.g. superuser from root to postgres
<samueldr> but yeah, I was about to say: there's precedent in postgreSQL pinning a version
<samueldr> but they are concurrently maintained version
<samueldr> I'm kinda confident in assuming that rollback to previous releases of many "stateful" software will fail within NixOS... and might be somewhat out of scope, but would be great if we had a better story about that
<gchristensen> yeah, I'm not sure what to do here
<gchristensen> I feel backing up data prior to major releases should be a thing people do
<samueldr> having to keep all software versions for everything stateful for rollback purposes behind stateVersion is not manageable
<gchristensen> +1
<ekleog> hmm my understanding of stateVersion was “changing this might need manual intervention, be it for the change of for the rollback of the change”, which made sense for me, but it's true that we might be underutilizing this
<samueldr> and furthermore, gating the nexcloud version behind stateVersion would preclude keeping a previous stateVersion due to *another* stateful thing needing it
<ekleog> well, it would make sense to me for software that aren't forward-compatible, but then I'm always erring on the side of “we should just keep all versions of all packages in nixpkgs so long as it's not becoming a burden in download times & co”, so… :°
<samueldr> e.g. on a 17.09 stateVersion, I upgrade to 19.03 and need/want nextcloud 15; I shouldn't need to change stateVersion to 19.03; especially since here it means the big changes in the postgreSQL "nixos schema" things (var file locations, superusers)
<gchristensen> yeah, that isn't a thing we do, for sure
<gchristensen> stateVersion is generally pretty nasty
<samueldr> stateVersion is really about "oopsie nixos is incompatible with older nixos releases" and not about the internals of the software
<gchristensen> yea
<ekleog> well, I react this way because I know I tried to upgrade one of my machines like a week ago and failed to find a correct opensmtpd config after its config file overhaul, and had to rollback until I find further time… and I'm happy to have attempted that upgrade on not-my-nextcloud-server because otherwise I'd have been blocked in a state where either opensmtpd or nextcloud was broken
<ekleog> (or I should have restored from a backup, which is time-consuming)
<gchristensen> I think a better route is to ensure the release notes indicate that rolling back is not possible due to the nextcloud data thing, and to encourage backups to users of that service
<samueldr> though the notice is really "anything stateful might not rollback right"
<samueldr> which also is valid for user software
<gchristensen> hehe
<gchristensen> while true, we have more specific knowledge here :P
<samueldr> I'm thinking that only noticing nextcloud may end up leading the user to think "I'm not using nextcloud, no need to backup my $server stateful data"
<samueldr> "so I'm safe to rollback"
<gchristensen> cool
<gchristensen> good point
<ekleog> well, as we're fixing the world I'd have hoped we would have some way of avoiding that and preserving the “nixos-rebuild --rollback works unless one does an action that explicitly breaks it”, but I guess we're not there yet, then
<gchristensen> Please take backups before each major NixOS version upgrade, as some services may have incompatible updates which prevent rollbacks. In particular, the 18.09 to 19.03 upgrade includes nextcloud..."
<ekleog> (closed the abovementioned issue as it was not a case of stateVersion)
vcunat has joined #nixos-dev
<vcunat> gchristensen: about staging... do you prefer to discuss it publicly in this channel?
<gchristensen> vcunat: sure!
<gchristensen> btw I emailed vcunat asking about staging workflow and what the status is, since it feels many people don't understand how to operate it
<vcunat> OK, I've been too busy lately around ietf.org meeting and other work-related stuff, so I wasn't doing anything bigger around nixos.org.
<gchristensen> ietf work sounds awesome :)
<vcunat> Apparently @FRidh also wasn't working on staging stuff, and noone else either :-)
<gchristensen> :D
<vcunat> I hear the workflow is unclear, so we'll have to improve the docs, but first I suppose we'll do an iteration or two to make master up to date.
<gchristensen> okay, that sounds good
<gchristensen> I am curious what sort of active participation there is, and which parts are more "automatic"
<vcunat> The next step blocking us is to stabilize what we have in the staging-next branch.
<vcunat> I had bits of time, but I've seen many thousand build regressions on Hydra: https://hydra.nixos.org/eval/1512509?compare=1512490#tabs-now-fail
<vcunat> and I didn't have enough time for triaging/fixing them.
<vcunat> Oh, and 19.03 hasn't happened yet, either, has it?
<gchristensen> hopefully very soon
<vcunat> I'm confident I'll have at least one day during this weekend for NixOS stuff, but the question is what needs doing the most :-)
<gchristensen> I think you're clear of obligations on 19.03 :P
<vcunat> I see staging-next regressions on x86_64-linux are just a few now. The other two platforms have thousands each, though most might be transient.
<vcunat> I'm not aware of any real NixOS obligations for me :-)
<gchristensen> me either :)
<gchristensen> I am inclined to retry that llvm build and see what happens
<gchristensen> but that feels crappy
<vcunat> Human time is more precious than machine time.
<gchristensen> +1
* gchristensen presses the big "restart all failed" button
<gchristensen> we might want to mark llvm as big-parallel
<andi-> I'd like to help stabilizing the things but so far the states of the branches have been a bit opaque to me. I have a very own pet peeve: the openssl-1.1 branch looks like it could go into staging soon. Haven't really found anything that is caused by it vs "normale" staging breakage..
<vcunat> well, release-19.03 with its ZHF is clear option to "stabilize"
<vcunat> and currently the most lag is in the staging-next branch which needs stabilization before getting merged to master
<vcunat> I see we got a large security rebuild today to all branches (gettext #58997).
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58997 (by ctheune, 10 hours ago, merged): gettext: apply patch for CVE 2018-18751
<gchristensen> mom
<gchristensen> oops, wow right to staging-next
<andi-> wasn't it staging-next -> staging? o.O
<vcunat> no, it's the other way around
<andi-> argh
<gchristensen> yay confusion
<vcunat> I saw people complaining the same way on the corresponding RFC.
<vcunat> So at some point we'd better do someting about that, too.
<vcunat> The point was that most changes would be merged to staging, just as it used to be.
* andi- feels very sorry for having merged that
<gchristensen> no worries
<gchristensen> andi-: it isn't a big mistake, and if it all comes down to it, undoing it is a revert and a revert-revert away :)
<vcunat> I thought it's normal for CVE fixes to get fast-forward to staging-next, so they're not blocked by more work on stabilization due to more intrusive changes.
* gchristensen writes that down
<andi-> vcunat: that "security" issue is mostly just an edge case on some cli tooling
<andi-> so I intended to let it go the "slower" route
<vcunat> Oh, OK. So I'll "move" that merge to staging.
<andi-> thanks!
<gchristensen> vcunat: I guess in summary, I would prefer you spend time on getting staging/staging-next moving8 a bit
<gchristensen> vcunat: if I can help you by doing something, or providing a big machine for you to work with, I can do that
<vcunat> OK. I have the community machine for aarch64 and my cheap 16-threaded x86 desktop, so that will most likely be fine, as usual.
<gchristensen> cool
<samueldr> so, staging-next is "stabilize-to-merge-in-master" and staging is "break-stuff-and-fix-please" right?
<andi-> that sounds about right from my previous knowledge and the now (again) swapped branch names.
<vcunat> Well, ideally even staging should take too risky changes directly.
<vcunat> But we had the problem that merging new mass-rebuild stuff was disturbing stabilization efforts.
<vcunat> gchristensen: BTW, no news about the bigmac machine? Hydra's been certainly bottle-necked on darwin in the past weeks, and this machine would make a big difference.
<gchristensen> bigmac went to the big datacenter in the sky
<gchristensen> I can try and bring it back to life
<gchristensen> but it would be (again, just like before) temporary
<vcunat> My core2duo mac-mini has been dead for months, but that's such negligible impact...
<samueldr> can we get someone like eelco working for apple? :)
<samueldr> (on nix stuff)
<vcunat> Apple would pay someone to do nix stuff?
<gchristensen> wishful thinking
<gchristensen> vcunat: I will try to bring it back to life this weekend
<vcunat> A few years ago it actually seemed quite hard to get paid for nix stuff (by anyone).
<gchristensen> indeed ...
<vcunat> So far my darwin approach was that there were thousands unfinished builds, but I didn't want to block other platforms so I merged (staging-next -> master) regardless.
<vcunat> I can keep doing that.
<gchristensen> sure
<vcunat> (I've never used Apple stuff; it's not important platform *to myself*.)
<vcunat> So choose as you prefer :-)
<gchristensen> well
<vcunat> There's never enough time to fix everything, not even half of the things.
<gchristensen> we're in a hard spot on both ends here, hard that we haven't done staging stuff in a long time -- hard that darwin is hard to support
<gchristensen> exactly
<gchristensen> so I would rather make forward movement on staging and then play catch-up on darwin
<vcunat> It could be approched the way that we/you mainly fix darwin on the stable nixos-xx.yy branches.
<vcunat> If the rest is too fast moving.
<gchristensen> sounds like a scary every 6mo to see if master works with darwin :P
<gchristensen> but yeah
<vcunat> I'm trying the llvm_7 build on aarch64.nixos.community right now.
<vcunat> $ df -h /tmp
<vcunat> Filesystem      Size  Used Avail Use% Mounted on
<vcunat> tmpfs            63G   63G  511M 100% /
<gchristensen> oops
<vcunat> gchristensen: ^^ it seems I don't have permissions to clear it
<vcunat> nix-build-zfs-kernel-* are large, but there must be something much bigger that I can't see
<gchristensen> I had many repos cloned in my ~
<vcunat> but 63G?
<gchristensen> yeah that doesn't make sense
<samueldr> ah
<vcunat> Oh, it's / and not ust /tmp
<samueldr> each ofborg builder
<samueldr> they have their own nixpkgs checkout
<samueldr> and when users keep stuff in their home, like a nixpkgs checkout, it compounds
<gchristensen> vcunat: do you have enough space now, or shall I do more?
<gchristensen> I can also reboot and it'll get you fresh disk space
<vcunat> Seems sufficient for a llvm build.
<gchristensen> ok
<samueldr> though the nix store is kept on the hard drive, right?
<samueldr> (but /tmp I know)
<gchristensen> indeed it is!
<gchristensen> that one is erased on each boot, too
averell has quit [Quit: .]
<vcunat> OK, success.
<vcunat> I didn't notice it had been running on Hydra in the meantime, but this was much faster... probably because there was almost nothing else running on this machine.
averell has joined #nixos-dev
vcunat has quit [Quit: Leaving.]
<samueldr> :/ I can't shake off the cpu features reproducibility thing from my mind, wondering how Debian handles it, though can't find notes about it on the reproducible builds website
<gchristensen> samueldr: maybe ask in #Reproducible-builds on oftc?
<samueldr> the friction of joining another IRC network :| (I should)
<gchristensen> what is your irc client?
<samueldr> complicated, but not an issue
<gchristensen> ...hrm
<gchristensen> ...
<samueldr> znc <- quassel
<gchristensen> oh, znc
orivej has joined #nixos-dev
drakonis has quit [Read error: Connection reset by peer]
<gchristensen> disabling DHCPheh
<gchristensen> heh
<gchristensen> disabling DHCP in all the NixOS tests which wait for multi-user.target saves 30s!
<gchristensen> nix-build ./test.nix 1.00s user 0.18s system 9% cpu 12.131 total
<gchristensen> vs. nix-build ./test.nix 0.94s user 0.15s system 2% cpu 41.649 total
<worldofpeace> is that because https://github.com/NixOS/nixpkgs/issues/50930 ?
<{^_^}> #50930 (by cprussin, 19 weeks ago, open): Add option to make dhcpcd non-blocking
<gchristensen> multi-user depends on networking, networking by default (as long as dhcpcd is enabled) depends on dhcpcd
obadz has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.3]
justanotheruser has joined #nixos-dev
drakonis has joined #nixos-dev
qyliss^work_ has joined #nixos-dev
harrow` has joined #nixos-dev
ekleog_ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos-dev
jtojnar_ has joined #nixos-dev
niksnut_ has joined #nixos-dev
tv has quit [Ping timeout: 255 seconds]
jtojnar has quit [Ping timeout: 255 seconds]
ekleog has quit [Ping timeout: 255 seconds]
niksnut has quit [Ping timeout: 255 seconds]
qyliss^work has quit [Ping timeout: 255 seconds]
qyliss^work_ is now known as qyliss^work
tdeo has quit [Ping timeout: 246 seconds]
harrow has quit [Ping timeout: 246 seconds]
disasm has quit [Ping timeout: 246 seconds]
aszlig has quit [Ping timeout: 246 seconds]
copumpkin has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 246 seconds]
tv has joined #nixos-dev
copumpkin has joined #nixos-dev
jtojnar_ is now known as jtojnar
kgz has quit [Ping timeout: 246 seconds]
kgz has joined #nixos-dev
orivej_ has quit [Ping timeout: 245 seconds]
<ekleog_> matthewbauer: seeing you gave an r+ without merging on https://github.com/NixOS/nixpkgs/pull/58504 ; is there something blocking merging it or was it just to leave other people the time to react?
<{^_^}> #58504 (by symphorien, 1 week ago, open): Static proot, wafHook cross compilation
ekleog_ is now known as ekleog
phreedom has joined #nixos-dev
phreedom_ has quit [Ping timeout: 256 seconds]