IRC logs for #buildstream for Wednesday, 2018-02-28

*** mcatanzaro has joined #buildstream00:00
*** mcatanzaro has quit IRC01:56
*** Prince781 has joined #buildstream03:30
*** hase has joined #buildstream04:17
*** Prince781 has quit IRC04:20
*** Prince781 has joined #buildstream04:21
*** hase has quit IRC04:24
*** Prince781 has quit IRC04:36
*** Prince781 has joined #buildstream04:37
*** tristan has joined #buildstream06:01
*** Prince781 has quit IRC06:42
*** Prince781 has joined #buildstream06:43
*** hase has joined #buildstream06:59
*** hase has quit IRC07:43
*** hase has joined #buildstream07:44
gitlab-br-botbuildstream: issue #211 ("Implement the Bazel event protocol") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/21108:22
*** aday has joined #buildstream08:22
gitlab-br-botbuildstream: issue #210 ("Make build artifacts of workspaced dependencies visible") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/21008:27
*** hase has quit IRC08:46
*** Prince781 has quit IRC08:52
gitlab-br-botbuildstream: merge request (sam/267-integration-cache->master: Make integration-tests work by default, and tweak how INTEGRATION_CACHE is interpreted) #294 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/29409:17
gitlab-br-botbuildstream: issue #108 ("Integration tests not idempotent and self contained") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/10809:20
gitlab-br-botbuildstream: issue #267 ("Integration tests dont work by default, and write outside of repo") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/26709:34
gitlab-br-botbuildstream: merge request (sam/267-integration-cache->master: Make integration-tests work by default, and tweak how INTEGRATION_CACHE is interpreted) #294 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/29409:34
*** ssam2 has joined #buildstream09:58
*** noisecell has joined #buildstream10:07
*** dominic has joined #buildstream10:10
*** jonathanmaw has joined #buildstream10:17
tristanjuergbi, So I have bind mounted /etc/group and /etc/passwd... and /dev/dri... on the host /dev/dri/* shows up as root:video, and in the `bst shell` they show up as nobody:nogroup10:25
tristanjuergbi, any idea why ? or clue what to look for ?10:26
tristanah, I think it's sandboxing that is still too strict without --isolate specified10:27
* tristan tests some things10:27
juergbitristan: anything that is not explicitly mapped into the user namespace gets the 'overflow' uid/gid10:27
juergbias the video group is not mapped, you don't have access to that, hm10:27
tristanright, --unshare-user causes that10:27
juergbiyes but that's required for operating bwrap without having it setuid root10:28
juergbiwhich is a nice aspect10:28
tristanHrrrrm10:28
tristanEven with that though; I still get `libGL error: failed to open drm device: Permission denied`10:29
juergbii don't think even subuids would help here10:29
juergbiwondering how flatpak handles that10:29
tristanI guess I'll try digging there10:29
tristanIn separate news, I have a patch which adds a `--mount` option to `bst shell`... but it's still not ready :-S10:30
tristanOr, maybe it's a separate problem, but I have to fix it pretty much immediately10:30
tristanthe code block which cleans up debris left behind by bwrap is failing: https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/sandbox/_sandboxbwrap.py#L19210:31
tristanif you choose to mount anything underneath one of the dirs which bwrap creates as debris10:32
tristantricky problem10:32
tristanguess I wont land it today, as I have an appointment and leaving soon10:32
*** hase has joined #buildstream10:42
jonathanmawssam2: :/ my build of buildstream overnight failed, seems the build of python3 is failing with "Fatal Python error: getentropy() failed"10:44
ssam2wow, i've never seen that before10:44
ssam2build of buildstream ?10:44
tiago /dev/(u)?random missing in the sandbox?10:46
tristanThat sounds like an attempt to build without /dev/random10:46
tristanright10:47
ssam2indeed; but it's hardcoded to be there10:47
tristanHrrrrm perhaps it is not; it was at one point10:47
tristanah no, it's hard coded and there10:47
* tristan only recalled we use a generic bwrap option, but that's only in interactive shells10:48
tristani.e. `--dev /dev`10:48
aiden`rng-tools`?10:49
*** hase has quit IRC11:03
*** tristan has quit IRC11:04
gitlab-br-botbuildstream: issue #213 ("Dpkg-build should be able to use quilt from host-tools") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/21311:09
gitlab-br-botbuildstream: issue #276 ("Downloading times out; doesn't resume: "[28] Timeout was reached"") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/27611:45
*** ssam2 has quit IRC12:03
jonathanmawssssam[m]: no problem, I've figured out how to get the image from docker, so I should be able to test x86image12:08
*** ssam2 has joined #buildstream12:23
*** mcatanzaro has joined #buildstream12:37
gitlab-br-botbuildstream: merge request (239-use-pylint-for-linting->master: WIP: Resolve "Use pylint for linting") #283 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/28312:39
*** ernestask has joined #buildstream12:48
gitlab-br-botbuildstream: merge request (214-we-need-a-way-to-make-elements-depend-on-a-subset-of-an-element-s-output->master: Resolve "We need a way to make elements depend on a subset of an element's output") #284 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/28413:27
*** aday has quit IRC13:33
*** jyothiraditya has joined #buildstream13:48
*** jyothiraditya has quit IRC13:50
*** jyothiraditya has joined #buildstream13:52
*** jyothiraditya has quit IRC13:56
*** aday has joined #buildstream14:17
jmacMR !300 is weird14:19
jmacI'm going to have to do some experiments to figure out how that change works14:19
*** mcatanzaro has quit IRC14:25
jennis_jmac, which change specifically?14:27
jmacOh, it's the commas on the end of the line, got it14:29
jmacI remember you mentioning this somewhere but it's not obvious in the commit messages14:29
jennis_ahh whoops, I made it obvious in the issue14:30
jennis_Would you like me to change the commit message and push again?14:30
jmacNo, it's fine14:31
jmacI'll have to remember that comma trick in case I need to write any underhanded Python14:32
jennis_To have the description show that this closes issue #266, do I literally just add, "Closes #266"?14:33
ssam2yeah, it's "magic"14:34
gitlab-br-botbuildstream: merge request (changing_the_dictionary_in_get_unique_key->master: Changing the dictionary in `get_unique_key()`) #300 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/30014:34
ssam2so be careful using a sentence in a commit message like "this does not and will never fix #2052"14:34
ssam2which will probably result in issue #2052 getting auto-closed by the MR that explicitly says it doesn't fix it14:34
jmacI'm happy with MR !300 but I don't know if I have authority to merge it14:35
ssam2my understanding is that we leave merging to tristan or juergbi in general14:35
ssam2i just comment to say I have reviewed something and spotted no issues14:35
* jmac leaves it there then14:36
jennis_thanks jmac14:37
jonathanmawjuergbi: do you have time to review https://gitlab.com/BuildStream/buildstream/merge_requests/284 for me?14:44
jonathanmawssam2: finally got the x86image tested, using that buildstream-examples branch14:59
jonathanmawI had to manually extract the docker image and assemble it into a tar, which I suspect is what tlater was doing, also14:59
ssam2cool15:00
ssam2weird that the docker source plugin didn't work there, it's worked fine for other purposes ...15:00
ssam2i think i've only ever used it to pull images with library/ prefix15:00
ssam2Docker Hub doesn't make it too easy to discover the actual URL endpoints that we need to pass in, sadly15:01
ssam2maybe we could write a simple python script that does a search using the API and outputs the actual image URL that you'd need to use in the 'sources' field15:01
gitlab-br-botbuildstream: merge request (sam/document-profiling-and-benchmarks->master: WIP: HACKING.rst: Mention benchmarking and profiling tools) #267 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/26715:14
gitlab-br-botbuildstream: merge request (sam/document-profiling-and-benchmarks->master: HACKING.rst: Mention benchmarking and profiling tools) #267 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/26715:14
jonathanmawssam2: okay, I'll look into it . first, though, I'll rebase the x86image merge request so I can get it merged15:26
*** noisecell has quit IRC16:05
*** noisecell has joined #buildstream16:19
gitlab-br-botbuildstream: merge request (changing_the_dictionary_in_get_unique_key->master: Changing the dictionary in `get_unique_key()`) #300 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/30016:30
jennis_No tristan?16:32
ssam2it's been known16:33
jennis_in which case, juergbi, I think !300 is ready to be merged16:33
*** noisecell has quit IRC16:35
gitlab-br-botbuildstream: merge request (sam/compose-symlinks-issue->master: WIP: Avoid compose element dropping files that are staged inside directory symlinks) #295 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/29516:37
gitlab-br-botbuildstream: merge request (sam/compose-symlinks-issue->master: Avoid compose element dropping files that are staged inside directory symlinks) #295 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/29516:37
jennis_mhmm the tests failed in the CI, however running the tests locally (`./setup.py test`) seems to work16:39
ssam2a common issue16:40
jennis_Is there a common reason?16:41
ssam2no16:41
ssam2look at the logs and see16:41
juergbijennis_: !300: need a small tweak of the commit message, see comment16:42
juergbibtw: i was surprised that you changed the initialization style of the dictionary instead of just removing the commas. but it's fine with me either way16:42
jennis_Yeah, I just followed the recommended pep8 style16:42
gitlab-br-botbuildstream: merge request (changing_the_dictionary_in_get_unique_key->master: Changing the dictionary in `get_unique_key()`) #300 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/30016:47
jennis_all done, juergbi16:47
juergbiah, great, thanks16:48
juergbijennis_: CI issue might be because the branch is in your repo, not the main buildstream repo16:48
juergbiwe have separate runners setup that work more reliably16:48
jennis_ok, thanks16:49
juergbii don't have a "merge when the pipeline succeeds" button with this CI error message16:50
juergbimight need to wait a bit to have gitlab resolve their CI issue. let me know if it's working again16:50
juergbiotherwise we'll have to push it to a new branch in the main repo. unfortunately, that requires opening a new MR as the branch can't be changed in the existing MR16:51
jennis_Yeah I re-ran the failed test and its passed it now16:52
juergbii've enabled automatic merge16:53
juergbibtw: i've added you to the buildstream project. you can push future branches directly to the main repo, which is hopefully more convenient for CI16:53
jennis_glad to hear it16:54
*** noisecell has joined #buildstream17:05
*** mcatanzaro has joined #buildstream17:07
gitlab-br-botbuildstream: merge request (sam/compose-symlinks-issue->master: Avoid compose element dropping files that are staged inside directory symlinks) #295 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/29517:09
gitlab-br-botbuildstream: merge request (sam/compose-symlinks-issue->master: Avoid compose element dropping files that are staged inside directory symlinks) #295 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/29517:10
*** xjuan has joined #buildstream17:35
*** ssam2 has quit IRC17:36
gitlab-br-botbuildstream: merge request (jmac/configurable-logging->master: Configurable log line formatting) #282 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/28217:40
gitlab-br-botbuildstream: merge request (jmac/configurable-logging->master: Configurable log line formatting) #282 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/28217:42
gitlab-br-botbuildstream: issue #266 ("`get_unique_key()` only works with an incorrectly initialised dictionary") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/26617:43
gitlab-br-botbuildstream: merge request (changing_the_dictionary_in_get_unique_key->master: Changing the dictionary in `get_unique_key()`) #300 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/30017:43
*** dominic has quit IRC17:45
*** persia has quit IRC17:45
*** waltervargas[m] has quit IRC17:45
*** ernestask[m] has quit IRC17:46
*** persia has joined #buildstream17:47
*** ernestask[m] has joined #buildstream17:48
*** ernestask[m] is now known as Guest1245717:49
*** waltervargas[m] has joined #buildstream17:49
*** Prince781 has joined #buildstream17:56
*** Guest12457 is now known as ernestask[m]17:57
jmac^ doing some better commit messages for !282, don't review it yet17:57
*** jonathanmaw has quit IRC17:59
gitlab-br-botbuildstream: merge request (jmac/configurable-logging->master: Configurable log line formatting) #282 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/28218:09
jmacDone18:09
*** Prince781 has quit IRC18:37
*** valentind has joined #buildstream18:40
*** hase has joined #buildstream18:45
*** hase has quit IRC18:51
*** mcatanzaro has quit IRC19:57
*** mcatanzaro has joined #buildstream20:10
*** ernestask has quit IRC20:22
*** mcatanzaro has quit IRC20:25
*** xjuan has quit IRC21:02
*** tristan has joined #buildstream21:22
*** mcatanzaro has joined #buildstream21:46
*** Prince781 has joined #buildstream22:01
*** aday has quit IRC22:43
*** tristan has quit IRC22:51
*** csoriano has quit IRC23:21
*** csoriano has joined #buildstream23:23
*** csoriano has quit IRC23:24
*** Prince781 has quit IRC23:24
*** valentind has quit IRC23:24
*** csoriano has joined #buildstream23:25
*** xjuan has joined #buildstream23:42

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