IRC logs for #buildstream for Monday, 2019-12-09

*** traveltissues has joined #buildstream07:42
*** tpollard has joined #buildstream09:17
gitlab-br-botjjardon reopened MR !894 (valentindavid/sysroot_dependencies->master: Add support for importing build dependencies in sysroots.) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/89409:23
*** santi has joined #buildstream09:40
gitlab-br-bottraveltissues merged MR !1753 (traveltissues/remove-unused-functions->master: remove unused functions 1/2) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/175309:43
*** tiagogomes has joined #buildstream09:45
*** ChanServ sets mode: +o jjardon09:48
* jjardon benschubert: Hey, what is the relation of you patch for source plugins and https://gitlab.com/BuildStream/buildstream/merge_requests/1607? Is it you MR maen to replace it?09:48
benschubertjjardon: that's what I am hoping yes, if we get consensus on the ML thread about it. Otherwise I'll fallback to !1607, but I believe the 'new' proposal is cleaner and easier to extend09:49
gitlab-br-botMR !1607: WIP: Run standardised source tests from external plugins https://gitlab.com/BuildStream/buildstream/merge_requests/160709:49
* coldtom reads the ML thread09:49
benschubertThanks :)09:50
*** bochecha has joined #buildstream09:50
jjardonbenschubert: ok, thanks for clarify!09:50
*** tiagogomes has quit IRC09:51
*** tiagogomes has joined #buildstream10:01
tpollardnice improvements on !1755 benschubert :)10:07
benschuberttpollard: I can now scale, 64 workers+ and no slow down :)10:08
benschubertHowever, there is still one bottleneck around forking the process that I want to investigate10:08
benschubertbut I'm now able to process 3400 elements in <7 minutes10:09
juergbibenschubert: that's on WSL?10:10
benschubertjuergbi: no that was on LInux10:10
benschubertbasically, it takes over a second to spawn 32 processes10:11
juergbion native Linux that seems odd. at least for the raw fork() part10:11
benschubertYep, I need to have a deeper look into it :)10:12
benschubertI wonder if it might just be an artifact from the profiler at that point10:12
benschubertI'll need to go back to other methods10:12
*** jonathanmaw has joined #buildstream10:13
*** theawless[m] has quit IRC10:16
*** jjardon[m] has quit IRC10:16
*** kailueke[m] has quit IRC10:16
*** doras has quit IRC10:16
*** reuben640[m] has quit IRC10:16
*** gimpnet-irc[m] has quit IRC10:16
*** tlater[m] has quit IRC10:16
*** segfault3[m] has quit IRC10:16
*** Demos[m] has quit IRC10:16
*** nielsdg has quit IRC10:16
*** Trevinho[m] has quit IRC10:16
*** skullone[m] has quit IRC10:16
*** verdre[m] has quit IRC10:16
*** tchaik[m] has quit IRC10:16
*** ssssam[m] has quit IRC10:16
*** waltervargas[m] has quit IRC10:16
*** abderrahim[m] has quit IRC10:16
*** m_22[m] has quit IRC10:16
*** pro[m] has quit IRC10:16
*** krichter[m] has quit IRC10:16
*** awacheux[m] has quit IRC10:16
*** mrmcq2u[m] has quit IRC10:16
*** albfan[m] has quit IRC10:16
*** cgmcintyre[m] has quit IRC10:16
*** rafaelff[m] has quit IRC10:16
*** asingh_[m] has quit IRC10:16
*** mattiasb has quit IRC10:16
*** dbuch has quit IRC10:16
gitlab-br-botjuergbi closed issue #336 (Internal python errors printed when the scheduler has too many jobs to process) on buildstream https://gitlab.com/BuildStream/buildstream/issues/33610:18
*** rdale has joined #buildstream10:22
*** juergbi has quit IRC10:30
*** juergbi has joined #buildstream10:30
*** lachlan has joined #buildstream10:36
*** Trevinho[m] has joined #buildstream10:39
gitlab-br-botBenjaminSchubert opened MR !1760 (bschubert/add-randomized-order-tests->master: tox.ini: Add ability to run tests in a randomized order) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176011:03
*** lachlan has quit IRC11:05
tpollardis there any reason we don't treat give app.initialized() a session_name for some commands, for instance source_checkout?11:23
benschubertI believe we don't start a scheduler for this?11:26
*** lachlan has joined #buildstream11:26
tpollardbenschubert: it will attempt to fetch source if they're not cached11:28
benschubertoh, then it's probably an oversight :)11:28
tpollardit's a weird mixture, because in the case we call the session start callback some get some UI for that, but then don't get a print summary because we didn't give it a name11:28
tpollardalthough at cli time we don't check if the source is cached, so I guess it's valid to not know if it will start a scheduler11:29
benschubertthen it might be because we don't want the summary? But that seems an ugly way of disablign it11:29
benschuberttlater[m] might know more11:30
*** lachlan has quit IRC11:30
*** tlater[m] has joined #buildstream11:30
tlater[m]Is this in regards to that MR?11:30
* tlater[m] takes a peek11:30
tpollardnope11:31
tpollardnot related11:31
tpollardI've got an MR that changes how we handle messages11:31
tpollardand there's a few edge cases to my implementation11:32
tpollardone of which is when a scheduler is started but we haven't declared it as a named session11:32
tlater[m]Hm, no, I'm not sure11:33
tlater[m]I think that's entirely happenstance11:33
tlater[m]If we want to avoid summaries we should probably do that slightly more explicitly11:34
benschubert^ +111:34
* tlater[m] expects it's just one of those things that get accidentally copy-pasted around after someone missed a little detail somewhere11:34
benschubertAre our plugins expected/allowed to show warnings while run as a job?11:35
tlater[m]benschubert: yes, afaik - there were plans to add a nice messaging API and everything, but it's always been possible to send warning messages11:36
benschubertGood, then we don't seem to be catching that in _track_ :D11:36
benschubertI'll fix this11:36
*** lachlan has joined #buildstream12:00
*** bochecha_ has joined #buildstream12:34
*** bochecha has quit IRC12:36
*** bochecha_ is now known as bochecha12:36
*** bochecha_ has joined #buildstream12:55
*** bochecha has quit IRC12:57
*** bochecha_ is now known as bochecha12:57
*** santi has quit IRC13:25
*** santi has joined #buildstream13:34
gitlab-br-botBenjaminSchubert approved MR !1758 (chandan/remote-setuppy-test->master: Drop support for `setup.py test`) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/175813:48
*** Trevinho[m] has quit IRC13:58
*** abderrahim[m] has joined #buildstream14:56
*** albfan[m] has joined #buildstream14:56
*** asingh_[m] has joined #buildstream14:56
*** awacheux[m] has joined #buildstream14:56
*** cgmcintyre[m] has joined #buildstream14:56
*** connorshea[m] has joined #buildstream14:56
*** dbuch has joined #buildstream14:56
*** Demos[m] has joined #buildstream14:56
*** dineshdb[m] has joined #buildstream14:56
*** doras has joined #buildstream14:56
*** jjardon[m] has joined #buildstream14:56
*** gimpnet-irc[m] has joined #buildstream14:56
*** krichter[m] has joined #buildstream14:56
*** m_22[m] has joined #buildstream14:56
*** mattiasb has joined #buildstream14:56
*** mrmcq2u[m] has joined #buildstream14:56
*** nielsdg has joined #buildstream14:56
*** kailueke[m] has joined #buildstream14:56
*** pro[m] has joined #buildstream14:56
*** rafaelff[m] has joined #buildstream14:57
*** reuben640[m] has joined #buildstream14:57
*** segfault3[m] has joined #buildstream14:57
*** ssssam[m] has joined #buildstream14:57
*** tchaik[m] has joined #buildstream14:57
*** theawless[m] has joined #buildstream14:57
*** verdre[m] has joined #buildstream14:57
*** waltervargas[m] has joined #buildstream14:57
*** skullone[m] has joined #buildstream14:57
gitlab-br-bottlater merged MR !1723 (tlater/update-workspace-manpages->master: man/bst-workspace-reset.1: Update workspace re-open help message) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172315:01
tlater[m]Hey, it worked!15:01
*** dbuch has quit IRC15:15
benschubertHey, question: the source_checkout would checkout the sources as we find them in the source cache (no .git dir for example) that's the expected behavior right?15:30
tlater[m]I personally don't expect that15:32
tlater[m]But I'm not sure if this was discussed during the original proposal15:33
tlater[m]I feel like we took care for that not to happen15:33
benschubert> for that not to happen15:33
benschubertWhat do you mean?15:33
tlater[m]benschubert: I'd expect to be able to run `git status` after checking out a git source15:34
tlater[m]And get reasonable output ;)15:34
benschubertYep15:34
benschubertme too15:34
benschubertand that also means that when you do a 'source fetch' you expect to be able to open a workspace or a source_checkout after right?15:34
tlater[m]But that would mean we need the `.git` directory, no?15:34
tlater[m]Yeah15:34
benschubertwhich is not the case15:35
tlater[m]Why else would I be fetching them?15:35
benschubertgood, I'll write a ML post then :'D15:35
tlater[m]benschubert: You're on a bug hunt today, hehe15:37
benschubertI'm fighting on the fact that I can't get my consistency tests to pass because we are not consistent enough :'D15:38
benschubertBUT on an internal project my 'bst show' is now 15s vs 1m30 on master15:38
*** lachlan has quit IRC15:40
tlater[m]Oh, that's awesome15:42
tlater[m]Any idea if there was a specific change that did that or is it just all the improvements lately?15:42
tlater[m]Or is there a major bug and we're only printing like 10% of the elements? ;p15:42
tpollardbenschubert: I've put some times up for the message rate MR after rebasing (so much nicer without the signal warning...) and fixing a few corner cases. The times on the face of it look encouraging15:44
benschubertoh? :)15:44
tpollardfrom 5m11 down to 3m15 on my system15:44
benschubertWow15:45
benschubertand is everything printed still?15:45
tpollard*should* be15:45
gitlab-br-bottlater approved MR !1752 (juerg/buildbox-run-bubblewrap->master: Add CI job to test buildbox-run-bubblewrap and buildbox-fuse) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/175215:45
tpollardI'd like to create a test to confirm it though15:45
*** lachlan has joined #buildstream15:45
benschubertThat's awesome. let me know when I should review it attentively :)15:45
tpollardall current tests that parse the output pass though, so I'm pretty confident15:49
tpollardand I've not changed when we write to log, that's still message driven15:54
gitlab-br-bottlater closed issue #1211 (Stop using non-POSIX features in small test suite tests to avoid fake test failures) on buildstream https://gitlab.com/BuildStream/buildstream/issues/121116:00
gitlab-br-bottlater merged MR !1725 (1211-stop-using-non-posix-features-in-small-test-suite-tests-to-avoid-fake-test-failures->master: Resolve "Stop using non-POSIX features in small test suite tests to avoid fake test failures") on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/172516:00
benschuberttpollard: oh ok then that should be fine :)16:07
tpollardmy main concern is if the UI behaviour change is suitable to be default16:08
benschubertbetween a stroboscopic outptu and a readable one, I think we can make a case :)16:09
tpollarddepends if people are also avert to a 1Hz strobe...16:11
benschubertthen a ML post :)16:11
tpollardon builds that are way less output intensive the the tick is barely different to unrestricted16:12
benschubertYep16:12
*** lachlan has quit IRC16:15
benschuberttlater[m]: the perf optimizations I made are https://gitlab.com/BuildStream/buildstream/merge_requests/1739 :) It's not ready and I think I will need a ML post for this16:21
tlater[m]Right16:21
* tlater[m] will take a look anyway :)16:22
benschubertlet me know if anythign seems weird :)16:24
benschubertI still have a few things to do to completely remove the consistency check16:24
*** lachlan has joined #buildstream16:26
*** traveltissues has quit IRC16:31
*** lachlan has quit IRC16:34
benschuberttlater[m]: on the benchmarks, this branch is 7-10% faster :)16:34
gitlab-br-botjjardon opened MR !1762 (jjardon/fdsdk-190805->master: .gitlab-ci.yml: Use latest freedesktop-sdk 19.08.5) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176216:38
gitlab-br-botBenjaminSchubert approved MR !1762 (jjardon/fdsdk-190805->master: .gitlab-ci.yml: Use latest freedesktop-sdk 19.08.5) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176216:39
*** santi has quit IRC16:43
*** lachlan has joined #buildstream16:44
*** santi has joined #buildstream16:58
tpollardheh, an asciinema of master on the debian target is over 300MB, it's 34MB on my branch. highlights how much we have to redraw17:16
benschubertwow :)17:16
benschuberteven with my patches in? that reduced already quite a bit things :)17:16
tpollardshould be, it's 4 commits behind but those aren't related afaict17:18
tpollardit wouldn't be feasible without the scheduling changes though, the signal warning was being masking heavily17:20
tpollards/masking/masked17:20
*** bochecha has quit IRC17:20
benschubertah right17:20
tlater[m]benschubert: Ah, I see why you were asking about warnings earlier :D17:29
tlater[m]Yeah, that might be leftover from ages ago17:30
benschubertYeah I'm not sure what to do :'D17:30
tlater[m]I'd say ping tristan at some point to see if he has an opinion17:31
tlater[m]I think I'm with you, but he'll probably have some more background info on that17:32
benschubertI think we have a few confusions on source cache vs 'plugin cache', which make a lot of things awkwarf17:33
benschubert*awkward17:33
tpollardI've put a quick clip of the side by side output. TIL gitlab has an embedded video player17:39
benschubertOo17:40
tpollardonly 10MB file limit though17:40
tlater[m]Hah, that's adorable17:42
tlater[m]GitLab's really fun when it works :)17:43
benschuberttlater[m]: my changes allow me to remove a '__update_source_state' :D -> more fine grained changes!17:43
tlater[m]benschubert: Yeah, it's a really good change17:44
* tlater[m] also likes how much more obvious it makes "Consistency"17:44
benschubertbut gosh I'll be happy once it will be polished, it's been roughly as hard as the yaml rework17:44
benschubert(actually harder)17:44
tlater[m]benschubert: Are you sure about that?17:45
tlater[m]Maybe all the update_state things together17:45
tlater[m]But I just remember how many iterations of the yaml rework we had17:45
tlater[m]And how you actually went out and redid it all in cython17:46
tlater[m]I don't think it quite compares ;)17:46
gitlab-br-bottlater opened MR !1763 (tlater/tar-test-security->master: tests/sources/tar.py: chown+chmod instead of giving 777 permissions) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/176317:49
benschubertfair point :)17:49
*** tpollard has quit IRC17:50
*** tpollard has joined #buildstream17:50
*** santi has quit IRC17:59
*** jonathanmaw has quit IRC18:31
*** lachlan has quit IRC18:50
*** lachlan has joined #buildstream19:00
*** lachlan has quit IRC19:45
*** lachlan has joined #buildstream19:45
*** lachlan has quit IRC19:56
*** lachlan has joined #buildstream19:58
*** lachlan has quit IRC20:04
*** lachlan has joined #buildstream20:49
*** lachlan has quit IRC21:19

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!