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

spmstaging: make: *** No rule to make target `lib/canonical/launchpad/icing/yui/yui/yui-min.js', needed by `lib/canonical/launchpad/icing/build/launchpad.js'.  Stop. <== new problem?00:28
wgrantspm: See #launchpad-ops' topic.00:30
wgrantspm: I fixed it last week, but then the fix was reverted, so I refixed on Saturday, but then buildbot decided to sulk.00:31
lifelesswgrant: I've filed bug 808557 about the TEMP kludge00:31
_mup_Bug #808557: no way to control hand-off of temporary list files <Testrepository:Triaged> < https://launchpad.net/bugs/808557 >00:31
spmwgrant: haha00:31
spmright. no worries. thanks00:31
lifelesswgrant: I've landed the --subunit --list fi00:34
lifelessx00:34
=== poolie_ is now known as poolie
wallyworld_wgrant: there's revsions needing qa which are broken due to longpoll.js not being included in the build. the Makefile should have been updated when the longpol stuff landed. i've done a fix00:59
wallyworld_wgrant: can you +1 this and i'll lp-land https://code.launchpad.net/~wallyworld/launchpad/fix-js-build-paths/+merge/6747301:00
pooliehi all01:00
wallyworld_hello01:00
wgrantwallyworld_: '*lib/lp/*/javascript/*'01:17
wgrantwallyworld_: Why the prefixed *?01:17
wallyworld_wgrant: typo i think01:17
wallyworld_it works but needn't be there01:17
wallyworld_i'll remove it and double check01:18
wgrantSo, how does this fix things?01:18
wallyworld_wgrant: the * is needed since the expression is in a -path parameter instead of as an argument to find itself01:21
wallyworld_but it should be */lib not *lib01:21
wgrantwallyworld_: lib is in the cwd.01:22
wallyworld_this fixes things by being more permissive in the javascript that is included in the concat into launchpad.js01:22
wgrantMore permissive how?01:22
wgrantIt seems to be more restrictive.01:22
wallyworld_wgrant: lib is in the cwd but it doesn't work without the */01:22
wallyworld_i'm guessing due to how -path works compared to passing the search dir as an argument to find01:23
wgrantwallyworld_: ./lib01:23
poolielifeless: i was wondering the other day if 'user notifications' would work well as a split out service too01:23
poolieit seemed like they might01:24
wallyworld_wgrant: yes, ./lib works too01:24
lifelesscould do yes01:24
wallyworld_i'll use that01:24
wgrantwallyworld_: So, the real change here is that -path doesn't treat / specially, I guess. So the * in the middle matches app/longpoll.01:25
wallyworld_wgrant: more permissive in that lib/lp/app/longpoll/javascript/* is included whereas before it wasn't01:25
wallyworld_wgrant: yes01:25
wallyworld_the * in the middle matches app/longpoll01:26
wallyworld_and a bucnh of other things, hence the extra exclusions01:26
wgrantwallyworld_: Does lib/lp/services really need to be excluded?01:28
wallyworld_wgrant: the js files in there were's being packaged previously so i didn't want to include them and risk breaking something01:29
wallyworld_weren't01:29
wgrantk01:30
wgrantinlinehelp.js is evil anyway.01:30
wallyworld_we can relax that exclusion later if required01:30
wgrantSo, fix those three wildcards and it looks OK.01:30
wallyworld_three?01:30
wallyworld_i fixed the ./lib one01:30
wgrantThere's 2x *lib, and a *lp01:31
wallyworld_wgrant: sure, although that style matches how the other exclusions have been done. but i'll make them both ./lib/...01:32
wgrantExcessive wildcards are bad.01:33
wgrantExcluding */tests/* was sane.01:33
wgrantBecause it should match everywhere.01:33
wgrantBut *lp/services/* is not.01:33
lifelessthis ssh thing is weird02:15
lifelessonly affects testr02:15
lifelessif I run the command being run by hand: ~/bin/lxc-start-aufs lucid-test-lp $PWD xvfb-run $PWD/bin/test --subunit --list02:15
lifelessit doesn't trigger02:16
lifelesss/ssh/sudo02:16
lifelessahha02:25
lifelessreproduced02:25
lifelesscat /dev/null |  ~/bin/lxc-start-aufs lucid-test-lp $PWD xvfb-run $PWD/bin/test --subunit --list02:25
lifelesstriggers it02:25
lifelessas does02:28
lifelesscat /dev/null | ~/bin/lxc-start-aufs lucid-test-lp $PWD true02:28
StevenK~/bin/lxc-start-aufs lucid-test-lp $PWD true < /dev/null ?02:29
wgrantlifeless: I guess we want to merge today, don't we?02:38
* StevenK looks at QA for db-stable02:38
wgrantlol02:39
wgrantWell, it's actually not that bad.02:39
lifelessyes we do02:39
* wgrant does his.02:39
wgrantOh, blah, staging is still down.02:39
wgrantHack time.02:39
wgrantLOSA ping.02:39
spmyo02:40
wgrantspm: can has staging?02:40
wgrantIn particular, is there a staging restore running right now?02:40
StevenKr10711 and r10766, ignoring wgrant's revision.02:40
lifelesscan you check the db patch application time for stubs dropping unused column patch02:40
spmthere is one running atm, still doing the nightly02:41
lifelesswgrant: ^02:41
wgrantlifeless: We are at 15 minutes in total.02:41
wgrantI looked this morning.02:41
lifelessok, thats excellent02:41
wgrantNo, it's awful.02:41
wgrantBut we'll live.02:41
wgrantspm: Hm, the nightly is running?02:41
StevenKHaha02:41
lifelessits excellent that we're below budget02:41
wgrantspm: The tree build should have exploded...02:41
spmis from Jul10th, so not sure what's up there02:42
StevenKlifeless: Yes, but wgrant thinks the DB patch budget should be in seconds, not minutes.02:42
wgrantlifeless: http://paste.ubuntu.com/641617/02:42
wgrantspm: Welcome to staging.02:42
wgrantspm: So, you should see approximately lots of errors.02:42
spmheh, yes02:42
wgrantspm: In the earlier tree build steps.02:42
wgrantRight?02:42
wgrantAnd the the appserver failing to start and stuff.02:43
spmCreating bzr-version-info.py at revno 10767 <== can't see any errors02:45
* spm checks asuka. we may have version mismatch02:45
wgrantmake: *** No rule to make target `lib/canonical/launchpad/icing/yui/yui/yui-min.js', needed by `lib/canonical/launchpad/icing/build/launchpad.js'.  Stop.02:45
wgrantShould be lots of that.02:45
spm1076702:45
spmsame there. wtf.02:46
wgrantYes.02:46
wgrantBut the build should have failed.02:46
lifelessStevenK: I think that as well02:46
lifelessStevenK: but massive downtime window - which this is - is the old style layout02:46
spmwgrant: it doesn't seem to be. which is awesome.02:46
lifelessStevenK: for the -new- style stuff, 15m would be untenable02:47
wgrantspm: Hmm, I see errors in the logs. The fix is in devel, but it'll be 6ish hours before it hits staging. We manually applied the patch on Saturday to get the full restore working.02:47
spmwgrant: no I lie. there's one.02:47
StevenKlifeless: Are we using the downtime window to rip out wildcherry so we can fiddle with its disks?02:47
lifelessStevenK: yes02:47
lifelesswe have 90 minutes to cutover, restart servers with new config and apply the patches02:48
StevenKRight, I think stub's revision is qa-ok02:48
wgrantspm: So, since we need to QA today, please kill the current restore, s@`pwd`@../../../..@ in sourcherry:/srv/code/db-stable/launchpad/buildout.cfg, and then staging_restore.sh quick.02:48
StevenKWhich only leaves us r10711. Which we need staging for.02:49
spmwgrant: nasty code hack applied; rockin'. but this is r10767 fwiw.02:54
wgrantspm: That's what I expected, thanks.02:55
wgrantspm: How up to date is lp:lp-staging-scripts' copy of staging_restore.sh? I suspect that sourcherry has a cowboyed change to CHECK_NEW_CODE02:55
lifelesswgrant: i suspect its nscd / upstart or similar cross over02:57
wgrantlifeless: :(02:57
lifelesswgrant: ssh has been excluded02:57
lifelesscan't reproduce if I comment out the container startup02:57
wgrantspm: (afaict the CHECK_NEW_CODE path has not been used since early May, so maybe it was changed around then)03:05
spmwgrant: they're identical afaict03:11
spmboth r4003:11
spmno cowboys on sourcherry03:11
wgrantspm: Have you diffed them? :)03:11
wgrant:(03:11
spmbzr di/st yeah03:11
wgrantThen why is neither branch under CHECK_NEW_CODE ever executed...03:12
spmlogic bug maybe03:12
wgrant(you'll see it logs one of two messages... neither of which have appeared since May)03:12
wgrantspm: Any chance you could investigate? At present it never doesn't update, which makes updates rather slow.03:15
wgrantBecause the nightly jobs run every time.03:15
wgrantEven if there are no changes.03:15
spmhrm03:15
wgrantWhich then blocks the world for 7 hours.03:15
spmindeed03:15
wgrantMeanwhile a new rev landed in db-stable an hour into that run.03:16
wgrantBut is ignored for 7 hours because staging is just that sort of guy.03:16
spmyeah, we know about that nice buglet in our update steps. justhaven't got around to fixing that03:16
wgrantWhich?03:17
wgrantThis all worked fine until two months ago :(03:18
poolieany opinion on what content-type a tarball download should have?03:22
pooliethe current mp has just app/binary03:22
poolieperhaps making it actually tarball is better03:22
StevenKapplication/x-tar?03:23
poolieyeah, i think so03:23
poolieistr specifying the compression is a little tricky if we don't want the browser to try to decompress it03:23
poolie(and we don't)03:23
lifelesstheres three: content type, content encoding, transfer encoding03:24
lifelessce and te are about encoding-for-transfer03:24
lifelessc-t in your case should bzr application/x-tar-gz IIRC, and ce should be identity03:25
lifeless(which is the default)03:25
lifelesswhat some webservers do is ct: application/x-tar and ce: gz, which leads so the bad behaviour you want to avoid03:26
poolieyep03:26
pooliehttp://code.google.com/p/chromium/issues/detail?id=8329203:26
poolieew03:26
poolieapp/x-tgz perhaps03:27
wgrantlifeless: I really hope no webserver is that stupid.03:28
poolieit's a common problem03:28
pooliethus the specific workaround for it in chromium03:28
poolieand probably other places03:28
poolieit's easy to misconfigure server configuration to say *.gz => ce:gz03:28
lifelesswgrant: IIRC apache had it as defaults or something03:28
wgrantlifeless: WTF03:29
lifelesswgrant: anyhow, it was -really- widespread in the early naughties03:29
pooliei think some would say app/binary is safest03:29
poolieyes03:29
wgrantpoolie: You mean application/octet-stream?03:29
wgrantThat's what I would use.03:29
poolieyes03:29
pooliethat's what i meant03:29
lifelesspoolie: I suspect x-tar-gz is easier to do programmatically along with x-tar-zip x-tar-lzma etc03:31
lifelessI don't think application/octect-stream is any safer03:31
wgrantAnything that's likely to tell the browser to keep its dirty fingers out of the file contents is a good thing...03:32
=== wgrant changed the topic of #launchpad-dev to: https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 215 - 0:[######=_]:256
wgranthttp://webnumbr.com/launchpad-critical-bugs is depressing.03:33
lifelessstub has landed my work on batchnav03:35
lifelesswhich is awesome03:35
wgrantHas he?03:35
lifelesswe can close some of the silly api things down now03:35
lifelessyeah03:35
lifelessrev 1339203:36
lifelesswgrant: so /tmp doesn't have sudo tickets anyway03:56
lifelesswgrant: how was that meant to be related ?03:57
wgrantlifeless: No idea.03:57
wgrantlifeless: Maybe it was upstart putting stuff there.03:57
lifelessI suspect its grab-sudo-source time03:57
wgrantBut whatever it was, it was somewhat hiding/invalidating/obscuring/destroying/concealing any valid tickets.03:58
lifelessmadly03:58
wgrantAnd not mounting /tmp fixed it.03:58
lifelessif I run the lxc-start by hand nothing breaks03:58
wgrant:D03:58
lifelessbut if I comment that + the ip grep & ssh out its fine03:59
lifelessif I comment the ssh and ip out on their own it still breaks03:59
lifelessand it only breaks when I cat /dev/null | lxc-start-arufs03:59
poolie_** Branch linked: lp:~stevenk/launchpad/kill-bazaar-experts04:03
poolie_8-O04:03
StevenKpoolie_: You don't like the branch name, or you're surprised I've done it?04:03
poolie_i'm glad you did it04:03
poolie_i'm scared by the branch name ;-)04:03
StevenKHaha04:03
poolie_i think we'll have tarball downloads from bzr soon04:04
poolie_perhaps ready to be proposed to merge today04:05
poolie_lifeless, do you have any performance type concerns about this?04:05
poolie_i wonder if it would be worth marking these things as very cacheable04:05
poolie_... probably it should just land first04:05
=== poolie_ is now known as poolie
lifelesspoolie: I think I've raised them all already04:14
lifeless - we may need additional capacity04:14
lifeless - robots.txt coverage04:14
lifeless - needs to stream to avoid both buffering, high memory use and haproxy killing active requests04:15
lifelesspoolie: you may have missed some discussion about bzr snapshots though04:16
pooliethis does stream04:16
lifelesspoolie: I'm somewhere betwen moderately and highly uncomfortable running non released bzr's these days04:16
pooliegood point about robots04:16
pooliewhen/where was the discussion?04:16
lifelesscapacity isn't a reason not to land this, its just a consideration on the ops side04:17
lifelesspoolie: here, on friday I think04:17
poolieistr you once telling me that every mainline commit is a release04:17
poolieor more than once :)04:17
lifelesspoolie: that was before the policy change on deprecations04:17
pooliehm04:18
pooliethat's true chronologically04:18
lifeless(and associated expectations)04:18
poolieanyhow04:18
pooliei believed that the policy was lp would run the betas04:19
pooliedoes that count as released or not?04:19
lifelessI don't know : perhaps its best if I lay out my concerns04:20
pooliei don't think our current policy is any more likely to break lp than the old one04:20
poolieand i think non rigorous data from landing failures supports this04:20
pooliebut, it's a separate matter04:20
pooliego ahead04:20
lifelessthere are, I think, two facets04:20
lifelessone is resourcing04:20
lifelessthe other is likelyhood of a failure reaching production04:21
lifelesson the resourcing side, monthly updates where there are API breaks changes the cost/benefit equation04:21
lifelessthis is more a flacoste thing to assess04:22
lifeless*if* the bzr team drive landing of betas, I don't have a concern here04:22
pooliehm04:23
pooliewell, let's work out what has the best cost benefit, rather than who pays the cost04:23
lifelessthe other facet is more difficult to reason about, I think, because failures can be so varied04:23
lifelessI'm mainly concerned about things like the change to fetch tags (which IIUC isn't in a released bzr yet)04:24
lifelessbut which broke - and is still broken - svn imports04:24
pooliedo you want to go to voice?04:24
lifelessthings which I (perhaps wrongly) expect the beta process to tease out04:24
lifelesssure04:24
lifelesslet me change rooms04:24
=== almaisan-away is now known as al-maisan
=== wgrant changed the topic of #launchpad-dev to: devel in RC until r13402 deployable | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 215 - 0:[######=_]:256
StevenK215 !? :-(06:39
StevenK /wrists06:39
=== al-maisan is now known as almaisan-away
spivdanilos: you'll be happy to know I've merged your current expander-anim into my bmp-inline-diffs and resolved conflicts without much trouble07:21
nigelbStevenK: I share the same sentiment :)07:24
nigelbstub: Thanks to the world being a small world, I recently had a chat with someone at Mozilla who went to college with you :)07:25
stubWeird. I've lost contact with nearly everybody I went to uni with :-)07:26
nigelbheh, being the Ubuntu person on that network, we just compared notes on how many people we knew in common07:27
stubOh... I think I know who. Still vaguely in contact with her.07:27
nigelb:)07:29
jtvHi henninge!07:40
henningeHey jtv! ;)07:41
jtvhenninge: if you're reviewing today then I have a job for you right off the bat.  :)  https://code.launchpad.net/~jtv/launchpad/bug-806946/+merge/6730207:41
henningejtv: wow, how thoughtful of you ... ;-)07:42
jtvWell, you know me.  :)07:42
henningejtv: I have just returned to my desk for the first time since Dublin, so I am not all ready yet but I will look at your branch as soon as I am.07:43
jtvhenninge: oh, I forget that you've been away!07:43
jtvSo never mind, I'll bother someone else.07:43
jtvSuch as stub.07:43
* stub is looking07:46
adeuringgood morning07:57
jtvhi adeuring!08:00
adeuringhi jtv!08:00
jtvhi mrevell08:09
mrevellHello friends08:09
jtvAnyone else getting mailman build failures?08:10
bigjoolsmorning all08:17
wgrantMorning bigjools.08:19
bigjoolshalp.  email.  halp.08:19
wgrant:(08:19
jtvmorning bigjools — drowning in email?08:20
jtvthanks stub08:20
bigjoolsjtv: not waving, so I must be08:20
jtvLook at the bright side.  Your mortgage will be 3 inches longer and you'll have a nice acai-berry rolex.08:21
jtvAnd no, unity 2d, "mumble" does not mean "remember that file utils.c?  I'd like to open it in gedit."08:23
=== henninge changed the topic of #launchpad-dev to: devel in RC until r13402 deployable | https://dev.launchpad.net/ | On call reviewer: henninge | Critical bugs: 215 - 0:[######=_]:256
jtvthanks henninge — that was very quick!08:53
gmblifeless: Did you get chance to take another look at https://code.launchpad.net/~gmb/launchpad/private-branches-bug-657004/+merge/65639?09:14
=== almaisan-away is now known as al-maisan
lifelessgmb: I hadn't, no.09:29
gmblifeless: I think I've dealt with your concerns; I'll get a review from our fine, upstanding OCR and we'll bounce it back to you if we've any further worries.09:32
gmbHow's that sound?09:32
wgrantFail.09:39
wgrantqa-bad ftw09:39
StevenKwgrant: Which one?09:39
wgrantwallyworld's JS build qa-bad fix.09:39
wgrantIt deliberately omits the YUI accordion widget that hideously haunts lib/lp/contrib09:40
=== Beret- is now known as Beret
wgrantBut it is needed.09:40
lifelessgmb: I've done an actual review for you09:41
gmblifeless: Ah, thankee kindly.09:43
wgrantrvba: Hi09:56
rvbawgrant: Hi!09:57
wgrantrvba: Your longpoll JS produces two "yui: NOT loaded: lang" warnings on load. Is that OK?09:57
rvbawgrant: mm ... I don't think it's a problem but I'll look into it.09:58
wgrantrvba: This is blocking a rollback to fix QA for the deployment, so it is critical-critical.09:58
wgrantIt seems OK, though.09:59
rvbawgrant: yeah, I really think it's OK.09:59
wgrantI guess lang is probably core?09:59
rvbaI'm not sure ...10:00
wgranthttp://developer.yahoo.com/yui/3/yui/ suggests it is.10:01
wgrant"10:01
wgrantAll of this functionality is available in the YUI Core:10:01
wgrant[...] lang10:01
wgrant"10:01
rvbaIndeed.10:01
wgrantHm.10:01
wgrantBut they are listed as modules...10:01
rvbaIIRC It was a separate module in YUI 210:02
rvbaPerhaps that's the reason why it's not clear ...10:02
rvbawgrant: How is this blocking you?10:03
wgrantrvba: The fix to fix the broken longpoll stuff is itself broken, and I don't know if my fix for that fix is good.10:03
wgrantBecause now it's throwing warnings, but otherwise working AFAICT.10:04
wgrant(bug #808561_10:04
_mup_Bug #808561: longpoll.js is not included in launchpad.js during make <bad-commit-13401> <qa-bad> <Launchpad itself:Fix Committed by wallyworld> < https://launchpad.net/bugs/808561 >10:04
wgrantAh, 13WAAFAXG!10:04
=== 13WAAFAXG is now known as wallyworld
wallyworldwgrant: saw the qa :-( want me to fix it? i excluded the contrib because i could have sworn the accordian was not in the original lp,js when i check the stdout :-(10:05
wgrantwallyworld: I have a fix here, but now that longpoll is loading it's throwing warnings about lang not being loaded.10:05
wgrantI suspect because it's core.10:05
rvbawgrant: I think you're right.10:05
wgrant(the only other file differences are two from */testing/*, the omission of which is harmless)10:06
wallyworldyes, and we don't want those testing files10:06
wgrantI'll drop lang from the requires.10:07
rvbawgrant: Yes.10:07
wallyworldwgrant: from requires in longpoll.js ?10:07
rvbaIt will blow up badly if the lang module is not loaded.10:07
wgrantwallyworld: Yes.10:07
wgranthttp://paste.ubuntu.com/641774/?10:08
wgrantJust testing now...10:08
rvbaTesting it now too ...10:09
rvbaDoes not seem to break the tests ...10:09
rvbaAnd the warning (I had that turned off :() is gone.10:09
wgrantAnd the warnings are gone.10:09
=== wgrant changed the topic of #launchpad-dev to: devel in RC until r13403 deployable | https://dev.launchpad.net/ | On call reviewer: henninge | Critical bugs: 215 - 0:[######=_]:256
wgrantOops.10:33
wgrantRolled back with the bug instead of rev.10:33
jml*blink*10:33
=== jtv is now known as jtv-eat
=== henninge is now known as henninge-lunch
=== henninge-lunch is now known as henninge
=== henninge is now known as henninge-lunch
=== henninge-lunch is now known as henninge
=== henninge is now known as henninge-lunch
=== benji changed the topic of #launchpad-dev to: devel in RC until r13403 deployable | https://dev.launchpad.net/ | On call reviewer: henninge, benji | Critical bugs: 215 - 0:[######=_]:256
=== matsubara-afk is now known as matsubara
=== jtv-eat is now known as jtv
=== Ursinha-afk is now known as Ursinha
=== henninge-lunch is now known as henninge
henningeadeuring: matt asked for some lines about the web service bug we fixed in Dublin.12:59
henningeadeuring: I saw that you landed it. Thank you very much for that! ;-)12:59
adeuringhenninge: well, it had to be reverted: caused a regression13:00
henningeadeuring: oh :(13:00
henningeadeuring: are we fixing that?13:00
henningeis there  a  bug number?13:00
adeuringhenninge: not yet... for the regression, for example ooops 2013AP6413:00
henningeadeuring: "not yet" about fixing it or about a bug number?13:02
adeuringhenninge: I haven't done any work yet13:02
henningeadeuring: the traceback is not very helpful. Any idea what's causing it?13:04
adeuringhenninge: no... wgrant blamed our branch for the oops...13:04
deryckMorning, all.13:18
abentleyderyck: morning.13:18
jtvDid we break the makefile?13:20
jtvWhen I "make -j2" in a fresh branch, I get13:20
jtvmake: *** No rule to make target `lib/canonical/launchpad/icing/yui/yui/yui.js', needed by `lib/canonical/launchpad/icing/build/launchpad.js'.  Stop.13:20
deryckjtv, update download-cache maybe?13:21
jtvI did a rocketfuel-get this morning.13:21
jtvRepeating the "make" command gets me past the problem.13:21
jtvSo strikes me as a missing dependency in the makefile.13:22
abentleyderyck: I'm having sound difficulties.13:32
=== salgado is now known as salgado-lunch
=== al-maisan is now known as almaisan-away
cr3hi folks, I think I understand why bug cannot be assigned to a distroarchseries but I wouldn't mind hearing an explanation :)14:45
cr3s/bug/bugtask/14:45
abentleybac: I'd like to touch base about the json cache at some point.14:55
bacabentley: sounds good14:55
abentleyI guess this is your first day back from vacation.  Any time good for you?14:55
bacabentley: 2:00 US/East today?15:04
abentleybac: Sounds good.15:04
=== henninge changed the topic of #launchpad-dev to: devel in RC until r13403 deployable | https://dev.launchpad.net/ | On call reviewer: benji | Critical bugs: 215 - 0:[######=_]:256
=== salgado-lunch is now known as salgado
=== matsubara is now known as matsubara-lunch
bigjoolsanyone got any ideas what's up here? http://pastebin.ubuntu.com/641976/15:52
nigelbWhat tz is wallyworld?15:52
bigjools+1015:54
nigelbok, this is going to be tricky.15:56
nigelbI'll have to wake up early to catch him.15:56
cr3is there something like a source_package in Launchpad but that also refers to the distro arch series, rather than just the distro series like source_package?16:22
=== matsubara-lunch is now known as matsubara
=== deryck is now known as deryck[lunch]
cjwatsonCould somebody allocate a database patch number for me for lp:~cjwatson/launchpad/multiarch-translations?  A suitable description might be "DistroSeries.split_long_descriptions"16:45
* cjwatson is reading https://dev.launchpad.net/PolicyAndProcess/DatabaseSchemaChangesProcess with some care16:46
bigjoolsanyone know if there's a way to determine which version of the API is being used in the method being called?16:52
cjwatsonwgrant: I can't remember if I asked; for backports_not_automatic, how did you go about getting it set to True for oneiric?  I don't see it in the UI or API16:52
=== beuno is now known as beuno-lunch
wgrantcjwatson: It was SQL, sadly.17:08
wgrantcjwatson: You could probably expose this through the API, I guess.17:09
cjwatsonwgrant: it'll only have to be done once, so if people don't mind SQL then that's a smaller code change ...17:11
cjwatson(I guess that's a question)17:11
wgrantThey do mind SQL.17:11
wgrantAnd API exposure is easy.17:11
wgrantSo...17:11
cjwatsonbut not for you, clearly :-)17:11
cjwatsonbut OK17:11
wgrantBut permissions are a bit awkward.17:11
wgrantYou now have a patch number of 2208-79-017:11
cjwatsongreat, thanks17:11
cjwatsonif you have pointers to stuff I can read for permissions, that'd be good17:11
wgrantcjwatson: https://dev.launchpad.net/LaunchpadSecurityPolicy is something, but it's not really what you want.17:13
wgrantcjwatson: lib/canonical/launchpad/security.py defines who has launchpad.Edit/launchpad.View etc. for each interface.17:13
wgrantAnd lib/lp/registry/configure.zcml maps from permissions to read/write of attributes.17:14
wgrantOr to read/write of interfaces, in which case all of the interface's fields are permitted.17:14
* wgrant wanders off.17:29
flacostei'm looking for a reviewer for https://code.launchpad.net/~flacoste/launchpad/bug-801233/+merge/6735317:41
flacostesoyuz-related17:41
flacostebut probably not critical to have soyuz-fu17:41
flacosteas it's mainly an api-export one17:42
flacostebac you might even be interested in it :-)17:42
flacosteas it builds on your previous processor export17:42
bacflacoste: i'll be happy to look at it in a little while.17:42
flacostebac, ok thanks17:44
bacabentley: mumble? skype?17:59
abentleybac: let's mumble18:00
bacabentley: trying...18:01
abentleybac: you don't hear me?18:01
bacnope18:01
abentleybac: the lips are turning red, so I think my side's okay.18:02
abentleybac: yes, I can hear you okay.18:02
abentleybac: Do you prefer Skype?18:03
bacabentley: well, it works for me18:03
abentleybac: Let's do that, then.18:03
bacabentley: i am brad.crittenden18:04
=== Ursinha is now known as Ursinha-lunch
=== beuno-lunch is now known as beuno
abentleybac: bzr+ssh://bazaar.launchpad.net/~abentley/launchpad/json-serialization18:14
abentleybac: bzr+ssh://bazaar.launchpad.net/~abentley/launchpad/getnewcache18:14
gmbwgrant: Do you remember how to make the librarian stop serving .tar.gzs as text/html?18:30
gmblosa ping18:32
mbarnettheya gmb18:33
gmbmbarnett: Howdy! For some reason the Librarian is serving http://launchpadlibrarian.net/73387253/testtools-0.9.11.tar.gz as text/html; I know that wgrant mentioned that this was a known bug, but I don't remember if he told me what we need to do stop it. Do you have any ideas?18:34
gmb(Incidentally, I know it's not normally text/html because it worked fine yesterday)18:34
mbarnettgmb: not off the top of my head.  Unless getting cached changes how it gets served.  I will have to do some investigation to see what exactly is going on.18:35
gmbmbarnett: Thanks.18:35
abentleygmb: I've seen that bug.  Let me see if I can dig it up.18:36
gmbabentley: Thanks.18:36
abentleygmb: Is this your bug? https://bugs.launchpad.net/launchpad/+bug/70380718:36
_mup_Bug #703807: launchpad sometimes serves download files as content-type text/html <regression> <Launchpad itself:Triaged> <pyOpenSSL:New> < https://launchpad.net/bugs/703807 >18:36
* gmb wonders why that didn't come up in his original searches.18:37
gmbabentley: Thank you. Many eyes make all bugs easy to find...18:37
abentleygmb: hehe.18:38
cr3what's the convention in Launchpad when naming attributes? foo_bar or foobar?18:38
gmbmbarnett: According to that bug ^^ it is a caching problem of some sort: https://bugs.launchpad.net/pyopenssl/+bug/703807/comments/2118:38
_mup_Bug #703807: launchpad sometimes serves download files as content-type text/html <regression> <Launchpad itself:Triaged> <pyOpenSSL:New> < https://launchpad.net/bugs/703807 >18:38
abentleycr3: foo_bar18:39
gmbmbarnett: So I shall now endeavour to remember how the hell to use Curl and report back...18:39
cr3abentley: thanks!18:40
abentleynp18:40
cr3abentley: productseries = Choice(... what's the deal with that and lots of other attributes under IBugTask? old convention?18:41
mbarnettgmb: heh18:41
abentleycr3: productseries is a bit of a compound word.  And yes, I don't think we've been very strict about it.18:42
gmbmbarnett, abentley: Cache-control: no-cache fixed it. Weird. I'll add a note to the bug. Also, if anyone sees wgrant around, tell him it happened. If we get him wound up enough he'll either complain until it gets fixed or fix it himself whilst I sleep.18:44
mbarnettgmb: i'll make a note in my daily report as well, see if the new blood has any ideas off hand.18:52
gmbCool.18:52
* gmb -> afk for the evening. Nytol.18:53
bacflacoste: the docstring for getBuildQueueSizes is confounding the wadl generator18:58
flacostebac: really?18:59
bacflacoste: really!18:59
* flacoste checks18:59
flacostebac: how did you get this? make clean && make still works here?19:05
bacflacoste: make is broken wrt to api generation19:05
flacostenot for me :-(19:05
bacflacoste: i mean, it doesn't do anything19:06
bacflacoste: rm -rf lib/canonical/launchpad/apidoc ; make build19:06
flacosteah right19:06
flacosteah ok, so how did you get the error?19:06
flacosterunning lp-create-wadl-and-apidoc also works here19:06
bacby doing the above, and looking at the output.  it won't fall-over fail but does print errors19:06
flacostebac: i only get the usual 'Unknown entry url'19:07
flacostebac: can you pastebin what you get?19:08
bacyep19:08
bacflacoste: http://pastebin.ubuntu.com/642108/19:13
flacostebac: thx, i guess i can fix that easily19:16
benjiflacoste: when you get a chance I'd appreciate a look at my 781600 branch: lp:~benji/launchpad/bug-78160019:22
flacostebenji: ack19:22
=== matsubara is now known as matsubara-afk
bacflacoste: r=bac19:43
lifelessmoin moin19:44
=== lifeless changed the topic of #launchpad-dev to: devel in RC until r13403 deployable | Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: benji | Critical bugs: 215 - 0:[######=_]:256
lifelessflacoste: hi20:00
flacostehi lifeless20:00
flacostebac: thanks!20:00
bacflacoste: np.  did you figure out the docstring weirdness?20:00
=== Ursinha-lunch is now known as Ursinha
flacostebac: not yet20:02
gary_posterwgrant, ping?20:17
sinzuijcsackett, do you have time to mumble?20:19
gary_posterlifeless, hi.  Do you happen to know if the code bigjools, wgrant & co did at the thunderdome has a generic LP Rabbit consumer as part of it?20:19
gary_posterI'm not sure where branch would be20:20
jcsackettsinzui: 15 min? Don't want to lose the thread of what I'm looking at.20:20
sinzuijcsackett, okay20:21
lifelessgary_poster: it doesn't, I'm pretty sure20:21
lifelessgary_poster: sorry, OTP with flacoste20:21
gary_posterlifeless, ok np thanks20:21
jcsackettsinzui: wrapped up a bit faster than i thought. i can mumble now.20:28
sinzuijcsackett, I will restart20:35
jcsackettsinzui: i think it may have been me, actually.20:40
sinzuijcsackett, maybe, but now thunderbird wants 50% if my cpu20:41
wgrantgary_poster: Hi20:54
gary_posterflacoste, danilos evaluated escalated bug 775691 and in the last comment said that he thought we ought to lower the priority, and described what needed to happen (migration, essentially, AIUI).  Should I contact David Planella and see if this addresses his concern, or should I regard the migration that danilos described as the escalated task?20:54
_mup_Bug #775691: Empty translations on one side do not get translated by the other side <escalated> <not-pie-critical> <upstream-translations-sharing> <Launchpad itself:Triaged by yellow> < https://launchpad.net/bugs/775691 >20:54
wgrantgary_poster: There is a rabbit client in lp.services.messaging.20:55
wgrantgary_poster: Not sure how suitable it is for you.20:55
gary_posterhi wgrant.  thanks for ponging.  I was wondering how your long poll work consumed rabbit events on the Launchpad side.  I saw that client and it was only a publishing queue afaict20:55
wgrantgary_poster: Ah, we don't consume in LP yet.20:56
gary_posteroh ok20:56
wgrantgary_poster: That's done by lazr.amqp.20:56
gary_posteroh?20:56
wgrantIt's an external twisted daemon.20:56
gary_posterah!20:56
gary_posterdoes it have access to the LP db?20:56
wgrantHmm, but the tests should do consuming.20:56
wgrantLet me see.20:56
wgrantNo!20:56
wgrant'tis a microservice.20:56
gary_posteryeah, that's what I thought20:56
wgrantgary_poster: RabbitQueue.receive20:56
wgrantIn lp.services.messaging20:56
wgrantTests use it.20:57
wgrantIt is not really production-ready.20:57
gary_posterbut I'm not sure how you are able to do what you need without access to the db20:57
wgrantstub and bigjools couldn't work out how to do timeouts.20:57
wgrantSo they hacked that together.20:57
gary_poster:-)20:57
gary_posterk lemme look20:57
wgrantImprovements welcome!20:57
wgrantYay, qastaging works now.20:58
wgrantAnd staging is up too.20:59
wgrantGood news.20:59
gary_posterwgrant, cool.  ...lazr.amqp does not need db access because the only thing it needs is to convey rabbitmq messages to long poll (browser) clients?20:59
wgrantgary_poster: Right. It basically bridges Apache and rabbitmq.20:59
gary_postergotcha.  ok thanks much wgrant!21:00
wgrantThe browser gives it a queue name to listen for, and it returns any messages that come through it.21:00
gary_postergotcha21:00
wgrantlifeless: Looks like we are green, but I will poke around on qastaging a bit more, given recent happenings.21:00
lifelesscool!21:01
* gary_poster goes to prepare cooking stuff21:02
gary_posternight21:02
=== benji changed the topic of #launchpad-dev to: devel in RC until r13403 deployable | Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 215 - 0:[######=_]:256
wgrantLooks OK to me.21:33
wgrantlifeless: Any objections to reopening?21:33
lifelesswe're qa-ok ?21:41
lifelessmm21:41
lifelesswgrant: lets get the prelude revisions NDT deployed21:41
wgrantlifeless: We're as far as we can.21:41
lifelesswgrant: and wait a little for regressions from them21:41
wgrant13389 is bad.21:41
wgrant13401 fixed it.21:42
wgrantBut was bad.21:42
wgrant13402 is the merge.21:42
wgrant13403 fixes the bad bad fix.21:42
lifelesshow did 13389 be untestable ?21:42
wgrantIt was landed without a bug.21:42
lifelessok21:43
lifelessjust looking21:43
lifelesstrying to assess whether we should expect more cascade qa-fail21:43
wgrant13391, 13392 are of some concern to me.21:43
lifelessI can see that21:44
lifelessnothing could possibly go wrong with them21:44
lifelesslets spend some time this morning kicking tires on those on qastaging21:45
wgrantYeah21:45
lifelesshas the hwdb api changes been played with ?21:45
wgrantbac: Hm?21:45
wgrantlifeless: No.21:45
wgrantcr3: Around?21:45
lifelesscr3: ping21:45
lifelesshah, over to you :)21:45
bacwgrant: re: the ppa question?  i thought you may be able to answer the user.21:46
wgrantProbably. But I'm not maintenance any more.21:46
wgrantBut let me see.21:46
bacwgrant: thx21:46
cr3lifeless, wgrant: yep, pong, what's up?21:47
wgrantcr3: Have you tested your change out on qastaging at all?21:47
wgrantbac: The packages are there AFAICT :/21:47
cr3wgrant: crap, totally scripped my mind. I'll do it this evening, then I set it to qa-ok, right?21:47
wgrantcr3: That would be great, thanks.21:47
cr3skipped my mind even :)21:47
cr3wgrant: thanks for the reminder!21:47
wgrantlifeless: What's changed in the new batchnav? Just addition of the memo= arg, with no functional changes for our collectioins yet?21:50
lifelesswgrant: yeah21:55
lifelesswgrant: infrastructure and a default adapter that makes things work much as they did before21:55
lifelesswgrant: urls change slightly21:55
lifelesswgrant: (consistent ordering of parameters)21:56
lifelesswgrant: its possible, if someone was manually predicting the urls to use, that things will break21:56
lifelessbut AFAICT nothing did that21:56
wgrantWell, batchnav does.21:57
wgrantBut it seems to work, AFAICT.21:57
wgrants/batchnav/lazr-js/21:57
lifelessit does?22:07
lifelessI thought lazr-js read the next_link ?22:08
wgrantlazr-js pickers provide page number links.22:08
lifelessyeah22:08
lifelessthe api for that python side generates those batches22:08
lifelessand queries for their urls22:08
wgrantOh, really?22:08
wgrantAnyway, we own lazr-js now, so we should stop it from doing that.22:08
lifelessthe new batchnav supports start-nonce=XXXX + offset=YYYY22:09
lifelessso we can do that efficiently without creating the batches22:09
wgrantAhh22:09
lifelessbut its not all wired up to do that22:09
wgrantStill, the numbers are fairly pointless.22:09
lifelessyes22:10
lifelesshopefully I'll get a collection converted today22:11
=== salgado is now known as salgado-afk
lifelesssinzui: hi22:30
lifelesssinzui: just wanted to confirm - is your team picking up the privacy-marker project (changing from ////// borders to the red thing at the top etc) ?22:31
nhandler10022:38
sinzuilifeless, yes22:39
sinzuiwgrant, mumble>23:04
sinzuiStevenK, mumble?23:05
wgrantsinzui: Sec23:05
StevenKwgrant: It seems we are deployable?23:40
wgrantStevenK: Yes, but there are a couple of big changes that lifeless and I would like to do more verification of.23:41
=== wgrant changed the topic of #launchpad-dev to: devel in RC until r13403 deployable | Performance Tuesday | https://dev.launchpad.net/ | On call reviewer: - | Critical bugs: 218 and growing all too rapidly - 0:[######=_]:256
cjwatsonwgrant: https://code.launchpad.net/~cjwatson/launchpad/multiarch-translations/+merge/67640 is ready for review; would you be up for code-reviewing it?23:54
StevenKHeh, it's even wgrant's turn to be OCR.23:55

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