/srv/irclogs.ubuntu.com/2018/05/09/#launchpad.txt

=== Ionic is now known as Guest25863
=== ePierre__ is now known as ePierre
acheronukunable to report a bug today "Timeout error. Sorry, something just went wrong in Launchpad."07:31
acheronukhopefully temporary07:31
wgrantIt is temporary.07:32
wgrantGive it a few minutes.07:32
acheronukthanks :)07:34
mapreritrying to manually trigger a build is giving me a timeout, and so did yesterday evening.  last oops: OOPS-9a2342cb36a60c8641d1dbbda5c7035208:44
ubot5https://oops.canonical.com/?oopsid=OOPS-9a2342cb36a60c8641d1dbbda5c7035208:44
mapreri(a ppa build in a daily recipe)08:44
cjwatsonwtf is with that gigantic non-sql time08:45
wgrantNormally that would be dpkg-architecture but that shouldn't be the case for an SPRB, should it...08:45
wgrantOh08:46
wgrantSPRB time estimation is entertaining08:46
wgrantLook at query 3608:46
maprerithat url I can't see sounds very entertaining :308:46
cjwatsonmaybe a recipe with a gazillion builds?08:47
wgrantPrecisely08:47
mapreriit's https://code.launchpad.net/~scribus/+recipe/scribus-daily08:47
wgrantWe do that calculation in the DB for BPBs08:47
cjwatsonright, so SPR.getMedianBuildDuration needs to be 500% less stupid08:47
wgrantThere are ~6k builds08:47
wgrantStill shouldn't be quite that slow, but who knows08:47
wgrantCould be security proxy time and such08:47
cjwatsonmapreri: basically it's pulling every single build back from the DB and iterating over each one in Python to calculate the median build duration08:48
maprerican't sql do that?08:48
cjwatsonyes08:48
cjwatsonif only the code were less stupid :)08:48
mapreriheh ^^08:48
cjwatsonplease file a bug, totally fixable08:48
cjwatson(and quote the OOPS ID)08:49
mapreriOOI, how come whatever schedules the daily build doesn't error out as well?08:49
mapreri(different timeouts for different sources?)08:49
wgrantmapreri: It's a cronjob, so doesn't have such a strict timeout.08:50
wgrantAnd yeah, the binary package build estimation code already does exactly what we need here08:50
cjwatsonAlternatively (or additionally) we could take the SnapBuild/LiveFSBuild approach of only taking the median of the recent N builds08:51
cjwatsonSince those are more likely to be relevant on current hardware08:52
mapreriwhich is probably a saner idea, as the same software a decades ago has a different build time than now08:52
cjwatsonIt's not a big deal for recipe builds since those tend to be short, but ...08:52
cjwatsonBPB just takes the most recent build08:53
mapreriI'll let you turn the bug text into something more readable for you, not sure of what exactly to write that is good for you two :)08:54
mapreriin the meantime, am I stuck waiting till tomorrow morning for the next build or can I circumnavigate this through the API or something?08:55
cjwatsonI mean you can try the API in case you get lucky (it might do a bit less work or something), but my guess is you're stuck08:56
cjwatsonI'll try to get a patch done today, unless wgrant wants to do it08:56
mapreriguess that's fine ^^08:56
mapreriI spend my days trying to get people to be patient while waiting for the debian processes to do their course, I can apply the same teachings to myself08:57
wgrantcjwatson: Median of recent approach sounds ideal. I'm unlikely to get to it tonight.08:57
wgrantI am coincidentally fixing another bug that is also pulling several thousand too many rows back into Python...08:58
cjwatsonwgrant: What were the specifics of your "well actually" on twisted-17.9.0?  It's not my comment originally, but I might as well update it09:03
maprerimhhh, there is no retry button for recipe builds? (like https://code.launchpad.net/~scribus/+archive/ubuntu/ppa/+recipebuild/1575865)09:05
mapreri(not that I wanted to retry that specific now)09:05
cjwatsonNo real point (aside from this bug) since they can just as easily be reissued.09:05
mapreriack09:05
wgrantcjwatson: behind squid09:06
cjwatsonWe have retry on builds that can't be reissued due to burning version numbers.09:06
wgrantwhich it isn't any more09:06
wgrantbut no change there09:06
cjwatsonAh, right.  I could add byte-range support but don't really feel like navigating that bit of Twisted today :)09:07
cjwatsonBut I'll update the comment for future travellers09:07
cjwatsonwgrant: https://wiki.canonical.com/Launchpad/Instances still says "apache2 -> squid -> twistd" FWIW although it's not clear in context whether it's referring to staging or prod09:08
cjwatsonor something hypothetical09:08
wgranti thought that was all about staging but i haven't read it in a while09:08
cjwatsonah, that's in the non-production section09:08
cjwatson... I think, maybe not.  confusingly written.09:09
* cjwatson squints at heading sizes09:09
cjwatson... right, relies on me being able to spot the difference between h3 and h4.09:09
tewardis there a connection between the ubuntu members' @ubuntu.com address and the default contact email set on Launchpad, or do I have to contact Canonical SA for this info?  If anyone knows.16:07
Nafalloteward: yes. unless you work at Canonical your primary e-mail on LP should be where the alias point at. not sure how often that gets updated or if it's kicked manually though.16:10
=== maclin1 is now known as maclin
tewardyeah the SPF problem and DKIM/DMARC problem are plaguing my other domains, so I just finished my mail server for another domain that I'm going to dedicate, hence the inquiry.  If it's not redirected in a couple days I'll open a ticket about it but wanted to check first :P16:31
ahasenackhi guys, the diff shown in https://code.launchpad.net/~ahasenack/ubuntu/+source/apache2/+git/apache2/+merge/345312 doesn't match what you get with git locally19:23
ahasenacklocally: https://pastebin.ubuntu.com/p/jfvkf4vydR/19:23
ahasenackthe diff shown in the mp's page has more stuff, like doc/* changes19:23
nacccjwatson: --^ fwiw, i think we talked about this a while back as possibly pygit2 getting confused. But not 100%19:24
cjwatsonsomebody should file a bug (against turnip)20:20
cjwatsonquoting the repository/ies in question and the relevant commit IDs20:20
nacccjwatson: yep, that was the request back then when I (in poor form) didn't finish following up22:13
cjwatsonunless this is https://bugs.launchpad.net/turnip/+bug/174769922:15
ubot5Ubuntu bug 1747699 in turnip "incorrect diff in MPs: modified file shown as entirely new" [Undecided,New]22:15
cjwatsonwhich is also from ahasenack22:16
cjwatsonreally it would be helpful if somebody could dig into turnip and figure it out though.  you'd have to do a certain amount of running stuff by hand unless you wanted to set up a full local instance, but it's not too hard to extract turnip/api/store.py:get_merge_diff and friends and run them on a repository by hand22:17
cjwatsonor (perhaps better) come up with a reduced case to add to the test suite that illustrates the problem22:18
nacccjwatson: yeah, i think that's roughly where i got to before I dropped it before (tracing through turnip and then reducing it to possibly a pygit2 thing)22:27
nacccjwatson: i'll see if i can find where i was before22:27
cjwatsoncool22:32
cjwatsonmapreri: OK, you can try your recipe thing again now22:36

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