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
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
drakonis has quit [Quit: WeeChat 2.3]
drakonis has joined #nixos-dev
jtojnar has quit [Ping timeout: 240 seconds]
<gchristensen> memtest86plus doesn't work with efi
q6AA4FD has joined #nixos-dev
<samueldr> nope it doesn't
<gchristensen> lol
<samueldr> there's the closed sourced continuation of memtest86
<samueldr> which is built for efi
<samueldr> AFAIUI the other is a fork from an earlier revision of this one
<gchristensen> that is more like it!
<samueldr> I like how CPUs go to U, but that's not enough for 48
<gchristensen> lol
<gchristensen> should we, uh, package the unfree one?
<samueldr> I was thinking there were reasons for not doing it
<gchristensen> me too...
<samueldr> but probably yeah, considering how unfree and eulas can be handled in nixpkgs
<gchristensen> I can't really find a license
<gchristensen> "MemTest86 Free Edition is free to download with no restrictions on usage"
<samueldr> ah, I would have bet they'd restrict usage
<samueldr> so just unfree I guess?
<gchristensen> it is free but not as featureful as their paid thing
<samueldr> https://www.memtest86.com/license.htm for the source of that string
<gchristensen> so yeah I guess so
<samueldr> but the features are "unimportant", AFAICT
<gchristensen> ecc error injection looks might cool :D
<gchristensen> but also, yeah
<samueldr> half of them are automation/reporting, otherwise some advanced test features abotut ECC or some performance details (SPD details)
<gchristensen> anyway, yeah, I guess unfree
lassulus has quit [Ping timeout: 240 seconds]
lassulus has joined #nixos-dev
pie_ has joined #nixos-dev
pie__ has quit [Ping timeout: 272 seconds]
drakonis has quit [Quit: WeeChat 2.3]
WilliButz has quit [Ping timeout: 268 seconds]
fadenb has quit [Ping timeout: 252 seconds]
WilliButz has joined #nixos-dev
fadenb has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
pie__ has joined #nixos-dev
pie_ has quit [Ping timeout: 244 seconds]
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<gchristensen> pretty sure this new unfree memtest is closed source because it never actually completes, and they're just pranking us
jtojnar has joined #nixos-dev
jtojnar has quit [Quit: jtojnar]
<domenkozar> weekly is happening tomorrow, hurry up :) https://github.com/NixOS/nixos-weekly/pull/75
<{^_^}> nixos-weekly#75 (by domenkozar, 1 week ago, open): Call for Content: 2019/02
q6AA4FD has joined #nixos-dev
jtojnar has joined #nixos-dev
<Phillemann> What's the "has: clean-up" label for?
init_6 has joined #nixos-dev
hedning_ has joined #nixos-dev
hedning_ is now known as hedning
init_6 has quit [Ping timeout: 240 seconds]
init_6 has joined #nixos-dev
avn has quit [Remote host closed the connection]
init_6 has quit []
apaul1729 has joined #nixos-dev
<samueldr> anyone actually knowledgeable with the kernel, or has leads or contacts, could take a look at #54509? not sure what can and should be done, and it probably needs to be reported to upstream if it hasn't already by aszlig
<{^_^}> https://github.com/NixOS/nixpkgs/issues/54509 (by bachp, 5 days ago, open): OverlayFS broken on NixOS Kernel 4.19 and 4.20
<aszlig> samueldr: sorry, i didn't get back to posting this on the mailing list
<aszlig> samueldr: i still have a draft email with the details, but i was on the wrong track there and the actual problem was a different one
<aszlig> samueldr: do you have a non-NixOS system available right now?
<gchristensen> what do you need one for
<gchristensen> ?
<aszlig> i vaguely remember that i tested it on a non-nixos system, but i don't remember the result
<samueldr> no, only managing the release
<gchristensen> (I can get you one)
<aszlig> gchristensen: for writing the bug report to the unionfs mailinglist
<samueldr> (which here I mean making sure the problem isn't overlooked)
<gchristensen> aszlig: what distro would you like?
<aszlig> or well, let me rephrase it:
<samueldr> I think aszlig needs a non-nixos repro of the issue?
<aszlig> does the problem also occur on non-nixos hosts when running NixOS VM tests on kernel >= 4.19?
<gchristensen> I can't do that, but I can provide a Linux machine
<samueldr> the "Operation not permitted" isn't limited to the VM tests, a build-vm vm also exhibited the same issue, but I think they do share the same way to share the store
<gchristensen> oh you know what
<gchristensen> aszlig: do you have IRC logs between you and me from 2018-12-08?
<aszlig> gchristensen: oh, i think so, let me check
<gchristensen> "yeah, still works fine" is something I said, if that helps you finda key part of the convo :)
<aszlig> gchristensen: found it... but it was on nixos not non-nixos distro
<gchristensen> ah...
<aszlig> i wanted to narrow it down whether it changes anything if the host kernel is 4.19
<aszlig> and the test you did was on 4.19
<aszlig> but still nixos
<samueldr> 4.18.20 here on nixos host if it matters
<aszlig> samueldr: we need a non-nixos host :-D
<samueldr> who would do such a thing?
<aszlig> because i wanted to give the kernel maintainers a way te reproduce it
<gchristensen> step one: install nixos ;)
<aszlig> so i have to make sure that it works with nix on non-nixos systems
<aszlig> gchristensen: well... the original maintainer i wrote the original bug report already asked me whether i could make a test case for non-nixos systems
<aszlig> and i tried very hard to reproduce it on something like fedora
<aszlig> (and it was actually quite painful)
<gchristensen> aszlig: well, if I get you a, say, ubuntu box, would that be useful?
<aszlig> but couldn't reproduce it (with fedora as *guest* of course)
<aszlig> gchristensen: well, don't we already have users who just use nix on a non-nixos system?
<aszlig> ... and also non-macos system of course :-D
<gchristensen> all the ones I know of saw the light
<aszlig> gchristensen: yeah, same here, even the machines non-technical relatives run nixos X-D
apaul1729 has quit [Quit: Ping timeout (120 seconds)]
apaul1729 has joined #nixos-dev
<gchristensen> ofborg does a better job of identifying maintainers if we do this: https://github.com/NixOS/nixpkgs/pull/54892/commits/18993b3dd11fcbc7cfede0e41c9955063417ec48 is there a nicer way we could do this?
<gchristensen> matthewbauer[m], Ericson2314, maybe y'all have opinions ^
<aszlig> gchristensen, samueldr: should i cc you for the bug report?
<gchristensen> please! graham@grahamc.com
<samueldr> aszlig: please do, samuel@dionne-riel.com
<samueldr> (do I need to register to a mailing list or something?)
<matthewbauer[m]> gchristensen: have you looked at https://github.com/NixOS/nixpkgs/pull/54801 ?
<{^_^}> #54801 (by matthewbauer, 1 day ago, open): make-derivation: fix position in trace
<matthewbauer[m]> I think that might address the same issue
<gchristensen> :o
<gchristensen> I'm not sure it will work, though, for elixer
<gchristensen> (I can't spell elixir, despite knowing how it is spelled)
<matthewbauer[m]> But we may still need your fix for elixir
<matthewbauer[m]> And add some for other generic-builder
<gchristensen> yeah
<matthewbauer[m]> anything that touches "name" ends up messing up the locations
<gchristensen> right
<gchristensen> ofborg uses even more hints than nixpkgs, I think
<aszlig> okay, before sending that report i'm going to try the latest mainline kernel just to make sure the problem is still there =)
apaul1729 has quit [Ping timeout: 245 seconds]
<aszlig> confirmed, still the case for 5.0-rc4
<aszlig> so, report written, just waiting for immae to confirm it works on non-nixos systems with 4.19 :-)
avn has joined #nixos-dev
apaul1729 has joined #nixos-dev
drakonis has joined #nixos-dev
<aszlig> sent
<gchristensen> yay! thank you aszlig :D
<aszlig> gchristensen, samueldr: thank you too, for reminding me about the issue
<samueldr> thanks for digging
<gchristensen> hmm did you cc me?
<samueldr> (it went to my spam folder)
<gchristensen> ah!
<gchristensen> dat nix.build email !!
q6AA4FD has quit [Read error: Connection reset by peer]
q6AA4FD has joined #nixos-dev
<gchristensen> aszlig: very well written
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
JosW has joined #nixos-dev
<qyliss^work> Wow, I'm glad we waited on #54582. I just found (and sent a patch upstream for) ANOTHER Ruby 2.6 bug.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54582 (by alyssais, 4 days ago, open): ruby: 2.5.3 -> 2.6.0
<gchristensen> niceee
<gchristensen> what'd you find?
<dtz> lol >.<
<dtz> well GJ
<qyliss^work> I don't think I remember a release with this many completely unrelated bugs
<qyliss^work> gchristensen: https://github.com/ruby/rexml/pull/13
<{^_^}> ruby/rexml#13 (by alyssais, 26 minutes ago, open): Fix crash with nil XPath variables
<gchristensen> oh dear
<gchristensen> null pointers, man
<gchristensen> s/ pointer//
q6AA4FD has joined #nixos-dev
<qyliss^work> cc samueldr
worldofpeace has joined #nixos-dev
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<samueldr> qyliss^work: nothing is pressing in bumping ruby 2.6, so we can wait until the last moments of the freezing period I think
<qyliss^work> Yeah.
<samueldr> good thing the bugs are showing up early :)
<qyliss> I’m upgrading a >10 year old Rails monolith with 30000 tests ;)
<gchristensen> nice
<qyliss> I should really have run it on the RCs and caught these before
<qyliss> But didn’t have capacity at the time :(
<qyliss> From work chat: <alyssa.ross> We should have a "Days since we discovered a Ruby bug" sign in the office
apaul1729 has quit [Ping timeout: 250 seconds]
apaul1729 has joined #nixos-dev
<dtz> lmao
worldofpeace has quit [Remote host closed the connection]
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
apaul1729 has quit [Ping timeout: 240 seconds]
<infinisil> I feel like the checkmarks in the PR template are really useless
<infinisil> Nobody actually reads the contribution guidelines, but tickes the box of course (similar to accepting terms and conditions)
<infinisil> Sometimes people don't even make sure the build succeeds, but tick the box for having built it still
<infinisil> And now I just saw a PR that checked the box for having executed all binary files in the package. There are no binaries in the package though..
<infinisil> And that's really annoying when we have such a high rate of incoming PR's, but only such little reviewers. It makes me not trust these checkmarks, even though I really want to trust them
<qyliss> I don’t really find them at all useful
<qyliss> I fill them out every time, but feels kind of pointless
<infinisil> Yeah same
<samueldr> I was toying with the idea of providing a default template for PRs, for manual PRs, the usual like now, but with fewer checkboxes (maybe only: I have read the contributing guide etc.)
<samueldr> but also have something like nix-review which could output a pre-configured PR template
<tilpner> I open the contribution guidelines every time, in case they changed
<infinisil> I want a checkmark for "I have formatted my commit messages according to the guidelines <link>"
<tilpner> But I agree that the box is mostly useless
<samueldr> so it could list all the binaries, or do nix path-info automatically
<tilpner> If the author didn't read them, it'll be evident from their commits
<tilpner> (And if it's not evident, it didn't matter)
<samueldr> I'm kinda thinking a good chunk of the users in this channels both aren't the ones mis-filling them, and whom it's the most important to fill correctly
<tilpner> And the closure size box seems like something borg should do
<samueldr> right
<samueldr> but yeah, main idea was to have a tooling to generate the PR bodies, for those that want to use it, maybe streamlining some contributions
<infinisil> How would that work? Is there some GitHub functionality for that?
<infinisil> Or just with a manual tool and copy pasting over?
<samueldr> no functionality AFAICT, which was my main blocker
<samueldr> yeah
<samueldr> or with github api token
<infinisil> I think I'd prefer having more automated checks
<samueldr> but then, ofborg does a part of what could be really useful already
<cransom> has anyone checked into if https://github.com/apps/prlint would reduce user submitted checkbox strain?
<infinisil> cransom: Not sure, I can't think of anything we could use this for
<cransom> part of contributing says things about `blah: 1.0 -> 1.2` but thats probably not a deal breaker for commits.
<samueldr> then I guess there are gremlinks in <nixpkgs> :$
<samueldr> oops, gremlins*
<samueldr> hmmm
<samueldr> it's been down for what, 24h?
<gchristensen> yeah
<samueldr> hmmm, more checkmarks than usual
* samueldr hates this
<gchristensen> we could take kvm off its features for a while
<ivan> would anyone like to merge https://github.com/NixOS/nixpkgs/pull/54392 'cause I'm rebuilding ffmpeg here all the time now
<{^_^}> #54392 (by ivan, 1 week ago, open): ffmpeg, mpv: enable hardware-accelerated decoding with CUDA
<Profpatsch> Oh, somebody bounded the width of the manual! Tasty.
<Profpatsch> Though it kinda side-scrolls now.
<ivan> oh it's got conflicts I need to resolve
<gchristensen> ivan: fix those up, and Ill trigger ofborg
<ivan> gchristensen: fixed
<gchristensen> I hear tell ofborg should learn a new impacted-packages range, what should it be?
<ivan> is that a question for me? I am confused
<gchristensen> for the channel
<gchristensen> 500-1000? 500-10,000?
<infinisil> Alternatively I just made the suggestion to use percentage (of all derivations) ranges instead (in #nixos-borg), so we could have labels for <1%, 1-20% and >20%
<gchristensen> change 100-500 to 100-1000, and do a 1000-10000, and a 10000+?
<gchristensen> ( infinisil's proposal on %s has merit, but isn't within scope of "oh, I could do that tonight")
<infinisil> ( Fair enough )
<Profpatsch> zimbatm: lol, I managed to copy the wrong hash.
<Profpatsch> Didn’t we design the new error message together?
<Profpatsch> :D
<gchristensen> 10,000 feels like a big jump
<gchristensen> 500-1,000, 1,000-5,000, 5,000-10,000 ?
<Profpatsch> gchristensen: why not an order of magnitude?
<Profpatsch> Or why not: 2^n? :)
<gchristensen> like 100-1000, 1000-10000, and a 10000+?
<Profpatsch> Hm, it gets hard to read
<gchristensen> we can add ,s
<gchristensen> 2^ns are pretty nice divisions
<Profpatsch> or 100–1k, 1k–10k, 10k+
<gchristensen> even better
<Profpatsch> There was this way of estimating orders of magnitude
<gchristensen> ping lnl on this chat
<gchristensen> probably need an rfc on this
<Profpatsch> It went by logarithmic scale, so 3–20 is 10^1, 30–200 is 10^2, 300–2000 is 10^3 and so on.
<Profpatsch> “ To round a number to its nearest order of magnitude, one rounds its logarithm to the nearest integer.”
<gchristensen> is 1k changed packages ok for master?
<Profpatsch> So you can do n=round(log10(pkgs)) and display 10^n
<gchristensen> let's get some Hot Takes
<gchristensen> is 1k changed packages ok for master?
<gchristensen> infinisil, LnL, samueldr
<samueldr> depends on the cost of building said packages!
<andi-> gchristensen: that is an interesting topic... lately I have heard <5k would be fine within a day.. I am hacing the same discussion about ~5kish packages for the firefox bump as well..
<LnL> not sure the buckets are that important for those large numbers, but something between <1k and >10k can be useful
<infinisil> gchristensen: I think 1000 is alright for master
<LnL> depending on what type of packages it is it can be ok
<infinisil> In general
<gchristensen> is 5k changed packages ok for master?
<infinisil> I'd like to know how many packages we have in total (that get built by hydra, not counting arch duplicates)
<gchristensen> these takes aren't hot, infinisil
<infinisil> > 64131 / 3 # divided by arches
<{^_^}> 21377
<infinisil> So, 5k is too much imo :P
<gchristensen> frigid take
<gchristensen> 2.5k?
<LnL> infinisil: x86_64-linux is 24890
<infinisil> Ah nice, so a roundish 25k
<infinisil> gchristensen: 2.5k -> master
<gchristensen> ok, so 500-1k, 1k-2.5k, 2.5k+
<gchristensen> 2.5k-5k, 5k+?
<gchristensen> yeah. I like that.
<infinisil> Well, but those numbers ofborg uses currently don't factor in arches
<infinisil> So maybe everything times 3? :P
<gchristensen> they do
<infinisil> Well yeah they do, I mean that they count packages twice and thrice
<gchristensen> no they don't
<infinisil> Oh?
<gchristensen> they count "x86_64-darwin" and "x86_64-linux" and discard i686-linux and aarch64-linux
<infinisil> Oh, duh, you're right, the labels are at least mac/linux specific
<infinisil> gchristensen: And linux builds don't count twice either for each arch?
<infinisil> There's three linux arches I just realized
<gchristensen> the code looks at every changed package by architecture, counts each changed package by those two archs and discards the rest
<infinisil> Not sure I got that but I gotta go now. My suggestion for labels: 10-499, 500-5k and 5k+
<gchristensen> thanks, infinisil!
jtojnar has quit [Quit: jtojnar]