IRC logs for #buildstream for Friday, 2018-01-12

*** mcatanzaro has quit IRC04:25
*** mcatanzaro has joined #buildstream04:26
*** mcatanzaro has quit IRC04:43
gitlab-br-botbuildstream: merge request (juerg/element-state->master: element state updates) #215 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/21505:07
*** tristan has joined #buildstream07:05
gitlab-br-botbuildstream: merge request (refactor-error-details-backport->bst-1.0: Refactor error details backport) #223 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22307:22
*** valentind has joined #buildstream07:59
gitlab-br-botbuildstream: merge request (remove-secret-command-lists->master: buildelement.py: Remove secret undocumented command lists) #224 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22408:07
tristanjuergbi, so I'm looking at !215...08:09
tristanjuergbi, I know it's dang early but I'm not gonna be around late today, as it is with fridays, lets see if we can merge it08:10
* tristan not sure if juergbi is awake at this time08:10
tlaterIt's about 9 am here, it's possible08:11
tristanElement._update_state() is a decent start, afaics this does achieve centralizing the logic of where a cache key is resolved08:13
tristanI wonder now about how the pipeline is initialized and such08:13
gitlab-br-botbuildstream: merge request (remove-secret-command-lists-backport->bst-1.0: Remove secret command lists backport) #225 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22508:17
tristanok so we're still doing Element._force_inconsistent() for elements which will be tracked at load time08:21
tristanwhich is still a bit fragile08:21
tristanand we still have that Element._consistency() `recalculate` argument08:23
tristanjuergbi, your patch is certainly an improvement, but it would be nice if it also covered source consistency in the way it handles element cached state08:25
tristanwhat I find interesting also about the Element._update_state() is that it could eventually take a `why` argument too08:26
tristanWhich is kind of similar to the idea I had about sending events to some central logic which resolves state in one place08:26
tristanfor now it's just one event "hey something changed"08:26
tristan(like how we had app->update_ui() in Glade, which made things horribly slow... hehe but the comparison is not really valid)08:27
tristanIt seems also unfortunate that we cannot easily test that `a cache key is resolved only once`08:28
tristanif we could, then we could throw a bunch of scenarios at the test case which asserts that08:28
gitlab-br-botbuildstream: merge request (remove-secret-command-lists->master: buildelement.py: Remove secret undocumented command lists) #224 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22408:34
gitlab-br-botbuildstream: merge request (remove-secret-command-lists-backport->bst-1.0: Remove secret command lists backport) #225 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22508:34
gitlab-br-botbuildstream: merge request (refactor-error-details-backport->bst-1.0: Refactor error details backport) #223 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/22308:36
juergbitristan: i was considering doing something similar for sources but it seems to be sufficiently orthogonal that it should at least be a separate commit anyway, so i wanted to get the element part merged first09:03
juergbialso, there is no performance benefit on the source side. it would still be better for consistency, though09:04
juergbitesting: not sure i really like such a white box text09:05
*** jennis has joined #buildstream09:05
tristanYeah; I care about a hundred times more about the code sanity this adds over the performance benefit it adds09:05
tristanjuergbi, indeed, in the bug report I added comments which I think agree with that regarding tests09:05
tristanjuergbi, I think maybe we might achieve that in a sneaky way when landing event hooks09:05
juergbioh, didn't get notification for those, let me check09:06
*** noisecell has joined #buildstream09:06
tristanif we have interesting events to notify; we can use those to examine side effects09:06
tristanjuergbi, yeah I didnt add much more than that detail there, other than what is discussed here :)09:06
juergbithere is also a case where the cache key will be determined (although not calculated) twice09:06
* tristan was rather worried he would have to step out before juergbi arrives09:06
juergbii was actually here earlier to rebase it09:06
tristanhmmm, where is the issue report for event hooks :-S09:08
* tlater doesn't think there is one09:09
tristanwell - I guess I imagined event hooks09:09
* tlater should make one09:09
tlaterHm, I guess it's only on the ML atm09:10
*** jennis has quit IRC09:13
juergbitristan: on the source side things are already pretty explicit. it doesn't have a single _update_state()-like method but that's because the changes in state can't be determined automatically09:14
juergbie.g., for tracked elements, we anyway need to have a call such as force_inconsistent, otherwise the element won't know this09:14
juergbiwe still have the recalculate thing, though, maybe i can get rid of that09:16
tristanjuergbi, I wonder if "force inconsistent" is the right thing too, the naming here really makes a huge difference in the perception of roles and responsibilities09:17
juergbigood point. that name initially confused me09:18
tristanjuergbi, i.e. if we were telling the element rather that we're "scheduling a track", then it's the responsibility of the element09:18
tristanto resolve it at the right time09:18
juergbiyes, we could have something like that09:18
juergbiand then move update_state out of the else09:19
juergbiin pipeline09:19
tristanSo, right now I am tempted to merge this in order to unblock other work depending on it09:19
gitlab-br-botbuildstream: issue #188 ("Trigger external commands on certain events") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/18809:19
tristanAnd only reluctant for a paranoid worry that the rest of this cleanup will take the back seat09:20
tristanjuergbi, shall we merge straight away, and I leave it to you to do the rest ?09:21
tristanI'm okay with that, but would really love to get this worked out too...09:21
juergbiyes, i can improve the source/consistency aspect09:21
juergbimight be Monday, though, don't really have time today09:21
tristanyeah no worry09:22
tristanmore reason to merge earlier09:22
tristanjuergbi, I think it's not a lot of work for you, and I will at the same time be tied up with a real review of junctions09:22
juergbiyes, shouldn't be much work09:23
juergbii expect i will also be working on rebasing junction support on Monday now that multi-cache is in master09:23
tlaterUM09:24
tristanIt's highly probably that the only reason to ever hold back on resolving consistency is for the sake of tracking (why I had it explicitly the other way around initially), but we we're wrong before09:24
* tlater just created a branch called 'e' on accident09:24
tlaterDamnit gitlab09:24
tristantlater, git push origin :e09:24
gitlab-br-botbuildstream: merge request (188-trigger-external-commands-on-certain-events->master: Resolve "Trigger external commands on certain events") #226 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22609:25
gitlab-br-botbuildstream: merge request (188-trigger-external-commands-on-certain-events->master: WIP: Resolve "Trigger external commands on certain events") #226 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22609:26
*** jude has joined #buildstream09:26
tlaterThe integration tests currently take about 30 mins on my machine :|09:33
gitlab-br-botbuildstream: merge request (show_sources->master: Added a flag to bst show) #222 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22209:34
* nexus guesses that's not a good thing09:35
gitlab-br-botbuildstream: merge request (modAndTest->master: Making changes to various documents:) #206 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/20609:37
tlater42 minutes so far on gitlab, but that's a bit deceptive since it hasn't cached the base platform yet09:37
* tlater wonders if we could justify adding a 3G tarfile of a flatpak runtime for integration tests.09:37
nexusHow fast is your machine?09:39
tristancaches on gitlab seem broken09:39
tristansince maybe the upgrade last week09:39
nexusToaster, Average, Fast09:39
nexushow so?09:39
tlateri509:39
nexusthat's the equivalent of saying "it's a blue one"09:40
tlaterBut that barely matters, overhead is writing speeds09:40
tlater2GHz09:40
nexusah ok09:40
nexusSSD?09:40
tlaterBut I do have an SSD on this09:40
tlaterYeah09:40
nexustry running resource manager as you do an int test and see how much it uses09:40
nexusthen you can see if its a hardware bottleneck09:41
tlaterWell, the problem is always going to be running this on gitlab, not locally09:41
nexusahh i see09:42
tlaterIt just seems that removing the second runtime didn't affect performance much09:43
tlaterWhich means the revolution isn't that revolutionary...09:43
tlater:|09:43
nexus:(09:43
gitlab-br-botbuildstream: merge request (remove-secret-command-lists-backport->bst-1.0: Remove secret command lists backport) #225 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/22510:03
*** jonathanmaw has joined #buildstream10:05
gitlab-br-botbuildstream: merge request (remove-secret-command-lists->master: buildelement.py: Remove secret undocumented command lists) #224 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/22410:06
*** valentind has quit IRC10:07
nexusHow am i supposed to learn the codebase if people are keeping secrets from me!?10:12
tlaterDoes anyone have an idea why gitlab's CI doesn't include my symlinks?10:15
* tlater can't get his "usrmerge" element to work10:15
tlaterI guess I can try writing a script element that does it...10:16
*** ssam2 has joined #buildstream10:18
tristanjuergbi, ok so I just landed some minor things... and escaping presently10:20
tristanjuergbi, can you just rebase and merge !21510:20
tristan?10:20
juergbisure, will do10:20
juergbienjoy your dinner10:21
tristanthanks !10:21
gitlab-br-botbuildstream: merge request (juerg/element-state->master: element state updates) #215 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/21510:24
*** tristan has quit IRC10:26
*** csoriano has quit IRC10:39
*** csoriano has joined #buildstream10:40
gitlab-br-botbuildstream: merge request (modAndTest->master: Making changes to various documents:) #206 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/20611:04
jonathanmawtristan: hrm, it looks like I'm not seeing the "detail" field get printed in the tests' output11:19
jonathanmawshould I be pulling it out of the exception that the Result produces, instead?11:20
jonathanmawOr is there a way to use assert_task_error to pull it out?11:20
jonathanmawalso, after rebasing against master, a lot of my tests are failing with "AttributeError: 'LocalPath' object has no attribute 'startswith'". I'm guessing that this is a python3.4 vs. python3.5 problem.11:21
tlaterjonathanmaw: We are supposed to support 3.4, probably worth fixing11:28
*** adds68 has quit IRC11:36
*** ltu has left #buildstream11:45
*** ltu has joined #buildstream11:46
gitlab-br-botbuildstream: issue #167 ("Workspaced element's cache keys are calculated 4 times during a build") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/16711:52
gitlab-br-botbuildstream: issue #149 ("Busyloop while calculating cache keys in `bst build --track`") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/14911:52
gitlab-br-botbuildstream: issue #149 ("Busyloop while calculating cache keys in `bst build --track`") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/14911:52
gitlab-br-botbuildstream: issue #173 ("Element state / cache key handling") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/17311:52
gitlab-br-botbuildstream: issue #173 ("Element state / cache key handling") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/17311:52
gitlab-br-botbuildstream: merge request (juerg/element-state->master: element state updates) #215 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/21511:52
tlaterAck, apparently pytest doesn't propagate environment variables11:55
* tlater isn't sure how to trigger unix tests now...11:55
ssam2i think it can if you tell it to11:56
ssam2you can set 'env' in the pytest.ini file11:56
ssam2not sure how to do that conditionally though11:56
tlaterI suppose I can write that file in .gitlab.ci.yaml11:56
ssam2yeah11:57
*** adds68 has joined #buildstream12:11
*** xjuan has joined #buildstream12:26
gitlab-br-botbuildstream: merge request (issue-182_Closing_non-existing_workspace->master: WIP: Fix for issue 182 Closing non-existing workspace) #227 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22712:36
gitlab-br-botbuildstream: merge request (issue-182_Closing_non-existing_workspace->master: WIP: Fix for issue 182 Closing non-existing workspace) #227 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22712:37
gitlab-br-botbuildstream: merge request (issue-182_Closing_non-existing_workspace->master: Fix for issue 182 Closing non-existing workspace) #227 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22712:38
tlaterIntegration tests passing on linux \o/12:51
gitlab-br-botbuildstream: merge request (issue-181_bst_build_--track-except->master: Fix for issue #181) #228 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22813:01
jonathanmawaha! the detail disappeared from my error message because it was being reraised as a PipelineError13:05
jonathanmawhrm, I need to figure out the right way to reraise it13:06
jonathanmawsince PipelineError already has a detail field13:06
*** ernestask has joined #buildstream14:11
*** mcatanzaro has joined #buildstream14:18
jjardon[m]tristan: we can have freebsd runners14:35
jjardon[m]but I do not know anything about freebsd so it will take some time14:35
jjardon[m]to setup14:35
jjardon[m]maybe open an issue and assign it to me?14:35
persialantw44 may also be interested14:37
gitlab-br-botbuildstream: merge request (164-minimise-overlaps-by-having-overlaps-raise-exceptions-unless-configured-not-to->master: Resolve "Minimise overlaps by having overlaps raise exceptions unless configured not to") #181 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/18115:21
*** ssam2 has quit IRC16:02
*** ssam2 has joined #buildstream16:04
*** jmac has joined #buildstream16:13
*** cs_shadow has joined #buildstream16:32
*** valentind has joined #buildstream16:44
*** adds68_ has joined #buildstream17:01
*** adds68 has quit IRC17:03
cs_shadowHi. https://gitlab.com/BuildStream/buildstream/blob/master/integration-tests/compose-test/elements/dependencies/amhello-full.bst#L10 looks a bit suspect. The url starts with "file:///home/tristanmaat/Documents...", is that intentional?17:08
cs_shadowSimilar url scheme is also present in couple other tests17:08
gitlab-br-botbuildstream: merge request (incremental-build->master: WIP: Add support for doing incremental builds) #126 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/12617:11
persiacs_shadow: Good catch.  Even if the test works in CI, the patch should probably be set to a role name.17:11
cs_shadowI agree, will submit an issue17:17
ssam2at least we can tell who introduced the bug :-)17:34
tlatercs_shadow, yep, these are being sorted out17:37
cs_shadowgreat, thanks!17:38
tlaterThey are remnants of too heavy-handed commits on my end, though the suite patched the paths out for now17:38
*** noisecell has quit IRC17:39
*** luc14n0 has quit IRC17:41
*** luc14n0 has joined #buildstream17:41
gitlab-br-botbuildstream: issue #189 ("Performance issues with running the artifact cache") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/18917:49
gitlab-br-botbuildstream: merge request (jonathan/fix-tests-python34->master: Make artifact cache tests work in python3.4) #229 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/22917:56
*** ssam2 has quit IRC18:03
jjardon[m]Hi, my build have failed but I can not see the problem in the normal output: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/47780877 Is there an option to tell bst to show all the build logs, or where buildstream store the build logs?18:18
*** jude has quit IRC18:32
*** tiago has quit IRC18:33
gitlab-br-botbuildstream: merge request (incremental-build->master: WIP: Add support for doing incremental builds) #126 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/12619:01
*** jonathanmaw has quit IRC19:02
*** xjuan has quit IRC21:05
*** ernestask has quit IRC21:16
*** adds68__ has joined #buildstream21:40
*** adds68_ has quit IRC21:41
*** tristan has joined #buildstream22:35
*** luc14n0 has left #buildstream22:55
*** mcatanzaro has quit IRC23:10
*** mcatanzaro has joined #buildstream23:10

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