IRC logs for #buildstream for Tuesday, 2019-10-08

*** tristan has quit IRC00:33
*** jswagner has quit IRC01:24
*** tristan has joined #buildstream01:35
*** traveltissues has joined #buildstream06:14
*** traveltissues has quit IRC06:26
benschubertjjardon: https://gitlab.com/BuildStream/buildstream/-/jobs/313985671 for the overnight :D I'll clean everything up and let you know which branch to clone :)06:56
jjardonOMG, amazing! :)06:58
juergbi\o/06:58
laurencevery cool07:00
*** toscalix has joined #buildstream07:04
coldtom\o/07:04
*** ChanServ sets mode: +o tristan07:37
tristanwoohoooooo !07:37
benschubertjjardon: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/commits/bschubert/freedesktop-sdk-19.08.3-bst2 would be branch, mind taking ownership of it and/or protecting it in gitlab? I'll make a PR to buildstream as soon as we decide on the exact name of the branch :)08:22
*** traveltissues has joined #buildstream08:25
gitlab-br-bottraveltissues approved MR !1623 (aevri/no_win32_fcntl->master: cli.py: no fcntl on Windows) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162308:30
gitlab-br-bottraveltissues approved MR !1627 (bschubert/fix-xdg-temppaths->master: setup.cfg: Fix xdg env vars to not affect the host) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162708:36
gitlab-br-bottraveltissues approved MR !1629 (bschubert/fix-windows-symlink->master: tests/frontend/buildcheckout.py: Create required symlinks on the fly) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162908:37
benschuberttristan: while you are here, mind having a look at https://gitlab.com/BuildStream/buildstream/merge_requests/1627?08:39
benschuberthttps://gitlab.com/BuildStream/bst-plugins-experimental/merge_requests/45 < for fixing the overnight tests08:40
*** jonathanmaw has joined #buildstream08:41
tristanbenschubert, made some comments, not sure I understand how that patch changes anything08:55
tristanof course I prefer using the regular APIs for setting env vars, rather than inserting more custom voodoo into conftest.py08:55
benschuberttristan: the problem is that the current state is that you pollute the host system when calling "setup.py test" or "pytest", as 'D:...' only set the variable if it's not set. On any mahcine that has xdg, it would be set and you would hence pollute the host :)08:56
benschubertDoing it through conftest ensure that however you run the tests, we use either the 'BST_TEST_*' locations, which is an explicit action, or set it in the pytest tmp directory08:57
tristanbenschubert, isnt there a syntax for unconditionally setting it in tox.ini ?08:57
benschubertin tox yes08:57
benschubertbut neither setup.py nor pytest use tox08:57
tristanAh so this is just to fix setup.py/setup.cfg, for running outside of tox ?08:58
benschubertcorrect08:58
benschubertthe tox behavior doesn't change with this fix08:58
tristanAnd the problem is that if we set this in setup.cfg explicitly, then tox.ini cannot override it, because it will in turn invoke setup.py08:59
benschubertcorrect08:59
tristanIt does look quite contorted09:00
tristanbenschubert, and it seems to be missing explicit settings of D:BST_TEST_XDG_* in setup.cfg to replace the old thing doesnt it ?09:00
benschubertcorrect, and this is in order to allow users to override --basetemp, and thus have their temp files in the basetemp of their choosing09:01
tristanHmmmm09:01
tristanAnd when they forget to add --basetemp, it will just use host tmp dir ? that would be bad09:02
tristanbasetemp is in the domain of setup.cfg, not tox ?09:02
benschubertNo, we set --basetemp in setup.cfg to be ./tmp09:02
benschubertyep it's pytest's option09:02
tristanI see09:02
benschubertbut ./tmp doesn't make sense in some cases (when mounted in a docker container for example), and this change allows us to finally override it completely :)09:03
tristanThat makes sense too09:04
tristanI've always assumed that you have write access to the checkout09:05
benschubertyou do most of the time, but in my case, accessing something in the checkout means: docker -> ubuntu host -> samba -> windows host and back, which slows down my tests quite a bit :'D09:06
benschubertanyways, with the changes, the defaults won't change, and we would now respect the --basetemp override :)09:06
benschubertthanks!09:07
tristanno worries, I'm typing from a rather bureaucratic meeting09:09
tristanbox ticking through issue checklists, silly stuff09:09
benschuberthave fun with that!09:09
tristanhah09:09
*** lachlan has joined #buildstream09:11
gitlab-br-botaevri opened (was WIP) MR !1624 (aevri/platform_win32->master: win32: _platform/win32: add support for win32) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162409:34
gitlab-br-botmarge-bot123 merged MR !1623 (aevri/no_win32_fcntl->master: cli.py: no fcntl on Windows) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162309:38
*** traveltissues has quit IRC09:50
*** lachlan has quit IRC09:54
*** tristan has quit IRC10:02
gitlab-br-botBenjaminSchubert approved MR !1624 (aevri/platform_win32->master: win32: _platform/win32: add support for win32) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162410:04
*** lachlan has joined #buildstream10:06
benschubertHey, could someone make a new release for https://gitlab.com/BuildStream/bst-plugins-experimental ?10:23
*** traveltissues has joined #buildstream10:33
*** lachlan has quit IRC10:35
gitlab-br-botBenjaminSchubert opened MR !1630 (bschubert/fix-empty-buildtree->master: _artifactcache.py: Don't push artifact blobs when no files are present) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/163010:40
gitlab-br-botmarge-bot123 merged MR !1627 (bschubert/fix-xdg-temppaths->master: setup.cfg: Fix xdg env vars to not affect the host) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162710:49
*** lachlan has joined #buildstream10:50
benschuberttlater[m], traveltissues is https://gitlab.com/BuildStream/buildstream/merge_requests/1620#note_227362273 fine with you ?10:51
traveltissueslgtm10:51
tlater[m]Also fine by me benschubert :)10:53
benschubertawesome, to marge then, thanks!10:53
* tlater[m] wonders what caused the variance10:53
tlater[m]Probably some update process or somesuch - I assume you ran it under WSL?10:53
benschubertit was on docker on windows10:54
benschubertand it wasn't my benchmark machine10:54
benschubertso many things running :)10:54
tlater[m]Yeah, that kind of variance seems very reasonable then.10:55
traveltissuesbenschubert, are you ok with !162810:55
gitlab-br-botMR !1628: Defer workspace source commits https://gitlab.com/BuildStream/buildstream/merge_requests/162810:55
gitlab-br-botBenjaminSchubert approved MR !1628 (traveltissues/1159->master: Defer workspace source commits) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162810:56
gitlab-br-bottlater opened (was WIP) MR !1608 (tlater/progress-tests->master: Improve assertions around element loading progress reporting) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/160810:56
benschuberttraveltissues: yup thanks!10:56
traveltissuesthanks10:57
gitlab-br-botBenjaminSchubert approved MR !1608 (tlater/progress-tests->master: Improve assertions around element loading progress reporting) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/160810:59
tlater[m]Ha, ta benschubert - I'll wait for another pair of eyes, I don't want to sign off an MR that says "bug free"10:59
benschubertI had one nit though ;)11:00
*** traveltissues has left #buildstream11:01
tlater[m]Ah, it's a good nit too11:01
*** traveltissues has joined #buildstream11:01
*** lachlan has quit IRC11:03
*** toscalix has quit IRC11:04
*** phildawson_ has joined #buildstream11:04
*** phil has quit IRC11:05
gitlab-br-bottmewett opened issue #1162 (git and git_tag sources don't support recursive submodules) on buildstream https://gitlab.com/BuildStream/buildstream/issues/116211:17
*** narispo has quit IRC11:18
*** traveltissues has quit IRC11:26
*** traveltissues has joined #buildstream11:26
*** lachlan has joined #buildstream11:54
*** phildawson_ has quit IRC12:05
*** lachlan has quit IRC12:18
gitlab-br-botjonathanmaw approved MR !1608 (tlater/progress-tests->master: Improve assertions around element loading progress reporting) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/160812:32
benschuberttraveltissues: about your xfail comment, I wonder whether we should not instead use https://docs.pytest.org/en/latest/reference.html#confval-xfail_strict?12:56
*** traveltissues has quit IRC13:09
*** traveltissues has joined #buildstream13:09
traveltissuesbenschubert, i didn't know about that, yes that's probably sensible13:10
traveltissuesbut at the same time adding the strict keyword doesn't hurt13:11
gitlab-br-botjonathanmaw opened issue #1163 (Add CI for native windows support) on buildstream https://gitlab.com/BuildStream/buildstream/issues/116313:11
*** traveltissues has quit IRC13:14
*** traveltissues has joined #buildstream13:14
*** lachlan has joined #buildstream13:26
*** lachlan has quit IRC13:28
benschuberttraveltissues: right13:29
*** lachlan has joined #buildstream13:31
*** rdale has quit IRC13:32
*** phildawson_ has joined #buildstream13:33
*** rdale has joined #buildstream13:34
*** traveltissues has quit IRC13:57
*** traveltissues has joined #buildstream13:58
tlater[m]Ergh, looks like new gobject-introspection breaks buildstream 1.4's ostree plugin13:59
tlater[m]Yup, API for this changed: https://lazka.github.io/pgi-docs/#OSTree-1.0/classes/Repo.html#OSTree.Repo.remote_gpg_import14:07
tlater[m]BuildStream invokes `repo.remote_gpg_import(remote, stream, None, 0, None)`14:07
tlater[m]But whatever that 0 was has disappeared from the API14:07
* tlater[m] wonders how we should handle this14:08
tlater[m]Clearly the upstream API changed without a version change14:08
tlater[m]So we can't really detect it14:08
tlater[m]Weird try/catch bullshit?14:09
* tlater[m] is annoyed at gobject introspection :|14:09
coldtom tlater[m14:11
coldtomisn't that from ostree14:11
coldtomchanging their API, not gobject-introspection14:12
tlater[m]Yeah14:13
tlater[m]It's ostree's gobject introspection API stuff14:13
tlater[m]Oh, I suppose14:13
* tlater[m] wonders if there's a way to walk back through their API14:14
tlater[m]To see what version we're running, and what we should be expecting14:14
*** traveltissues has quit IRC14:26
*** traveltissues has joined #buildstream14:26
tlater[m]coldtom: Looks like whatever that was was never in ostree's actual API14:27
tlater[m]There have only been 4 changes to that function in the history of the project, and none of them removed an argument14:27
gitlab-br-bottlater opened issue #1164 (OSTree plugin fails with: `TypeError: OSTree.Repo.remote_gpg_import() takes exactly 5 arguments (6 given)`) on buildstream https://gitlab.com/BuildStream/buildstream/issues/116414:41
traveltissuesis marge ok? it doesn't seem to be collecting jobs14:59
* tlater[m] swears he didn't break her15:55
*** traveltissues has quit IRC16:11
benschubert^ seems marge got stuck on a stuck pipeline :(16:26
benschubertI just restarted it16:26
gitlab-br-botmarge-bot123 merged MR !1628 (traveltissues/1159->master: Defer workspace source commits) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162816:33
gitlab-br-botmarge-bot123 closed issue #1159 (Follow-up from "element.py: remove call to _source_cached()" -- test_workspace_visible changed to XFAIL) on buildstream https://gitlab.com/BuildStream/buildstream/issues/115916:33
*** lachlan has quit IRC16:56
*** jonathanmaw has quit IRC17:01
*** lachlan has joined #buildstream17:12
*** lachlan has quit IRC17:14
gitlab-br-botmarge-bot123 merged MR !1629 (bschubert/fix-windows-symlink->master: tests/frontend/buildcheckout.py: Create required symlinks on the fly) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162917:15
gitlab-br-botmarge-bot123 closed issue #1157 (Handle unexpected buildbox-casd termination in asyncio event loop) on buildstream https://gitlab.com/BuildStream/buildstream/issues/115718:12
gitlab-br-botmarge-bot123 merged MR !1620 (bschubert/casd-listen-failures->master: Listen for casd failures and abort the run when they happen) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/162018:12
gitlab-br-botmarge-bot123 closed issue #1145 (When building an artifact with no build-tree generated, an exception is thrown) on buildstream https://gitlab.com/BuildStream/buildstream/issues/114518:53
gitlab-br-botmarge-bot123 merged MR !1630 (bschubert/fix-empty-buildtree->master: _artifactcache.py: Don't push artifact blobs when no files are present) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/163018:53
gitlab-br-botBenjaminSchubert opened MR !1634 (bschubert/fuse-permissions->master: _fuse/mount.py: Monitor the fuse process while waiting for the mount) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/163419:11
*** tristan has joined #buildstream20:24
jjardonbenschubert: branch name is freedesktop-sdk-19.08.3-bst221:50
gitlab-br-botjjardon opened issue #1165 (Arch support should not be hardcoded in the tool) on buildstream https://gitlab.com/BuildStream/buildstream/issues/116522:22
*** narispo has joined #buildstream22:57
*** tristan has quit IRC23:06

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