IRC logs for #buildstream for Monday, 2017-07-10

*** tristan has quit IRC04:41
*** tristan has joined #buildstream05:15
*** ChanServ sets mode: +o tristan06:17
*** jonathanmaw has joined #buildstream08:03
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 10 commits (last: element.py: Renamed Element.fetch() to Element.pull()) https://gitlab.com/BuildStream/buildstream/commit/2a2f37f75a524c9e1accf3a152569d70c04be17408:06
*** tlater has joined #buildstream08:17
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 3 commits (last: _artifactcache/pushreceive.py: Our local copy of ostree-push) https://gitlab.com/BuildStream/buildstream/commit/1e619cd5683b89b1e83beae01022bccc3ff0768d08:18
tlatertristan: I'm not sure where to tie in the workspaces into the build process08:24
tristan:)08:26
tristantlater, that means you're getting somewhere !08:27
tlaterAlso stuck now ^^08:27
tristanso there are a few details to work out08:27
tristanone of them is, choosing an active workspace instead of the regular source when building08:27
tristanI guess that comes first08:28
tristanAlso, the cache key has to be calculated based on the workspace checksum instead of the real source checksum08:28
tlaterThose things are mostly handled by the plugins, so it seems hard to add08:29
tristantlater, lets start with that part, afterwards I think we'll want to encode some more metadata in the artifacts and taint the ones we've built with workspaces active, and any reverse dependency elements should be tainted as well if building in strong cache key calculation mode08:29
tristanNobody said it was gonna be easy :)08:30
tristantlater, I expect this will mostly be handled by understanding whether workspaces are active at the element.py level08:30
tristanPerhaps also at the source.py level, i.e. the base classes should take care of both issues above08:31
tristanSo I guess it starts with "A source should know at all times if it's workspaced"08:31
tristanThen the source will derive it's cache key in a different way08:32
tristanand stage in a different way08:32
tristanif it's workspaced08:32
tristanThe element may have some things to do if one or more of it's sources are workspaced08:32
tlaterWhy?08:33
tristanbut I suspect that is unneeded until later08:33
tristani.e. probably unneeded for routing of staging, and calculation of cache keys08:33
tlaterAh, alright08:33
tristanBut needed for appropriately tainting of local artifacts (which we'll handle later)08:33
tlaterSo most of it can probably be done on the source level. I suppose I could add this to wherever the sources are parsed?08:34
tristanUmmm08:42
tristantlater, Probably best to not bypass source paring I think08:43
tlaterRight, then I won't have to fiddle with plugin implementations08:43
tristanrather, once we load up, the project knows what sources are workspaced08:43
tristanhowever interestingly yeah... the element.py will have to be the one to ask the workspace08:44
tristanbecause the source cannot know by itself how to ask the project if it's workspaced or not08:44
tlaterI guess I can add that functionality to the get_sources() call, and simply return a workspace whenever we hit a source that's supposed to be a workspace.08:45
tristantlater, so there are a couple of approaches to fixing that part... one might be to give sources internal unique identifier strings, like "<element-name>-<source-index>"08:45
tristanThat is another idea indeed... but I wonder if we lose something by not handling it in Source directly08:47
tristantlater, for instance we could be looking at later enhancements like; lets say that the project changes and there are active workspaces08:47
tristanMaybe we'll want to record in our internal state; what branch or url a workspace was activated for, and then tell the user that there might be an issue with an active workspace (i.e. project data no longer matches recorded workspace state)08:48
tristanAnother rude approach would be to add some loop to the Pipeline after loading everything; telling each Source what their workspace is08:48
tristannot that bad either08:49
tlaterThe problem with that is that plugins will suddenly have to know about workspaces08:49
tristanI dont see how that is true08:49
tristansource.py would have to know08:49
tristanBut then again, the abstract nature of source parameters in yaml make such a feature difficult yes08:50
tristantlater, anyway; I think I feel more comfortable handling these things in Source object directly, the way the Source knows how to act can be either way08:55
tristanCan be Source._set_workspace(directory) API, called by the pipeline after loading08:56
tristanOr could be by implementing a unique key for sources to check themselves, but perhaps the former explicit codepath is easier to follow08:56
tlaterYeah, that makes sense.08:57
tristanI dont like the idea of having a "Something else" which handles source tasks completely separately from the sources08:57
*** tiagogomes has joined #buildstream08:57
tlaterI also just realized that sources *do* have a private _stage method, so this doesn't have to leak into plugins08:57
tristanyeah09:06
tristanwe have mostly wrappers around things that call into plugins09:06
tristantlater, there was another approach I considered, which was to have "Controller" objects to interface with plugins09:07
tristanThat would buy us some additional safety and clear up some additional private namespace for plugins09:07
tristanbut09:07
tristanI thought that was just going too far09:07
tlaterI prefer this, that much abstraction tends to just get confusing :)09:08
tristanyeah, and makes you look like that fanatic who spent way too much time reading Design Patterns, pulling out buzzwords every chance you get09:08
tristanso, I was too shy to be that guy, ya know ;-)09:09
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 3 commits (last: _artifactcache/pushreceive.py: Our local copy of ostree-push) https://gitlab.com/BuildStream/buildstream/commit/b6d1a00ac088620b9314040f4c289234107f1d3809:14
*** violeta has quit IRC09:17
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 1 commit (last: Testing) https://gitlab.com/BuildStream/buildstream/commit/342a42328d69a834bfd4123e947c1257b0b492cf09:26
*** ssam2 has joined #buildstream09:43
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 1 commit (last: Fixup) https://gitlab.com/BuildStream/buildstream/commit/f564a1c6145652c34722579d1002062f024e368209:47
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 4 commits (last: _artifactcache/pushreceive.py: Our local copy of ostree-push) https://gitlab.com/BuildStream/buildstream/commit/60e65d4a830631dd561b8b8e1430327968763dce10:15
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 3 commits (last: _artifactcache/pushreceive.py: Our local copy of ostree-push) https://gitlab.com/BuildStream/buildstream/commit/d30feff94c012c0319c01b4c0300add7fe2c8a5910:17
*** jonathanmaw has quit IRC10:32
*** jonathanmaw has joined #buildstream10:35
tristanOk so, maybe someone can help me figure this out11:03
tristanI had previously, concurrent pushes working well; but no way to gracefully terminate the remote ssh process11:03
tristanAdding `ssh -tt` fixes this; and when killing the local ssh process with SIGTERM, the remote process launched by ssh receives SIGHUP, handling SIGHUP I can do some cleanup and exit gracefully11:04
tristanThe -tt option; forces a terminal11:05
*** jonathanmaw has quit IRC11:05
*** jonathanmaw has joined #buildstream11:05
juergbiwhat exactly happens with concurrent pushes and -tt?11:05
tristanSo, maybe that in itself is an issue; because I'm communicating with the foreign process via it's stdin/stdout11:05
tlaterBuilding with workspaces looks like it's working, outside of caching, btw \o/11:06
tristanWith concurrent pushes, and actually I'm not sure if it's only concurrent; I'm starting to suspect it has to do with data being sent...11:06
tristanI get this: ^Z escape not available to multiplexed sessions11:06
tristanOr sometimes: ~& escape not available to multiplexed sessions11:06
juergbiah, it's no longer a transparent shell?11:06
tristanOr: ~C escape not available to multiplexed sessions11:07
juergbii.e., binary data could mess things up as they are interpreted as escape codes11:07
tristanthats exactly what I'm starting to suspect yes11:07
tristanbinary data over stdin, being treated as a terminal: boom11:07
juergbihttps://www.cyberciti.biz/faq/openssh-linux-unix-osx-kill-hung-ssh-session/11:07
juergbi"When a pseudo-terminal has been requested, ssh supports a number of functions through the use of an escape character."11:08
tristanMhmmm11:08
tristanSo I guess there are some options11:08
tristanAn annoying one, would be to have some stream translator which escapes the binary data ?11:09
tristanSo that if those control chars are encountered, they get escaped and then properly interpreted by bst-artifact-receive ?11:09
tristanIdeally, we dont use pseudo-terminal, and find a "proper" way to send sighup11:10
tristanI would think, closing the remote's stdin might do such a thing11:10
juergbiif it doesn't attempt to read anything, i don't think anything will happen11:12
tristanWell, it will try to read something11:12
tristanthe bst-artifact-receive() will read until end of input11:13
juergbiright, i guess in this paticular case, it will never take long until the next read11:13
juergbishouldn't the remote process actually receive SIGPIPE when closing ssh connection without -tt?11:14
juergbior might python disable SIGPIPE?11:14
tristanMaybe yeah11:14
tristanbroken pipe yeah11:15
juergbibut even if it's disabled, next read should return EPIPE11:15
juergbithe receive process just stayed around forever or what happened exactly?11:15
juergbi(possibly worth checking with strace if it's not obvious)11:15
tristanThat will raise a python BrokenPipeError11:15
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 1 commit (last: Testing) https://gitlab.com/BuildStream/buildstream/commit/84422bb168c483ccaba9ac12c71b36a74d4f91b511:19
juergbitristan: alternatively, you could try ssh -tt -o "EscapeChar none"11:20
juergbithere is even a shortcut. ssh -tt -e none11:21
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 1 commit (last: Testing) https://gitlab.com/BuildStream/buildstream/commit/4f28c251616b518f16bf2cebb5700a6aad98504011:22
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 1 commit (last: Tie workspaces into sources) https://gitlab.com/BuildStream/buildstream/commit/c714211da6262d12f40abedf73c6e9e4b9d319e911:31
gitlab-br-botpush on buildstream@artifacts-ostree-push (by Tristan Van Berkom): 1 commit (last: Testing) https://gitlab.com/BuildStream/buildstream/commit/44fcce430a44f9f213328df5c191de8c37e094b511:31
tristanOhhhh11:32
tristanOk maybe I'll do that instead11:32
tristanbut this way seems a bit cleaner; I still have the old -tt in place so lets see11:32
tristanIt could be the control characters are what is used to send the SIGHUP ? but I'm not seeing it11:33
tristanI certainly dont understand this thoroughly haha11:33
tristanNice11:36
tristanOk that works11:36
tristanjust close the connection11:36
tristanAnd in this case I've used just a blind "except:" in the bst-artifact-receive code, if any exception at all bubbles up while receiving objects; we cleanup and re-raise the exception11:37
tristanit gets cleaned up anyway11:37
juergbiok11:39
* tristan is letting it run and push some artifacts concurrently before merging11:41
tristanbut, I'm sure it will work...11:41
tristanI did a full build of ~170 artifacts yesterday11:41
tristanalso tried aborting half way and retry build, so I know the pulled stuff is correct too11:41
juergbisounds good11:42
tristanUnfortunately downloading the 1.2GB artifact over http is still slow ;-)11:43
tristanbut meh, not too bad, it takes around an hour11:43
tristan(and probably much quicker from EU)11:43
tristanmirroring artifact caches at least for readonly is something we can/should eventually consider11:44
ssam2that's about how long the base SDK import seems to take11:44
tristanssam2, right, you are talking about the base freedesktop SDK ?11:44
ssam2yeah11:44
tristanI'm not sure where sdk.gnome.org is hosted, but if it's US, then latency is also playing a role I suspect11:45
tristanssam2, maybe you can try building https://gnome7.codethink.co.uk/gnome-modulesets.git :)11:45
tristansee if the artifact cache is faster for you11:45
tristanwhen downloading from manchester11:46
tristananyway give me some time to land the branch first11:46
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 15 commits (last: context.py & userconfig.yaml: New syntax for remote artifact caches) https://gitlab.com/BuildStream/buildstream/commit/66fa3a11db6faff0620f3dc62c8d05c9f71f873412:00
tristanhilarious, most any artifact takes seconds to push12:00
tristanexcept base-system.bst and base-configure.bst12:01
tristanalright... I've landed it12:01
tristanjuergbi, this is possibly going to conflict anything you may have changed in artifactcache12:01
tristans/possibly/definitely12:01
tristanI've moved _artifactcache.py -> _artifactcache/artifactcache.py12:02
tristanAnd added the push/pull stuff in there12:02
tlaterAlright, looks like workspaces are functional13:05
tristan:)13:05
tristanSweeeet !13:05
tristanok time to spare !13:05
tlaterI've put up a MR for my testing branch13:05
tlaterhttps://gitlab.com/BuildStream/buildstream-tests/merge_requests/1013:05
tristanlooks like the runners are under pressure13:06
tlateryeah13:06
tlaterThat test will probably fail anyway, both file permissions and buildstream master will have trouble. But I can only fix that if the actual feature is merged.13:06
tristantlater, I dont think that is the right url you pasted13:06
tristanis there a buildstream branch ?13:06
tlaterOh, yeah, I need to put up that MR too13:07
tlaterhttps://gitlab.com/BuildStream/buildstream/merge_requests/5013:07
* tristan just pushed documentation for artifact caches, but is waiting for the runners to update the website13:07
tlaterForgot to fetch...13:10
gitlab-br-botbuildstream: merge request (jonathan/dpkg-build->master: WIP: Jonathan/dpkg build) #37 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/3713:24
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: Adding documentation about setting up artifact caches.) https://gitlab.com/BuildStream/buildstream/commit/8764d1ceacae942c4208807847aaad9d3ef42a2313:27
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5013:27
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 20 commits (last: utils.py: Adding _tempdir() utility context manager) https://gitlab.com/BuildStream/buildstream/commit/e5b21704e9ed68f29590f428ca70b7c97ae7925a13:32
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5013:32
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5013:34
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 6 commits (last: main.py: Add workspace commands) https://gitlab.com/BuildStream/buildstream/commit/6f61c9824a60d121df89f72ff578fbf5c20e722e13:34
gitlab-br-botpush on buildstream@testing (by Tristan Van Berkom): 1 commit (last: bst-artifact-receive: Use click instead of argparse) https://gitlab.com/BuildStream/buildstream/commit/b8fe52f72afc0b7973f3d207f6aebb0f427246d513:34
tlaterI wonder if it would make sense for the ci repo to checkout a branch with the same name from the main repo13:36
tlaterThat way there's no awkward conversion test failure13:36
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 4 commits (last: main.py: Add workspace commands) https://gitlab.com/BuildStream/buildstream/commit/355b9a31c45fb0588930ee88680084d12626717613:36
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5013:36
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: bst-artifact-receive: Use click instead of argparse) https://gitlab.com/BuildStream/buildstream/commit/19855f4361aadfdfa9106d5f5c8be5ee17ee7e4913:36
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 5 commits (last: bst-artifact-receive: Use click instead of argparse) https://gitlab.com/BuildStream/buildstream/commit/19855f4361aadfdfa9106d5f5c8be5ee17ee7e4913:36
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5013:36
gitlab-br-botbuildstream: Tristan Van Berkom deleted branch testing13:36
gitlab-br-botbuildstream: Tristan Van Berkom deleted branch artifacts-ostree-push13:36
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: Regenerating man pages) https://gitlab.com/BuildStream/buildstream/commit/20679de73d345c53b9a5466a63082db917b8445a13:37
tristantlater, did you break pages ?13:43
tristanwith the .gitlab-ci.yml ?13:43
tlaterI don't think so, perhaps dependencies are missing with the new image?13:43
tristanI dont think so either13:44
tristanmaybe gitlab is going nuts13:44
tlaterPossible, there's a huge amount of lag on the bot, too13:44
tristan"missing pages artifacts"13:45
tristanweird13:46
tristanI really want pages updated now :-/13:46
tlaterWhy are pages in the test stage?13:46
tristanI dont know about that13:47
tristanI never added "stages"13:48
tlaterI suppose the default is just test then13:48
tristanI dont know if they run concurrently against the same backing filesys either13:48
tristanI have absolutely no clue, about any of that13:49
tlaterThey don't13:49
tristanit just works13:49
tristanuntil now13:49
tlaterIf they run concurrently they use independent systems13:49
tlaterBut the test should just create documentation normally as far as I can tell.13:49
tristan /bin/sh: find: command not found13:50
tlaterAh13:50
tristanhttps://gitlab.com/BuildStream/buildstream/-/jobs/2185467413:50
tristanwtf ?13:50
tlaterYeah, it's a different image13:50
tlaterfind needs to be installed manually...13:50
tristantlater, can you immediately fix that ?13:51
tlaterYeah, will do13:51
gitlab-br-botpush on buildstream@patch-1 (by Tristan Maat): 1 commit (last: Fix missing find command in pages script) https://gitlab.com/BuildStream/buildstream/commit/fd01d32dfb6dd412b7eb883cf25464a7c3e41a6c13:52
tlaterThat should hopefully do it13:52
tristanAny chance I could get pages published within 30 minutes so that I can send a link to the new docs with an email to baserock-dev ?13:53
tristanit's 11pm here :-/13:53
tlaterIf you merge that, yes13:53
gitlab-br-botbuildstream: merge request (patch-1->master: Fix missing find command in pages script) #51 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5113:54
tlaterSorry, merge request didn't work.13:54
gitlab-br-botbuildstream: merge request (patch-1->master: Fix missing find command in pages script) #51 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/5113:55
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: Fix missing find command in pages script) https://gitlab.com/BuildStream/buildstream/commit/fd01d32dfb6dd412b7eb883cf25464a7c3e41a6c13:55
tristanmerged13:55
tristanahead of pipeline13:55
tlaterI wonder why the missing find command didn't cause the pipeline to fail13:56
tristanwe probably are not using it ?13:58
tristanWhy would BuildStream need find ?13:59
tristanMaybe it's something you might want to use in the test cases, though13:59
tristanOk well that *helped*13:59
tristanBut still pages is not deploying13:59
tlaterPython is missing?13:59
tlater/bin/sh: python: command not found13:59
tlaterBut that doesn't make any sense14:00
tlaterpython3 problem?14:00
tristantlater, ok so... it needs python14:02
tristanhow do I do that14:02
tlaterPython is installed14:02
tristandoes it have python ?14:02
tlaterYup14:02
tristanor only python3 ?14:02
tlaterNot sure, that may be it14:02
tristanIt needs /usr/bin/python14:02
tlaterln -s?14:02
tristanthere is some ugly hack in doc/14:03
tristannah14:03
tristanneed python14:03
tristanreal14:03
tristangimme python14:03
tristanWe can fix it later14:03
tristanif it's possible14:03
tlaterssam2, how does this image's python thing work?14:03
tlaterBest I can think of is quickly adding ln -s /usr/bin/python3 /usr/bin/python14:03
tristansigh14:03
tristanwont be correct I think14:04
tristanhack is weird14:04
tristanit wants to ask /bin/python about it's version14:04
tristanand explicitly run a sphinx-build3 script that we have14:04
tristanfreaking weird14:04
tristanpython14:04
tristanI think it comes from andrew leeming14:05
tristanmaybe he had a weird system14:05
tlaterFedora apparently just has python14:05
tlaterSo this should work14:05
tristanwhy did we change the image ?14:07
tristanI dont remember any pull request for this, it was working before wasnt it ?14:07
tlaterBecause of the strange tempdir images, this was part of adding the CI14:07
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: Weird ln -s python try to fix damn docs build) https://gitlab.com/BuildStream/buildstream/commit/d8f27901d95b3dcb509ec8567e64cf1a10f464ee14:07
tlaterI didn't notice the pages were failing14:07
tristanI mean, they worked recently enough14:08
tristanafter your test cases merge14:08
tristandid the image change after that ??14:08
tlaterNot since the CI changes14:08
tristanmaybe a test cases fix ?14:08
tlaterNope, not at all14:08
tristanthat ln -s is... reaaaly bad14:10
tristanBut pages still wont deploy https://gitlab.com/BuildStream/buildstream/pipelines/973169214:10
tlaterThere are a bunch of warnings about .rst files not being included14:10
ssam2i can't quite figure out the context here14:11
jonathanmawtristan: I'm having an issue fetching sources which seems to be related to https://gitlab.com/BuildStream/buildstream/commit/e5b21704e9ed68f29590f428ca70b7c97ae7925a#e3712df8ffb834c44cde88704818e3e4da3918c3_662_682 traceback at https://pastebin.com/UesadLuZ14:11
ssam2oh I see, .gitlab-ci.yml is now running the docs build inside the Docker image I created for running BuildStream14:11
tlaterYup14:12
ssam2which I guess is unavoidable if we want to run the integration tests from that too14:12
tlaterActually, maybe not14:12
tlaterI think we can specify individual images per job14:12
ssam2ah cool14:12
ssam2that should be a simple fix then14:12
tristan:'(14:12
ssam2although the image should be more or less stock Fedora 2514:12
tlaterLemme just check docs...14:12
ssam2but that probably doesn't have python2, and may also not have /usr/bin/python (As the python2 package provides that)14:13
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: Revert "Weird ln -s python try to fix damn docs build") https://gitlab.com/BuildStream/buildstream/commit/85a3bde44710c3c8973ad0fd07b2c71cd834dba814:13
* tristan revers the horrible ln -s14:13
tlaterAlright, yeah, apparently that's possible14:14
tlaterWhat was the old image?14:14
tlaterOh, it didn't have one :/14:15
jonathanmawIs anyone else able to fetch git sources?14:15
jonathanmawis the problem caused by me having old versions of stuff again?14:16
tlatertristan: The only fix I can think of is installing python2 along with findutils, just to do what that hack wants us to do.14:17
tristantlater, yeah python2 is /usr/bin/python14:18
tristanI thought you said fedora only has 'python'14:18
tristanHow do I do it ?14:18
tristananyway it seems it's not the problem14:18
tlateradd python2 next to findutils14:18
tristanjust 'python2' ?14:18
tristannot 'fancy-weird-package-name-python2' ?14:18
tristanheh14:18
tlaterI think so14:18
gitlab-br-botpush on buildstream@master (by Tristan Van Berkom): 1 commit (last: Adding real python2 for pages build) https://gitlab.com/BuildStream/buildstream/commit/5be75163ab3aa59c1adcb7ad39751e1da6cf918b14:19
tristanhmm14:19
tlaterIf that doesn't work, apparently the default tag is ruby:2.1, but that will require adding a few of the old hacks to get it to run14:20
tlater:/14:22
tlaterWhat do the warnings mean?14:23
tlaterPerhaps the sphinx version changed, and that is causing issues14:23
tristandidnt work14:23
tristanNo14:23
tristanthe pages are getting generated fine14:23
tristanhttps://gitlab.com/BuildStream/buildstream/-/jobs/2185923814:24
tristanBut: https://gitlab.com/BuildStream/buildstream/pipelines/973216514:24
tristanWhat the helll14:24
tlaterNot a CI issue then?14:24
tristanUploading artifacts to coordinator... ok14:24
tristan "missing pages artifacts"14:24
tristan:-/14:24
tristanMaybe gitlab is just broken14:24
tristanugh14:25
tlaterShould I try restoring that job to what the default stuff was before?14:26
tristantlater, try in a branch, and in that branch you can remove the 'only:\n-master' bit14:29
tristanbut I doubt that is what's happening, I suspect rather it's gitlab that is fucked14:30
tlaterIf anything, it's the deploy server. I assume that's managed by codethink?14:30
tristanwait14:30
tristanhttps://gitlab.com/BuildStream/buildstream/pipelines/972722814:30
tristanThis one succeeded14:31
tristanit was from 2 hours ago master14:31
tristanbefore I added the artifacts docs14:31
tristanthink it's something as stupid as... the output now contains 'artifacts.html' ?14:31
tlaterHm, well, at least it means the current setup isn't the problem14:34
tristanDeploy passed 2 hours ago means exactly that14:34
gitlab-br-botpush on buildstream@pages-test (by Tristan Van Berkom): 2 commits (last: Docs: Moving artifacts.rst -> artifactshare.rst) https://gitlab.com/BuildStream/buildstream/commit/d43490b33102d13ab0c24d3729f1312633fba58114:34
tristanugh14:38
tristanok well14:38
tristanthat didnt fix it14:38
gitlab-br-botbuildstream: Tristan Van Berkom deleted branch pages-test14:38
tristanAnyway the findutils was an important fix14:40
tristanAs you can see at the last deployment: https://buildstream.gitlab.io/buildstream/14:40
tristanAll of the plugin links are broken14:40
tristanBecause `find` was missing when we tried to generate their templates14:40
tlaterOh, darn14:40
tristandocs remain broken until... I dont know14:40
gitlab-br-botpush on buildstream@pages-test-before (by Tristan Van Berkom): 1 commit (last: Test) https://gitlab.com/BuildStream/buildstream/commit/4801f74f6a710875a9674df297d1d5390b63ad5b14:42
gitlab-br-botpush on buildstream@pages-test-after (by Tristan Van Berkom): 1 commit (last: Testing) https://gitlab.com/BuildStream/buildstream/commit/5ecd978ff70bb75f0d3d5ac6dfc01b21470a096e14:42
tristanI'm retrying the last commit which passed14:43
tristanand then retrying the following commit, which literally is the one which adds the docs I want to add14:43
tristannope14:45
tristanExactly the same commits14:45
tristanDont deploy anymore14:45
gitlab-br-botbuildstream: Tristan Van Berkom deleted branch pages-test-after14:46
gitlab-br-botbuildstream: Tristan Van Berkom deleted branch pages-test-before14:47
gitlab-br-botbuildstream: Tristan Van Berkom deleted branch patch-114:47
tlaterThat's a really strange issue...14:48
jonathanmawaha! mkdtemp is misbehaving for me because python3.5 changed the default values for prefix and suffix.14:48
jonathanmawtristan: Do we want to keep support for python3.4? If so, I think utils._tempdir will need to be changed :/14:49
tristanOh ?14:55
tristantempfile.mkdtemp() ?14:56
tristanSome of the options are from 3.5 ?14:56
jonathanmawtristan: yep14:56
tristanjonathanmaw, we want prefix and dir, dont care for suffix really... what's new ?14:56
jonathanmawin 3.4 suffix defaults to "", and prefix defaults to "tmp"14:56
jonathanmawin 3.5 they both default to None, iiuc14:56
tristanUmmm14:56
tristanin which case, we dont really care14:56
tristanjonathanmaw, does this cause anything to break ?14:57
jonathanmawtristan: yes. I can't fetch git sources (and probably other stuff).14:57
tristanjonathanmaw, ok so then... force default prefix to "tmp" ?14:57
tristanshould fix it14:57
tristanjonathanmaw, if that works, feel free to push it directly to master14:58
tlatertristan: Anything I can do, considering you will probably only manage to look at my MR tomorrow?14:58
jonathanmawtristan: fetching is happening now, no sign of further crashes yet.14:59
tristantlater, I didnt have time to look today, was quite stressful, leaving now15:02
tlaterI figured :)15:03
tristantlater, if you *really* think your branch is ready (without metadata considerations) and fault tolerant (handles cases where you try to open workspaces on things that are not fetched yet, _elegantly_ and with no user frustration)...15:03
tristantlater, then you can try to nail the rest of your work on https://gitlab.com/BuildStream/buildstream/issues/2415:03
* tristan hits the road for the night15:03
tlatero/15:03
tristan\o15:04
jonathanmawo/15:04
*** tristan has quit IRC15:07
gitlab-br-botpush on buildstream@master (by Jonathan Maw): 1 commit (last: utils.py: Fix _tempdir for python3.4) https://gitlab.com/BuildStream/buildstream/commit/eecec59a93fba04fd9b84e474cf4237aea35ff1615:11
*** jude has quit IRC15:13
*** tristan has joined #buildstream15:19
*** jude has joined #buildstream15:31
jonathanmawhrm, the fix to _tempdir seems to come with a failure in CI on pages:deploy, but I don't have permission to view the problem.15:33
jonathanmawI trust it's benign, because my build is still continuing15:33
tlaterThat's the issue we were trying to fix earlier, it's nothing to do with your changes15:37
jonathanmawok15:37
*** jude_ has joined #buildstream15:45
*** jude has quit IRC15:45
*** jonathanmaw has quit IRC16:08
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 12 commits (last: Regenerating man pages) https://gitlab.com/BuildStream/buildstream/commit/20679de73d345c53b9a5466a63082db917b8445a16:19
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5016:19
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 2 commits (last: main.py: Deal with arch changes) https://gitlab.com/BuildStream/buildstream/commit/1e67ef33a12fe92cf36314088719cf05868f46c516:19
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5016:19
gitlab-br-botpush on buildstream@workspaces (by Tristan Maat): 1 commit (last: _pipeline.py: Deal with tracking and source consistency) https://gitlab.com/BuildStream/buildstream/commit/c4f8c5a6bebae5474b72dbd752260e6200570d6b16:23
gitlab-br-botbuildstream: merge request (workspaces->master: Workspaces) #50 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/5016:23
*** jude_ has quit IRC16:28
*** jude__ has joined #buildstream16:28
*** tlater has quit IRC16:49
*** jude__ has quit IRC17:34
tristanfwiw: https://gitlab.com/gitlab-org/gitlab-ce/issues/3489917:47
*** ChanServ sets mode: +o tristan17:50
*** ssam2 has quit IRC18:57
*** jude has joined #buildstream19:22
*** tristan has quit IRC20:49
*** jude has quit IRC21:07

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