/srv/irclogs.ubuntu.com/2010/02/09/#launchpad-dev.txt

mwhudsonflacoste: /me lunches00:27
mwhudsonoops00:27
* mwhudson lunches00:27
maxbAnyone else seeing a spurious ordering-based failure in lib/lp/bugs/tests/../stories/bugs/xx-front-page-bug-lists.txt ?01:37
dhillon-v10can anyone give me a link where I can find more info. on writing tests for a change I just made, thankw02:22
dhillon-v10*thanks02:22
wgrantSeries/milestones/releases could really do with being unbroken.04:59
mwhudsonwgrant: i think sinzui knows that05:00
mwhudsonand i'm not sure anyone else understands things well enough to unfix them05:00
mwhudsonyou could argue any random change would likely be an improvement, but that's probably not actually true05:01
wgrantI don't get why no time has been dedicated to making those important, obvious features less restrictive and broken.05:01
* mwhudson eods05:02
wgrantspm: Oh, crap, 499421 has happened again?05:42
spmwgrant: yeah :-(05:42
spmI was like WTF is this alert about!?!?05:42
spmfortunately tom belives in docco in our alert scripts so enough clues to find the bug/solution05:42
spmno idea if helpful but was the "PPA for Ubuntu Mozilla Daily Build Team"05:43
wgrantAt least the other one (499095) seems to be properly fixed now.05:44
poolienight07:49
spmnight poolie07:51
adeuringgood morning08:26
mrevellMorgen08:57
jmlnoodles775, james_w: hi10:12
james_whi jml10:12
jmljames_w: may I join your call?10:13
james_wjml: fine by me10:13
james_wnot sure how to do that though10:13
jmljames_w, right-click on me in your skype contacts and select "Invite to conference"10:14
jmljames_w, noodles775: I've started a gobby document on gobby.ubuntu.com, 'lp-daily-builds'10:36
=== matsubara-afk is now known as matsubara
asabilhi all11:15
james_wjml: did that second branch land yesterday?11:16
james_wI think that's the third time it's been put in ec2, perhaps it breaks tests?11:17
maxbgmb: Hi, and thanks for the reviewing. Could you go ahead and land lp:~maxb/launchpad/use-hashlib for me? I've set a commit message on the MP. My other branch (lp:~maxb/launchpad/stop-using-deprecated-sets) would merge-conflict with that so if you leave that one alone, I'll merge and resolve after the first lands.11:30
gmbmaxb: Sure thing, will do.11:31
asabilcan someone explain how does the authentication work in launchpad ?11:33
maxbSpeaking of which, who would know what became of the mention of the potential of community PQM access?11:33
mwhudsonasabil: it's all in canonical.launchpad.webapp.authentication11:38
mwhudsonasabil: it's moderately complicated though11:38
mwhudsonasabil: how good are you at zope? :-)11:38
asabilmwhudson, well I am trying to run launchpad, it works perfectly until I try to push code11:38
asabilmwhudson, not familiar with zope at all11:38
mwhudsonoh11:38
mwhudsonthat's an entirely different thing11:39
mwhudsonasabil: what user are you trying to push as?11:39
asabilit's the authentication in the xmlrpc service11:39
asabila user I created11:39
mwhudsondid you add an ssh key?11:39
asabilyes11:39
asabilwhere are the keys stored btw ?11:40
mwhudsonin the database11:40
asabillet me check11:40
mwhudsonasabil: can you ssh $USER@bazaar.launchpad.dev11:40
mwhudson?11:40
wgrantYou'll probably need launchpad.dev:5022, actually.11:40
asabillet me check11:40
asabilyes, it's on 502211:40
mwhudsonoh right yes11:41
mwhudsoni have had that in ~/,ssh/config for so long...11:41
asabilmwhudson, the server is running but I get an auth failure11:42
mwhudsonthe console running 'make run_all' will have some messages11:43
asabilhttp://pastebin.com/d107872fc11:43
asabilthat's the log from /var/log/launchpad/launchpad.log11:44
mwhudsoner11:44
mwhudsonthat's strange11:44
asabilbtw, it is a custom deployment11:44
mwhudsonah11:44
wgrantYour Apache config is broken.11:44
asabilin other words I am fiddling with launchpad11:44
asabilI am using NGINX actually11:44
mwhudsonyes, what wgrant says is certainly possible11:45
asabilso if I can just understand what's the problem11:45
asabilI can fix it11:45
mwhudsonasabil: well, the ssh server will be talking to xmlrpc-private.launchpad.dev11:45
asabilprivate ? not xmlrpc.launchpad.dev ?11:45
mwhudsonit looks like the virtual host config is busticated so the appserver can't tell which host the request was aimed at11:46
mwhudsonasabil: yes, private11:46
mwhudsonasabil: launchpad has two xml-rpc servers, a public one and a private11:46
mwhudsonone11:46
wgrantxmlrpc(-private) is served on a different port.11:46
asabilwhere is it supposed to be sent ?11:46
asabillocalhost:8087 ?11:46
asabilor localhost:8085 ?11:46
wgrant808711:46
asabilboth private and non private ?11:47
mwhudsoni guess, look at configs/development/local-launchpad-apache or whatever the file is called11:47
asabilyes, I read it11:47
asabilI skipped the rewrite rules to get loggerhead working11:47
asabilbut besides that the config is the same11:47
wgrantEven the order?11:48
asabilhttp://pastebin.com/d2ab8583111:49
asabilhmm, why is bazaar.launchpad.dev using a different local IP ?11:50
mwhudsoni don't want to sound sceptical, but if it was exactly the same, i'd expect it to be working, and it's not working11:50
asabil127.0.0.99 instead of 127.0.0.88 ?11:50
mwhudsoni don't really remember11:50
wgrantDoes nginx not respect order?11:50
wgrant99 is only really used for private codebrowse.11:50
wgrantNot xmlrpc.11:50
asabilmwhudson, I am not disagreeing with you, I also suspect it. I am just wondering why11:51
asabilwgrant, it does11:51
mwhudsonasabil: xmlrpc-private.launchpad.dev listens on 80, not 44311:51
* mwhudson zzzs11:52
asabilmwhudson, in nginx I did setup both11:52
wgrantasabil: Disable the .launchpad.dev directive and see what happens?11:53
Ursinhagood morning launchpadders11:54
wgrantEvening Ursinha.11:54
Ursinhawgrant: always this tz thing :)11:54
Ursinhawgrant: good evening then11:54
asabilwgrant, I just did doesn't change much11:55
wgrantasabil: Check nginx and Launchpad logs to see which appserver is being forwarded to.11:56
asabilwgrant, http://pastebin.com/d76f839ed12:04
asabilthat's what I see in wireshark12:04
asabiland that's what is proxified by nginx: http://pastebin.com/d3ee120b712:06
wgrantasabil: To which IP address is the backend request?12:07
asabil127.0.0.112:07
wgrantPort, sorry.12:07
asabilnginx(80) ----> launchpad(8087)12:08
wgrantThat would appear to be correct.12:09
asabilanyway, thanks a lot for your help12:09
asabilI will continue investigating12:09
wgrantYou have not altered the Launchpad configuration at all?12:10
asabilmay I know which host does launchpad expect ?12:10
asabiland where is it specified12:10
asabilwgrant, well I did as I said earlier12:10
asabilI want to understand how it works12:10
wgrantI mean the Launchpad config, not the frontend HTTP server.12:11
asabilwgrant, yes I did12:12
wgrantasabil: What have you changed?12:12
asabilwgrant, seems like I changed the auth endpoint line to xmlrpc instead of xmlrpc-private12:13
asabilI guess that's the issue12:13
asabilwgrant, thanks a lot12:16
asabilthat was my mistake12:16
=== mrevell is now known as mrevell-lunch
asabilbut I am still not able to login for some reason12:16
asabiloh that's normal, there is no shell12:17
asabilwgrant, thanks a lot, not it works12:17
asabilI just need to understand the various cron jobs to get everything setup now12:18
jmlgmb, re bug 51927112:32
mupBug #519271: Ordering of latest bugs on the Malone frontpage appears to have become volatile <tech-debt> <Launchpad Bugs:Triaged> <https://launchpad.net/bugs/519271>12:32
jmlgmb, isn't that to be expected after dropping the 'id' from the query?12:32
wgrantAll bugs and bugtasks appear to have distinct creation dates, though.12:33
maxboh, that bug would explain the spurious test fails I've seen12:44
jmlif two things are created in the same transaction, they have the same create time12:46
wgrantI'm also intrigued as to how the extra order clause ended up so slow.12:46
* bigjools adds MP to finally destroy Secure* publishing records12:50
wgrant!!!12:51
wgrantIt hasn't bitrotted again?12:51
bigjoolsnup, I kept it up to date, just didn't want to release it with the buildd changes last cycle12:51
bigjoolsit's now 1 year and 1 week old :)12:51
wgrantExcellent.12:51
bigjools\m/12:52
bigjoolsand on that note, food.12:52
gmbjml: Well, no, because the creation dates in sampledata are distinct; the ordering in the tests should be sane. I need to investigate to be sure, though.13:00
gmbwgrant: Some investigation by jtv yesterday led us to the conclusion that postgres was vastly underestimating the number of rows returned by the query. Adding an index on (datecreated, id) increased the speed of the query by 4 OoM.13:01
jmlgmb, fair enough. perhaps the tests are using the factory?13:02
jmlgmb, zowie!13:02
jtvgmb: well I suspect that an underestimate (or buffer shortage) while sorting may be one of the causes.  The other one is that you can skip the sorting altogether by adding this index.13:02
wgrantgmb: Aha. Ew.13:02
jmlmore of that please!13:02
jtvgmb: also, OOM was not in the GTF yet, so please join the GCP.  http://xs4all.nl/~jtv/gtf/13:03
gmbjml: D'oh. Looking at it now, that's exactly the problem.13:03
gmbjtv: SWD.13:03
jtvgmb: ?13:03
gmbjtv: Sure, will do.13:03
* jtv adds another one...13:03
jtvand that's three-letter combination #971313:04
jtv(entry 23510)13:04
jmlgmb, fwiw, preliminary research indicates that transaction.commits in the factory are a big cause of slow tests.13:04
gmbjml: Wouldn't surprise me.13:05
jmlanyway, I want to eat something's flesh.13:05
=== mrevell-lunch is now known as mrevell
wgrantThankyou, bzr. http://pastebin.ubuntu.com/372497/13:57
wgrantI hope that is a bug.13:57
bigjoolsup late there wgrant14:00
wgrantbigjools: A little.14:02
wgrantsinzui: Are you trying to start a riot in bug #519100?14:04
mupBug #519100: registry mails use male pronouns <Launchpad Registry:Won't Fix> <https://launchpad.net/bugs/519100>14:04
sinzuiwgrant: No. I am quietly stating that Launchpad made a decision that the registry must abide by14:05
wgrantsinzui: Any such decision is probably ill thought out.14:06
wgrantNo other software in this world has such a policy.14:06
sinzuiindeed14:07
bacsinzui: where is this writing guideline?14:10
wgrantI've not seen it either.14:10
sinzuiwgrant: I think raging against how language evolves is very pointless. I think the masculine references to users software are a great method to alienate 51% of the world and prevents Launchpad from attracting a balanced group of users14:11
wgrantsinzui: Then why is that bug Won't Fix?14:11
sinzuibac, wgrant: They were among the documents that were supposed to move from the old wiki to the new wiki a few weeks ago. It was in the page where mpt gave example of improper and correct phrases14:12
wgrantAh, i think I've seen that one.14:12
sinzuiwgrant: 1) it is launchpad, not registry, 2) it is policy that I lost the battle on.14:12
wgrantI cannot find it now, however.14:12
wgrantThen the battle should be resumed and trivially won.14:13
* bac searching14:13
mpthttps://dev.launchpad.net/UserInterfaceWording14:13
sinzuiwgrant: Do you think we should pretend it was lost in the great London flood of 2008?14:13
bacsinzui: in this specific case we could solve the problem and adhere to the policy by just removing the word 'himself' as the sentence is clear and corrrect without it.14:13
mptThat page doesn't say anything about pronouns (and I certainly never would have prescribed using "him" etc)14:14
mptso maybe it's another page sinzui is referring to14:14
sinzuimpt: There was a document on it because I wrote her and I was show the wiki page that said I had to use him14:15
wgrantUsing either is very probably a bug.14:15
mptsinzui, would this have been something beuno wrote? I could ask him14:18
sinzuibeuno: would not have written it, I learned this rule in 200714:20
baci've searched the old wiki for 'pronoun', 'masculine', and 'male' and cannot find anything14:20
sinzuibac: me too, and there is nothing.14:21
sinzuibac: I am happy to declare this issue moot and will reopen the bug14:21
wgrantsinzui: Thanks.14:21
bacsinzui: i'd reopen and s/himself// as above14:21
sinzuiI will also stop wasting hours writing retarded sentences14:21
* bac uh-oh, new can of worms...14:22
mptReally, that message shouldn't use pronouns anyway14:22
mpt"The membership status of %s (%s) in the team %s (%s) was changed by the user himself from Approved to Deactivated." is just a long-winded way of saying "%s (%s) has left the %s team (%s)."14:24
beunosinzui!  you're alive!   did you manage to get home uneventfully14:26
sinzuibeuno: I suppose I did, but I think there is a grand bogus saga waiting to be told about my last two weeks. It may arrive in warthogs in a week14:27
sinzuiIt will not be as good as the beach trip to hell14:28
beunosinzui, I'm looking forward to it14:28
beunosinzui, also, I want to have a call with you at some point this week14:28
beunoI've been thinking about stuff14:28
beunoand there's one final thing I want to do before officially moving to U114:29
beunoand it involves you  :)14:29
sinzuibeuno: fab14:29
* mpt wonders why, about once a week, someone mistakenly links a branch to bug 114:32
mupBug #1: Microsoft has a majority market share <iso-testing> <ubuntu> <Clubdistro:Invalid> <Computer Science Ubuntu:Invalid by compscibuntu-bugs> <EasyPeasy Overview:Invalid by ramvi> <Ichthux:Invalid by raphink> <JAK LINUX:Invalid> <OpenOffice:Invalid by lh-maviya> <Tabuntu:Invalid by tinarussell> <Tivion:Invalid by shakaran> <Ubuntu:In Progress by sabdfl> <ubuntu-express (Ubuntu):Invalid by jahyire2006> <Ubuntu Jaunty:In Progress> <ubuntu-expre14:32
jmlkfogel, are we on for a call on the hour?14:55
kfogeljml: hey!15:01
kfogeljml: been a while.  Yes; short one, but let's do it.15:02
kfogeljml: skype?15:02
kfogeljml: did I miss my chance?15:03
jmlkfogel, you just dropped out. I'm reconnecting.15:12
=== salgado is now known as salgado-lunch
=== matsubara is now known as matsubara-lunch
=== jamalta-afk is now known as jamalta
=== matsubara-lunch is now known as matsubara
allenapjml: Thanks for the comment on the twisted-threading-bug-491870 merge proposal. Are you also implying that you think it's better to create the ThreadPool explicitly, or was it a FYI?16:39
=== salgado-lunch is now known as salgado
jmlallenap, I think FYI. I've made multiple comments, so I'm not sure which you mean.17:54
allenapjml: The most recent about adding an exception to importfascist.17:55
jmlallenap, oh yeah, that was an FYI. Better to shut up the warning _and_ file a bug on Twisted than do both.17:55
jmlanyway, I'm off.17:55
allenapjml: Thanks, cheerio.17:55
jmlnp. g'night.17:56
=== matsubara is now known as matsubara-afk
=== salgado is now known as salgado-afk
* thumper -> coffee22:14
* mwhudson vanishes again22:30
=== jamalta is now known as jamalta-afk

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