IRC logs for #buildstream for Thursday, 2017-06-29

*** jude has quit IRC02:24
*** tristan has quit IRC02:38
*** tristan has joined #buildstream02:47
*** ChanServ sets mode: +o tristan02:47
*** jude has joined #buildstream04:19
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 6 commits (last: _pipeline.py: Fixed bad except statement) https://gitlab.com/BuildStream/buildstream/commit/59150f5cc70c3f4334e2404787dbee8165cdd99c06:32
*** tristan has quit IRC07:31
*** tlater has joined #buildstream08:02
tlaterDoes tristan happen to be here?08:04
tlaterNo :/08:04
gitlab-br-botbuildstream: merge request (tristan/test_tests->master: WIP: Add integration tests) #40 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/4008:20
gitlab-br-botbuildstream: merge request (tristan/test_tests->master: WIP: Add integration tests) #40 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/4008:21
*** jonathanmaw has joined #buildstream08:40
*** ssam2 has joined #buildstream09:13
tlaterAlright, here's my current attempt: https://gitlab.com/BuildStream/buildstream-tests/blob/6539eaf2ce41e8e71da172bee4cce0f737c74e53/compose-test/elements/dependencies/amhello-run.bst09:38
tlaterI've tried applying the same changes to the project.conf, but the test domain doesn't seem to be usable in a compose file.09:39
ssam2https://gitlab.com/BuildStream/buildstream/blob/master/buildstream/data/projectconfig.yaml says ...09:40
ssam2# Elements may extend these rules by adding entries to the # various split domains either in a plugin definition or # in a project element declaration.09:40
ssam2not sure what that means though09:40
tlaterI thought that's what I attempted... Well, thanks, I'll have to look through the source I guess.09:41
ssam2try adding the `split-rules: ` dict to a project.conf file perhaps ?09:41
ssam2maybe that's what a "project element declaration" is..09:41
tlaterYeah, I tried09:41
ssam2ah09:41
tlaterUnless this is an actual bug, that doesn't work.09:42
ssam2also possible :-)09:42
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: utils.py: Add missing signal import) https://gitlab.com/BuildStream/buildstream/commit/1204b690ce5a05759947b7db44f1d87e7adb2c1a10:33
gitlab-br-botbuildstream: merge request (utils-call-fix->master: utils.py: Add missing signal import) #43 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/4310:33
tlaterSome of the tests take quite long; Especially 'qmake' and 'distutils' elements have a ton of large dependencies.12:41
tlaterThere isn't much of a better way to run these, is there?12:41
ssam2would artifact caching help here ?12:43
tlaterNot sure what it does, does it deliver ready-built "packages"?12:44
ssam2yeah12:45
ssam2you build them once, push them to the cache, then second time you don't need to build them again12:45
tlaterAh, I don't think that will help much, the CI will have to run on each commit.12:45
tlaterIf that takes ~2 hours for each commit it won't be very useful.12:45
ssam2what makes it so slow ?12:46
tlaterBuilding everything in an image up till python.12:46
tlaterOr qt, for that matter.12:46
ssam2right, so surely if you could reuse prebuilt versions of all those artifacts, it would help ?12:46
tlaterYeah, but that won't work on the CI server, will it?12:47
ssam2we could make it work12:47
ssam2the current GitLab CI runners that jjardon[m] provides don't make this easy12:47
ssam2but we can provide runners in some other way, or provide a persistant cache somewhere that the runners can access easily12:47
tlaterThat might be necessary12:48
ssam2Baserock has some OpenStack capacity that Codethink sponsors... so we could set up runners there with a persistant cache perhaps12:50
tlaterNot all builds should be cached though. Some of them actually need to run for testing purposes. Is that possible?12:53
ssam2it could be12:56
ssam2there are a few possible approaches ..12:56
ssam2add a --force-rebuild option to BuildStream12:56
ssam2manually delete the thing we want to rebuild from our cache12:57
ssam2or include some kind of UUID in the build instructions to force a rebuild12:57
tlaterYeah, that should be fairly easy to automate using test scripts actually. Probably should do that anyway.12:59
tlaterI guess we'll have to wait a bit before we can set something like this up though? I can avoid committing the big tests for now, so that we can merge this and not break gitlab.13:01
ssam2it's stuff we need to look at soon13:02
ssam2but probably not ASAP13:02
tlaterHmmm. Would it make sense to use mocks instead? i.e., small bash scripts that pretend to be python, and just write to a file what they were called with?13:23
*** jude has quit IRC13:35
ssam2i'm not sure.. best to discuss with tristan13:43
ssam2there are arguments both ways. In general though I feel it's best to test what you're actually going to use, rather than a separate fake version13:43
tlaterProbably. If it's going to be thrown out for a more thorough test next week I'd also rather not waste the time to come up with an elaborate mocking system.13:45
ssam2yeah.. it maybe that you've done enough with this task for now13:46
tlaterSoon, anyway. I'm done with the element tests, I just need to go through source tests and fix the compose test.13:47
tlaterThat's ignoring the tests with large dependencies because I'm not sure how to tackle them yet.13:47
*** violeta has joined #buildstream13:48
*** violeta has quit IRC14:08
*** violeta has joined #buildstream14:11
*** jude has joined #buildstream14:20
*** tlater has quit IRC16:20
gitlab-br-botbuildstream: merge request (sam/track-default-none->master: Change the default behaviour of `bst track` to --deps=none) #44 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/4416:29
*** jude has quit IRC16:59
*** jude has joined #buildstream17:06
*** ssam2 has quit IRC17:08
*** jonathanmaw has quit IRC17:52
*** violeta has quit IRC18:56
*** tristan has joined #buildstream19:25
*** tristan has quit IRC20:45
*** juergbi has quit IRC20:45
*** persia has quit IRC20:45
*** jjardon[m] has quit IRC20:45
*** dabukalam has quit IRC20:45
*** tristan has joined #buildstream20:46
*** juergbi has joined #buildstream20:46
*** persia has joined #buildstream20:46
*** jjardon[m] has joined #buildstream20:46
*** dabukalam has joined #buildstream20:46
*** jude has quit IRC23:55

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