/srv/irclogs.ubuntu.com/2012/03/22/#launchpad-dev.txt

StevenK13 cards in QA-Landing, because buildbot sucks and needs to die.00:44
=== StevenK changed the topic of #launchpad-dev to: https:/​/​dev.launchpad.net/​ | On call reviewer: -ey | Firefighting: - | Critical bugtasks: 4*10
=== StevenK changed the topic of #launchpad-dev to: https:/​/​dev.launchpad.net/​ | On call reviewer-ey | Firefighting: - | Critical bugtasks: 4*10
* StevenK stabs irssi00:45
rick_hStevenK: ping, it came up in a call that you and Steven hit a bug where codehosting was giving bad responses during log rotation?00:45
rick_hStevenK: did that end up in a bug somewhere that I can reference?00:45
StevenKThat I and me?00:45
StevenK:-)00:45
rick_h:)00:45
rick_hjust going off of what I'm told from the higher power, Steven and Steve K were involved somehow00:46
StevenKIt was investigated by poolie, wgrant and I.00:46
StevenKOnly one of us is called 'Steve'00:46
rick_hok, well then I was lied to, my apologies00:46
wgranthttps://bugs.launchpad.net/bugs/72475000:46
_mup_Bug #724750: launchpad redirects pack files to https://launchpad.net (while repacking?) <Launchpad itself:Triaged> < https://launchpad.net/bugs/724750 >00:46
StevenKThat's the one.00:47
rick_hty sir00:47
StevenKIt doesn't impact buildbot since that uses bzr+ssh.00:47
wgrantrick_h: BTW, thanks for fixing the YUI2 thing.00:47
rick_hwgrant: sorry it got hung up with my travels and such00:47
rick_hhad hoped to get it landed before I left, but various tests hated me00:48
wgrantYeah, that often happens :(00:48
wgrantNow maybe I can implement Content-Security-Policy this weekend.00:48
StevenKrick_h: You've recovered from PyCon?00:49
wgrantStill, 30 minute test suite soon :)00:49
rick_hStevenK: working on it, have the post pycon flu so on meds and need a nap something fierce00:49
rick_hwgrant: yea, heard there was some serious progresson that, exciting!00:50
StevenKwgrant: So should I replace bug.private with bug.information_type in (2, 4, 5) in the triggers?00:53
wgrantStevenK: (3, 4, 5), but yes.00:54
wgrantStevenK: That's what I've done, although it is a bit awful.00:54
StevenKYup00:54
StevenKwgrant: The DB branch that makes information_type not null failed due to the garbo job. :-(00:55
wgrantHeh.00:55
StevenKThe garbo job has just been killed in devel00:55
wgrantSo I aw.00:55
wgrants00:55
StevenKNow to wait for buildbot so I can re-land the db patch00:55
wgrantThat's about 11 hours away.00:56
StevenKI'm aware. :-(00:56
StevenKat now + 11 hours bzr lp-land00:56
StevenKThat has no hope of working, but it would be nice.00:57
* StevenK claims another -12 patch01:00
StevenKwgrant, wallyworld: I think we should suggest to sinzui that we need a new lane: 'QA-Fucked over by buildbot'01:02
wallyworld+1 :-)01:03
StevenKHaha01:03
wgrantYeah01:03
wgrantI'd really like there to be a separate column.01:03
wgrantFor when it is actually landed.01:03
wgrantSince once it's landed it can usually be dealt with by anyone.01:04
StevenKTo be fair, QA-Landing is conflating ec2 with buildbot.01:05
StevenKPerhaps we need two: "This is working through ec2, and isn't landed yet." and "This has hit devel/db-devel and can be dealt with by anyone when it hits qas."01:05
wgrantThat's what I meant, yes.01:07
StevenKRight.01:07
StevenKwgrant: CREATE FUNCTION changes to DROP/CREATE or CREATE OR REPLACE ?01:16
wgrantStevenK: CREATE OR REPLACE01:18
wgrantDROP will probably not work because there are references.01:18
wgrantIn general there's very little reason not to use CREATE OR REPLACE every time.01:18
wgrantwallyworld: Hi, did you see my comment on your MP about half an hour ago?01:26
wallyworldwgrant: no. but i already fixed the typo01:27
wallyworldis person_sort_key case insensitive?01:27
wgrantIt is.01:28
wallyworldffs01:28
wallyworldwhy would it do that?01:28
wgrantAh, hm, I see you did indeed fix the typo a few minutes ago, but I don't have an email about it :/01:28
wgrantBecause case insensitive sorting is what most of the world expects.01:28
wallyworldluckily for the next landing it's not really an issue01:29
wallyworldregardless of what the world expects, it should match the case sensitivity of normal order bys01:30
wgrantIt's also rather trivial to fix without rerunning tests.01:30
wallyworldyes01:30
wgrantHm?01:30
wgrantThat *is* the normal order by.01:30
wgrantOrdering by Person.displayname is not supported.01:30
wallyworldbut Person.displayname, Person.name is01:30
wgrantIts sort order is not a recognised one.01:30
wgrantNo01:30
wgrantIt's just a rule we have to break here until StormRangeFactory is fixed.01:30
wgrantperson_sort_key is, as the name suggests, the person sort key.01:31
wgrant(Person.displayname, Person.name) is not, but it's close enough for the initial branch.01:31
wallyworldthere should be no rule against sorting on multiple columns or am i missing something?01:33
wgrantIt's not a rule against it.01:33
wgrantThe rule is that the natural ordering for persons is person_sort_key.01:33
wgrantWhich is roughly lower(displayname) + ', ' + lower(name)01:33
wallyworldsure, ok01:34
wgrantHaving slightly different orderings around the place is rather confusing.01:34
wgrant(Person.displayname, Person.name) will do for now, but the ordering for the batch slicing and intra-batch sorting must be identical, or it will be very confusing.01:35
StevenK18degC? What the heck. This isn't winter.01:35
wgrantIt got down to 11 here yesterday.01:35
StevenKBloody heck01:35
wgranthttp://www.baywx.com/melbtempyestII.html01:35
wgrantVeeeery odd day.01:35
mwhudsonisn't that graph basically the wrong way up?01:36
wgrantYes.01:36
bigjoolsbloody freezing here too, it's 22C01:37
wallyworldwgrant: agreed about sorting needing to be consistent - i thought it was, didn't realise person_sort_key was case insensitive01:37
wgrantwallyworld: Yep01:38
wgrantbigjools: Yes, but you're in the past.01:38
=== Ursinha is now known as Ursinha-away
wallyworldwgrant: StormRangeFactory doesn't accept lower either01:58
wallyworldso we have to live with it till StormRangeFactory is enhanced01:59
wgrantwallyworld: Sure, the only way to get it consistent now is to use plain (displayname, name)02:00
wallyworldwhich will mess up if there's names with non ascii chars02:00
wgrantwallyworld: We don't really handle that case very well normally.02:04
wallyworldi'll tweak the sort order, raise a bug for StormRangeFactory, and put in an xxx02:05
wgrantThanks.02:06
wgrantI'll probably end up fixing SRF soonish.02:06
wgrantSince we likely want it for bugs.02:06
wallyworldwgrant:  bug 96183602:09
_mup_Bug #961836: StormRangeFactory should support functional sort keys <batching> <Launchpad itself:New> < https://launchpad.net/bugs/961836 >02:09
wgrantwallyworld: Bug #96184002:31
_mup_Bug #961840: "Share with someone" makes it easy to accidentally revoke access <disclosure> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/961840 >02:31
wallyworldwgrant: currently "by design" since there's no vocab to support that sort of thing yet02:32
wgrantwallyworld: k02:32
wgrantwallyworld: Is it easy enough to use the normal batch spinner on initial page load?02:33
wallyworldbut good that's it's filed so we can track it02:33
wgrantCurrently it uses a different one for initial vs batch load.02:33
wallyworldno since the batcher expects trhe initial batch to be rendered02:34
wallyworldserver side02:34
wgrantYeah, it would obviously need some changes, but might be nice if it's simpleish.02:34
wallyworldi guess the client side code could be changed02:34
wgrantApart from that, this UI is pretty damn nice.02:34
wallyworldand faster than other things02:34
wgrantlifeless: I'm seeing overhead of about 10% on +sharing from traceback collection from just 27 queries.02:56
lifelesswgrant: what are the times03:02
wgrantSigh, libvte upgrade has broken termcaps03:06
wgrantlifeless: Rendering without profiling is about 0.20s vs 0.22s. With profiling is 0.42s vs 0.48s, with about 0.05s shown in format_stack03:07
wgrantBut that's 2ms per query, which is sort of insane unless it's doing IO.03:08
wgrantAh, it is.03:08
wgrantlinecache.checkcache03:08
wgrantI wonder how much of it is that.03:08
StevenKwgrant: Can you link me to your branch that changes the triggers?03:10
lifelesswgrant: so, I'm willing to pay 2ms on a 20ms call to have good data on the bad calls03:11
lifelesswgrant: if you can come up with a sensible way to achieve the good data on bad calls without the 2ms on the 20ms call, I'd be delighted03:11
wgrantlifeless: That adds 15ms to every authentication attempt :)03:11
lifelessone thing we could do is get the line nos but not the line content03:12
wgrantYeah03:12
lifelessand if we oops only then convert to lines03:12
wgrantExactly.03:12
wgrantSince hopefully the file won't change much...03:12
lifelessif it does we have a different problem03:13
wgrantBut I don't know how much is actually the formatting.03:13
lifelessso our auth calls are 150ms?03:13
wgrantWe do have some pretty horrific traces due to TAL.03:13
lifelesswith 15ms in data gathering overhead? Still doesn't bother me :)03:13
wgrantRequest startup and auth is 50-60ms on production.03:13
lifelesssorry, 165ms w/15ms in data gathering03:13
lifelesswgrant: are you talking about the validation of credentials per request03:14
wgrantYes.03:14
lifelessok03:14
lifelessso look, I'm totally happy with tweaks to make it better03:14
lifelessI'm glad you're working on sufficiently lean stuff that this is showing up03:15
wgrantIt's not big, but it's not exactly insignificant as you initially stated :)03:15
StevenKI think we're the only team that is following the directive that new pages need to be <1s03:15
wgrantStevenK: https://code.launchpad.net/~wgrant/launchpad/legacy-access-type/+merge/9834203:15
wgrantStevenK: I think it's <5s03:15
wgrant<1s is lifeless' eventually 99% goal, IIRC03:16
lifelessthe directive is for new pages to be <1 99% of the time03:16
wgrantAh03:16
lifelessnew stuff should be where we want to be03:16
wgrantOh right03:16
wgrantTimeout of 5s.03:16
lifelessright03:16
lifelesscould you please add feature rules to ensure that as you add page ids? that would be awesome.03:16
wgrantThe batching changes should bring this comfortably to 99% <0.5s, except for Ubuntu where who knows.03:16
lifelessit will be brilliant to have front end problems03:17
wgrantIndeed.03:17
wgrantWould love a flaggable soft timeout...03:18
lifelessdoit03:18
wgrantI tried.03:18
wgrantRequires reworking lots of things.03:18
lifelessoh yeah end of the world sort of thing03:18
lifelessyou could cheat03:18
wgrantAnd it's probably worth taking it that little bit further to make UserRequestOops work in the same way.03:18
wgrantAt present ++oops++ doesn't work for requests that don't render the base template.03:19
lifelessoh my, checkcache isn't written for speed is it.03:19
wgrantNooooo it is not.03:19
lifelessso03:19
lifelessyou have my total blessing to monkey patch that to return.03:19
lifelesswe /don't/ support reload() in lp.03:19
lifelesswe could, in principle, use inotify but I don't see the practical value03:20
spmmaybe if you changed it to be iNotify, then the value becomes obvious. ???03:21
wgrantHeh03:22
lifelessspm: keep your day job :)03:22
wgrant828 calls to checkcache from 27 queries03:23
spm:'-(03:23
wgrantAnd I guess each of those causes at least 1 stat03:23
wgrantAnd those are all really shallow queries.03:23
lifelesswhats calling checkcache ?03:23
lifelessgetlines?03:23
wgrant_get_frame_data03:23
wgrant    # End part adapted from zope.exceptions.03:24
wgrant    co = f.f_code03:24
wgrant    filename = co.co_filename03:24
wgrant    name = co.co_name03:24
wgrant    linecache.checkcache(filename)03:24
wgrant    line = linecache.getline(filename, lineno, f.f_globals)03:24
wgrantSeems like at worst we'd want a clearcache at the start of the request.03:24
lifelessits not threadsafe03:24
lifelessor rather03:25
lifelessI'll take money that there are check-and-then-reference patterns in the code03:25
wgrantTrue.03:25
lifelesswhich will blow up if the cache clears between two bytecodes in the model03:25
lifelessmodule03:25
lifelesslike03:25
lifelessok03:25
lifeless    if filename in cache:03:25
lifeless        return cache[filename][2]03:25
lifeless    else:03:25
lifeless        return updatecache(filename, module_globals)03:25
lifeless(in getlines, called from getline)03:26
wgrant:D03:26
lifelessnow, if you want to rewrite the whole module more-or-less, sure.03:26
lifelessthe right place to check the cache is import03:26
lifeless'if you replace this module please be so kind as to discard its cached entries'03:27
lifelessditto tal, if tal uses the linecache to cache lines for tracebacks03:27
lifelessand really, module -> lines should be a module held reference so that reload(),w hich leavces the old module to be gc'd, doesn't cause bad stack traces on old call stacks.03:28
* lifeless stops before he gets critical 03:28
StevenKBefore?03:31
wgrantMysterious.03:32
* StevenK stabs MPs03:33
wgrantNothing is calling checkcache03:33
wgrantBut it's still being called.03:33
mwhudsonzope is good at hiding behaviour03:33
wgrantOh03:34
wgrantextract_tb does it03:34
wgrantIn stdlib's traceback module03:34
wgrantWhy were we calling it directly too :/03:34
StevenKTo be certain.03:34
StevenKOr something.03:34
lifelessthats probably a bug03:37
lifelessthe intent was to have the oops core get tb's03:37
lifelessbut the lp consumer opt in for the zope pretties03:37
=== StevenK changed the topic of #launchpad-dev to: https:/​/​dev.launchpad.net/​ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10
wgrantlifeless: A custom traceback collector without touching the files at all is 10x faster.04:02
wgrantSo <1% overhead.04:02
wgrantMeans we need to have a somewhat more hacked up traceback system, but it seems like it's probably worth it to do the formatting only on demand.04:03
StevenKwgrant: I still get failures in TestBugMirrorAccessTriggers with your DB patch applied. :-(04:03
lifelesswgrant: cool, if you're going to execute on this wicked, if not can you file bugs to capture the issue and your digging ?04:05
wgrantStevenK: Do you also have my test fixes merged?04:06
StevenKOh, there's test fixes for TestBugMirrorAccessTriggers too?04:06
wgrantyes04:06
wgrantBest to merge the whole branch, probably.04:07
StevenKI only grabbed the DB patch04:07
StevenKAnd indeed, that was the only change in the branch you linked.04:09
wgrantOh, yes, different branch.04:11
wgrantI was thinking of bugtaskflat.04:11
wgrantWhich had test changes.04:11
wgrantWhat's the erorr?04:11
StevenKwgrant: http://pastebin.ubuntu.com/894657/04:14
wgrantStevenK: Somehow the bug is acquiring an extra subscription.04:16
wgrantIn every case.04:16
StevenKI wonder if that points to a bug in transistionToInformationType()04:17
wgrantIt may be implicitly subscribing the actor.04:17
wgrantSo if the actor's not the usual person, bad things happen.04:17
wgrantWhere "bad things happen" == "making this pedantic test fail"04:18
wgrantBut it's possibly good that it picked it up.04:18
StevenKwgrant: Figured it out.04:54
StevenKwgrant: I had changed createBug() to unilaterly subscribe the bug supervisor if the information_type was USERDATA instead of 'params.product and params.product.private_bugs' before I changed it.04:55
wgrantStevenK: Ah05:01
wgrantThat would break apport.05:02
wgrantNo other tests failed?05:02
wgrants/break/leak/05:02
StevenKI was only running TestBug as a smoke test05:02
StevenKNext up is -vvm bugs05:02
wgrantlifeless: Bug #961875, and qastaging agrees with my numbers. 10% for the average well-optimised sub-second page.05:05
_mup_Bug #961875: Timeline traceback collection has significant overhead <performance> <Launchpad itself:Triaged> < https://launchpad.net/bugs/961875 >05:05
wgrantMore like 5% for eg. +bugs05:06
wgrantStevenK: So, my tests are happy now?05:06
StevenKwgrant: Yeah, that fixed them. If I was doing -vvm bugs as my smoketest, I suspect I would have seen other fallout.05:07
StevenKBut -vvm bugs takes an hour05:07
wgrantYeah.05:08
StevenKwgrant: TestBug == Total: 874 tests, 0 failures, 0 errors in 12 minutes 6.871 seconds.05:11
wgrantExcellent.05:15
StevenKwgrant: Running through -vvm bugs now, already at 27 failures05:20
wgrantHeh05:21
lifelesswgrant: which is ok :)05:22
wgrantHmm06:23
wgrantWe'll probably hit r15000 tomorrow.06:23
wgrantwallyworld: Hum06:26
wgrantwallyworld: The batching doesn't actually batch.06:26
wgrantAh, nevermind, the real batching rev isn't on qastaging yet.06:27
wgrantJust the UI half.06:27
wgrant600ms in _load_object :/06:27
wallyworldonly a few more hours to go till it gets to qas06:45
wgrantwallyworld: Still, most of the QA can be done now.06:46
* wgrant QAs his stuff.06:46
wallyworldwgrant: which pillar were you looking at for the 600ms06:46
wgrantwallyworld: launchpad06:47
wgrant++profile++show is handy06:47
wgranthttps://qastaging.launchpad.net/launchpad/+sharing/++profile++show06:47
wallyworldsure, i've been using it a lot this week06:47
wgrantActually, looks like 600ms was exception06:48
wgrant450ms is more common.06:48
wgrantBut asuka seems to be rather unstable :(06:48
=== almaisan-away is now known as al-maisan
adeuringgood morning08:53
jml:(09:29
jmlhello launchpad do you know what is a good thing libraries that do not assume that a user is only running one program that uses that library at a time that is a good thing.09:30
jmlhello launchpad do you know what is a good thing libraries that do not assume that a user is only running one program that uses that library at a time that is a good thing.09:31
jmlsorry for the repeat09:31
wgrantjml: Just disable the cache, I guess :/09:56
wgrantYou can also pass a custom cache dir to the Launchpad constructor09:57
czajkowskijtv: good morning/evening10:10
jtvhi czajkowski10:11
jtvIt's not the one I already commented on, is it?10:11
czajkowskinope10:11
czajkowskijust reading that10:11
czajkowskithanks for looking at it10:11
czajkowskijtv: https://answers.launchpad.net/launchpad/+question/19134010:12
czajkowskijtv: I am getting better at figuring the translations out, just I do seem to find unusal ones I need your help still10:12
jtvI'm a bit busy with a deadline, a review for rvba, and some SQL magic for dpm, and having network trouble so expect me to be a bit sporadic today.10:12
jtvThe question page, for instance, isn't loading for me.  This may take some time.10:13
czajkowskijtv: not urgent sorry wil try and find out10:13
jtvczajkowski: I just answered.10:23
=== al-maisan is now known as almaisan-away
stublol. "When complete", "A moment ago (estimated)"10:35
czajkowskijtv: thanks10:37
jtvczajkowski: if you do find time to look into this further, it's scripts/rosetta/remove-translations-by.py10:37
jtvIt _may_ be possible to select something like “only by the given user.”10:38
czajkowskinods10:38
jtvczajkowski: (Yes, I know, I wrote that script.  And come to think of it yes, you should be able to select the submitter.  But the script also has some safety catches against mass deletions that you wouldn't want to do accidentally.)10:40
jmlwgrant: yeah, I passed a custom cache dir, but then I accidentally filled my (EC2 instance's) disk.10:42
jmlwgrant: I'm tempted to just fix lazr.restfulclient.10:43
wgrantjml: Brave man.10:44
jmlwell, let's see if I can actually run the tests.10:47
wgrantI tried to do that once.10:48
jml:(10:50
jmlIf core developers can't patch it, then it's literally unmaintainable.10:50
wgrantThis was years ago. Not sure how it is now.10:51
jmlThen that just makes it literally unmaintained. :P10:53
wgrantThat is entirely uncontested.10:54
czajkowskidanilos: ping11:03
=== jtv is now known as mup
=== mup is now known as jtv
jmlheh heh11:29
jmlso, a couple of weeks ago maybe, httplib2 decided that no one should be allowed to use 0.6.0 any more11:30
jmlI'm not sure why buildout is looking on the internet for this rather than in ./download-cache/dist11:34
wgrantOh11:35
wgrantDoes that mean that they admitted the certificate thing was actually a problem?11:35
jmlI honestly don't know.11:36
jmlWhy isn't buildout fetching files from download-cache...11:37
jmlah11:39
jmlit needs a setting in buildout.cfg that lazr.restfulclient doesn't have set.11:39
jmlzope.testing. there's no school like the old school.11:50
=== Ursinha-away is now known as Ursinha
=== rick_h changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: rick_h* | Firefighting: - | Critical bugtasks: 4*10
mhall119did something change with launchpadlib recenty?  I'm getting unicode strings for datetimes now12:20
StevenKrick_h: O hai. Can you please prod deryck to do his QA when you do that whole stand-up thing with him?12:21
rick_hStevenK: email pls :)12:23
rick_hmhall119: yes, there was an update to wadllib a bit back, I just ok'd a fix this morning12:24
StevenKrick_h: Why?12:24
rick_hStevenK: because then it's on his todo list and not something I can forget to bug him about during standup12:25
mhall119rick_h: thanks, so it should be fixed in Precise soon?12:25
rick_hmhall119: yes12:26
StevenKI'd bug him directly, but he isn't on IRC.12:26
mhall119rick_h: is there a bug # I can subscribe to about this?12:26
=== rick_h_ is now known as rick_h
deryckMorning, all.12:59
StevenKderyck: O hai. Would you mind doing the QA for r14983? :-)13:00
deryckStevenK, sure, first thing on my list today.13:00
sinzuiczajkowski, Can you change the definition and implementation status https://blueprints.qastaging.launchpad.net/gdp/+spec/gdplaunchpad13:15
=== almaisan-away is now known as al-maisan
deryckwoo-hoo, we now have the same number of queries issued in both old bug listings and new.13:15
czajkowskisinzui: nope13:15
abentleyderyck: Woo!13:16
czajkowskisinzui: I checked all my old blueprints before I created the bug13:16
czajkowskias that's kinda annoying not to be able to change the status give this time of cycle13:16
sinzuiczajkowski, no yellow edit icons next to the two fields>13:16
czajkowskisinzui: nope13:16
czajkowskithere used to be :)13:16
sinzuiczajkowski, the model says you can13:16
* sinzui looks for old form13:16
czajkowskiI can edit subscription13:17
czajkowskithats it13:17
sinzuiczajkowski, can you access and use https://blueprints.qastaging.launchpad.net/gdp/+spec/gdplaunchpad/+status13:17
czajkowskisinzui: yes13:18
czajkowskisinzui: how did you get there?13:18
sinzuianyone can change subscription. I think the permissions on the links are different from the real fields13:18
sinzuiczajkowski, I help my pointer over the edit Icon I could see to learn the non-javascript location13:19
czajkowskisinzui: only edit filed I cna get to is https://blueprints.qastaging.launchpad.net/gdp/+spec/gdplaunchpad/+subscribe13:19
sinzuiczajkowski, this is a regression. It may be related to the javascript choice-picker, but I think the real issue is that the code that decides to render them thinks you have to be a driver13:20
sinzuiczajkowski, The code really did you to be a driver two years ago, that was fixed, but I think the links were never updated13:20
czajkowskihmm13:20
sinzuiczajkowski, this broke 12 months ago when the blueprints switched to the choice picker for everything13:21
czajkowskisinzui: nods well at this time of cycle it's probably going to be used a lot13:22
sinzuiczajkowski, do you see the assignee edit icon next to your name?13:24
czajkowskisinzui: I do now on https://blueprints.qastaging.launchpad.net/gdp/+spec/gdplaunchpad13:26
=== jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett, rick_h* | Firefighting: - | Critical bugtasks: 4*10
* jcsackett almost forgot it was thursday.13:51
sinzuiczajkowski, do you manage a project on qastaging that would could create a blueprint for and make me the assignee?14:24
* sinzui wrote a test that shows the assignee gets the edit link14:24
czajkowskiI dont manage any project14:25
sinzuiczajkowski, https://qastaging.launchpad.net/projects/+new register a project, configure blueprints, create one, make me the assignee14:26
sinzuiczajkowski, This widget we are looking at happen to be the only widget that does not work for IE...maybe the problem is bigger than we thought14:27
czajkowskiok14:27
sinzuiPS I care because we are using this widget to replace the privacy/security checkboxes14:27
czajkowskiok created now to configure blueprint14:29
czajkowskisinzui: dont see anything to configure bp14:30
sinzuiczajkowski, its on the right side of the project page, and the link is repeated on the blueprint page14:32
czajkowskisinzui: otp14:34
sinzuiack14:34
abentleyadeuring: You wanted me to review https://code.launchpad.net/~adeuring/lazr.jobrunner/use_job_repr_in_logging/+merge/98821 ?14:36
adeuringabentley: right14:37
adeuringabentley: and https://code.launchpad.net/~adeuring/launchpad/lp-lazr.jobrunner/+merge/9745814:38
abentleyadeuring: It looks a bit strange.  Most reprs either resemble instance construction, like "BranchScanJob(id=5)" or have angle brackets like "<BranchScanJob>".14:38
czajkowskisinzui: https://blueprints.qastaging.launchpad.net/conference-planning/+spec/test14:38
adeuringabentley: well, we can use that too; I just wanted minimal changes that don't require related changes in the tests ;)14:39
abentleyadeuring: Just "BranchScanJob" doesn't look like a repr to me.14:39
sinzuiczajkowski, :( it looks right. I see the definition and implementation edit icons14:39
sinzuiand I just changed one14:40
* sinzui switches to firefox14:40
adeuringabentley: I agree. But that's how it looked so far ;) (unless the derived class had its own __repr__ method)14:40
sinzuibugger. Why does this work for me14:41
abentleyadeuring: Is the job_str method really related to this?14:43
adeuringabentley: yes, is it used in the logger calls14:45
adeuring...in runJob() and runJobHandleError()14:45
abentleyadeuring: It doesn't seem to be used in the messages about MembershipNotificationJob that you changed, for example.14:46
adeuringabentley: job_str() is used in runJob() and runJobHandlerError(), in self.logger.info().14:49
abentleyadeuring: You've changed it to use job_str in the "Running " message.  It used to use %r.  And that's why you're now changing job_str to use %r.14:53
sinzuiczajkowski, I think I sussed it. the bug is about the "Status:" field only. No one can edit "status" because it is a summary of "Direction", "Definition", and "Implementation"14:56
sinzuiczajkowski, so back to https://blueprints.qastaging.launchpad.net/gdp/+spec/gdplaunchpad . Do you see a yellow edit icon next to Definition Approved and Implementation started?14:57
czajkowskisinzui: yes15:02
sinzuithanks. I will update this bug, then stop panicing15:02
czajkowskiheh15:03
czajkowskicheers the help15:03
czajkowskiwhy are there so many erp projects trying to triage one outta our queue and into theirs15:05
sinzuiyuck. That is messy15:08
sinzuiczajkowski, choose openerp15:09
czajkowskisinzui: cheers15:12
=== matsubara is now known as matsubara-lunch
jmlhttps://code.launchpad.net/~jml/lazr.restfulclient/multiple-instance-safe/+merge/9887316:16
=== al-maisan is now known as almaisan-away
=== salgado is now known as salgado-lunch
jmlrick_h: thanks for the review. I'm guessing that '*' is still Launchpad secret squirrel code for the fact that it needs a review by another full fledged reviewer?17:25
rick_hjml: yes, I'm in training. I've asked my mentor to peek as well17:25
jmlrick_h: thanks :)17:26
=== matsubara-lunch is now known as matsubara
=== salgado-lunch is now known as salgado
lifelessgary_poster: I wonder if regular ec2 land is suffering entropy issues18:12
lifeless / ec2 test18:12
gary_posterlifeless, yeah, me too.  I brought that up with Francis.  There are reasons why parallel testing woud have it worse, but yeah, I thought it might be an interesting experiment18:13
gary_posteron call right now though :-)18:13
lifelessgary_poster: cool cool, did you get anywhere on the hanging-at-the-end thing? or did that turn out to be entropy too? (reply when you can, no rush)18:14
gary_posterlifeless, was entropy18:15
lifelessfascinating18:15
lifelessthanks18:15
lifelesssalgado: hi, how did you go ?18:56
lifeless(I'm about to afk for 10 to give lynne a hand, so just braindump :P)18:56
salgadolifeless, haven't had much time for it, but I was able to extend search_bugs() without breaking any tests.  now I'll try and use it in my method18:59
* deryck changes work locations19:03
czajkowskisinzui: so folks are going to get confused if they are used to being able to change their status of a blueprint and not can't19:03
sinzuiczajkowski, lp never let someone change specification.status. it is a summary calculates by Lp with the definition and implementation status change19:10
sinzuiThe rules have not change for 6 years19:11
sinzuis/calculates/calculated/19:11
lifelesssalgado: great19:12
sinzuiczajkowski, that url I showed you (https://blueprints.qastaging.launchpad.net/gdp/+spec/gdplaunchpad/+status) is called +status because the assignee/driver needs to change those two fields to set the overall status19:13
czajkowskihm ok19:14
czajkowskithanks19:14
czajkowskisinzui: thanks19:14
salgadolifeless, http://paste.ubuntu.com/895534/19:30
lifelesssalgado: cool19:31
salgadolifeless, it doesn't seem to do eager loading, though.  maybe I'm missing something19:39
mhall119is there a way to reference a project's development focus bzr branch using the HTTP urls?19:44
salgadolifeless, hmm, looks like it's doing it but with one query for every related table.  is that how search_bugs() work?19:50
lifelesssalgado: one per related table is fine ;)20:48
salgadolifeless, right, but BugTaskSet.search() is hard-coded to do it only for Product/SourcePackageName, so I need to prejoin the others.  either that or use search_bugs() directly20:51
lifelesssalgado: you can extend bugtaskset.search to do more; you can eager load after you get the batch back20:52
lifelessprejoining is bad20:52
lifelessit makes postgresql slow20:52
amorphous1jcsackett, hi there. Is there going on with launchpad? I'm truing to 'Propose Merge' but it's not going through21:14
=== matsubara is now known as matsubara-afk
amorphous1rick_h, ^21:25
rick_hamorphous1: what mp is this? do you get an oops number back?21:26
=== rick_h changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: jcsackett | Firefighting: - | Critical bugtasks: 4*10
amorphous1rick_h, hm...it seems that's ok now...but it stayed like that for over 90 minutes21:33
=== salgado is now known as salgado-afk
rick_hamorphous1: ok, if you happened to have an oops number or something I can go off of error wise I can look into it, but not sure without21:41
amorphous1thanks rick_h , I'll look into it next time if it happens21:43
=== jcsackett changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugtasks: 4*10
wgrantrick_h: Probably bug #96112622:05
_mup_Bug #961126: +register-merge JS doesn't handle form validation errors <regression> <ui> <Launchpad itself:Triaged> < https://launchpad.net/bugs/961126 >22:05
wgrantwallyworld: ^^22:05
* wallyworld looks22:05
wgrantwallyworld: http://www.youtube.com/watch?v=qKc7mhy6t2s22:30
rick_hwgrant: when the tests run, is apache setup on the test box?22:32
wgrantrick_h: No.22:33
rick_hwgrant: ok, didn't think so, but wanted to dbl ckeck22:33
wgrantwallyworld: I don't understand the "'NOTHING' as permission22:41
wgrant" bit in findGranteePermissionsByPolicy22:41
wallyworldwgrant: it's a placeholder22:41
wgrantIs that just so Storm knows about the column?22:41
wallyworldyes22:41
wallyworldand a failsafe22:41
wgrantRight.22:41
wgrantI still don't see a DISTINCT there.22:42
StevenKwgrant: .set() might not work -- https://bugs.launchpad.net/storm/+bug/625071 ?22:42
_mup_Bug #625071: permit updates to fields on the far side of joins <Storm:New> < https://launchpad.net/bugs/625071 >22:42
wallyworldwgrant: look harder22:42
wallyworldwgrant: stormrangefactory and batching and decorated result sets suck - the main query is executed twice22:43
wgrantStevenK: You have to construct the query manually.22:43
wgrantStevenK: You can use Storm, but you can't use the existing attachments collection.22:43
StevenKwgrant: Why not, it's a DRS. :-(22:44
wgrantStevenK: wut?22:44
wgrantOh, attachments is?22:44
wgrantThen you may be able to.22:44
wgrantYou can if you can.22:44
wgrantYou can't if you can't.22:44
wgrantwallyworld: Ah, right, I was misled by it still taking a grantees arg.22:45
StevenKwgrant: Yes, attachments_unpopulated returns a DRS directly.22:45
wgrantwallyworld: Forgot that was the full query now.22:45
wgrantLooks reasonable.22:46
wgrantWill check qastaging in 10 hours :/22:46
wallyworldwgrant: the grantees arg is used by a callsite in the service22:46
wgrantYep.22:47
=== mwhudson_ is now known as mwhudson
=== wallyworld changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: wallyworld | Firefighting: - | Critical bugtasks: 4*10

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