IRC logs for #buildstream for Wednesday, 2019-03-13

*** kapil___ has quit IRC00:24
*** nimish has joined #buildstream01:18
*** alatiera has quit IRC01:26
*** nimish has quit IRC01:28
*** nimish has joined #buildstream01:28
*** nimish has quit IRC01:33
*** nimish has joined #buildstream01:33
*** nimish has quit IRC01:43
*** nimish has joined #buildstream01:44
*** nimish has quit IRC01:49
*** nimish has joined #buildstream01:49
*** nimish has quit IRC01:54
*** nimish has joined #buildstream01:54
*** nimish has quit IRC02:19
*** nimish has joined #buildstream02:20
*** nimish has quit IRC02:30
*** nimish has joined #buildstream02:30
*** nimish has quit IRC02:55
*** nimish has joined #buildstream02:55
*** nimish has quit IRC03:00
*** nimish has joined #buildstream03:01
*** nimish has quit IRC03:06
*** nimish has joined #buildstream03:06
*** nimish has quit IRC03:11
*** nimish has joined #buildstream03:11
*** tpollard has joined #buildstream03:14
*** tpollard has quit IRC03:18
*** nimish has quit IRC03:21
*** nimish has joined #buildstream03:22
*** nimish has quit IRC03:29
*** mohan43u has quit IRC04:08
*** mohan43u has joined #buildstream04:09
*** nimish has joined #buildstream05:10
*** nimish has quit IRC05:44
gitlab-br-botjjardon opened issue #956 (BuildStream master seems to be slower than bst-1.2 branch) on buildstream https://gitlab.com/BuildStream/buildstream/issues/95605:52
jjardonSeems the build time is worse in bst master in comparison with bst 1.2 ^05:56
*** toscalix has joined #buildstream08:05
*** toscalix has quit IRC08:06
*** toscalix has joined #buildstream08:06
*** persia has quit IRC08:26
*** asingh_[m] has quit IRC08:27
*** persia has joined #buildstream08:28
*** Trevinho[m] has quit IRC08:28
*** asingh_[m] has joined #buildstream08:40
*** Trevinho[m] has joined #buildstream08:47
*** nimish has joined #buildstream08:54
*** nimish has quit IRC08:58
*** nimish has joined #buildstream09:10
*** nimish has quit IRC09:13
*** nimish has joined #buildstream09:14
juergbijjardon: I generally see wildly varying CI times, so that could be one aspect09:14
juergbianother aspect could be buildtree caching, but this will again be disabled for successful builds in master very soon09:15
jjardonjuergbi: Its exactly same hardware, it should be similar09:15
jjardonBut yeah maybe there is a timeout in some repo or something. Still worth investigating I think09:16
jjardonThe difference is not small, Its around 2 Hours09:17
benschubertjjardon: do you also happen to have memory usage by any chance?09:17
jjardonsorry what do you mean?09:18
benschubertjjardon: maximum memory usage for the two runs you mention09:18
jjardonbenschubert: no idea09:18
juergbiI think it would be good to compare again as soon as !1208 is merged09:18
gitlab-br-botMR !1208: Tweak cache-buildtrees option https://gitlab.com/BuildStream/buildstream/merge_requests/120809:18
jjardonI do not think buildstream records that09:18
jjardonin the good news, the overnight test are successful now :) they have been broken for ages09:20
benschubertjjardon: ok no worries. There's a whole lot of effort around performance currently, so I expect master to become gently faster09:21
benschubertat least for our internal use case, we went from 1-2h builds to 30 minutes ones09:22
jjardonyeah, that is why it surprised me it was actually 2hours slower09:22
jjardonthan 1.209:22
benschubertjjardon: the 1-2h builds were with something after 1.2 though09:24
jjardonI see09:24
*** raoul has joined #buildstream09:40
*** nimish has quit IRC09:44
*** nimish has joined #buildstream09:44
jjardonCan I have reviews of https://gitlab.com/BuildStream/buildstream/merge_requests/1218 , please?09:53
gitlab-br-botphildawson opened (was WIP) MR !1224 (phil/fixup-external-plugin-tests->master: Move external plugin tests to seperate tox environment.) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/122409:57
phildawson^benschubert09:57
benschubertphildawson: appart, how did we ever get a "pip -e" here? Oo, how did that pass a code review?09:58
*** nimish has quit IRC09:59
*** nimish has joined #buildstream09:59
benschubertphildawson: first review done. I'll have a second look once this is fixed and the pipeline passes :)10:00
phildawsonCheers benschubert, that was a stupid mistake, I've fixed it now.10:05
benschubertphildawson: also not sure about https://gitlab.com/BuildStream/buildstream/merge_requests/1224/diffs#61be067c7cf3bdbf8a6b021a2b5167eb30612d0c_19_1710:05
benschubertshouldn't this be removed?10:06
phildawsonYou are correct. Appologies, this is what I get for trowing together a patch in a rush before leaving for the evening :/10:09
phildawsonthrowing10:09
benschubertno worries :)10:10
phildawsonFixes pushed. I'll give you a shout when the pipeline has passed :)10:12
aevrijuergbi: maybe "FileNotFoundError: [Errno 2] No such file or directory: '/home/bschubert/.cache/buildstream-cache/buildstream/cas/tmpfa6k35pq'" could this be because CacheSizeJob is not always exclusive, and BuildQueue does an 'add_artifact_size'?10:17
aevriMaybe this would be writing the cache, when the non-exclusive size job is reading? https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/_scheduler/queues/buildqueue.py#L9810:18
*** nimish has quit IRC10:19
*** nimish has joined #buildstream10:20
juergbiaevri: ah, I thought CacheSizeJob is exclusive. that would certainly explain this10:22
benschubertphildawson: can you lastly check that the external stuff can be called  with every python version? Afterwards I'll be happy :D10:24
*** jonathanmaw has joined #buildstream10:24
*** nimish has quit IRC10:25
*** nimish has joined #buildstream10:25
benschubertjuergbi: aevri: https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/_scheduler/scheduler.py#L400 seems exclusive. Might be a bug if it is not10:25
phildawsonbenschubert, okay :)10:25
aevribenschubert: if I'm reading it right, that stops size jobs from running concurrently, but not build+size jobs.10:27
benschubertaevri: then that means we would have a build job running and writing temporary files in cache. Correct? That seems really bad10:28
aevriMy understanding is that the BuildQueue is doing that every time a build job completes, which is less bad perhaps.10:29
aevriI think it shouldn't write a temp file though.10:29
*** lachlan has joined #buildstream10:40
*** connorshea[m] has quit IRC10:42
juergbiaevri: how else do you (more or less portably) atomically update a file?10:43
aevriI think all the writing of the cache size file happens in the main process, so there isn't a data race exactly. It's just uncertain as to whether the size job included the newly finished build jobs or not. I get the impression this is a deliberate trade-off of accuracy for better concurrency.10:43
aevriI was imprecise :)10:44
aevriI think we should use the swap trick, but not in the cas dir10:44
*** connorshea[m] has joined #buildstream10:44
aevrii.e. use the 'temp' dir and swap into the 'cas' dir as with the other calls to save_file_atomic()10:45
aevriin cascache.py10:45
*** nimish has quit IRC10:45
juergbiright, we can certainly do that10:45
*** kailueke[m] has quit IRC10:45
*** nimish has joined #buildstream10:45
aevriafaict that would fully resolve the issue, if I'm right that there isn't a data race.10:46
juergbiyes, makes sense to me10:46
*** nimish has quit IRC10:47
aevricool, will make an MR, and think about how to effectively test it :)10:49
*** nimish has joined #buildstream10:51
*** nimish has quit IRC10:53
*** kailueke[m] has joined #buildstream10:53
juergbithanks10:56
*** nimish has joined #buildstream10:57
*** lachlan has quit IRC11:05
gitlab-br-botjuergbi opened MR !1225 (juerg/partial-cas->master: Initial support for partial local CAS) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/122511:10
*** lachlan has joined #buildstream11:10
*** lachlan has quit IRC11:13
*** lachlan has joined #buildstream11:15
*** nimish has quit IRC11:15
*** nimish has joined #buildstream11:16
*** lachlan has quit IRC11:19
*** lachlan has joined #buildstream11:27
*** lachlan has quit IRC11:33
*** nimish has quit IRC11:36
*** nimish has joined #buildstream11:36
*** nimish has quit IRC11:55
*** lachlan has joined #buildstream11:58
*** nimish has joined #buildstream12:12
*** lachlan has quit IRC12:14
*** nimish has quit IRC12:19
*** nimish has joined #buildstream12:19
*** lachlan has joined #buildstream12:22
*** nimish has quit IRC12:24
*** nimish has joined #buildstream12:25
*** lachlan has quit IRC12:25
*** lachlan has joined #buildstream12:33
*** nimish has quit IRC12:34
*** nimish has joined #buildstream12:35
raoulLooks like someone's trying to backport a fix to 1.2 in !1180, but the pipeline wont run, does the old gitlab ci need updating for 1.2 or something?12:35
gitlab-br-botMR !1180: plugins/sources/git.py: Cope with rename returning error EEXIST https://gitlab.com/BuildStream/buildstream/merge_requests/118012:35
*** lachlan has quit IRC12:38
juergbiraoul: ah, I think that's because the branch is not in the main repo12:40
juergbiand that other repo doesn't have CI enabled12:40
raoulah that makes sense, should we get them to make a local branch? or is there a way of getting it to run or the main repos CI?12:41
juergbiafaik, that's the only option for running on the main CI12:46
juergbialternatively, they could enable CI on their repo but that can be cumbersome12:47
*** lachlan has joined #buildstream12:54
*** nimish has quit IRC12:55
*** nimish has joined #buildstream12:56
*** alatiera has joined #buildstream13:05
*** lachlan has quit IRC13:15
laurence-anyone around who's good with the buildstream website?13:23
*** nimish has quit IRC13:24
laurence-would like to add a note to the News section explaining what was decided re not doing 1.413:24
*** nimish has joined #buildstream13:28
laurence-looking here but i can't see the News pages - https://gitlab.com/BuildStream/website/tree/master/content/pages13:28
SotKthe only news article currently is in https://gitlab.com/BuildStream/website/tree/master/content/201813:29
SotKyou probably want to make a similar file but in content/201913:29
SotKpelican should do the rest of the magic needed for it to show up in the news page13:30
laurence-SotK, thanks for that - so just creating a new directory names 2019 within content will be enough?13:32
SotKonce you also put a markdown file in it, yes13:34
laurence-wow, seems easy... :)13:34
gitlab-br-botaevri opened issue #957 (Race on temporary file in .cache/buildstream/cas/) on buildstream https://gitlab.com/BuildStream/buildstream/issues/95713:36
*** nimish has quit IRC13:44
*** raoul_ has joined #buildstream14:02
*** raoul has quit IRC14:03
*** nimish has joined #buildstream14:06
*** lachlan has joined #buildstream14:09
*** nimish has quit IRC14:17
*** nimish has joined #buildstream14:21
gitlab-br-botaevri opened (was WIP) MR !1223 (aevri/doc_artifact_log->master: 'artifact log': document the 'artifacts' argument) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/122314:25
*** nimish has joined #buildstream14:27
gitlab-br-botjmacarthur approved MR !1210 (aevri/nodefaultsset->master: element.__init_default: treat `None`  plugin_conf as if missing file + refactor) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/121014:34
*** laurence- is now known as laurence14:35
*** nimish has quit IRC14:41
*** lachlan has quit IRC14:43
*** nimish has joined #buildstream14:46
*** lachlan has joined #buildstream14:48
*** lachlan has quit IRC14:53
*** nimish has quit IRC14:56
*** lachlan has joined #buildstream14:57
*** raoul_ has quit IRC14:58
*** raoul_ has joined #buildstream14:58
*** raoul_ has quit IRC15:02
*** nimish has joined #buildstream15:03
*** raoul_ has joined #buildstream15:03
*** lachlan has quit IRC15:20
*** lachlan has joined #buildstream15:21
*** lachlan has quit IRC15:27
*** lachlan has joined #buildstream15:28
*** lachlan has quit IRC15:35
benschubertwill tristan be around before the end of the week?15:52
*** lachlan has joined #buildstream15:55
juergbibenschubert: I think he is going to a conference, so he might be around sporadically15:55
laurenceFOSSASIA starts on Thursday, I think.15:56
laurencebenschubert, I believe tristan is currently travelling15:57
benschubertjuergbi, laurence ok thanks!16:00
*** kapil___ has joined #buildstream16:02
*** lachlan has quit IRC16:11
*** lachlan has joined #buildstream16:12
*** lachlan has quit IRC16:25
gitlab-br-botjennis opened issue #958 (Autocompletion outside of a project produces stack trace) on buildstream https://gitlab.com/BuildStream/buildstream/issues/95816:29
jmacouch16:33
jennisheh16:34
gitlab-br-botmarge-bot123 merged MR !1224 (phil/fixup-external-plugin-tests->master: Move external plugin tests to seperate tox environment.) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/122416:54
juergbiraoul_: I don't recall whether I've tested your source cache branch with remote execution at some point. have you?17:13
juergbiI don't expect any issues but would be good to verify17:14
juergbior maybe mablanch could trigger a RE end-to-end pipeline on the source cache branch17:14
*** raoul_ is now known as raoul17:15
raoulIf that's working that'd be good17:15
mablanchraoul, juergbi: That pipeline doesn't have support for arbitrary sha at the moment, it can only test master I'm afraid...17:17
juergbiok, thanks, will do a test on my laptop17:17
raoulAh well I shall faff around with buildgrid check if it works17:17
mablanchBut setting up a grid should be very easy now using the instructions at https://gitlab.com/BuildGrid/buildgrid.hub.docker.com17:18
juergbiraoul: will you test it or shall I?17:18
raoulI'll have a go with the docker compose17:19
juergbiok17:19
juergbiwe should be able to merge the branch as soon as that's done17:19
raoulSuccessfully worked for the autotools example :)17:29
raoulthe docker-compose image definitely makes life easier mablanch17:29
juergbigreat17:37
juergbijennis: would it be easy to trigger the weekly performance tests for a branch on the same hardware? or shall I compare master and branch on my laptop manually?17:38
*** jonathanmaw has quit IRC18:03
gitlab-br-botaevri opened (was WIP) MR !1226 (aevri/tmpdir_for_cache_size->master: cascache: atomically save size via tmpdir instead) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/122618:07
gitlab-br-botraoul.hidalgocharman approved MR !1215 (phil/consolidate-repo-tests->master: Consolidate templated source tests) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/121518:11
*** raoul has quit IRC18:16
gitlab-br-botaevri opened issue #959 (Element ref spec might be confusing) on buildstream https://gitlab.com/BuildStream/buildstream/issues/95918:26
gitlab-br-botchiaratolentino opened issue #960 (Better error messages for `bst track`) on buildstream https://gitlab.com/BuildStream/buildstream/issues/96018:35
gitlab-br-botphildawson opened issue #961 (Expose abstract git plugin as public api.) on buildstream https://gitlab.com/BuildStream/buildstream/issues/96118:48
*** toscalix has quit IRC19:06
*** toscalix has joined #buildstream19:10
*** toscalix has quit IRC19:10
*** kapil___ has quit IRC19:23
*** nimish has quit IRC21:19

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