IRC logs for #buildstream for Wednesday, 2019-02-06

*** xjuan has quit IRC01:12
*** nimish has quit IRC01:37
*** nimish has joined #buildstream03:03
*** nimish has quit IRC03:06
*** nimish has joined #buildstream03:22
*** bochecha has joined #buildstream03:29
*** kapil___ has joined #buildstream03:58
*** bochecha has quit IRC05:56
*** kapil___ has quit IRC06:37
*** kapil___ has joined #buildstream07:54
*** toscalix has joined #buildstream08:28
*** alatiera has joined #buildstream09:27
*** jonathanmaw has joined #buildstream09:39
*** raoul has joined #buildstream10:10
jjardonMaybe of interest here: http://julio.meroh.net/2019/02/hello-sandboxfs-0.1.0.html10:29
KinnisonI saw that yesterday, yeah it's similar to the intent for buildbox-fuse I think10:31
gitlab-br-botaevri opened (was WIP) MR !891 (aevri/include-error->master: More user-friendly reporting on include errors) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/89110:32
juergbinot CAS-based, though10:32
Kinnisonindeed10:33
KinnisonI think Bazel only uses CAS for RE10:33
*** nimish has quit IRC10:34
*** sambishop has joined #buildstream10:35
valentindInteresting thing. On bst 1.2, the permissions of files are different depending on the builder.10:42
valentindSometimes files are in 644, some times in 600. And the reason is that we link files from the cache.10:43
KinnisonU asks?10:44
KinnisonGah10:44
Kinnisonumasks?10:44
valentindMy umask is 022.10:44
valentindSo there is something else on my machine that get it to 077.10:44
phildawsonlooks like the overnight tests failed last night, though I don't understand why from the logs. https://gitlab.com/BuildStream/buildstream/pipelines/4627717710:44
valentindNot all my files are in 0600.10:44
valentindSome are 644.10:45
gitlab-br-bottpollard opened issue #896 (Optional creation of buildtrees) on buildstream https://gitlab.com/BuildStream/buildstream/issues/89610:45
jjardonphildawson: those test have been failing for months; " c++: fatal error: Killed signal terminated program cc1plus" seems the runner got out of memory. Maybe related with https://gitlab.com/BuildStream/buildstream/issues/874 ?10:49
phildawsonAh I see. Thanks jjardon10:51
jjardonDoes buildstream have its own cache server? Seems the overnight build is building everything from scratch, probably because the cache key of bst master is different from the one in bst-1.210:54
tpollardnafaik10:58
*** lachlan has joined #buildstream10:59
gitlab-br-botvalentindavid opened MR !1132 (valentindavid/pull-chmod-bug-1.2->bst-1.2: buildstream/_artifactcache/cascache.py: Set 0644 rights to pulled files) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/113211:00
valentindKinnison, found the bug. I did it. Fixed it in !113211:01
*** nimish has joined #buildstream11:02
* Kinnison responds to your MR :D11:02
gitlab-br-botjjardon opened issue #897 (Setup cache server) on buildstream https://gitlab.com/BuildStream/buildstream/issues/89711:04
tpollardaha, needed to reload bst with pip to pick up roaringbitmap landing11:15
*** nimish has quit IRC11:17
tpollardhmm, pip claims to have installed it but I can't run the tests, 'ModuleNotFoundError: No module named 'roaringbitmap''11:17
tpollardany ideas?11:17
*** nimish has joined #buildstream11:17
jjardonAre the docker images provided by buildstream updated with the new dependency? IIRC there was some automation for that but not sure11:19
gitlab-br-botmartinblanchard opened issue #898 (Implement the REAPI Platform message) on buildstream https://gitlab.com/BuildStream/buildstream/issues/89811:25
jjardonIs this new dependency? https://pypi.org/project/roaringbitmap/11:26
benschubertjjardon: yes, it has been added yesterday11:26
benschubertthe docker images should have it yes11:26
tpollardit's added to requirements.txt, but I'm not sure what's happening11:27
tpollardpip3 claims it's installed, and tox loads requirements.txt11:27
jjardonI think the license of that project is incompatible with BuildStream (roaringbtimap is GPL, but buildstream is LGPL)11:28
*** toscalix has quit IRC11:30
benschubertouch true11:31
*** tpollard has quit IRC11:31
*** WSalmon_ has quit IRC11:31
benschubertI thought it was only for linking against, which we are not? (Not a lawyer though)11:31
*** sambishop has quit IRC11:31
*** lachlan has quit IRC11:31
benschubertKinnison: I guess we need to go with the other fix then11:32
*** jonathanmaw has quit IRC11:35
*** sambishop has joined #buildstream11:35
*** tpollard has joined #buildstream11:35
*** WSalmon_ has joined #buildstream11:35
*** phildawson_ has joined #buildstream11:35
*** phildawson has quit IRC11:35
*** toscalix has joined #buildstream11:35
*** raoul_ has joined #buildstream11:35
*** jonathanmaw has joined #buildstream11:35
*** raoul has quit IRC11:35
tpollardtests work outside of tox at least11:41
benschuberttpollard: does tox --recreate works?11:43
*** lachlan has joined #buildstream11:46
tpollardbenschubert: that's done the trick11:46
Kinnisonjjardon: Hrm, urgh11:48
Kinnisonbenschubert: Perhaps yes11:49
tpollardsomehow I missed that section in contributing... cheers benschubert11:49
*** kapil___ has quit IRC12:14
*** kapil___ has joined #buildstream12:25
*** slaf_ has joined #buildstream12:25
*** slaf_ has joined #buildstream12:25
*** slaf has quit IRC12:27
*** slaf_ is now known as slaf12:27
*** raoul_ has quit IRC12:30
*** raoul_ has joined #buildstream12:36
WSalmonhttps://gitlab.com/BuildStream/buildstream/merge_requests/1125#note_138688047 this was caused by repacing all the tabs in a file with spaces, is there a reson that most of our licence blocks have a random tab in them?12:49
WSalmonjuergbi, tristan etc ^12:50
juergbioh, no idea, that sounds wrong to me12:51
WSalmoni forgot to set my editor to spaces only and then fixed it and that one got caught, i think i have had similar things before12:52
gitlab-br-botjjardon opened issue #899 (Possible license incompatibility; roaringbitmap is GPL while BuildStream is LGPL) on buildstream https://gitlab.com/BuildStream/buildstream/issues/89913:10
*** bochecha has joined #buildstream13:12
tpollardurk13:13
KinnisonDear tox, please notice when I update requirements.txt.  No love, me.13:34
benschubertKinnison: that is the case when you don't use a requirement file x')13:38
* Kinnison is confuse13:38
gitlab-br-botdanielsilverstone-ct opened MR !1133 (danielsilverstone-ct/other-roaring->master: loadelement.py: Switch from roaringbitmap to pyroaring) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/113313:46
Kinnisonjjardon: https://gitlab.com/BuildStream/buildstream/merge_requests/1133 switches us from roaringbitmap to pyroaring (which is MIT licensed)13:47
Kinnisonjjardon: it also saves a bit more RAM which is nice13:47
*** raoul has joined #buildstream13:47
*** raoul_ has joined #buildstream14:00
*** raoul has quit IRC14:02
gitlab-br-botBenjaminSchubert approved MR !1133 (danielsilverstone-ct/other-roaring->master: loadelement.py: Switch from roaringbitmap to pyroaring) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/113314:08
*** tristan has joined #buildstream14:11
jjardonKinnison: cool! I've updated the Mr to close #899 automatically when it gets merged14:20
*** kapil___ has quit IRC14:34
*** raoul_ has quit IRC14:47
*** raoul_ has joined #buildstream14:48
Kinnisonjjardon: Thanks15:01
Kinnisonjjardon: Would you like to hit the 'merge on pipeline success' too?15:02
jjardonKinnison: sure, but you should be able to do that too15:02
KinnisonNope15:03
* Kinnison does not have merge rights15:03
* Kinnison avoids having them because he's too nice to people and might merge stuff prematurely15:03
jjardonAFAIK everyone has merge rigths15:04
* jjardon press button15:04
Kinnison:D15:05
Kinnisonerp, everything failed15:05
Kinnisongcc: error trying to exec 'cc1plus': execvp: No such file or directory15:06
Kinnison:(15:06
KinnisonSo the unix, fedora, and centos dockers lack a C++ compiler by the looks of things15:06
KinnisonThis is not-good-TM15:06
KinnisonCan we add the C++ compilers to the dockers easily?15:08
* Kinnison isn't familiar with how the docker images are constructed15:09
benschubertlet me do that15:09
benschubertmay I push a new commit on top of your PR to add the change?15:09
benschubertor should I do another PR first?15:09
Kinnisonplease feel free to add to my branch15:10
* Kinnison is grateful for you doing this, docker is still a bit of a dark art to me (though I managed to run a docker engine the other day without needing to subsequently erase my entire computer, which is a step up from the previous time I'd tried)15:10
WSalmoni have updated https://gitlab.com/BuildStream/buildstream/merge_requests/1125#note_138688047, juergbi etc15:11
benschuberthttps://gitlab.com/BuildStream/buildstream-docker-images/merge_requests/101 for review :)15:12
*** nimish has quit IRC15:12
Kinnisonbenschubert: looks sane to me, for what I understand at least15:13
Kinnisonamsusingly I appear to be able to hit merge for that repo15:13
* Kinnison wonders why15:13
benschubert:'D15:14
* Kinnison closes the tab before he's tempted to15:14
juergbiWSalmon: testing it I see different color for the microseconds15:15
juergbiis this intentional?15:15
WSalmonnope15:15
juergbiI don't see it for elapsed-us15:15
WSalmonwhat the...15:15
juergbiand I don't actually see it in the code...15:15
juergbiah, should probably be content_profile instead of format_profile15:16
juergbicommented, sorry I missed it in the previous review15:16
juergbifeel free to directly merge it after the fix (when you've tested it yourself)15:17
WSalmoni have just spoted it15:22
WSalmonand tested in my terminal15:23
WSalmonhow odd15:23
*** kapil___ has joined #buildstream15:23
gitlab-br-botjonathanmaw closed issue #852 (Cover the use of WSL in CI) on buildstream https://gitlab.com/BuildStream/buildstream/issues/85215:29
gitlab-br-botjonathanmaw merged MR !1108 (jonathan/wsl-tests->master: Add pre-merge tests that use a WSL runner) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/110815:29
tpollardnice!15:37
*** sambishop has quit IRC15:41
*** tristan has quit IRC15:49
*** sambishop has joined #buildstream15:49
*** raoul_ is now known as raoul15:50
raoul juergbi, I've realised with the patch plugin requiring previous sources to be staged, I'm not sure where during a pipeline it makes sense to stage sources into a local CAS. For this plugin staging only makes sense when an elements sources are staged, and really we don't want to be creating exceptions for the patch plugin.15:51
raoulMaybe it would make more sense to stage sources for an entire element, but that doesn't seem ideal15:51
Kinnisonraoul: does this imply you can only stage sources as a whole for an element, rather than individually for each source?15:52
Kinnisonsnap15:52
raoulhaha15:52
KinnisonHow about if sources carry an indicator of whether they can stage independently, or layer on top?15:52
Kinnisonthen you can individually cache independent sources, and deal with the exceptions (which for now might only be patch, but it leaves it open for later source plugins too)15:52
juergbioh, good point15:52
juergbior maybe separate methods instead of a flag15:53
raoulhmm could have something along the lines of the BST_REQUIRE_PREVIOUS_SOURCE_FETCH, but for staging15:53
juergbihm, no, that wouldn't work for cargo and co.15:53
juergbiwhat if we internally always combine the key of the previous source(s) with the current source?15:55
*** tristan has joined #buildstream15:56
juergbiwe could make it a flag, if needed, but as a start we could always do this15:56
raoulwhat do you mean by combine the key?15:56
juergbie.g., the sourcecache key for the patch source would be a combination of the unique key for the underlying tar/git source and the unique key of the patch source itself15:57
juergbiand similar if there are multiple underlying sources15:58
juergbiand when we move away from real temp. directories, we'd pass in the (CAS)Directory of the underlying source15:58
juergbiit should probably really be a flag long-term, though15:59
juergbibut for a flag we need to discuss exact semantics for the yaml source list15:59
juergbii.e., what happens if two sources are staged at the same location and the second source does not set that flag15:59
juergbishould probably result in merging the trees16:00
raoulSo all sources for an element would be staged on top of each other, rather than individually?16:00
raoulyeah we'd definitely need a think about what that flag would do16:00
juergbiyes, without a flag we would always stage them on top of each other16:02
juergbiif we introduce a flag, we'd only do that for those with the flag16:03
raoulmakes sense, I think in this case it probably makes sense to create source cache refs when an element stages its sources?16:05
*** ChanServ sets mode: +o tristan16:05
tristanjuergbi, only catching the tail end of this, but don't we already have this flag ?16:05
juergbiwe only have it for tracking16:06
tristanAh only for track and fetch !16:06
tristanright16:06
tristanI see that makes sense16:06
*** sambishop_ has joined #buildstream16:09
*** sambishop has quit IRC16:11
*** bochecha has quit IRC16:25
*** sambishop_ has quit IRC16:38
*** tristan has quit IRC17:08
*** jonathanmaw has quit IRC17:15
*** jonathanmaw has joined #buildstream17:15
*** kapil___ has quit IRC17:33
*** lachlan has quit IRC17:36
*** lachlan has joined #buildstream17:53
*** lachlan has quit IRC17:57
*** jonathanmaw has quit IRC18:00
*** toscalix has quit IRC18:11
*** lachlan has joined #buildstream18:14
gitlab-br-botBenjaminSchubert approved MR !1133 (danielsilverstone-ct/other-roaring->master: loadelement.py: Switch from roaringbitmap to pyroaring) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/113318:25
*** raoul has quit IRC18:27
gitlab-br-botBenjaminSchubert closed issue #899 (Possible license incompatibility; roaringbitmap is GPL while BuildStream is LGPL) on buildstream https://gitlab.com/BuildStream/buildstream/issues/89919:34
gitlab-br-botBenjaminSchubert merged MR !1133 (danielsilverstone-ct/other-roaring->master: loadelement.py: Switch from roaringbitmap to pyroaring) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/113319:34
*** slaf has quit IRC20:09
*** lachlan has quit IRC20:19
*** slaf has joined #buildstream20:23
*** slaf has joined #buildstream20:23
*** kapil___ has joined #buildstream20:28
*** benschubert has quit IRC21:10
*** slaf has quit IRC22:05
*** slaf has joined #buildstream22:06
*** slaf has joined #buildstream22:06
*** slaf has joined #buildstream22:06
*** slaf has joined #buildstream22:07
*** slaf has joined #buildstream22:07
*** slaf has joined #buildstream22:07
*** slaf has joined #buildstream22:07
*** slaf has joined #buildstream22:08
*** slaf has joined #buildstream22:08
*** slaf has joined #buildstream22:08
*** skullman has quit IRC22:24
*** skullman has joined #buildstream22:30
*** alatiera has quit IRC22:44

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