IRC logs for #buildstream for Monday, 2019-03-04

*** alatiera has quit IRC00:02
*** alatiera has joined #buildstream00:09
*** pro[m] has joined #buildstream00:45
*** Ox37b has joined #buildstream02:10
*** swick has quit IRC02:26
*** swick has joined #buildstream02:29
*** BubbatheVTOG has joined #buildstream03:13
*** alatiera has quit IRC03:32
*** nimish has quit IRC04:17
*** nimish has joined #buildstream04:35
*** notwa has joined #buildstream04:38
*** tristan has joined #buildstream04:58
*** wN has joined #buildstream05:30
*** nimish has quit IRC05:35
*** ChanServ sets mode: +o tristan05:40
*** tristan has quit IRC05:40
*** tristan has joined #buildstream05:40
tristancs-shadow, around ?05:41
*** ChanServ sets mode: +o tristan05:41
*** nimish has joined #buildstream05:48
*** tristan has quit IRC06:15
*** mohan43u has quit IRC06:34
*** zelest has joined #buildstream07:11
*** mohan43u has joined #buildstream07:31
*** mohan43u has joined #buildstream07:47
*** bathtub_shark has joined #buildstream08:37
*** tristan has joined #buildstream09:02
*** ChanServ sets mode: +o tristan09:25
tristancs-shadow, sent an email, was hoping you or Gökçen might have that group photo of the last BeaverCon so I can include that in my blog post :)09:27
tristanOr, did anyone else get a copy of the group photo ?09:27
*** Sembei has joined #buildstream09:36
*** jonathanmaw has joined #buildstream09:39
*** phildawson has joined #buildstream09:44
*** phildawson has quit IRC09:51
*** phildawson has joined #buildstream10:02
*** tpollard has joined #buildstream10:05
*** paulsherwood has joined #buildstream10:22
*** WSalmon has joined #buildstream10:28
*** valentind has joined #buildstream10:32
*** lachlan has joined #buildstream10:32
*** nimish has quit IRC10:35
cs-shadowtristan: Hi, late start here :) Gokcen isn't online just yet but he says he'll send those around later today10:53
cs-shadowI assume that should be fine?10:54
*** xxpor has joined #buildstream11:01
tristancs-shadow, Yay \o/11:04
*** SotK_ has joined #buildstream11:05
*** lachlan has quit IRC11:17
*** tjf has joined #buildstream11:19
*** kapil___ has joined #buildstream11:21
*** raoul has joined #buildstream11:29
*** toscalix has joined #buildstream11:30
*** lachlan has joined #buildstream11:47
*** toscalix has quit IRC12:02
gitlab-br-botmarge-bot123 closed issue #916 (loosen dev dependencies) on buildstream https://gitlab.com/BuildStream/buildstream/issues/91612:11
gitlab-br-botmarge-bot123 merged MR !1189 (tristan/optional-coverage->master: Make coverage optional) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/118912:11
*** Kristine has joined #buildstream12:23
*** lachlan has quit IRC12:48
*** lachlan has joined #buildstream12:51
*** wgwz has joined #buildstream12:55
*** kzantow_ has joined #buildstream12:55
gitlab-br-bottristanvb opened MR !1203 (tristan/optional-coverage-1.2->bst-1.2: Coverage optional in 1.2.x) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/120313:03
tristancs-shadow,13:03
tristangah13:03
tristancs-shadow, After merging !1189 I found out that there is still a problem with optionalizing coverage, will have to fix this separately13:04
cs-shadowtristan: what did i break now? :)13:04
tristanit was only working *because* the dev-requirements.txt seems not to have been updated well13:04
tristanI guess the makefile should rebuild all .txt from .in every time, not only if something changes13:04
cs-shadowtristan: Yes, I mentioned it in https://gitlab.com/BuildStream/buildstream/merge_requests/1189#note_14559306713:06
cs-shadowwe can either make all targets PHONY or recommend to use `make -B`13:06
tristanproblem is that tests/testutils/artifactshare.py *imports* pytest_cov13:07
tristancs-shadow, Nah well, we reviewed it together, I broke it13:08
tristanpartly because the .txt files were not updated, so now I have the habit of updating requirements with `rm -f requirements/*.txt && make -C requirements/`13:08
*** coldtom has joined #buildstream13:08
tristanthe former is better13:08
tristannobody has to remember anything :)13:09
tristanI will take care of fixing the coverage optionality tomorrow13:09
tristanwill have to optionalize the manual interaction with pytest_cov13:09
tristanand update the dev-requirement.txt13:09
*** tristan has quit IRC13:15
*** coldtom has quit IRC13:21
*** tpollard has quit IRC13:21
*** pro[m] has quit IRC13:21
*** cgmcintyre[m] has quit IRC13:21
*** awacheux[m] has quit IRC13:21
*** m_22[m] has quit IRC13:21
*** ssssam[m] has quit IRC13:21
*** mattiasb has quit IRC13:21
*** skullone[m] has quit IRC13:21
*** inigomartinez has quit IRC13:21
*** rafaelff[m] has quit IRC13:21
*** waltervargas[m] has quit IRC13:21
*** mrmcq2u[m] has quit IRC13:21
*** Demos[m] has quit IRC13:21
*** nielsdg has quit IRC13:21
*** slaf has quit IRC13:21
*** coldtom has joined #buildstream13:30
*** slaf has joined #buildstream13:30
*** ChanServ sets mode: -o slaf13:31
*** ChanServ changes topic to "BuildStream 1.2.4 is out ! | https://gitlab.com/BuildStream/buildstream | Docs: https://docs.buildstream.build/ | IRC logs: https://irclogs.baserock.org/buildstream | Mailing List: https://mail.gnome.org/mailman/listinfo/buildstream-list | Roadmap: https://wiki.gnome.org/Projects/BuildStream/Roadmaps"13:31
*** tpollard has joined #buildstream13:31
*** Eickmeyer has joined #buildstream13:41
*** tristan has joined #buildstream13:41
*** alphis has joined #buildstream13:42
*** hiei has joined #buildstream13:46
tpollardjuergbi: around?14:01
juergbiyes14:08
*** _Penguin has joined #buildstream14:25
*** abderrahim[m] has joined #buildstream14:47
*** theawless[m] has joined #buildstream14:52
*** samouy has joined #buildstream14:54
*** dbuch has joined #buildstream14:55
*** efdee has joined #buildstream14:56
tpollardjuergbi: just doing some of the refactoring for cached_artifact14:57
tpollard*cache14:57
tpollardhere https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/element.py#L1690 we set collectvdir to None14:57
tpollardthen right at the end, we do a conditional check which we have already entered in that try except block14:58
tpollardand throw an unhandled elementerror14:58
tpollardis that expected, or should we be raising it when we originally set it to none?14:58
*** toscalix has joined #buildstream14:58
tpollardif we're unable to collect the contents, I would expect that we want to halt straight away, whereas it seems we still go about committing it14:59
juergbitpollard: collectvdir is only for the 'files' part15:01
juergbiwhen we cache a failed build, that will be None but we still want to cache the artifact15:01
juergbior at least it might be None, if the install-root doesn't exist15:02
tpollardOk, but then the error goes unhandled right?15:03
*** alatiera has joined #buildstream15:04
juergbitpollard: it's handled/raised by that check right at the end15:05
* tpollard is confused15:06
tpollardwhich is not out of the ordinary15:06
*** ChanServ sets mode: +o tristan15:06
tristanisn't install-root a marked directory, and as such guaranteed to exist anyway ?15:06
*** awacheux[m] has joined #buildstream15:07
juergbinormally, yes, but there could be corner cases where it doesn't exit15:07
juergbi*exist15:07
juergbie.g., I could imagine an element that uses read-write rootfs and then rmdirs install-root15:07
juergbinot extremely likely, of course15:07
tristanSeems like there is opportunity to make that more iron clad, and turn that error catching into an assertion instead ?15:08
tpollardso we'd cache the failed build, and then we'd error out? I can't see where that raised exception is excepted from a caller15:08
tristantpollard, In general, every BstError is a user facing message15:10
tristantpollard, which means either there is a system error (out of disk space ? network connectivity error ?), or the user did something wrong15:10
tristantpollard, So there is no need to `except ElementError` almost ever, probably never15:10
tristanThat is all handled by the highest level except BstError blocks15:11
tristanif an ArtifactError is raised and there is no need to add any additional context from the Element, then there is usually no need to handle it15:11
tristan(although that is a bit weird that the raised ArtifactError knows enough context to raise a fully contextual user facing error message)15:12
tristanBut it can happen because we pass Elements to the ArtifactCache APIs for convenience reasons (even though it breaks vertical stacking order of modules)15:13
tristanInterestingly in the case of a missing install-root, the case seems a bit ambiguous, I would think that in almost any case that an install-root is missing, it is a programming error from the plugin python code or the core or something15:14
tristanbut it is ambiguous, which is not so great15:14
tristanprogramming errors should be assertions, and it would be beneficial to have the API/rules reduce/remove such ambiguities15:15
tristanI think15:15
*** mattiasb has joined #buildstream15:16
tpollardOk, I think I work with this for now then15:16
juergbitpollard: fyi, tests/frontend/buildcheckout.py::test_install_to_build tests this code path15:20
juergbi(might also be unintentional, though, haven't looked into it)15:21
juergbiif anyone has some review cycles, !1190 should be ready15:22
gitlab-br-botMR !1190: Improve import performance https://gitlab.com/BuildStream/buildstream/merge_requests/119015:22
tpollardI'll keep the exception at the end for now but raised from within element instead of artifact15:22
juergbiok15:22
tpollardthe tests did all pass though with me raising it before the artifact creation, so might be something to note15:22
*** borbyu has joined #buildstream15:26
tristanHah, that could be a nice custom /leave message15:27
*** Dynetrekk has joined #buildstream15:27
*** ssssam[m] has joined #buildstream15:37
*** alatiera has quit IRC15:37
*** alatiera has joined #buildstream15:38
*** m_22[m] has joined #buildstream15:38
*** cgmcintyre[m] has joined #buildstream15:45
*** dexter0 has joined #buildstream15:52
*** dexter0 has quit IRC15:52
*** Blastyr25 has joined #buildstream15:55
*** dpk has joined #buildstream16:13
*** SteveG has joined #buildstream16:13
*** SteveG has quit IRC16:14
*** zmo has joined #buildstream16:27
*** inigomartinez has joined #buildstream16:28
gitlab-br-botcs-shadow opened MR !1204 (chandan/always-regen-requirements->master: requirements/Makefile: Always rebuild requirements files) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/120416:29
cs-shadowtristan: https://gitlab.com/BuildStream/buildstream/merge_requests/1204 for ensuring requirements files are always rebuilt16:29
*** DHE has joined #buildstream16:30
gitlab-br-botjennis opened MR !1205 (jennis/compose_backwards->master: cleanup: Move yaml hanlding logic in _include.py to _yaml.py) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/120516:31
*** waltervargas[m] has joined #buildstream16:39
*** rafaelff[m] has joined #buildstream16:43
*** Lymkwi has joined #buildstream16:47
*** Exterminador has joined #buildstream16:48
tpollardwhen running against master 'Invalid requirement: '!nocover: -rrequirements/cov-requirements.txt'16:51
tpollardIt looks like a path. File '!nocover: -rrequirements/cov-requirements.txt' does not exist.'16:51
tpollardthe file is there locally, but if I use --recreate or py36-nocover I still get the same error, any tips?16:51
tpollardanyone else having issues running the tests against master?16:56
jmacI'll try now16:56
tpollardseems fine in CI16:57
tpollardcheers jmac16:58
tpollard(I've also done a fresh clone of the repo)16:58
jmacI'm getting a load of errors because I don't have pytest_cov installed16:59
jmacOnce I manually installed that, it appears fine17:00
*** jonathanmaw has quit IRC17:02
juergbitpollard: is it possible you have an old version of tox installed?17:03
*** toscalix has quit IRC17:03
tpollarddoesn't for me (also tried a reinstall of buildtsream via pip, and manualy install of pytest_cov via pip)17:03
tpollardI thought recreate would handle this but it doesn't want to play ball17:04
jmacOh, I wasn't using tox, I'll try that next17:04
tpollardhttps://paste.gnome.org/pc4spbpqr is the error17:05
*** bparker has joined #buildstream17:06
jmactpollard: Yes, I'm getting that exact error on master now I'm using tox17:06
tpollardthanks for checking jmac!17:07
juergbitpollard: seems to work here. tox --version?17:08
tpollard2.5.017:08
*** pro[m] has joined #buildstream17:09
juergbiI think that's too old17:09
juergbiWSL had this issue, iirc17:09
juergbiI have 3.6.1 here, which works17:09
*** frangdlt has joined #buildstream17:12
tpollardjuergbi: seems I have 3.7 under pip, but my path is picking up 2.5 from apt I guess17:15
tpollard(Ubuntu 18.04)17:15
*** nielsdg has joined #buildstream17:15
*** phildawson has quit IRC17:15
*** alexteves has joined #buildstream17:16
*** kapil___ has quit IRC17:17
*** phildawson has joined #buildstream17:17
*** nimish has joined #buildstream17:18
*** Demos[m] has joined #buildstream17:25
* tpollard removes his apt installed tox17:28
*** mrmcq2u[m] has joined #buildstream17:36
*** skullone[m] has joined #buildstream17:44
*** alatiera has quit IRC17:48
*** alatiera has joined #buildstream17:49
*** alatiera has quit IRC17:50
*** alatiera has joined #buildstream17:50
gitlab-br-botaevri approved MR !1204 (chandan/always-regen-requirements->master: requirements/Makefile: Always rebuild requirements files) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/120418:19
*** alatiera_ has joined #buildstream18:22
*** phildawson has quit IRC18:26
*** phildawson has joined #buildstream18:26
*** alatiera has quit IRC18:36
*** raoul_ has joined #buildstream18:46
*** raoul has quit IRC18:47
*** raoul_ has quit IRC18:49
*** alatiera has joined #buildstream18:51
*** raoul has joined #buildstream18:59
*** raoul has quit IRC19:05
*** raoul has joined #buildstream19:05
*** tristan has quit IRC19:26
*** cs-shadow has quit IRC19:37
*** raoul has quit IRC19:49
*** raoul has joined #buildstream19:49
*** phildawson has quit IRC19:50
*** swick has quit IRC19:53
*** raoul has quit IRC20:12
*** cs-shadow has joined #buildstream20:25
gitlab-br-botmarge-bot123 merged MR !1204 (chandan/always-regen-requirements->master: requirements/Makefile: Always rebuild requirements files) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/120420:36
*** lachlan has quit IRC21:05
*** swick has joined #buildstream21:12
*** nimish has quit IRC21:12
*** alatiera has quit IRC22:59

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