/srv/irclogs.ubuntu.com/2020/05/04/#launchpad-dev.txt

tomwardillzope configs are hard and weird08:59
cjwatsonWhat's up?09:12
tomwardilltrying to work out if you can inherit zope.conf09:13
tomwardilldoesn't look like you can, so might need to do a bit of shuffling.09:13
tomwardillBut also trying to work out if I need the settings that I'm trying to create (the <server> ones) at all09:14
cjwatsonOh, those things, right09:16
cjwatsonhttps://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/383320 (Ensure that regex patterns with \-escapes are raw strings)09:27
ilasccjwatson: MP 383320 looks good to me at first glance, I'm tempted to clone and run unit tests, would u recommend, or would that turn into a time sync ?09:38
ilasc*sink09:41
cjwatsonFeel free09:49
cjwatsonThough it's not very necessary since Jenkins will do that on merge09:49
cjwatsonhttps://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/383341 (Adjust X-LXD-mode header construction for Python 3)14:01
cjwatsonAlso I have a couple of backlogged code-gardening MPs that it would be good if people could look at: https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/382875 and https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/38304614:05
pappacenaI'll take a look14:05
cjwatson(The latter has a very bulky follow-up MP, but I was planning to self-approve that if/when the prereq lands since it doesn't make sense to have people spend time on >4000 lines of more or less mechanical changes)14:14
tomwardillwoo, this version works without having zope.app.server installed at all. Although tracelog then stops working, so we might need to have a replacement for that14:14
cjwatsontracelog is occasionally handy though I don't know how vital it is.  If I had to trade tracelog for statsd (or similar) I'd certainly take statsd14:19
tomwardillmight be possible to reintroduce it, atm the easiest way to smoke test stuff that's relying on ZServer functionality is to just uninstall it, but it's a dep for tracelog14:20
cjwatsonMaybe.  We don't necessarily have to emulate everything14:20
tomwardillso tracelog stops working at the same time14:20
cjwatsonIt's also probably a pretty simple piece of middleware14:21
cjwatsonThe page performance report in lp:lp-dev-utils does use the trace files14:22
cjwatson(which is visible at the bottom of http://lpqateam.canonical.com/)14:25
tomwardillyeah, I think it's safe to re-enable it eventually14:25
tomwardillwell, less 'eventually' more, almost immeadiately, once I've fixed servers.py to stop importing and using zserver components14:25
SpecialK|Canoner14:25
cjwatsonRight, possibly just reimplemented as simple middleware14:26
SpecialK|CanonI don't think I knew that site existed - how might I have discovered that site, because it's neat14:26
cjwatsonGood question, not sure.  I knew because the deployment report used to be there14:26
SpecialK|CanonHow/where is this site generated/hosted/etc.?14:28
cjwatsonI'd search wikis but my ISP is having a wobbly day14:28
cjwatsonIt's on carob, old-school ~lpqateam/public_html14:28
SpecialK|CanonFab, thanks14:28
cjwatsonSome is hand-rolled HTML, some is generated from bits of lp-dev-utils and similar, I think it's very much symbiosisware14:29
cjwatsonBut handy14:29
SpecialK|CanonHm, not sure it's just you - I couldn't reach wiki.c.c!14:29
cjwatsonIt may well not be just me, I just knew of https://aastatus.net/34840 and there wasn't much point investigating further when DNS was timing out14:30
SpecialK|CanonAh14:31
SpecialK|CanonISP-buddy-five o/14:31
* SpecialK|Canon prods bits14:32
cjwatsonhttps://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/383344 (Treat build logs as binary files)15:16
tomwardillcjwatson: +115:27
cjwatsonThanks.  Getting there!15:28
cjwatsonAbout 500 lines of actual porting left and then some packaging stuff on top15:29
SpecialK|CanonNice15:30
cjwatsonpappacena: Your most recent comment on https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/382779 mentions "with comments", but I don't see them - did you forget to save them?15:37
pappacenauhm. I think there was only one comment, about the `if exact_match: return`, in the previously pushed revision.15:39
cjwatsonRight, I was wondering about whether just removing the 'return rs.one()' was quite correct15:40
pappacenaThis is the comment: https://www.irccloud.com/pastebin/zoiCdnDe/15:40
cjwatsonBut just trying to think through it ...15:40
pappacenaStrange... the diff comments were actually not saved when I added the other comment. I just saved it now15:41
cjwatsonAnd yes, I think you're right15:41
cjwatsonr=me, just one test suggestion but go ahead after that15:44
pappacenaAh, right! Indeed, a good suggestion. I'll do that, and land the MP15:44
tomwardillwell, that was a bunch of test explosions...15:50
cjwatsonhttps://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/383345 (Treat build output files as binary files)16:00
* pappacena reviewing16:09
cjwatsonhttps://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/383349 (Treat intltool-related files as binary files)16:21
tomwardillTotal: 47 tests, 0 failures, 2 errors, 0 skipped in 3.310 seconds. (from test_servers)16:23
tomwardillthat... went better than I expected16:23
cjwatsonpappacena: Couple of tiny things on https://code.launchpad.net/~pappacena/turnip/+git/turnip/+merge/380451 (we should really get going on isort or equivalent ...) but otherwise good to land16:44
* tomwardill launches a full test run16:53
cjwatsonHow long do they take for you?16:54
tomwardillnot sure, not measured one for a while16:58
tomwardillalthough it just segfaulted...16:58
tomwardill(test:760044): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (scree16:58
tomwardilln)' failed16:58
tomwardillah, forgot to run xvfb17:02
pappacenacjwatson, any known issue on Jenkins / Turnip test suite? Jenkins is failing some tests running git commands, and I cannot reproduce it locally.18:31
cjwatsonpappacena: I don't recognise that one, and it's in code you changed, so hmm19:28
cjwatsonpappacena: Ah, I see, look for the "Please tell me who you are" errors.  The test container doesn't have a git identity configured19:31
pappacenaYes, it is. I'll try to debug it. Sad that those tests passes locally (both on python2 and python3)19:31
pappacenaahhm19:31
pappacenaStrange that it started failing now...19:32
cjwatsonpappacena: Because your change switches to using git tag rather than pygit2 to create the tag19:32
cjwatsonSo rules for the git command line apply19:33
pappacenaAh, yes! Right! I forgot about this change19:34
cjwatsonpappacena: I think perhaps it'd be simplest to have RepoFactory.add_tag add '-c', 'author.name={}'.format(self.author.name), '-c', 'author.email={}'.format(self.author.email), '-c', 'committer.name={}'.format(self.committer.name), '-c', 'committer.email={}'.format(self.committer.email)19:37
cjwatsonSince it's just that one command at the moment, and could be generalised later if we start using the git command line for more things in the test suite19:37
pappacenaI was checking the code, and got to the same conclusion. I'll just put those extra parameters in another method, to make it reusable when needed...19:38
cjwatsonSounds good, thanks19:38
pappacenaThanks for the help!19:39
cjwatsonIt's a shame that the test runner there doesn't gather the stdout/stderr with the ERROR: output19:39
cjwatsonSince then it would've been a lot more obvious19:40
cjwatsonI suppose that's what we get for just using unittest discover though19:40
pappacenaLet me see if I can do something about it too.19:40
cjwatsonDon't feel obliged, but it would be a good opportunity :)19:41
pappacenacjwatson: quick review (for tomorrow?) https://code.launchpad.net/~pappacena/turnip/+git/turnip/+merge/38045120:22
pappacenaAdded some logging when the command fails...20:22
cjwatsonpappacena: Looks OK if it works, go ahead.  (Though I normally prefer self.addDetail for this sort of thing - compare turnip.pack.tests.test_functional)20:26

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