IRC logs for #buildstream for Wednesday, 2019-05-29

*** alatiera has quit IRC00:19
*** dftxbs3e has quit IRC00:26
gitlab-br-botjjardon opened MR !1361 (jjardon/pygobject3-devel->master: .gitlab-ci.yml: ostree plugin depends on ostree/python3-gobject-base) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/136101:16
gitlab-br-botjjardon closed issue #1035 (overnigth test are failing: failed to import ostree plugin) on buildstream https://gitlab.com/BuildStream/buildstream/issues/103501:54
gitlab-br-botjjardon merged MR !1361 (jjardon/pygobject3-devel->master: .gitlab-ci.yml: ostree plugin depends on ostree/python3-gobject-base) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/136101:55
*** dftxbs3e has joined #buildstream02:08
*** kapip has quit IRC03:13
gitlab-br-botjjardon opened issue #1037 (overnigth test are failing: bst2 client is not compatible with bst1 cache server) on buildstream https://gitlab.com/BuildStream/buildstream/issues/103704:33
*** tristan has quit IRC06:11
*** tristan has joined #buildstream06:37
*** kapip has joined #buildstream06:45
*** bochecha has joined #buildstream07:51
*** tristan has quit IRC08:35
*** raoul has joined #buildstream08:38
laurencedamn, first spam on the list08:51
*** tristan has joined #buildstream08:56
*** phil has joined #buildstream09:05
*** jonathanmaw has joined #buildstream09:16
raoulUpdating the architecture docs for artifact/source caches and services, does anyone think it'd be worthwhile adding a section on the CAS? Don't think anywhere explains how that works09:16
*** toscalix has joined #buildstream09:39
*** toscalix has quit IRC09:40
*** lachlan has joined #buildstream09:42
*** lachlan has quit IRC09:55
*** lachlan has joined #buildstream09:55
*** lachlan has quit IRC10:00
gitlab-br-botraoul.hidalgocharman opened MR !1362 (raoul/1024-artifact-docs->master: Update docs regarding artifact and source caches) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/136210:38
laurencejennis, I think this MR (https://gitlab.com/BuildStream/buildstream/merge_requests/1344) would close off this ticket (https://gitlab.com/BuildStream/buildstream/issues/943)10:41
laurencesound right ?10:41
laurencejust doing some ticket clean up stuff10:41
jennisIt would, I'll change the MR description now10:41
laurencethanks10:42
jennisDone10:42
*** verdre has joined #buildstream10:44
*** lachlan has joined #buildstream10:45
verdreHey, I'm trying to set up buildstream right now and I'm being confused by two websites with documentation: There's docs.buildstream.build and buildstream.gitlab.io/buildstream/10:45
verdreWhich one is the recommended one?10:45
verdreAlso, let's get rid of the non-official one please...10:46
Kinnisonverdre: the former is the docs for the released version (1.2) whereas the latter is for the current master version10:48
KinnisonWe should perhaps make it more clear in the latter case that the docs are for an unreleased dev version10:48
verdreKinnison: Okay, so the former is recommended, we should make that more clear. Also the docs for the released version should not tell you to checkout master in the instructions :/10:50
KinnisonI concur10:50
*** lachlan has quit IRC10:50
verdregreat! Next issue I'm seeing is this error message when trying to build stuff: Failed to load Source plugin 'git_tag': The 'buildstream-external' distribution was not found and is required by the application10:51
raoulverdre, you need to install plugins in this repo https://gitlab.com/BuildStream/bst-external11:04
verdreraoul: Thanks, would be great if that was also mentioned in the docs.11:06
verdreI should note that I'm coming from jhbuild (to build gnome-shell) hoping for a build system that "just works", so please let's not make the same mistakes jhbuild made. It should be possible to build stuff without having to ask around on IRC11:09
benschubertverdre: BuildStream does work without bst-external. Those are a set of plugins that some projects might want. It's in the doc about plugins :)11:10
benschubertI'm surprised gnome doesn't have docs for them. If you have ideas on how to improve our docs, please post some issues and we'll look into them!11:13
verdrebenschubert: Okay, turns out I've just overseen that part in the gnome wiki, sorry...11:13
*** ChanServ sets mode: +o tristan11:14
tristanThe right place to document how to build GNOME using BuildStream is: https://wiki.gnome.org/Newcomers/BuildSystemComponent11:14
tristanfwiw11:14
tristanThat could probably use some updates11:14
benschubertNo worries :) I agree the docs are not ideal, but we need fresh eyes on them, don't hesitate to suggest improvements11:14
tristanOf course BuildStream docs themselves can always be improved :)11:14
tristanJust saying, there should also be a getting started for specifically GNOME (although I'd really like to get to a place where we can just say "Just install BuildStream on your distro, checkout this BuildStream project, and build it, and not have users mess around with external plugin repositories themselves)11:15
verdretristan: Sadly, all build-related wiki pages could use updates, IMO build instructions belong into each projects readme and ideally there shouldn't be any wiki page11:16
*** bochecha_ has joined #buildstream11:17
verdreMaybe the gnome-shell README should tell you to install buildstream and gnome-build-meta, and gnome-build-meta should bundle bst-external11:18
*** bochecha has quit IRC11:18
*** bochecha_ is now known as bochecha11:18
tristanverdre, I think bst-external should be a submodule indeed, that would bind the specific version of it used to the project using it11:19
verdreyeah, good idea11:19
tristanverdre, anyway for the moment, there is nothing much that gnome-shell wins from instructing people to use BuildStream (it's a bit of an outlier that way I think... using BuildStream implicitly means "not your host", so I'm not sure how running gnome-shell inside a `bst shell` could work)11:20
tristanverdre, BUT... I've just today launched my first image (with much help from abderrahim[m]) which successfully launches gnome-initial-setup through gdm11:20
tristanso, we're getting very close to something very useful for developers11:21
tristan(for developers of core system modules I mean)11:21
*** lachlan has joined #buildstream11:21
verdreSo the exact steps would be: Go to docs.buildstream.build/install, git clone --recurse-submodules gnome-build-meta, cd gnome-build-meta, gst build blabla11:22
tristanverdre, right11:22
verdreoh, so you launched the shell inside the sandbox?11:23
tristanverdre, that would also mean that if we add anything new to bst-external, nobody has to care about any upgrades - the project's reference to the git submodule would automatically capture it11:23
verdreexactly, you'd only have to git pull in gnome-build-meta...11:24
tristanverdre, `bst shell` launches a shell in the sandbox (which means not your host, and some holes poked so that you can run graphical apps)... no what I did today was `bst build vm/desktop-vm-image-x86_64.bst` in gnome-build-meta (tristan/gnome-boot branch), and then `bst checkout` of the same element11:25
tristanverdre, giving me a script and an sdk.img, then running the script launches qemu11:25
tristans/sdk.img/sda.img/11:25
verdreohh, so you built the whole stack? That would be to much for my passively cooled laptop :D11:26
tristanverdre, once we get it in CI, most of it will already be on the artifact server11:26
verdreahh, interesting, I see11:27
tristanverdre, which means that even on a small laptop, you can tweak pretty much anything in the stack11:27
tristanassuming you use `--no-strict`11:27
tristanor the equivalent config option11:27
tristanWhich means "don't rebuild reverse dependencies every time something changes"11:27
tristanThen the work you do is (A) Rebuild the one thing you want to change... (B) Wrap up the actual image11:28
verdreand then to develop you'd have to restart qemu though, that wouldn't be very fast11:28
tristanCurrently (B) is still pretty expensive11:28
verdreyeah, I can imagine that11:28
tristanI think a next step will be to be able to launch qemu without an image, but directly on the FS11:28
abderrahim[m]tristan: I'm thinking we can speed that up by using guestfish11:28
tristanabderrahim[m], I tried building that waaaaaaaay long ago11:29
tristanabderrahim[m], my plan was to use it to virtual mount the filesystem inside a build sandbox so that we could create images as regular user11:30
tristanbut then I ended up just following what the yocto folks did11:30
tristanstill sounds interesting this guestfish11:30
tristanhavent worked with it much11:30
verdreI always heard the future of shell developement was running mutter nested, any idea if that could work somehow?11:32
tristanI don't have any clue honestly11:32
*** lachlan has quit IRC11:33
tristanverdre, with a BuildStream hat on, I kind of have to be a proponent of "Test your software how it is actually intended to run, and not in tricked up dev environments which differ from a production setting"11:33
tristanverdre, on the other hand, I know we're not quite as close to the quick edit/compile/test cycles that people need11:34
verdreI see your point, but with a developer hat on, it already takes long enough to restart your session to test stuff :)11:34
abderrahim[m]I think nested is actually easier from bst shell11:34
tristanabderrahim[m], It's possible, but then the question arises: How much does your host resemble the stack which is in the sandbox ?11:35
tristanFor most graphical applications, it's not such a problem, everything mostly communicates with fairly up to date and standard dbus APIs and such11:35
tristanX sockets, etc11:36
abderrahim[m]nested behaves as another app IIUC11:36
*** bochecha_ has joined #buildstream11:37
abderrahim[m]anyway, will have to test it and see11:37
verdreabderrahim[m]: Yeah, although it's not the greatest way to do testing, for real testing you'd need to start a session using the compiled binaries, I think there's no way around that11:39
*** bochecha has quit IRC11:39
*** bochecha_ is now known as bochecha11:39
*** tristan has quit IRC11:39
abderrahim[m]while you wait for the VM image to be generated :p11:42
*** pointswaves has joined #buildstream11:45
*** lachlan has joined #buildstream11:47
*** lachlan has quit IRC11:51
*** lachlan has joined #buildstream11:52
*** lachlan has quit IRC12:00
*** verdre[m]1 has joined #buildstream12:03
*** verdre has quit IRC12:03
*** tristan has joined #buildstream12:04
*** kapip has quit IRC12:26
raoulAre the runners down or something atm? getting a lot of "ERROR: Preparation failed: exit status 1"12:34
benschubert^ same problem here. Runners taking long to pick up jobs too12:42
gitlab-br-botraoul.hidalgocharman opened issue #1038 (Move source cache to proto based service) on buildstream https://gitlab.com/BuildStream/buildstream/issues/103812:48
*** alatiera has joined #buildstream13:09
*** lachlan has joined #buildstream13:10
aevri+1 also seeing "ERROR: Preparation failed: exit status 1"13:24
*** phildawson_ has joined #buildstream13:31
*** phil has quit IRC13:32
*** lachlan has quit IRC13:36
*** lachlan has joined #buildstream13:38
*** lachlan has quit IRC13:42
WSalmonjuergbi,  if i do self.index.keys() in a casbaseddirectory this should give be eqivelent to `ls` in a real directory? and should have all the symlinks etc in it?13:52
juergbiyes13:53
WSalmonthanks13:56
*** phildawson_ has quit IRC14:01
*** phildawson_ has joined #buildstream14:02
*** alatiera has quit IRC14:09
*** alatiera has joined #buildstream14:10
*** alatiera has quit IRC14:15
laurencerunners for buildstream CI - valentind, is this you ?14:42
laurencePossibly jjardon, but he may not be awake yet if he's west coast14:42
valentindlaurence, some of it14:43
valentindIs something down?14:43
jjardonlaurence: I do not maintain buildstream runners anymore for long time; happy to help if needed though14:45
laurencejjardon, ok sorry for the noise14:45
laurencevalentind, please see:14:45
laurence<raoul> Are the runners down or something atm? getting a lot of "ERROR: Preparation failed: exit status 1"14:45
laurenceExample:14:46
laurencehttps://gitlab.com/BuildStream/buildstream/-/jobs/22151326214:46
laurenceRunning with gitlab-runner 11.11.1 (5a147c92)14:46
laurence  on buildstream-bastion a334e49214:46
laurenceERROR: Preparation failed: exit status 114:46
laurenceWill be retried in 3s ...14:46
laurenceERROR: Preparation failed: exit status 114:46
laurenceWill be retried in 3s ...14:46
laurenceERROR: Preparation failed: exit status 114:46
laurenceWill be retried in 3s ...14:46
laurenceERROR: Job failed (system failure): exit status 114:46
valentindlaurence, OK, looking at it now.14:48
jjardonSeems to be a problem with docker-machine; "too many files open"14:48
valentindRight.14:48
jjardonvalentind: I think you fixed that some time ago?14:48
valentindDid I make it restart now and then?14:49
valentindAH no14:49
valentindThere are too many files not deleted.14:49
valentindIt was simple14:49
laurencevalentind, do we have anyone else who shares this responsibility with you ? if not then let's get that sorted14:49
*** lachlan has joined #buildstream14:50
valentindMany files in /root/.docker/machine/machines14:51
jjardonthe DO account has a lot of zombie runner machines; maybe a good idea to remove them14:51
laurenceisn't there a infra repo or something?14:54
laurenceor maybe a detailed wiki page?14:54
*** lachlan has quit IRC14:55
laurencestruggling to locate a repo14:55
valentindI am deleting manually the rogue files.14:57
valentindIt is a bug in gitlab-ci-runner14:57
valentindI can make a timer to cleanup automatically every day14:58
valentindBut it does not cleanup the zombie machines on DO.14:58
jjardonLooking to the bill, maybe is better to have a couple of big permanent machines instead using docker-machine and risk having a lot of zombies around for a long time15:01
valentindjjardon, I noticed that some docker-machine have status "stopped".15:03
*** lachlan has joined #buildstream15:03
valentindMaybe I can try to delete those automatically in the cleanup script I am making.15:03
jjardonOr delete any runner- machine older than 2 days; no job is that long and it should not stay for that long15:05
valentindRight. Maybe we should use the DO api.15:05
*** lachlan has quit IRC15:07
valentindI have created "cleanup-docker-machine.timer" to remove the old files on docker-machine15:10
jjardonvalentind: maybe worth to propose that upstream?15:11
valentindI think upstream should just fix it.15:11
valentindInstead of working around it.15:11
valentindBut I am not going to spend more time on that.15:11
jjardonNot sure is gitlab-runner fault or docker-machine though15:12
jjardonSure15:12
valentindBoth15:12
valentinddocker-machine first should not keep all the files opened. It should close them once it has read them.15:13
valentindThough, maybe gitlab-runner is OK.15:14
valentindDocker-machine for sure is broken.15:14
valentindIt seems it cannot parse its own files.15:14
valentindI will destroy the containers by hand now.15:14
valentindBut we should look at making some script that does it automatically.15:15
*** lachlan has joined #buildstream15:15
laurencevalentind, are you the only person looking after this?15:17
*** lachlan has quit IRC15:19
valentindlaurence, I do not know.15:20
laurencewe should get you some assistance, for sure. a single point of failure is never good15:27
laurenceleave it with me15:27
*** Kinnison has quit IRC15:36
*** pointswaves has quit IRC15:38
*** pointswaves has joined #buildstream15:38
*** pointswaves has quit IRC15:42
*** Kinnison has joined #buildstream15:46
gitlab-br-botjennis opened (was WIP) MR !1344 (jennis/push_based_pipeline->master: Push based pipeline) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/134415:54
*** bochecha has quit IRC15:55
gitlab-br-botBenjaminSchubert opened MR !1363 (bschubert/iterative-loader->master: Make the loading process iterative) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/136316:01
benschuberttristan: I know we talked about making the loading iterative to remove the problems with recursions. ^ is a first step to that (a few other places are concerned, but this one was blowing up when I am adding Cython, so fixing that first)16:02
*** alatiera has joined #buildstream16:03
*** phil has joined #buildstream16:05
*** phildawson_ has quit IRC16:06
*** lachlan has joined #buildstream16:17
*** ChanServ sets mode: +o tristan16:20
tristanbenschubert, looks straight forward to me, I think it would be nice to clean up the first pass, second pass; have better control on the junction loads etc (i.e. would be nice to parallelize fetching of multiple junctions when running the scheduler to fetch those junctions)... but this MR looks like a step in the right direction anyway16:20
*** lachlan has quit IRC16:21
benschuberttristan: agreed with the parallel loading per junction :) I'll put that on my list for the future :)16:21
benschuberttristan: I'll go ahead and merge this then16:22
gitlab-br-botmarge-bot123 merged MR !1363 (bschubert/iterative-loader->master: Make the loading process iterative) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/136316:32
benschuberthttps://gitlab.com/BuildStream/website/merge_requests/121 < for updating documentaiton on the website. "-e" mode will not be possible once using Cython. Moreover, that should really only be used by developers.16:35
tristanOh that is indeed a bit sad16:37
*** xjuan has joined #buildstream16:40
benschuberttristan: It is slightly more work, but has the added advantage of forcing the correct dependencies too now :)16:45
benschubertSo less confusing updates16:45
*** lachlan has joined #buildstream16:46
benschubertah to be clear, "--user -e" is not possible with cython anymore. You can still use -e alone16:48
benschubertbut that might be suprising :)16:48
*** lachlan has quit IRC16:52
*** jonathanmaw has quit IRC17:04
gitlab-br-botBenjaminSchubert opened (was WIP) MR !1350 (bschubert/cython->master: Introduce Cython for better performances) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/135017:13
benschuberttristan: would you mind looking at the documentation update in ^ ? I'm too entangled in Cython to know if they are understandable or not17:14
*** phil has quit IRC17:17
*** raoul has quit IRC17:25
*** lachlan has joined #buildstream17:38
*** lachlan has quit IRC17:48
*** lachlan has joined #buildstream18:03
*** lachlan has quit IRC18:11
*** xjuan has quit IRC18:33
*** xjuan has joined #buildstream18:51
*** lachlan has joined #buildstream18:53
*** xjuan has quit IRC18:55
*** lachlan has quit IRC18:58
*** xjuan has joined #buildstream19:11
*** dftxbs3e has quit IRC19:17
*** dftxbs3e has joined #buildstream19:20
*** lachlan has joined #buildstream19:26
*** lachlan has quit IRC19:32
*** kapip has joined #buildstream19:37
*** xjuan has quit IRC20:10
*** xjuan has joined #buildstream20:27
*** xjuan has quit IRC20:32
*** xjuan has joined #buildstream20:49
*** mintuser has joined #buildstream21:15
*** kapip has quit IRC21:47
*** xjuan has quit IRC22:00
*** xjuan has joined #buildstream22:15
*** xjuan has quit IRC23:48

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