/srv/irclogs.ubuntu.com/2012/09/12/#launchpad-dev.txt

StevenKwgrant: http://pastebin.ubuntu.com/1199747/00:01
wgrantStevenK: Have you confirmed that it now fails with the diff reverted?00:03
StevenKwgrant: Just did.00:04
StevenKIllegalTarget: Product-name-100217 doesn't allow Private bugs.00:05
wgrantSounds good, then00:05
wgrantStevenK: Hm, why are you using multiple products?00:10
StevenKwgrant: Sorry, was noming. Yeah, let me remove that bit.00:36
StevenKwgrant: http://pastebin.ubuntu.com/1199798/00:42
wgrantStevenK: You could also remove the makeCommercialSubscription bit if you use makeProduct(bug_sharing_policy=BugSharingPolicy.PUBLIC_OR_PROPRIETARY)00:43
StevenKDoes that also allow USERDATA?00:43
wgrantYes00:44
StevenKWhich invalidates the test, does it not?00:44
wgrantYou'd still have to transition it to BugSharingPolicy.PROPRIETARY after creating the bug00:44
wgrantIt just saves you from having to manually create the commercialsubscription00:44
StevenKI think it's moot, it would be the same amount of lines00:45
StevenKBut I can if you want00:45
wgrantPerhaps00:46
wgrantAnyway, it looks fine now00:46
StevenKwgrant: The diff is updated if you want to +100:50
wgrantYou can actually kill of two more lines by not setting the product or bug owners, but I think you might kill me too00:51
StevenKwgrant: And use login_celebrity, I guess00:53
wgrantStevenK: person_logged_in(product.owner)00:54
wgrantDue to the APG it'll even have access to the bug00:54
StevenKwgrant: owner killed00:56
wgrantThat sounds painful00:56
StevenKHaha00:56
StevenKwgrant: Thanks, tossing at ec2.00:58
StevenKBloody hell, buildbot, finish already01:00
StevenKwallyworld, wgrant: Some cards can probably move out of QA-Landing01:04
wallyworldprobably01:04
wgrantbuildbot only finished 30 seconds ago01:07
StevenKwgrant: Heh, it was saying 56 minutes when I looked 10 minutes ago.01:08
wgrant6 seconds after you mentioned QA-Landing, in fact...01:08
lifelessbigjools:  192009364101:32
lifelessbigjools: 1.9B01:32
bigjoolslifeless: 43345345345879801:32
lifelessbigjools: rows.01:33
bigjoolssweet01:33
lifelesscan we scale? Yes we can!01:33
lifelessof course, it is 68GB on disk.01:33
wgrant+ indices01:34
wgrantIf we're talking about branchrevision, there's like 100GB of indices01:34
wgrantAh, no, only about 70GB now. We pruned a few01:35
bigjoolslifeless: is it web scale?01:36
lifelessbigjools: http://www.mongodb-is-web-scale.com/01:37
bigjoolshaha01:37
bigjoolslifeless: "If there's a problem writing your data, you're fucked. Does that sound like a good design to you?"01:38
lifelessbigjools: "If that's what they need to do to get those kickass benchmarks, then it's a great design."01:39
bigjoolslifeless: "Does /dev/null support sharding?"01:39
bigjoolsI can't continue, laughing too hard01:39
lifelessbigjools: you hadn't seen this ?01:40
bigjoolsI have01:40
bigjoolsbut it remains hilarious01:40
lifelessindeed!01:42
lifelessbigjools: http://www.xtranormal.com/watch/11762072/native-html501:43
wgrantORDER BY Branch.date_last_modified DESC, Branch.target_suffix ASC, Branch.lifecycle_status DESC, Branch.owner_name ASC, Branch.name ASC01:45
wgrantwould you like some tie-breakers?01:45
wgrantlifeless: Have you thought about getting eg. bug search totals from bugsummary?01:55
lifelessI think that would rock01:56
lifelessonly works for some cases though01:56
lifelesscould be used to set upper bounds on bad estimates.01:56
lifeless(can't be used to set lower bounds with our search algebra)01:56
wgrantYeah01:57
wgrantMost of the common searches should work01:57
lifelesspersonally I just want to nuke all the counts01:57
wgrantObviously not fti01:57
lifelessor make them round - 10's 100's 1000's01:57
lifelessput that behind a FF for a bit01:58
lifelesssee what the reaction is01:58
lifelessif its good, change the code base to estimate everywhere.01:58
lifelessbigjools: this is hilarious - http://www.xtranormal.com/watch/7023615/watch_movie02:00
bigjoolsmust...resist....02:00
bigjoolstoo much to do02:00
mwhudsonlifeless: i didn't think the native-html5 one was very funny02:01
mwhudsonit was quite odd, though, so that's something i guess02:01
wgrantlifeless: Well, EXPLAIN-based estimates will often be waaaaaaay off02:01
lifelessmwhudson: the html5 one was not as good as I thought it would be02:01
lifelessmwhudson: the one I just linked is a follow on from the mongodb one02:02
lifelesswgrant: shrug :>02:02
mwhudsonahh02:02
lifelesswgrant: I guess we need some care02:02
wgrantIt should be better now that we have bugtaskflat, I guess02:02
wgrantBut before bugtaskflat it would have been hopeless02:02
mwhudsonlifeless: ok, watch_movie is pretty good02:04
mwhudson3 mins in02:04
wgrantOOPS report is pretty today :)02:06
lifelessmuch better02:06
lifelessnot sure I'd call it pretty02:06
wgrantWell02:07
wgrantPrettier than it's been for a while02:07
lifelessyes02:07
lifelessmassive improvement02:07
lifelessjust there is more to do02:07
StevenKwgrant: https://dogfood.launchpad.net/ubuntu/+source/unity/+changelog03:42
lifelessgrah03:53
lifelessNon-sql time: 5595 ms03:53
lifelessif you're fixing timeouts03:53
lifelesshttps://bugs.launchpad.net/~lifeless/?advanced=103:53
lifelessbug 1049452 if anyone wants to have a poke03:55
_mup_Bug #1049452: Person:+bugs timeout on advanced search form  <timeout> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1049452 >03:55
lifelesswgrant: StevenK: How do we release launchpad-buildd ?03:56
wgrantlifeless: dch -i03:57
wgrantlifeless: Then wait for IS to get us builders back03:57
lifelessalso, annoying - why is https://bugs.launchpad.net/python/+bug/96878 not FR for python, upstream has it as such.03:57
wgrantThen RT03:57
_mup_Bug #96878: Launchpad session cookie is accessible from Javascript <bugjam2010> <infrastructure> <lp-foundations> <qa-ok> <Launchpad itself:Fix Released by wgrant> <Python:Fix Committed> < https://launchpad.net/bugs/96878 >03:57
wgrantlifeless: Resolution: accepted03:58
wgrantlifeless: tsk tsk, duping your own timeout bugs04:02
lifelesswell, blame my short memory04:04
wgrantlifeless: I was hoping the timeout was on +reportedbugs..04:09
lifelesswgrant: the search works fine...04:09
lifelesswgrant:04:09
lifeless57 queries/external actions issued in 1.68 seconds04:09
lifelessAJAX Log ↓04:09
lifelessnot the fastest thing under the sun, but working >> not working.04:09
lifelessCan't /setup/ the query though.04:09
lifelessThe form DIAF.04:09
lifelessI bet its listing milestones for every project on Launchpad, more or less.04:10
wgrantI made that pretty fast in most cases04:10
wgrantBut maybe you're terrible :(04:10
lifelessand doing so super inefficiently. Probably a list of storm objects04:10
lifelesswith in04:10
lifelessmilestone in milestones: <- trigger the sqlbase __eq__ which is dog slow.04:11
lifeless+ quadratic in a list.04:11
wgrantNot that slow04:11
lifeless-bet you-04:11
lifelessyes that slow04:11
lifelesswe've had 20s timeouts from that before.04:11
lifelessshortly after new bug subscriptions, if you recall04:11
wgrantPerhaps04:12
StevenKwallyworld, wgrant: https://code.launchpad.net/~stevenk/launchpad/dsp-changelog-timeout/+merge/12388004:34
wgrantStevenK: Have you recowboyed that to check that the query count is now sanE?04:35
StevenKNo, let me that do04:37
StevenKMy dyslexia seems strong today04:39
StevenKAt least I didn't run make start stop04:39
wgrantHeh04:41
wgrantHuh04:41
StevenKwgrant: 198 -> 5104:42
wgrant Limit  (cost=10000003268.61..10000003269.44 rows=1 width=0) (actual time=122.637..122.637 rows=0 loops=1)04:42
wgrantThe main +specworkload query apparently doesn't please postgres very much04:42
wgrantenable_seqscan=0 applies a 10 billion cost penalty04:43
wgrantBut that plan still wins04:43
StevenKwgrant: No review?04:44
wgrantStevenK: That wasn't the only extract_bug_numbers callsite?04:45
wgrant(it was)04:46
wgrantAh04:46
wgrantThere's one in stringformatter.py itself04:46
StevenKIt's called in stringformatter itself04:46
StevenKYeah04:46
StevenKI can inline it and stop exporting it if you wish04:46
wgrantNah04:46
StevenKProbably not worth it04:46
wgrantr=me, thanks04:47
wgrantWe still have a few VPC queries, but that's possibly just removedby so I don't really care04:47
StevenKYeah, we could make the pre-loading smarter by including some of the data from spph04:48
wgrantNot as big an issue as the bugs :)04:49
StevenKIndeed, so it's fine for now04:49
wgrantThe page is still slow on DF, but a fair bit of it is probably template time04:49
StevenKAnd Unity has a TON of SPRs04:50
StevenKTell me when you're done and I'll revert DF04:50
wgrantI'm done04:50
StevenKTempted to close 100025704:55
wgrantbug #100025704:55
_mup_Bug #1000257: OOPS sending email notification for bug watch <bugwatch> <oops> <Launchpad itself:Triaged> < https://launchpad.net/bugs/1000257 >04:55
wgrantIndeed04:56
StevenKI can't see how it happened, but it did04:56
wgrantStevenK: ndt04:59
wgrantProbably04:59
StevenKwgrant: http://pastebin.ubuntu.com/1199974/05:24
lifelessStevenK: https://devpad.canonical.com/~lpqateam/ppr/lpnet/05:59
StevenKwallyworld: Nice easy one for you: https://code.launchpad.net/~stevenk/launchpad/destroy-plus-daily-builds/+merge/12388806:21
StevenKwallyworld seems to be missing.06:31
stubBeen butting my head against pgbouncer.07:25
lifelessstub: oh?07:26
stubUnfortunately, root cause of my problems seems to be that KILL and RESUME just affect if opening new outgoing connections work or not.07:26
lifelessstub: btw your part line is ... fun07:26
lifeless'18:52 -!- stub [~stub@canonical/launchpad/stub] has left #launchpad-dev ["PART #launchpad :PART #postgresql :PART #slony :PART #storm :PART #zope3-dev :ISON cr3 jkakar daniels intellectronica daf czajkowski static SteveA fabbione Ng07:26
lifeless          thumper bigjools debonzi BradB bac sinzui_is_awake jdub allenap Znarl chrism andrewv elmo lifeless `a"]07:26
lifeless'07:26
stubSo the timouts for how long until I check if a backend is up, how long I wait for a backend connection, how long a client connection keeps retrying for a backend, all kick in07:26
stubI have no idea what an ISON is07:27
lifelessme neither07:27
stubAnyway, unless I or someone wade into the C code, we might need two pgbouncers to do the updated fdt and actually lower downtime rather than increase it07:29
lifelessstub: sure; how would that work ?07:29
stubI can reduce the timeouts during the window, but to a minimum of 1 second. And that makes a huge difference if we are aiming at <5s07:30
stublifeless: Instead of KILL and RESUME on individual databases, we have separate pgbouncer instances for master and slave connections and shut them down/start them up07:31
stubBut it means a lot more bespoke production crap07:31
stubinit scripts etc.07:31
stubAnd certainly not generalizable for outside of canonical.07:32
wgrantOh07:36
wgrantI thought we had an alternative to pause that rejected new connections07:36
wgrantBut indeed, such a thing does not exist07:36
stubwgrant: We have KILL and PAUSE, and we need KILL in current launchpad because we are running in session mode, not transactional mode07:37
wgrantRight, but we have nothing like PAUSE that doesn't hang07:37
wgrantWHich is what we really need07:37
stubIf we were running in transactional mode, yeah.07:37
wgrantEven in session mode07:38
stubBut for current LP, the existing connections would never die unless we signalled all the clients 'oi, go reconnect now'07:38
wgrantRight, but KILL serves that purpose already07:38
wgrantWe can kill all existing connections easily07:38
stubYes, so for now KILL does what we need07:38
wgrantWe just can't reject new ones claenly07:38
stubKILL rejects new connections07:39
wgrantIf we run it constantly, yes07:40
stubThe documentation is fuzzy there07:40
wgrantBut it's a momentary thing07:40
wgrantIt drops all current and pending clients at the moment it's run07:40
wgrantIf we PAUSEd and ran kill every 10ms, it would work07:40
stubOn my system, KILL keeps it dead until RESUMEd07:41
stubwhich is why I say the docs are wrong07:41
wgrantI can still connect, it just hangs07:41
wgrantOn 1.5.107:42
wgrantIf I then KILL again, the hung connection drops, as expected07:42
stub$ psql -p 6432 launchpad_dev_master07:42
stubpsql: ERROR:  pgbouncer cannot connect to server07:42
wgrantThat's very interesting07:43
wgrantDo you have a tiny bouncer->server timeout or something?07:43
stub2012-09-12 14:43:01.020 5838 LOG C-0x1e0d518: launchpad_dev_master/stub@unix:6432 login failed: db=launchpad_dev_master user=stub07:43
stub2012-09-12 14:43:01.020 5838 LOG S-0x1e2aec8: launchpad_dev_master/stub@unix:5432 closing because: pause mode (age=0)07:43
stubwgrant: oh, you are experiencing the same problem my test case picked up07:44
stubwgrant: After a KILL, the pools don't know that the db is down so keep trying to open connections, and failing because the db is down07:44
stubwgrant: So it keeps retrying for 15 seconds until the 'db is down' flag is set07:44
stubwgrant: And then, after a RESUME, that pool is still stuffed as it only tries to reconnect to a dead db every N seconds.07:45
wgrantAh, there we go, it does eventually time out07:46
wgrantAnd now it is dead properly07:46
wgrantSo what we really need is a way to force it to poll and time out quickly07:46
adeuringgood morning08:00
lifelesstransactional mode still woudn't be fast enough, would it ?08:01
wgrantI don't think so08:02
wgrantAh08:11
wgrantIt's pretty easy to make it to do what we want08:11
wgrantLike08:11
wgrantReally easy08:11
lifelessshare08:13
wgrantWill have patch in a sec08:13
wgrantParticularly if I don't try to run an amd64 binary on i38608:15
=== almaisan-away is now known as al-maisan
stubwgrant: I can reduce the timeouts, but it still can add about 2 seconds to the time according to my test case08:30
stubwgrant: Patch welcome though, I hate relearning C everytime I need to do this.08:31
wgrantIt all works, except that changing the size of the PgDatabase struct makes it segfault08:32
wgrantJust adding the new unused flag08:32
wgrantSegfault08:32
wgrantBut if I reuse one of the existing flags it all works08:32
wgrantWill look further after dinner08:32
wgrantI can't see a hardcoded size anywhere obvious08:33
czajkowskijelmer: when you get a chance can you follow on the Question you were on https://answers.launchpad.net/launchpad/+question/206501  so I can see if it can be closed.08:34
czajkowskicheers08:34
wgrant(it turns out their makefile deps suck, so a make clean fixed it)09:02
wgrantstub: http://pastebin.ubuntu.com/1200173/09:04
wgrantYou currently need a DISABLE/KILL/RESUME then ENABLE sequence09:04
wgrantAs disable doesn't actually kill, and kill implicitly pauses09:05
lifelessnice09:07
stubCool09:09
stubThat on github?09:10
wgrantI hate tracking down the official repo on GitHub09:10
wgrantMaybe there's a link somewhere...09:10
* wgrant googles09:10
stubI could argue that KILL should imply DISABLE09:11
wgrantIndeed09:11
wgrantAlternatively KILL could just kill09:11
wgrantand you're expected to PAUSE first09:11
stubyeah, I can take the patch to the mailing list09:12
wgranthttps://github.com/markokr/pgbouncer-dev looks like it09:12
stubUnless they use git://git.postgresql.org/git/pgbouncer.git directly09:12
wgrantThey do, but the github account is owned by the primary committer09:13
wgrantSo it seems relevant09:13
* wgrant has forked it09:13
wgrantI always forget how obtuse git is09:19
wgrantstub: I've revised it a bit, so it now rejects only at client connect time and is not so terrible. https://github.com/wgrant/pgbouncer-dev/compare/disable10:58
wgrantI'll create a pull request if you don't object soon10:58
stubwgrant: Cool. I was going to build a package here to test my test case11:00
wgrantGreat11:00
stub(running through the full process before I go and hack up full-update.py)11:00
wgrantYou still need the DISABLE/KILL/RESUME, do stuff, ENABLE sequence, but I'll mention improving that on the MP11:00
wgrantIf you leave it paused too long it'll still lose the backend connections and hang once you reenable11:01
wgrantBut if you resume immediately after killing you can keep it disabled forever11:01
wgrantAlso note that DISABLE only forbids new client connections. An existing client connection can still grab a server connection if it hasn't already. I could forbid in find_server as well, but I'm not sure if it's worth it11:03
wgrantGiven you need to KILL anyway11:03
stubSo htf do I convert https://github.com/wgrant/pgbouncer-dev/compare/disable to a diff?11:19
wgrantstub: You're beyond my GitHub knowledge at this point, I'm afraid11:21
wgrantLet me poke around11:21
stubI guess I'm locked in ;)11:22
wgranthttp://pastebin.ubuntu.com/1200362/11:23
Laneystick ".patch" on the end of that URL11:26
wgrantAh11:26
wgrantI tried .diff11:26
wgrantBut not .patch11:26
wgrantHm11:27
wgrant.diff works now too11:27
wgrantI must have been on a different URL11:27
stubBecause hacking urls is discoverable UI11:27
tumbleweedon commits, .diff and .patch give you different things11:27
wgrantYeah, .patch gives headers and commit message and stuff11:27
stubStill seems noise to strip11:29
stuboh, guess diff ignores it11:29
stubno, noise to strip.11:30
=== al-maisan is now known as almaisan-away
stuboh no, I'm on 1.5.2, patch is trunk11:31
wgrantThere shouldn't be conflicts outside NEWS11:31
stubyeah11:32
stubI just need more coffee11:32
stubbuilt the package, manual tests look good11:42
stubAnd my updated tests like it too.11:48
stubwgrant: Looks good.11:48
wgrantGreat11:48
wgrantMy only significant concern is that an evil client could connect but not cause a server connection to be established.11:49
wgrantThen you DISABLE, and wait for connections to disappear from the backend server11:49
wgrantBut if you don't KILL, there could still be someone lurking in pgbouncer11:49
wgrantwaiting to strike and ruin your day11:49
wgrant(to reproduce, open up a psql session but don't do anything. Call DISABLE in another session, and see that you can still talk in your original session)11:50
=== gary_poster|away is now known as gary_poster
wgrantstub: Hopefully this will be a little less messy (and faster!) than sudoing around multiple instances12:07
stubOh, much.12:07
stubWe will need to KILL anyway after a timeout12:08
stubTo catch evil transactions.12:08
wgrantYeah12:08
wgrantDefinitely12:09
wgrantBut for the master we will just want to DISABLE and then KILL immediately12:09
stubhttp://paste.ubuntu.com/1200439/ is the test case for the always-slave process, and it is passing with the new pgbouncer12:09
wgrantOh, an actual LP test case12:10
wgrantFancy12:10
StevenKstub: https://code.launchpad.net/~stevenk/launchpad/buildfarmjob-index-redux/+merge/123854 would love a review12:13
wgrantstub: Looks good12:13
stubgot the failwhale12:15
stubnot even an oops12:15
wgrant502?12:15
wgrantHuh12:15
wgrantHaven't seen many of those since we switched back to the rightful DB servers12:15
stubStevenK: Didn't we do this already?12:16
StevenKstub: Almost. The previous index did not have status, this one does. The two of them will work in concert for Builder:+history12:17
stubyer12:18
StevenKstub: Builder:+history with the index we added to prod makes it really fast. Builder:+history also allows filtering by status, which is slow.12:18
wgrantWell, slow for uncommon statuses12:18
StevenKRight.12:19
StevenKIt's noticibly slower. Like 4 seconds versus 0.412:19
stubIt it ready for prod or just qastaging?12:21
stubOh, I'm building this pgbouncer package for precise. I can just copy it to lucid and it will be fine, right?12:21
StevenKI think it should be fine, but I admit to not actually testing it.12:22
StevenKstub: I'm happy to play around on DF tomorrow if you're more comfortable with me having tested it.12:22
stubJust removing it requires a FDT update. Apart from that no real worries applying it to prod.12:23
wgrantstub: I'm not sure if the same binary will work12:23
wgrantWe have a ~lucid1 for 1.5.1 atm...12:23
=== almaisan-away is now known as al-maisan
stubSo reupload for lucid or make a recipe to work around the limitation12:24
wgrantExactly12:24
stubStevenK: Its on qastaging12:25
StevenKLet's have a look12:25
StevenK0.8 hot for main12:25
StevenK1.3 for FTBFS hot12:26
wgrantSUPERSEDED is more interesting12:26
StevenK0.9 for depwait hot12:26
StevenKsuperseded is 2.2 cold, 0.29 hot12:27
wgrantExcellent.12:27
wgrantTo production we go.12:27
StevenKHow about I land it first?12:28
StevenK:-)12:28
StevenKstub: It's landed as r15944, you can add it to prod at your leisure12:31
=== abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: abentley | Critical bugs: ∞
=== abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: abentley | Firefighting: - | Critical bugs: ∞
abentleyderyck: I'm the OCR.  Could you please review https://code.launchpad.net/~abentley/launchpad/spec-creation-info-type/+merge/123821 ?13:19
deryckabentley, sure13:19
abentleyderyck: Thanks.13:19
derycknp!13:19
=== cjohnston_ is now known as cjohnston
abentleyrick_h_: btw, my enum is lp.registry.enums.PUBLIC_PROPRIETARY_INFORMATION_TYPES14:27
rick_h_abentley: cool, thanks. Will look at updating that today.14:28
sinzuiadeuring, can you comment on bug 839779 and bug 450480 about how to fix them?14:41
_mup_Bug #839779: HWDB doesn't create HWDeviceClass anymore <hwdb> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/839779 >14:41
_mup_Bug #450480: Get PCI and USB vendor/product names from the "PCI ID Repository" project and from linux-usb.org respectively <hwdb> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/450480 >14:41
* adeuring is looking14:42
adeuringsinzui: I am a bit lost ATM regarding14:50
adeuring#83977914:50
_mup_Bug #839779: HWDB doesn't create HWDeviceClass anymore <hwdb> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/839779 >14:50
adeuringI guess that newer HWDB reports do not contain any data about devices classes anymore.14:50
adeuringbut I need to check14:51
adeuringsinzui: regarding bug 450480: WHat do you miss in the bug report?14:52
_mup_Bug #450480: Get PCI and USB vendor/product names from the "PCI ID Repository" project and from linux-usb.org respectively <hwdb> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/450480 >14:52
sinzuiadeuring, why a cronscript? Shouldn't the data be processed correctly when it is uploaded?14:52
sinzuior put another way? I do not understand why hal has that data, but udev does not?14:53
adeuringsinzui: ask the udev developers ;) The data is probably not important enough14:54
sinzuiokay. So want a process that gathers the secondary data to provide consistent, historic reporting?14:55
adeuringsinzui: the script that processed the HWDB report can of course also read the two URLs directly14:55
adeuringand use the data.14:55
adeuringbut we should also update existing "bad" records.14:55
sinzuiokay. and calling out to external site is blocked for most servers14:56
adeuringsinzui: that's a problem indeed... But we might be able to read the data manually form time to time14:57
sinzuiunderstood. The data does not change often, which is why you want to pull it daily or weekly14:57
adeuringsinzui: right.14:58
sinzuiokay. I think I know enough to fix this14:58
deryckabentley, your code looks great.  well tested and solid.  r=me.14:58
abentleyderyck: Thanks.14:58
adeuringsinzui: BTW, we wil always have the situation that a report contains a devcie where vendor/product names are yet knwon, even in the two databases mentioned in the bug report.14:58
adeuringI don't know how often these DBs are updated, but we must always expect some lag14:59
adeuringwhen for example some small vendor sells a new USB mouse14:59
* sinzui nods14:59
sinzuiadeuring, what do you need to know about HWDeviceClass in staging's db?15:00
sinzuiis there a query I can run?15:01
adeuringsinzui: the existing data itself is not a problem. Just need to check why no nbewer data exists15:01
adeuringsinzui: after looking a bit more at the output of "udevadm info --export-db" I still have no idea why HWDeviceClass is not updated. Could be a bug in the processing the reports. On the other hand, it would make sense to check if the data from recent submissions really has no links to HWDeviceClass records. After all, the set of device _classes_ is rather small compared with the number of different device models: A USB mouse is is a USB mou15:13
adeuringso it might even be a "non-bug"15:13
sinzuiokay. I will look into this.15:14
sinzuiadeuring, who uses the the hwdb now?15:14
adeuringsinzui: I have no idea... ask cr315:15
sinzuioh, I did15:15
adeuringor flacoste15:15
sinzuihe uses the XML only15:15
cr3adeuring: ogasawara still uses the hardware db15:15
adeuringah, right15:15
rick_h_abentley: quick ok on the change over to your enum please? https://code.launchpad.net/~rharding/launchpad/updated_product_allowed_types/+merge/12398715:20
abentleyrick_h_: r=me.15:21
rick_h_abentley: thanks15:22
=== dpm is now known as dpm-afk
=== al-maisan is now known as almaisan-away
=== deryck is now known as deryck[lunch]
=== dpm-afk is now known as dpm
=== matsubara is now known as matsubara-lunch
sinzuijcsackett, do you have a few moments to discuss Bug #81066417:03
_mup_Bug #810664: Specification:+index asserts -  (from_node, to_node) not in self.edges <oops> <regression> <Launchpad itself:Triaged> < https://launchpad.net/bugs/810664 >17:03
jcsackettsinzui: sure.17:17
=== dpm is now known as dpm-afk
sinzuijcsackett, http://pastebin.ubuntu.com/1200924/17:21
sinzuijcsackett, I just got my replacement router. I am going to drop off the net for a bit17:37
=== deryck[lunch] is now known as deryck
=== matsubara-lunch is now known as matsubara
=== dpm-afk is now known as dpm
deryckabentley, I have two branches related to specification_sharing_policy if you have the bandwidth to review them.18:54
abentleyderyck: Sure.18:54
deryckabentley, thanks.  see....18:55
deryckhttps://code.launchpad.net/~deryck/launchpad/specification-sharing-policy-unused/+merge/12402118:55
deryckand18:55
deryckhttps://code.launchpad.net/~deryck/launchpad/specification-sharing-policy-garbo/+merge/12402618:55
abentleyderyck: The allowed types for SpecificationSharingPolicy.PUBLIC, SpecificationSharingPolicy.PUBLIC_OR_PROPRIETARY, SpecificationSharingPolicy.PROPRIETARY_OR_PUBLIC look incorrect because they include InformationType.PRIVATESECURITY, InformationType.USERDATA, InformationType.PUBLICSECURITY19:02
abentleyderyck: In the definition of setSpecificationSharingPolicy, can we use IProductPublic.specification_sharing_policy directly instead of copying it?19:05
deryck abentley, sorry was on call with flacoste19:17
deryckabentley, so to the first question, sorry about that.  copied from branch which I thought would be the same. I'll take another pass at that.19:18
abentleyderyck: Cool.19:18
deryckabentley, as for the copy, I did this exactly like bug and branch sharing policy.  both of those copied.  So I didn't question it.19:18
deryckI don't know if there's some reason it needs the copy honestly.  and I was just playing it safe.19:19
abentleyderyck: I had a grovel through copy_field recently, and it seems like its only purpose is to let you change attributes (like readonly).  So give it a try without the copy and I bet it will work.19:20
deryckabentley, ok, will do.  I can change the other places too and try them.19:20
abentleyderyck: Should your branch also be defining default values for the policies?  I don't see that.19:22
abentleyderyck: Bugs has lp.bugs.interfaces.bugtarget.BUG_POLICY_DEFAULT_TYPES for example.19:23
deryckabentley, right.19:23
deryckabentley, so I didn't realize those were needed until the two methods coming in the final branch.19:23
deryckabentley, I have them in that, but can bring them up to this branch if it makes more sense.19:23
abentleyderyck: No, that's fine as long as it's in the plan.19:24
deryckabentley, ok, cool.19:24
abentleyderyck: Do you think there should be a policy that permits PUBLIC, PROPRIETARY and EMBARGOED?19:47
deryckabentley, on TL call, just a minute and I'll consider that.19:50
jcsackettquit19:58
deryckdon't do it jcsackett!  it will be better tomorrow, I'm sure. ;) :)20:02
deryckabentley, ok, thinking on that now....20:02
jcsackettderyck: :-P20:02
lifelesssinzui: do you need a link to the zconfig bug ?20:03
sinzuiI saw it yesterday in my browser20:04
sinzuilifeless, it affect lp and zope right, and I think fred was the reviewer?20:04
deryckabentley, so what use case are you thinking of?  Starting public, but shifting to either of the other two later?  or something else?20:04
lifelesssinzui: yes20:05
lifelesssinzui: that sounds right20:05
sinzuilifeless, send me the bug, as my history does not want to reveal it20:06
abentleyderyck: No, I guess I was just thinking that we wouldn't want to prevent people using Embargoed from doing everything else that people using Proprietary can do.20:06
lifelesssinzui: abel took a stab at it, but sadly only ended up moving the issue around, we didn't understand quite what was going on.20:06
lifelessbug 48151220:06
_mup_Bug #481512: race condition when rotating logs <canonical-losa-lp> <lp-foundations> <qa-untestable> <Launchpad itself:Triaged> <ZConfig:Fix Released by fdrake> < https://launchpad.net/bugs/481512 >20:06
abentleyderyck: I don't have a use case really, unless people other than PES use Embargoed.20:06
sinzuiyes, I saw the branch apparently. thank you lifeless20:09
lifelesssinzui: de nada20:09
lifelesssinzui: thank *you*20:09
abentleyderyck: We are famous now: http://feedproxy.google.com/~r/d0od/~3/3xNeugsEvpU/ubuntu-12-10-login-screen-adds-remote-desktop-access20:12
deryckabentley, nice!20:14
deryckabentley, I hope they have that server beefed up more than we did. ;)20:14
abentley:-)20:14
abentleyderyck: Could you please review https://code.launchpad.net/~abentley/launchpad/fix-banner/+merge/124052 ?20:33
deryckabentley, absolutely.20:33
deryckabentley, should you be a bit more specific in the test?  to make sure that the phrase is actually in the banner, and not somewhere else in browser.contents.20:39
abentleyderyck: I can do that.20:39
deryckabentley, ok, cool.  other that that, looks great.  I like the IInformationType approach.20:39
abentleyderyck: Great.  I considered extending IPrivacy, but I saw that there are circumstances where we know whether it's private, but not what the information_type is.20:40
deryckabentley, right.  and r=me officially now on the mp.20:41
abentleyderyck: Thanks.20:41
derycknp!20:41
abentleyderyck: r=me on the first one.20:59
deryckabentley, thanks!21:02
lifelesssinzui: can I hand that branch off entirely ?21:12
sinzuiokay21:12
sinzuiIt is now mine21:12
lifelesssinzui: thanks, much appreciated.21:12
=== matsubara is now known as matsubara-afk
wgrantStevenK: OOPS-2bf590b755c7e5cd89893f05cfb1eb9123:13

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