/srv/irclogs.ubuntu.com/2011/07/17/#launchpad-dev.txt

lifelesstimeouts are looking goo04:44
lifelessd04:44
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== michaelh1|away is now known as michaelh1
=== wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 237 - 0:[######=_]:256
lifelessaieee http://pgbouncer.projects.postgresql.org/doc/faq.html#_how_to_upgrade_pgbouncer_without_dropping_connections21:51
wgrantImpressive.21:52
lifelesslooks like a race still exists21:53
wgrantOh?21:54
wgrantSUSPEND will stop it accepting connections.21:54
wgrantSHOW FDS will transfer the sockets, including anything waiting on the listener.21:55
lifelessyes, and somsone connecting between suspend and the new process binding will get a rejection21:58
lifelessunless the listening socket is handed over21:59
lifelessit might do that21:59
wgrantThat's what I assumed.21:59
lifeless[which you said ... :P]21:59
wgrantOtherwise it would be pretty useless.21:59
wgrantAnd pretty flawed.22:00
wgrantlifeless: Found any issues with batchnav/22:01
lifelessnone22:02
lifelessabel found that glitch by code inspection22:02
wgrantGreat.22:02
wgrantArgh.22:02
wgrantPeople hardcoding Ubuntu.22:02
wgrantgrar22:02
lifelessurl hacking can create it, but I don't think regular use will - at least not in any volume22:02
lifelesswgrant: where?22:02
wgranthttp://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/1344622:03
wgrantThe idea is flawed, and it hardcodes Ubuntu too :(22:03
wgrantWe really need to SOA Soyuz :(22:06
lifelessa funding project for it is in the pipeline22:06
wgrantAh, excellent.22:06
wgrantlifeless: Shall we qa-ok bug #809719, then?22:10
_mup_Bug #809719: current lazr.batchnavigator version requires high OFFSET queries <qa-needstesting> <timeout> <Launchpad itself:Fix Committed by lifeless> < https://launchpad.net/bugs/809719 >22:10
lifelesswhat can possibly go wrong22:10
lifeless[yes]22:10
wgrantNow we need to check every page with an expander.22:11
wgrantHmm.22:17
wgrantBad, but very minor so far.22:17
wgrantExpanded suggestions on +filebug don't have a height limit on the sprite, so the sprite below (the branch icon) leaks onto the page.22:18
lifelessusable ?22:18
wgrantYes.22:18
wgrantSo I'm not going to qa-bad it yet.22:18
lifelessI'm inclined to tolerate that w/ a regression bug22:18
wgrantYup.22:19
wgrantAh, it actually used an <img> before.22:20
wgrantFail.22:28
wgrantThe regression fix did not fix the regression.22:28
wgrantOh.22:30
wgrantIt didn't actually land.22:30
wgranthttps://code.launchpad.net/~danilo/launchpad/fix-80692522:30
wgrantLooks like it was thrown at ec2, though :/22:31
wgrantlifeless: lp-land and pray? Or roll the whole lot back again?22:31
wgrantWe are almost up to 50 revs :/22:32
lifelessso the regression fix was landed separately to relanding what was rolled back ?22:33
* lifeless wants to understand a little more what went on22:34
wgrantWell, there were two revs doing the same sort of thing. I rolled back one, which turned out to be the wrong one, despite modifying the relevant file. It was relanded once the fix was written, but apparently the fix was not landed.22:34
wgrantI assumed they landed together.22:34
wgrantOnly noticing now that it's not actually fixed.22:34
lifelessso22:37
lifelesswe're 12 hours till danilo22:37
lifeless5 hours to find out what went wrong in ec222:37
lifeless~1 hour to fix, another 5 to bb22:38
lifelessso 11 if we try to fix ourselves22:38
lifelessvs 5 if we land a revert22:38
wgrantWe really need to fix those LXC hangs.22:39
lifelesswe can expect about 3 revs to land if we were to ec2 it and have it land ok22:39
lifelesswgrant: the sudo thing?22:40
wgrantlifeless: No, what I believe to be a reliable LibrarianLayer setup hang on one of the 6 workers.22:40
lifelessI haven't seen that22:41
wgrantHave you run the whole suite parallel?22:41
lifelessanyhow, I'm +1 on a revert22:41
lifelesswgrant: yes22:41
wgrantHMm.22:41
lifelesswgrant: other than the sudo thing, it seemed ok in terms of not hanging22:42
wgrantI need more RAM.22:42
lifelesswgrant: it helps; I have 16GB :P22:42
* wgrant reverts.22:49
wgrantwallyworld_: Morning23:27
wallyworld_hello23:27
wgrantwallyworld_: Any idea what creates that horrible broken red picker error box?23:27
wgrantAh, activator.renderFailure, it seems.23:28
wgrantKill.23:28
wallyworld_i looked a little at some point in the past and sort of found some generic error handling stuff but that was while ago23:28
wallyworld_activator.xxx sounds right23:29
wallyworld_it's pretty ugly23:29
wallyworld_at least it's out of lazr-js now and we can easily fix it :-)23:29
wgrantIt includes the error page's HTML in a <pre>.23:29
wgrantYeah, pretty ugly.23:29
wallyworld_reminds me, i need to delete the lazr-js eggs23:29
wgrantI did that on Saturday.23:29
wgrantCleaned out download-cache.23:29
wallyworld_oh cool23:29
wgrantExcept for a couple of things that are still needed by deployed code.23:30
wgrant2 revs to go.23:32
wgrantOne of them seems to be designed to time out.23:34
wallyworld_wgrant: i was just about to qa my bug, you beat me to it. did you login as a non-priviledged user to test. if so, is there a generic user that we use for such things on qas?23:34
lifelessis there a setup.py setup() parameter for test only requirements ?23:34
wgrantlifeless: Sort of. Check txlongpoll23:35
wgrantlifeless: You declare it in extras_require.23:35
wgrantlifeless: Not sure how to install them without buildout (where you say, eg., 'txlongpoll [test]').23:35
wgrantwallyworld_: I have a few test SSO accounts. I don't know of any generic one.23:35
wallyworld_ok. thanks23:36
wgrantLOSA ping23:36
wgrantWoah23:37
wgrantimpressive.23:37
wgrantIt doesn't time out.23:37
wgrantIt hung chromium.23:37
wgrantBut it didn't time out.23:37
lifelessgarh23:37
lifelesshth does anyone use bootstrap.py23:37
wgrant(getBranchTips with no since date, so it returned the tip for every Ubuntu branch)23:37
wgrantOh?23:37
wgrantIt is a terrible terrible thing, but it works.23:37
lifeless:!./bootstrap.py23:38
lifelessDownloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg23:38
lifelessWhile:23:38
lifeless  Initializing.23:38
wgrantAh, yes.23:38
lifelessError: The specified download cache:23:38
lifeless'/home/robertc/source/launchpad/python-pgbouncer/working/download-cache'23:38
lifelessDoesn't exist.23:38
wgrantmake23:38
wgrantMost people use a global download-cache.23:38
lifelessyes23:38
wgrantBut the makefile will create download-cache for you.23:38
lifelessbringing up a new project23:38
wgrantLength: 31270702 (30M) [application/json]23:38
wgrantSaving to: 'ubuntu?ws.op=getBranchTips'23:38
wgrantI am *really* impressed that it rendered.23:39
lifelessme too23:39
lifelessits a new page23:39
wgrantGetting like 700KB/s, too.23:39
lifelessit should have a 5 second hard timeout23:39
wgrantMore than I've ever got from the DC.23:39
wgrantI geuss it comrpesses.23:39
lifelesscan you get such a timeout put on it please?23:39
wgrantNot sure if we can.23:39
lifelessits a api call right?23:40
lifelessit will have a page id23:40
wgrantYes. I forget how pageids work there.23:40
wgrantOh, right, a third bit.23:40
wgrantDistribution:EntryResource:getBranchTips or so?23:40
* wgrant checks.23:40
hloeungwgrant: hi23:40
lifelessDistribution:EntryResource:#getBranchTips I think23:40
wgranthloeung: Sorry, thought qastaging had blown up, but it survived.23:41
wgrantlifeless: Yeah.23:41
wgrantlifeless: Is that your +1 for the flag change?23:41
lifelessyes23:41
lifelessyou don't need one on qastaging23:41
lifeless(a +1 that is)23:41
wgranthloeung: Could you please add the feature flag 'hard_timeout pageid:Distribution:EntryResource:#getBranchTips 5 5000' to qastaging?23:42
hloeungwgrant: ok done23:43
wgrantOh, last_scanned_id is stored in branch. That's cheating.23:43
wgranthloeung: Thanks.23:43
wgrantlifeless: Still renders after the second try!23:44
lifelessneato23:46
lifelessI bet it fails the '99% < 1 second' test, but reliably under 5s is sufficient to make me happy.23:48
lifeless:!bin/buildout23:48
lifelessDevelop: '/home/robertc/source/launchpad/python-pgbouncer/working/.'23:48
lifeless/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extra_requires'23:48
lifeless  warnings.warn(msg)23:49
wgrantlifeless: extras_require23:49
wgrant(yay)23:49
lifelessso how do you trigger the test deps ?23:50
wgrantWith buildout you say 'eggs = some.package [test]'.23:51
wgrantIn the section that builds the testrunner.23:51
wgrantOr, potentially, in the main section.23:51
wgrantYou can also do 'easy_install txlongpoll[test]', I believe.23:52
wgrantNot sure if setup.py develop supports it.23:53
lifeless[scripts]\neggs=pgbouncer[test]23:53
lifelessseems to trigger it23:53
wgrantYeah.23:53
lifelessnow I need to find out why van.pg isn't findable23:53
wgrantpgbouncer egg?23:53
lifelessnew fixture23:53
wgrantWhat does it do that van.pg doesn't?23:54
lifelesspgbouncer23:54
wgrantWhy do we want pgbouncer?23:54
lifelessfastdowntime23:54
lifelessless idle connections on db servers23:54
wgrantNo, why do we want it in the test suite?23:54
lifelessfastdowntime behaviour checking23:54
wgrantIt's not sufficiently transparent?23:55
wgrantSo we must introduce a new layer of slowness, pain, death and destruction into the web of trouble that is our postgres fixture already? :(23:55
lifelessno23:55
lifelesswe need 3-4 tests that use this23:55
wgrantAh23:55
wgrantWith a better name than python-pgbouncer, sounds good.23:56
lifelesssuggestions welcome; I already discounted pgbouncefixture23:57
wgrantWhy?23:57
wgrantpgbouncer is a tad generic.23:57
lifelessit is23:58
lifelessbut I can see us wanting a fixture, a config generator, and some glue logic to rewrite user configs and so forth23:58
wgrantI have reservations around polluting the global namespace like this.23:59
wgrantIt's alright if it's under lazr, where it can only kill us...23:59
lifelessI looked for existing modules23:59

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