IRC logs for #buildstream for Monday, 2018-11-05

*** Prince781 has quit IRC00:28
*** alatiera_ has quit IRC00:46
*** Prince781 has joined #buildstream01:08
*** bochecha has quit IRC01:22
*** slaf has quit IRC03:00
*** slaf has joined #buildstream03:02
*** Havvy has joined #buildstream04:29
*** Prince781 has quit IRC07:14
*** Prince781 has joined #buildstream07:25
*** alatiera_ has joined #buildstream08:26
*** benschubert has joined #buildstream08:41
*** toscalix has joined #buildstream08:53
*** finn has joined #buildstream08:54
*** toscalix_ has joined #buildstream09:10
*** WSalmon has joined #buildstream09:14
*** toscalix has quit IRC09:36
*** toscalix has joined #buildstream09:38
*** toscalix has quit IRC09:41
*** jonathanmaw has joined #buildstream09:45
*** tiagogomes has joined #buildstream09:47
*** tpollard has joined #buildstream09:57
*** tiagogomes has quit IRC10:00
*** raoul has joined #buildstream10:29
*** lachlan has joined #buildstream10:31
*** bochecha has joined #buildstream10:39
*** jonathanmaw_ has joined #buildstream10:45
*** jonathanmaw has quit IRC10:47
juergbijmac: as you'll likely do work on top of !922, it may also make sense for you to take a look at my changes in that MR. the main commit is a bit tedious to really review but maybe check that the new API of the two classes makes sense to you as well10:49
gitlab-br-botMR !922: Split up artifact cache and CAS cache https://gitlab.com/BuildStream/buildstream/merge_requests/92210:49
laurencelachlan, here's the initial discussions on performance monitoring from earlier this year - https://mail.gnome.org/archives/buildstream-list/2017-December/msg00012.html10:50
laurencehttps://mail.gnome.org/archives/buildstream-list/2018-February/msg00012.html10:50
jmacOk, I'll consider that my review task for the day10:50
laurencehttps://mail.gnome.org/archives/buildstream-list/2018-March/msg00018.html10:50
juergbita10:50
laurenceA few links there for some helpful context, lachlan10:50
lachlanThanks laurence10:51
*** tiagogomes has joined #buildstream10:54
lachlanI will look at incorporating this in !91710:55
gitlab-br-botMR !917: Add trigger for benchmarking https://gitlab.com/BuildStream/buildstream/merge_requests/91710:55
gitlab-br-botjonathanmaw approved MR !928 (juerg/remote-execution->master: element.py: Pass bare_directory also to SandboxRemote()) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92811:31
gitlab-br-botjuergbi merged MR !928 (juerg/remote-execution->master: element.py: Pass bare_directory also to SandboxRemote()) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92811:33
Nexusbenschubert: Would you be able to have a look at my reply to https://gitlab.com/BuildStream/buildstream/issues/732 please and get back to me so i can look into this issue? :)11:53
benschubertNexus: done!11:54
Nexusthanks :D11:55
benschubertrealized I forgot an important detail (wsl) -_- sorry!11:55
Nexusbenschubert: Which commit of master was that?11:56
benschubertany should do, let me check11:57
benschuberthttps://gitlab.com/BuildStream/buildstream/blob/master/buildstream/_fuse/fuse.py#L77 that's the offending line11:58
benschubertI just realized there is a "pylint: skip-file" so it might actually be a pylint issue -_-'11:58
Nexusi believe Kinnison posted a pylint fix a short time back? I'm wondering if that is why i don't get a linting error12:00
benschubertthe last change is 2 months ago12:01
benschubertI had a later version12:01
benschubertI'll give it a more thorough look :/12:01
KinnisonWe may be running with a more modern pytest-pylint version than you12:01
Kinnisonit may be worth clearing your .eggs out12:01
benschubertI\m running pip install -r dev-requirements.txt. Would expect that to be up to date12:02
gitlab-br-botvalentindavid opened MR !929 (valentindavid/limit_fetchers_in_overnight_build->master: Use less fetchers in overnight build to work-around limitations from servers.) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92912:16
*** paulsherwood has quit IRC12:20
*** paulsherwood has joined #buildstream12:20
lachlanI think one of the requirements under the benchmarking repo is wrong - yaml does not resolve.12:22
* skullman grumbles about tests now failing because pytest can't find the tmp_path fixture12:27
gitlab-br-botjjardon approved MR !929 (valentindavid/limit_fetchers_in_overnight_build->master: Use less fetchers in overnight build to work-around limitations from servers.) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92912:27
tpollardwell, our test setup allowed it to slip through12:29
skullmanhm, use of tmp_path was added as part of "_frontend/app.py: Set correct element-path in interactive bst-init", and tmp_path was added as part of https://github.com/pytest-dev/pytest/issues/3985. looks like a version bump should fix it12:29
tpollardyep, was discussed on friday12:29
skullmanah, I wasn't around then, that'll explain it12:30
* tpollard nods 12:30
tpollardit did however capture something relying on 3.6+, because the deb runner is on 3.512:32
skullmanlooks like I need 3.8 in dev-requirements.txt for it to work12:34
tpollardsorry I was referring to python directly there12:35
skullmannp12:35
gitlab-br-botvalentindavid opened issue #749 (google.protobuf.message.DecodeError: Error parsing message) on buildstream https://gitlab.com/BuildStream/buildstream/issues/74912:39
*** jonathanmaw_ has quit IRC12:41
*** jonathanmaw has joined #buildstream12:41
gitlab-br-botjjardon closed issue #742 (Overnigth tests are failing: too many client connections to a specific repo) on buildstream https://gitlab.com/BuildStream/buildstream/issues/74212:41
gitlab-br-botjjardon merged MR !929 (valentindavid/limit_fetchers_in_overnight_build->master: Use less fetchers in overnight build to work-around limitations from servers.) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92912:41
*** xPsycho has joined #buildstream13:20
jjardonvalentind: hi, did you see my comment at https://gitlab.com/BuildStream/buildstream/merge_requests/745#note_114559346 ? I think it would be nice to merge that before 1.413:25
valentindOh, so I need to make a merge request of my changes.13:26
valentindjjardon, I assigned the ticket to myself. will do that.13:27
jjardonvalentind: thanks!13:31
gitlab-br-botrichardmaw-codethink opened MR !930 (richardmaw/pytest-dep-update->master: dev-requirements: Update pytest dependency to 3.8) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/93013:37
skullman\o/ movement on https://github.com/projectatomic/bubblewrap/pull/29313:39
*** jonathanmaw_ has joined #buildstream14:00
*** jonathanmaw has quit IRC14:01
NexusCurrently, if we have a typo in the "element-path" cariable of a project.conf, rather than a yaml error, it just sets the element path to the project root. This looks to me like we're just checking if "element-path" is there, rather than checking if the variable matches the list of acceptable variables. Does that seem accurate?14:36
juergbiNexus: we normally use node_validate() to check for invalid keys. not sure what's going wrong in that case14:42
juergbisee Project._load_second_pass()14:42
Nexuskk, in Stream._load(), Project._load_second_pass is called waaaay too late15:09
Nexusit attempts to use the element-path on line _stream.py:876, and Project._load_second_pass isn't called until line 93115:11
juergbiah, maybe we can actually move node_validate to _load(). not sure15:23
*** lachlan has quit IRC15:38
ikerperezHi, I am trying to apply fossology to a project built using buildstream. Fossology it's a licence compliance tool and to be able to operate it needs the source code of all the elements needed the project. Is there any way to get the source code of the elements and their dependencies in Buildstream?15:39
ikerperezhttps://www.fossology.org/15:39
*** lachlan has joined #buildstream15:42
Nexusjuergbi: that would be a large change :/15:45
tiagogomesvalentind what's the status of https://gitlab.com/BuildStream/buildstream/merge_requests/908? It is needed for our project15:45
WSalmonthere are other licence checker programs already in the external plugins repo you might be able to tweak, maybe adds68 could help ikerperez, i think he was working on it recently15:45
*** lachlan has quit IRC15:45
juergbiikerperez: there is also a pending MR for source-checkout, which could help here: https://gitlab.com/BuildStream/buildstream/merge_requests/82015:46
tpollardikerperez: are you expecting to use fossology to create spdx reports?15:46
juergbiNexus: what speaks against simply moving that single node_validate() call to other method? (i haven't looked into it)15:46
ikerpereztpollard, probably in the future will be of interest. But for now I am just trying to make it work15:47
WSalmonikerperez, that said if its not suitable we have things like "bst source-bundle" could help but we are currently working to remove it and replace it with something very similar15:48
ikerperezjuergbi I think that will make possible to use fossology15:48
adds68ikerperez, are you wanting to do this during a Ci stage or as a plugin to buildstream?15:48
ikerperezthanks WSalmon I will have a look to that and to the tools you mentioned15:48
phildawson_ikerperez, the current implementation  source-bundle doesn't work for multiple elements so you'd need to use 'bst show' (or something) to get your dependency list then do source-checkout on each one individually15:48
ikerperezduring the CI15:49
ikerperezok, thanks phildawson_15:49
ikerperezI will try your suggestions15:50
tpollardadds68: there's quite a few modes in fossology, but the most common usage is 'here's a tarball of my sources please scan them all'15:51
jmacjuergbi: Why does ArtifactCache need a push_message method? (In !922)15:52
gitlab-br-botMR !922: Split up artifact cache and CAS cache https://gitlab.com/BuildStream/buildstream/merge_requests/92215:52
juergbijmac: this is temporary, did you see my comment in the MR?15:53
juergbiSandboxRemote needs this, afaict15:53
juergbias it currently uses the project's remotes, it doesn't have its own CASRemote15:53
jmacOh, I see, because SandboxRemote is using ArtifactCache at the moment15:54
jmacYes, that makes sense15:54
Nexusjuergbi: the issue as i see it is that node_validate requires the projct ot be know, the project can only be figured out when the elements are returned, which happens after pipeline.load16:08
NexusWhich means currently, you can only check the yaml AFTER that point16:09
Nexusbut it needs to be confirmed before then to prevent this issue16:09
tpollardikerperez: I'm interested in source/license handling in buildstream going forward, so if any of your work is public please keep us updated!16:11
ikerpereztpollard I will do it16:11
juergbiNexus: we might need node_validate() in both methods but can't we already call it in _load() using pre_config_node? that would obviously not validate includes as they haven't been processed yet but it might allow us to validate the rest16:11
Nexusjuergbi: sorry i'm not familiar with the pre_config node16:12
juergbivalentind may be able to provide some more hints as he implemented include support / added pre_config_node16:15
*** lachlan has joined #buildstream16:15
juergbi(I assume commit 171e803f5 introduced this issue)16:16
Nexusah juergbi, that's another thing in Project, not _stream16:19
*** lachlan has quit IRC16:22
*** bochecha has quit IRC16:22
*** lachlan has joined #buildstream16:32
*** jonathanmaw has joined #buildstream16:32
*** jonathanmaw_ has quit IRC16:32
jmacjuergbi: Sorry, I've got another comment issue on !922, I should have batched these up. Feel free to leave it.16:33
gitlab-br-botMR !922: Split up artifact cache and CAS cache https://gitlab.com/BuildStream/buildstream/merge_requests/92216:33
jmacOtherwise, I'm happy with the MR16:33
gitlab-br-botjmacarthur approved MR !922 (juerg/cas->master: Split up artifact cache and CAS cache) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92216:33
juergbino worries, thanks for the review16:33
*** toscalix_ is now known as toscalix16:40
gitlab-br-bottpollard approved MR !930 (richardmaw/pytest-dep-update->master: dev-requirements: Update pytest dependency to 3.8) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/93016:40
*** toscalix has quit IRC16:41
gitlab-br-botjmacarthur opened issue #750 (Alter SandboxRemote to use separate CAS store) on buildstream https://gitlab.com/BuildStream/buildstream/issues/75016:41
*** toscalix has joined #buildstream16:41
toscalixKinnison: your objection/comment to https://gitlab.com/BuildStream/buildstream/merge_requests/908 is it something solved, so the MR can be approved?16:41
*** juanalday has joined #buildstream16:42
*** juanalday has quit IRC16:46
skullmanThe bubblewrap change https://gitlab.com/BuildStream/buildstream/merge_requests/868 depends on was merged. Strictly it should probably depend on a release being made, but it looks like 0.3.2 will be next, so I'm going to un-mark it as WIP.16:46
*** juanalday has joined #buildstream16:46
Kinnisontoscalix: That seems like a very superficial argument along the lines of "I can't test all of this so I refuse to test any of it" but I won't block the approval16:47
* persia agrees that it makes sense to test at least some of it, if only to avoid potential future regressions16:48
toscalixKinnison: thanks16:50
toscalixKinnison: thanks for adding the comment on the MR. You saved me a ping16:55
jjardonikerperez:  please, if you have some time, update https://gitlab.com/BuildStream/buildstream/issues/441 with your findings17:05
jjardontpollard: ^17:05
gitlab-br-botrichardmaw-codethink merged MR !930 (richardmaw/pytest-dep-update->master: dev-requirements: Update pytest dependency to 3.8) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/93017:08
tpollardcheers jjardon17:09
ikerperezjjardon I will do it17:18
*** lachlan has quit IRC17:19
*** jonathanmaw_ has joined #buildstream17:24
*** jonathanmaw has quit IRC17:24
*** abderrahim1 has joined #buildstream17:25
*** toscalix has quit IRC17:26
*** abderrahim has quit IRC17:27
gitlab-br-botjmacarthur opened MR !931 (jmac/remote-sandbox-errors->master: _sandboxremote.py: Use the standard SandboxError) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/93117:37
valentindNexus, juergbi, I was away. Is there anything I can help on related with include support?17:40
*** lachlan has joined #buildstream17:41
*** juanalday has quit IRC17:42
*** aibo has joined #buildstream17:43
*** juanalday has joined #buildstream17:46
jmacI've managed a "Cognitive complexity" of 51 in one of my MRs17:47
gitlab-br-botjuergbi closed issue #659 (Split up artifact cache and cas cache) on buildstream https://gitlab.com/BuildStream/buildstream/issues/65917:51
gitlab-br-botjuergbi merged MR !922 (juerg/cas->master: Split up artifact cache and CAS cache) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/92217:51
*** tiagogomes has quit IRC17:52
tpollardeek, dreaded can't me merged email17:54
* tpollard will rebase in the morning 17:54
*** lachlan has quit IRC18:02
*** xjuan has joined #buildstream18:12
juergbitpollard: that might be my fault. let me know if it's unclear how to rebase18:18
*** xjuan has quit IRC18:19
*** juanalday has quit IRC18:21
*** lachlan has joined #buildstream18:32
*** juanalday has joined #buildstream18:34
*** Juan_ has joined #buildstream18:37
*** juanalday has quit IRC18:40
*** Prince781 has joined #buildstream18:43
*** lachlan has quit IRC18:46
*** Juan__ has joined #buildstream18:47
*** Juan_ has quit IRC18:49
*** Juan__ has quit IRC18:50
*** jonathanmaw_ has quit IRC18:51
*** Prince781 has quit IRC18:56
*** cohn has joined #buildstream19:06
*** xjuan has joined #buildstream19:11
*** raoul has quit IRC19:17
*** xjuan has quit IRC19:56
*** xjuan has joined #buildstream20:08
*** xjuan has quit IRC20:42
*** benschubert has quit IRC20:45
*** lachlan has joined #buildstream20:50
*** Prince781 has joined #buildstream21:23
*** xjuan has joined #buildstream21:31
*** Prince781 has quit IRC21:58
*** Prince781 has joined #buildstream21:59
*** bochecha has joined #buildstream22:14
*** Prince781 has quit IRC22:26
*** alatiera_ has quit IRC22:44
*** Prince781 has joined #buildstream23:30

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