IRC logs for #buildstream for Thursday, 2018-03-15

*** tristan has quit IRC05:04
*** tristan has joined #buildstream05:27
*** Prince781 has joined #buildstream05:30
*** Prince781 has quit IRC06:30
*** toscalix has joined #buildstream07:49
*** toscalix has quit IRC07:50
*** tristan has quit IRC07:56
*** tristan has joined #buildstream08:28
*** valentind has joined #buildstream09:08
jennis\o/09:10
*** jonathanmaw has joined #buildstream09:12
*** dominic has joined #buildstream09:43
tlaterHm, I think I found a bug09:51
* tlater tests if he can build a workspaced element after it fails on master09:52
*** tiago has joined #buildstream09:55
tlaterNevermind, looks to be my branch after all :\10:00
*** toscalix has joined #buildstream10:01
*** toscalix has quit IRC10:07
tristanjuergbi, I'm in the middle of an aggressive refactor, which I hoped I would get done in a day, maybe I can, but shaking the tree, stuff is falling out10:13
tristanjuergbi, tlater, both of you actually; I wonder about how solid our logic is for setting up the build + track plan10:14
juergbido you have specific concerns?10:14
tristanBefore we added `--except`, Pipeline.build() with enabled tracking was quite straight forward10:14
tristanOne case I think is broken here, is if we track dependencies of cached build-only dependencies10:15
tristanThere will be cases where those intermediate elements wont get re-added to the build queue10:15
juergbitristan: hm, we don't drop elements when moving from queue to queue, do we?10:17
tristanNo, not that I know of10:18
juergbiThen I don't know what you mean with re-adding to the build queue10:18
tristanBut lets say I decide to track a dependency of a build-only dependency, in a build session10:18
*** aday has joined #buildstream10:18
tristanFirst, we will calculate a build plan; which will exclude the build-only dependency10:18
tristanThen, we will add in the build dependency of the build-only dependency to the track queue10:19
tristanjuergbi, finally, the build plan has never been instructed to build the intermediate element10:19
tlaterOof, yeah, that sounds like it will get lost10:19
juergbiah, the intermediate element, right, missed that part10:20
tristanThis needs restructuring, or things are getting unlivable10:20
tristanMy quick refactor is trying to add PipelineSelection() object10:21
juergbias a quick fix we could skip the cached build-only dependency exclusion if --track FOO is used10:21
tristanAnd not making some implicit assumption that the --except list has to do with a specific selection10:21
tristanjuergbi, indeed10:23
tristanI had to read that 5 times to understand it though, and that is the real problem :)10:23
tlaterYep, that code is definitely to complex atm10:24
tristanjuergbi, basically you mean - build + track *implies* `--all` argument10:24
juergbii didn't even know that we directly skip queues in some cases10:24
jmacWhen running tests in unix mode I find it's often leaving mounts behind10:24
tristanjmac, somebody filed a bug about that... like yesterday.10:24
tlaterjmac: That happens mostly when there's an exception during the build10:25
jmace.g. I can't umount /var/run/buildstream/tmpopw92h65/proc as it says it's always busy, although there aren't any bst procresses running10:25
jmacYeah, found it #29810:25
jmacBut they can't be manually unmounted10:26
tlaterYeah, I never figured out *why* in some cases - I suspect you need to recursively unmount10:26
tristanjmac, fallback unix platform *implies* root10:26
tristanOh that10:26
tristanYes, I've encountered that10:26
skullman`umount -l` will work10:26
tlaterBe careful with these, as it's your actual /proc mounted to that dir10:27
skullmanhopefully since it's a virtual filesystem it's not going to cause problems on shutdown, since the kernel will be able to kill whatever is holding it10:27
juergbitristan: implying --all should do the trick, yes. not always optimal but should work10:28
tristanjuergbi, yeah I have to prioritize, it's driving me mad hehe :)10:28
juergbiof course10:28
tristanjuergbi, Ultimately, I think we need these selection objects, and ways to composite them together; splitting that code out entirely from the `build`, `fetch`, `track` toplevel entry points10:29
tristanbut I can't get there today, as a step I wanted to "just do" before landing project.refs :-(10:29
juergbiyes, let's do it separately10:30
tristanyes, the current state was so annoying that I wanted it done first; but that's proving to be too much10:30
dominicI have https://pastebin.com/DsqECx4k and https://pastebin.com/2X21jkA5 as possible outputs, which one do people prefer?10:36
skullmanI'd prefer the second10:37
jennisAs do I10:37
dominicOK, I do too. Will go with that one then10:40
jennisHowever for the first one, I like the splitting with ,, on lines 7 and 1410:40
jennisIs it possible to incorporate something like that into the second?10:40
dominichmm, I'll try and see what happens. Should be able to though10:41
gitlab-br-botbuildstream: merge request (jmac/build-uid-2->master: WIP: Sandbox configuration key to specify uid/gid for sandbox) #318 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31810:43
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31510:52
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31510:54
*** valentind has quit IRC10:57
*** dominic has quit IRC11:16
*** dominic has joined #buildstream11:17
gitlab-br-botbuildstream: merge request (jmac/build-uid-2->master: WIP: Sandbox configuration key to specify uid/gid for sandbox) #318 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31811:40
tristanjuergbi, ok so I'm aiming low and will want to expand on this after, along with some brutal refactoring... I have the error in place for cross-junction tracking without project.refs, it is a bit simple; it turns out very difficult to collect the list of elements I would want to report11:59
tristanUnless I were to report *all* of them, which can be too big of a list11:59
gitlab-br-botbuildstream: merge request (jmac/build-uid-2->master: WIP: Sandbox configuration key to specify uid/gid for sandbox) #318 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31812:00
tristanjuergbi, before I write up docs and nail in the final test cases; I wonder about .... wait for it... NAMES12:00
tristanhaha12:00
tristanparticularly, I've been working with a project.conf switch called 'separate-source-refs'12:00
tristanI'm uncomfortable with that name...12:01
tristancentralized-refs maybe... because source refs in a way actually become less "separate" than they were before, now they are all in one file *together*12:01
juergbihm12:02
juergbiis it or will it be possible to specify a filename. or will this remain a boolean?12:02
tristanGood point, it's currently not12:03
juergbisomething like refs-filename could be an option if it was a filename option12:03
tristanIt may be good to support that *first* for the sake of having one configuration for it12:03
tristangiven that it will be very easy to implement that12:03
juergbior refs-path12:03
tristanWhat are we really going to accomplish by making that configurable, I wonder ?12:05
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31512:05
tristanYou can maintain two differently versioned builds in the same branch12:05
juergbitristan: avoid git diff?12:05
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31512:05
tristanjuergbi, I mean, allowing the user to decide on filename12:05
juergbiactually, it'd have to be a CLI/user config, hm12:06
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31512:06
tristanThere is something *nice* about forcing `project.refs` beside `project.conf`; seems easier knowledge to swallow12:06
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31512:06
tristanindeed, as a CLI switch it makes more sense to me12:06
juergbithe only reason i suggested customizable filename was to avoid the issue where tracking makes the git tree dirty12:07
juergbibut this doesn't really make sense in project.conf12:07
juergbialthough you could theoretically override it in the project-specific user config but it's a bit odd12:07
tristanYeah it's weird, and doesnt solve the naming issue of "Does this project use project.refs or not"12:08
tristanIt could be `use-project-refs`, but that... also sounds bad12:08
juergbiok, let's keep it a boolean12:08
juergbior invert it: embed-refs: False?12:10
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31512:10
juergbior something like an enum: ref-storage: embedded/external12:10
tristanI like 'inline' better than 'embedded' I think12:11
tristaninline-refs: False... ref-storage: inline / centralized12:12
juergbiinline is fine with me12:12
juergbiinstead of centralized we could also call that value 'project.refs'12:13
tristansounds good to me12:14
tristanthat will also imply default data/projectconfig.yaml will have a ref-storage setting in it (which I like for documentation purposes)12:15
tristanI guess that would have been true for any default12:15
tlaterDo we want to disable incremental builds on the Unix platform to fix the updated dependencies bug?12:23
tlaterOr should we try to implement a terribly slow diff for tarfiles?12:23
juergbii would disable it12:27
juergbiwe might even decide to replace tarcache with the Google CAS based artifact cache12:27
juergbiwhere we can do this efficiently12:27
tristanjuergbi, here is another place where; it may make sense to have the ostree/tar details really tied to push/pull ?12:27
tristanand rely on the extract dir more extensively instead ?12:28
juergbiextract dir would be much slower for diff12:28
juergbimerkle tree diff is efficient12:28
tristantrue, the ostree cache will be much better at that12:28
juergbii.e., it's actually the other way round, a reason for relying on real artifact cache12:29
tristanwe may need merkle tree understanding as a first class citizen, though12:29
juergbiyes, in case we decided to replace tarcache with Google CAS, all artifact caches would be merkle based12:30
juergbiand we could add some internal API for this12:30
tristanat some point; we call out to the build farm APIs with merkle trees12:30
juergbiyes but build farm expects google CAS merkle trees, not arbitrary ones12:30
tristanand having CAS as a possibility for an artifact cache, may be later than that point, if it ever comes12:30
juergbiCAS as artifact cache is actually a step before remote execution12:31
juergbiit's a prerequisite12:31
tristanHmmm :-/12:31
juergbihowever, we don't have to switch to it for local execution, of course. that's to be decided12:32
juergbiwhat's your concern here?12:32
tristanOne is of course, we *cannot* have remote execution without locally using a CAS ?12:34
tristanWill we end up having many branchy ways of doing things, because we did not first make our own merkle tree object that we use extensively throughout the core ?12:35
tristanI'm definitely foggy in this area of planning, though12:35
juergbitristan: for 'virtual staging' of dependency artifacts, we need at least some local CAS functionality12:36
juergbii've already implemented this in a branch12:36
juergbithe current plan is to have this as a separate artifact cache implementation. only one of ostree or CAS artifact cache backend would be enabled in a single session12:37
juergbisupporting both at the same time would be tricky. but one at a time should be straight forward, not increasing branching12:37
juergbi(except for the place where we choose the artifact cache implementation, still not quite sure about that)12:38
tristanSo... the ArtifactCache abstraction gains a bit more responsibility, in terms of staging ?12:38
tristanAnd then you have it done virtually in a farm with CAS, and locally with ostree ?12:38
juergbimy current plan is to expose an API to work with a directory abstraction12:39
juergbiwhich can be real local directories (regular staging) or merkle trees (virtual staging)12:39
juergbii.e., artifact cache itself wouldn't really know anything about staging per se12:39
tristanWell... it's gonna be interesting :)12:40
tristanWe'd better clean house first12:40
juergbithe current branch only deals with CAS support with local execution. so that's one of the next steps12:40
juergbialso need to design API for the single script generation aspect. will probably be a proposal on the list12:41
juergbiyes, there are quite a few pieces that have to be put together to get remote execution properly working12:42
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31512:46
tristantlater, jennis; does the new linting check for circular imports ?13:15
tlatertristan: Not currently, we have circular imports and refactoring those was too much work for the time being13:16
tlaterIf you'd like to, you can enable it for a branch by modifying .pylintrc13:16
tristanHmm, that is a problem13:16
tristanone which we would have caught had we fixed https://gitlab.com/BuildStream/buildstream/issues/146 by now13:17
tristanThis means that none of the current developers use python 3.4 anymore13:17
tristanI know jonathanmaw was using it for a while13:18
gitlab-br-botbuildstream: issue #301 ("Fix circular imports") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/30113:22
*** xjuan has joined #buildstream13:27
*** mcatanzaro has joined #buildstream13:33
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31513:37
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31513:39
dominicdidn't quite mean to make this a merge request with the main repo, but would someone mind taking a look anyway https://gitlab.com/BuildStream/benchmarks/merge_requests/3/commits13:44
tristandominic, I need somebody to be in charge of benchmarks13:46
tristandominic, my initial thought on seeing that headline is; why on earth would we *want* to convert to csv at all ?13:47
jmacWe agreed I'd do that yesterday but I'm about to be pushed to another project, so...13:47
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31513:47
tlaterHm, it's annoying that pylint doesn't run with ./setup.py13:48
tristanWhat ?!13:48
tristantlater, it doesnt ?!13:48
tlatertristan: You need to specify --addopts --pylint13:48
* tristan palmface13:48
tlaterYep, a bit of an overlook13:49
tristanSo... that is like a one liner change to fix13:49
dominictristan, we wanted something easily readable by a human and csv was the suggestion for that13:49
tristandominic, I very highly doubt that any format is going to be easily readable by a human; if it is, it means our benchmarks are severely weak and lack a lot of samples :-S13:50
tristanThough, csv would seem the closest bet for that13:51
tristanstill, if I need to second-guess the graphs, or try to observe something that is not in presentable form, I'm going to be using search features into a really huge file, not sure the format makes much of a difference13:52
jmacCSV is easier for someone non-technical to import into a spreadsheet13:52
tristanThere is that13:53
tristanWhat will you do with it in a spreadsheet ?13:53
jmacPlus, slightly easier to convert into a HTML table, although you might just output that directly13:53
tristanAnyway, I have to leave the closing coffee shop :-/13:53
jmacA common use is to have baseline results compared against results from a new branch you're thinking of merging13:54
*** tristan has quit IRC13:57
*** tristan has joined #buildstream14:25
gitlab-br-botbuildstream: merge request (tristan/project-refs->master: WIP: Optionally load and store source references in project.refs) #314 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31414:40
tristanjuergbi, ^^^ still needs docs and a few tests; I'll remove WIP status when that's done and ask you for a lookover14:41
juergbiok14:43
juergbitristan: you generally agree that intermediate commits in a branch should not break things, don't you?14:56
gitlab-br-botbuildstream: merge request (test-run-doc->master: HACKING.rst: Add integration and pytest notes) #319 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31915:26
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31515:30
gitlab-br-botbuildstream: merge request (215-workspace-builds-might-not-rebuild-correctly-when-dependecies-are-updated->master: WIP: Resolve "Workspace builds might not rebuild correctly when dependecies are updated") #315 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/31515:30
jennisHi guys, the docker source plugin makes use of the requests module: https://gitlab.com/BuildStream/bst-external/blob/master/bst_external/sources/docker.py#L5015:55
jennisSo in order to include this in CI tests, we have "requests" within install=requires15:55
jennishttps://gitlab.com/BuildStream/bst-external/blob/master/setup.py#L3815:56
jennisHowever, when pushing my branch, I am getting this error: https://gitlab.com/BuildStream/bst-external/-/jobs/5764091215:56
tlaterskullman: So you'd be happy with me trying to merge #277 if I added a few more tests?15:57
* tlater is tempted to do the workspace object refactor on that branch, but that's probably too much work to port over15:58
skullmanto #277 or your other one. could be appropriate given the overlap15:58
gitlab-br-botbuildstream: merge request (juerg/buildqueue->master: Avoid SIGCHLD errors) #320 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32015:59
tlaterYeah, I could certainly swallow that branch - just 50 or so changes16:00
tlaterBut I think there's been enough confusion about this already x)16:00
jennisJust incase, ^^ no worries, I've sorted that problem16:12
jennis(to what I said above)16:12
jennisOk so, if anyone has a chance to look at this I'd really appreciate it: https://gitlab.com/BuildStream/bst-external/-/jobs/5764727716:13
jennisBasically, in the sandbox, the permissions of the debian/rules file changes so essentially the build command for dpkg-build-test.bst fails. However, if I locally run `bst build dpkg-build/dpkg-build-test.bst` (which is in tests/project/elements directory of my branch) the build is successful16:16
tlaterjennis: Wait, that only fails on gitlab?16:16
jennisyah16:16
jenniswell hang on16:16
tlaterIt's possible git doesn't save the permissions you need16:16
jennisthe *test* fails locally, but a local build of the element does not16:17
tlaterAh, nevermind me then :)16:17
jennisi.e if I execute `./setup.py test` I'll get the same error16:17
jennisBut all that test is trying to do is this: https://gitlab.com/BuildStream/bst-external/blob/convert-to-new-style-integration-tests/tests/dpkg-build.py#L1916:19
tristanjuergbi, generally speaking yes; I realize my branch isn't doing that though :)16:27
*** aday has quit IRC16:28
juergbiok, i keep mentioning such issues then16:28
tristanjuergbi, I could squash some things and make it happen in this case, for larger changes (like junctions was, or introducing project conditionals was...) I would tend to not be too strict16:28
*** aday has joined #buildstream16:29
juergbiimo, it doesn't really make sense to prepare a clean branch of multiple commits if the individual commits aren't usable16:30
juergbiit may sometimes be ok to break a minor feature but the basic functionality should remain functional16:30
juergbibad sentence16:30
juergbibreaks bisect, individual revert etc16:31
*** Prince781 has joined #buildstream16:32
NexusSeems like the reason my test is hanging is due to `fuse` not terminating16:32
*** aday has quit IRC16:33
Nexusjuergbi: you seen anything like this before? ^16:33
tristanjuergbi, good points, I guess at times I care about not having "too big commits", but perhaps it's pointless16:33
*** aday has joined #buildstream16:33
skullmanfrom the strace log the fuse process hasn't been sent a kill signal but it is being waited for16:34
juergbiNexus: there have been fuse issues in the past. i've seen hangs for interrupted jobs. don't know whether related16:34
juergbiNexus: given that the MR changes paths, i would add debug prints for what paths are being unmounted. maybe there is some odd inconsistency between mount and unmount paths when build-root is overridden16:36
juergbitristan: i certainly care about keeping commits reasonably sized as well. i just still want them to be functional16:37
tristanjuergbi, oh... fwiw; dont bother trying to nitpick the commit changes on tristan/project-refs16:37
Nexusjuergbi: How do i do that?16:37
tristanjuergbi, saw your comment, I will take that into consideration and fix it before removing WIP status (dont want to waste your time)16:37
juergbitristan: i know it can sometimes be cumbersome but in most cases i'd like to follow that16:37
tristanjuergbi, agreed :)16:37
juergbiNexus: in the Mounter class, but looking at the code i don't see how it could unmount the wrong path, so probably doesn't make sense16:39
ltuNexus, re this saying quild and linking to an empty page - https://buildstream.gitlab.io/bst-external/16:39
ltusis you say there was an MR to address that? I can't find one16:40
ltudid*16:40
juergbiNexus: you only see this with custom build-root, correct? or is the issue still there when you use the (new) default build-root?16:40
gitlab-br-botbuildstream: issue #299 ("Build sometimes hangs forever after "Unknown exception in SIGCHLD handler"") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/29916:41
gitlab-br-botbuildstream: merge request (juerg/buildqueue->master: Avoid SIGCHLD errors) #320 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/32016:41
Nexusjuergbi: as far as i can tell, it has nothing to do with custom build-roots, it's the change working directory test. I'm not 100% about what it actually does16:42
ltujonathanmaw, thanks for the post to the list, good email - fyi there's also this issue that is relevant - https://gitlab.com/BuildStream/buildstream/issues/24416:46
jonathanmawah, ta ltu16:46
*** Prince781 has quit IRC16:54
ltuNexus, have you seen my question?16:56
Nexusoh, no16:56
Nexuserm16:56
Nexusltu: that was fixed but needs to be merged iirc16:57
ltuNexus, still looking for the MR..17:00
Nexushttps://gitlab.com/BuildStream/bst-external/merge_requests/2117:02
ltuas if by magic! tvm :)17:03
Nexusi have to update it a bit now, it's a few commits beind17:04
Nexusbehind*17:04
juergbiNexus: trying it here i see the following https://pastebin.com/LaXXJPXK17:06
juergbihave you seen this already?17:06
tlaterOuch, that certainly looks like a Mounter issue17:07
tlaterAnd is consistent with the symptoms - usually these kinds of problems cause hangs17:07
juergbilooking at the root directory, there is indeed no buildstream directory17:08
juergbiand these might show two issues17:08
juergbi1) no buildstream directory for some reason17:08
juergbi2) cleanup handler in case of such an error is broken17:08
tlaterNexus already has an issue for 2 open17:08
tlater1 is likely caused by his branch17:08
juergbiok17:08
juergbior possibly just triggered17:09
Nexusjuergbi: yes17:09
Nexusthats some of what i've seen17:09
tlaterThis might be a beautiful test case for the mount cleanup :)17:11
juergbiso is the issue here that cwd is set to a directory that doesn't exist?17:13
tlaterjuergbi: It does look like it17:14
juergbibuildelement calls mark_directory for build-root and install-root17:14
juergbiscriptelement doesn't17:14
tlaterEither cwd is set oddly or buildstream fails to create the sandbox properly17:14
juergbihowever, scriptelement should be creating directories that are specified as destination in the layout config17:15
juergbiand /buildstream is in there17:15
juergbiah no, that test creates a new script element without layout17:16
tlaterNexus:17:16
tlater^17:16
* Nexus is reading but is a bit lost17:16
juergbifor one, i think we should call mark_directory at least for install-root also in scriptelement, same as we already do in buildelement17:18
juergbiand also call mark_directory() for the cwd17:19
juergbior build-root. not quite sure. scriptelement doesn't really use build-root17:19
juergbii'm wondering why this works with bwrap17:20
tlaterjuergbi: It's possible bwrap creates the directories slightly differently17:21
tlaterThe chroot sandbox is built to mimic the process, but bwrap automatically sets up some sandboxing17:22
juergbiah, sandboxbwrap ensures cwd exists17:22
juergbiwe should mirror that in sandboxchroot17:22
juergbi(or drop it from bwrap)17:22
juergbiNexus: will you handle the fix for this or shall i put this in a separate MR and you can then rebase?17:23
juergbiit's a bug/inconsistency between sandbox implementations that is independent of your branch17:23
tlaterWe should certainly fix 2 as well to make these kinds of issues debuggable17:25
tlaterjuergbi: Do you happen to know if one needs to catch generic exceptions in context handlers to ensure cleanup?17:25
* tlater was under the impression that contextmanagers' __exit__ is always run, regardless of exceptions17:26
tlaterBut that almost certainly isn't the case, considering this17:26
Nexusjuergbi: i'd appreciate if you could do it, you have a far better grasp of what needs to be done than i do17:27
juergbiok, will do17:28
juergbitlater: yes, we should definitely fix (2) as well. don't know otoh17:28
* tlater tests his theory with Nexus' branch17:29
* Nexus finds interesting bugs with his code17:30
gitlab-br-botbuildstream: merge request (juerg/sandbox-directories->master: Sandbox directory fixes) #321 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32117:46
juergbiNexus: should work with the above17:46
juergbithis only fixes the missing directories, it does not fix the cleanup17:47
* tlater thinks he's found a fix for that, will create an MR in a bit17:47
tlaterWhen I regain control of my shell, that is...17:47
juergbigreat17:47
juergbihaha17:47
gitlab-br-botbuildstream: merge request (modAndTest->master: Making changes to various documents:) #206 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/20617:52
gitlab-br-botbuildstream: merge request (issue-243_dpkg_import_source_plugin->master: WIP: Created DPKG Source plugin for Issue #10) #305 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/30517:53
Nexusok, so what am i merging/rebasing with what?17:54
tlaterNexus: If you rebase juergbi 's branch onto your branch you should not be running into the hanging test issue anymore17:55
tlaterHm, need more testing... Maybe tomorrow17:59
*** dominic has quit IRC18:02
*** jonathanmaw has quit IRC18:03
gitlab-br-botbuildstream: issue #302 ("File permissions changing inside the sandbox") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/30218:09
gitlab-br-botbuildstream: merge request (juerg/sandbox-directories->master: Sandbox directory fixes) #321 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/32118:18
juergbiNexus: i've merged my fixes, so you can now simply rebase on top of master18:19
jjardon[m]Hi, Is there any roadmap about planned buildstream features somewhere? Maybe milestones in gitlab or tags?18:40
juergbijjardon[m]: https://gitlab.com/BuildStream/buildstream/milestones/118:41
jjardon[m]juergbi: tvm18:41
*** mcatanzaro has quit IRC19:04
*** aday has quit IRC19:05
*** tristan has quit IRC19:20
*** valentind has joined #buildstream19:40
*** toscalix has joined #buildstream20:49
gitlab-br-botbuildstream: merge request (jjardon/install_fixes->master: doc/source/install.rst: Divide in two sections) #322 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32221:15
gitlab-br-botbuildstream: merge request (patch-1->master: install.rst: Update instructions for Arch) #264 changed state ("closed"): https://gitlab.com/BuildStream/buildstream/merge_requests/26421:16
gitlab-br-botbuildstream: merge request (jjardon/install_fixes->master: doc/source/install.rst: Divide in two sections) #322 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32221:25
*** toscalix has quit IRC21:27
*** toscalix has joined #buildstream21:28
*** xjuan has quit IRC21:32
*** toscalix has quit IRC21:37
gitlab-br-botbuildstream: issue #293 ("Write "getting started" guide") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/29321:40
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:14
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: WIP: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:14
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: WIP: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:14
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: WIP: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:27
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: WIP: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:38
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:40
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:42
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:44
*** valentind has quit IRC22:46
gitlab-br-botbuildstream: merge request (jjardon/getting_started->master: Add getting started section) #323 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/32322:46

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