jelmer | wgrant: yes, we should celebrate this joyous occasion. | 00:01 |
---|---|---|
wgrant | Although the branch is a bit of a read :/; | 00:02 |
wgrant | LOSA ping: Can someone please run http://paste.ubuntu.com/511984/ on prod? We seem to have corrupt more builds like the ones we found when trying to open Natty. | 00:10 |
spm | wooo | 00:10 |
wgrant | We had to fix those quickly, so the evidence was destroyed. | 00:10 |
wgrant | So it is probably... good... that there is more breakage. | 00:11 |
StevenK | FSVO 'good' | 00:11 |
spm | wgrant: (4510 rows) but they're all looking like " 4789 | | |" | 00:11 |
wgrant | (missing BuildQueues in both cases) | 00:11 |
wgrant | Er. | 00:11 |
wgrant | Did I miss a join somewhere... | 00:11 |
wgrant | Whoops. Left out the WHERE clause in that version of the query. | 00:12 |
wgrant | WHERE sourcepackagerecipebuild.id IN (4256, 4257); | 00:12 |
wgrant | *Two* rows. | 00:12 |
spm | ha | 00:13 |
spm | id | id | id | id | 00:14 |
spm | ------+------+---------+---- | 00:14 |
spm | 4256 | 4255 | 6311021 | | 00:14 |
spm | 4257 | 4256 | 6311022 | | 00:14 |
spm | wgrant: ^^ | 00:14 |
wgrant | Precisely as I suspected. | 00:14 |
wgrant | Thanks. | 00:14 |
wgrant | Now to work out why we have various builds without BuildQueues. | 00:14 |
wgrant | How I hate this model. | 00:20 |
lifeless | thumper: https://devpad.canonical.com/~stub/ppr/lpnet/latest-daily-pageids.html | 00:22 |
wgrant | How far do buildd-manager logs go back? | 00:24 |
StevenK | A long while | 00:29 |
* StevenK goes for breakfast before his stomach breaks out on its own | 00:29 | |
lifeless | rooooar | 00:34 |
lifeless | holy cow | 00:34 |
lifeless | hwsubmission || 525012.40 tuples/sec | 00:34 |
lifeless | 'release time anyone' ? | 00:35 |
lifeless | except, its not writes. hmmm | 00:35 |
wgrant | Yeah, that can't really be writes, as it would go through the last released count of Ubuntu users in 24 seconds. | 00:36 |
elmo | wgrant: s/count/estimate/ | 00:36 |
elmo | :-P | 00:36 |
wgrant | elmo: True that. | 00:37 |
lifeless | thumper: -> https://bugs.edge.launchpad.net/bzr/+bug/93609 <- poolie: | 00:52 |
_mup_ | Bug #93609: Better error messages for bzr lp:// <launchpad> <lpurl> <Bazaar:Confirmed> <Launchpad Bazaar Integration:New> <https://launchpad.net/bugs/93609> | 00:52 |
StevenK | wgrant: Do you need logs? | 00:53 |
wgrant | StevenK: I'd like to see what the logs have to say about BinaryPackageBuilds 1968526, 1968544, 1969032, and SourcePackageRecipeBuilds 4256, 4257. | 00:55 |
wgrant | Because they somehow ended up NEEDSBUILD without a BuildQueue. | 00:55 |
StevenK | wgrant: How far back are we talking? | 00:55 |
wgrant | StevenK: The BPBs are a little over three weeks ago. The SPRBs 11 days ago. | 00:55 |
wgrant | In two months I will be able to stop pestering people for logs, yay. | 00:57 |
spm | wgrant: in that losas aren't people? or??? | 01:09 |
wgrant | Heh. | 01:09 |
lifeless | losa ping | 01:36 |
lifeless | I need someone to delete "hard_timeoutpageid:BugTask:+index15000" from https://staging.launchpad.net/+feature-rules | 01:37 |
spm | lifeless: you have been unfeatured | 01:39 |
lifeless | thank you | 01:41 |
lifeless | I *so* want to not get mail for invalid bug tasks. | 02:08 |
wgrant | There are two types, though. | 02:09 |
wgrant | Of Invalid task. | 02:09 |
wallyworld | lifeless: do i also need to ask for a separate review in #launchpad-reviews for that menu branch? or is your stamp of approval enough? | 02:10 |
lifeless | wallyworld: IIRC userdict provides better hook points than dict, though its not really relevant here | 02:12 |
lifeless | wgrant: bad and worse? | 02:12 |
lifeless | wgrant: I've clickly clicked for you | 02:12 |
lifeless | bah | 02:12 |
lifeless | wallyworld: | 02:12 |
wallyworld | lifeless: yo | 02:12 |
lifeless | ^ 3 lines | 02:13 |
wallyworld | ack. so i'll leave the code as is... | 02:13 |
wgrant | lifeless: "This isn't a valid bug", and "This isn't a valid bug here" | 02:13 |
lifeless | uhm | 02:13 |
lifeless | I think you're conflating task and bug | 02:14 |
lifeless | something like : a bug is invalid if all tasks are invalid | 02:14 |
wgrant | It is necessary to conflate them. | 02:14 |
lifeless | ‽ | 02:15 |
wgrant | We have only per-task statuses. | 02:15 |
wgrant | But, as you say, a bug could be considered invalid if all its tasks are. | 02:15 |
wgrant | The interactions with notifications may depend on both. | 02:15 |
lifeless | well, for my needs, if I'm structurally notified via an invalid task, i don't want to be. | 02:16 |
wgrant | But what if the user is arguing that the bug is valid? | 02:16 |
wgrant | You do want to be notified. | 02:16 |
poolie | hi lifeless | 02:16 |
poolie | 5-digit bug hey | 02:16 |
poolie | i agree that looking at the cases is good | 02:16 |
lifeless | wgrant: can't they toggle it to new? | 02:16 |
wgrant | lifeless: That's impolite. | 02:17 |
lifeless | poolie: hey, so, thumper and I were talking. | 02:17 |
lifeless | poolie: I promised to file a bug describing a design to get better messages out with hopefully backwards compat | 02:17 |
lifeless | poolie: and suggested that spiv would be a great person to look at the detail. | 02:17 |
lifeless | poolie: when I wwent to file it I found such a closely aimed bug that I reused it. | 02:17 |
lifeless | wow | 02:18 |
lifeless | 1026 / 119 Distribution:+ppas | 02:18 |
lifeless | ^- unhappy pages R us. | 02:18 |
wgrant | Yeah, known 8.4 regression. | 02:18 |
wgrant | Not sure of the details. | 02:18 |
lifeless | yeah | 02:18 |
wgrant | But there are a few bugs on it. | 02:18 |
lifeless | count(*) | 02:18 |
lifeless | we've dupped them all I think | 02:18 |
lifeless | bad query is listed in the remaining active | 02:19 |
poolie | yep, i thought a bug would be good too | 02:19 |
poolie | and that's it | 02:19 |
wgrant | I don't see the bug. | 02:20 |
* wgrant searches other projects. | 02:20 | |
lifeless | https://bugs.edge.launchpad.net/launchpad-project/+bugs?field.tag=timeout | 02:20 |
lifeless | wgrant: ^ | 02:20 |
wgrant | Ah, on launchpad. | 02:20 |
lifeless | fixed | 02:20 |
lifeless | such a nuisance | 02:21 |
wgrant | I was trying to fix it. | 02:21 |
wgrant | But it kept using the non-AJAX form. | 02:21 |
wgrant | Something odd is going on. | 02:21 |
lifeless | you clicked too quickly | 02:21 |
lifeless | gotta wait for yui to initialize and overlay | 02:21 |
wgrant | I thought so. | 02:21 |
wgrant | But apparently not. | 02:21 |
lifeless | odd indeed then | 02:21 |
wgrant | I can wait a few seconds after the status picker works, and the project one still doesn't. | 02:21 |
lifeless | oh, it never has | 02:22 |
wgrant | Hm? | 02:22 |
lifeless | there isn't an ajax project picker is there? just the drop-down if you click on the expander | 02:22 |
wgrant | There is an AJAX project picker. | 02:22 |
lifeless | I've never seen it :P | 02:22 |
wgrant | It's often buggy, but it usually at least appears. | 02:22 |
lifeless | what dor str(Person) do (when Person is a Launchpadlib object) | 02:36 |
wgrant | lifeless: IIRC str()ing an Entry will give you its URL. | 02:41 |
lifeless | blah, thanks. | 02:41 |
wgrant | Ah, now I see the relevance. | 02:42 |
lifeless | wgrant: ? | 02:43 |
wgrant | The qa-tagger bug. | 02:44 |
lifeless | ah yes | 02:44 |
wgrant | I really should add that to my sieve script, since it ends up in my inbox. | 02:44 |
lifeless | open sourcing by incremental pastebin :P | 02:44 |
wgrant | I learnt a lot about LP through dogfood back when it had public tracebacks :P | 02:45 |
wgrant | But then Julian fixed that :( | 02:45 |
poolie | aw | 03:03 |
poolie | i wonder why not enable them? | 03:03 |
wgrant | They leak data. | 03:04 |
poolie | in variable values etc? | 03:04 |
wgrant | Although not much worse than API exceptions can do. | 03:04 |
wgrant | The most obvious one is object reprs in Unauthorized exceptions. | 03:04 |
wgrant | But there are probably others. | 03:04 |
StevenK | As an odd question, I wonder why ohloh doesn't have any updates from Launchpad branches since Jan | 03:09 |
poolie | really? | 03:09 |
poolie | you could mail them | 03:10 |
StevenK | I'm checking again | 03:10 |
maxb | Hmm. I have a PPA build finished 13 minutes ago and still not published | 03:10 |
StevenK | Last commit it shows was 4 months ago, but the code metrics seem much older | 03:11 |
maxb | 18 minutes :-/ | 03:15 |
StevenK | The publisher runs every 20 minutes, so that is the worse case, right? | 03:16 |
maxb | The *PPA* publisher used to run every 5 minutes, last time I was told | 03:16 |
StevenK | maxb: Which PPA? | 03:18 |
maxb | bzr-beta-ppa/ppa - it does seem to have just published now | 03:19 |
mars | lifeless, ping, if you have a moment, I am in need of some help with a zope-related implementation question | 03:59 |
mars | or thumper, if you have a moment to spare? | 04:02 |
thumper | mars: whazzup? | 04:04 |
mars | Hi thumper, I have a question about storing state for the duration of a Zope request | 04:04 |
thumper | right... | 04:04 |
thumper | and what is the question? | 04:05 |
mars | The profiling code needs to store the active profiler information for the duration of the request. I could throw that information onto the request object itself, or take the current approach of using a module-level threading.local() | 04:06 |
mars | One approach turns the request object into a cesspool, the other uses a sort-of-magic secret module level variable - is one approach preferred over the other? | 04:07 |
thumper | mars: does this relate to the existing timeline code? | 04:07 |
mars | no | 04:08 |
thumper | mars: my suggestion would be to do what the timeline code does | 04:08 |
thumper | mars: the request object is already a cesspool | 04:09 |
mars | heh, ok | 04:09 |
mars | thumper, where would I find the timeline code? | 04:10 |
thumper | mars: I think there is a part of the request object used to store "stuff" | 04:10 |
thumper | mars: lp.services ? | 04:10 |
mars | right | 04:10 |
mars | thank you for the help thumper | 04:13 |
lifeless | mars: hi | 04:13 |
lifeless | mars: webapp.adapter | 04:13 |
lifeless | mars: as thumper says, see what lp.services.timeline.requesttimeline does | 04:13 |
lifeless | (which is to shove it into webapp.adapter and cry with XXX's.) | 04:14 |
mars | lifeless, cool, thanks | 04:14 |
lifeless | mars: doesn't the profiler already work though? | 04:14 |
lifeless | [I'm interested in what you're hacking on] | 04:14 |
mars | lifeless, the profiler worked when using lazr.config. The setting was static for the duration of the request, so profiling was either on or off | 04:15 |
lifeless | mars: are you working on flags to enable profiling? | 04:15 |
lifeless | mars: if so, i think it still needs to be either on or off, just evaluated earlier. | 04:16 |
mars | lifeless, but feature flags are set and cleared with request events, and lo, so is profiling. If the features get nuked before the profiling end hook is run, no profile is generated | 04:16 |
mars | I am dealing with an event processing order bug | 04:17 |
lifeless | mars: sure, but wouldn't 'just' caching the result of 'should we profile' be all thats needed (and in fact I thought that that is what it did?) | 04:17 |
lifeless | win 67 | 04:17 |
mars | lifeless, no, it did not cache the 'profiling is on' flag (unless you count the aforementioned thread-local storage as the flag) | 04:18 |
mars | lifeless, and I was asking about the best implementation for said cache | 04:18 |
mars | either thread-local storage, or a request.atttribute | 04:18 |
lifeless | end_requqest does this | 04:19 |
lifeless | _profilers.profiler is not None | 04:19 |
lifeless | so it caches (by virtue of using an object) | 04:19 |
lifeless | mars: I expect you'll have a great deal of trouble changing the cache implementation for profiling | 04:20 |
lifeless | until we fix two bugs: | 04:20 |
mars | hmm, ok | 04:20 |
lifeless | - many tests call in-request-context-code outside of a reqest-context | 04:20 |
lifeless | - scripts don't establish a request-context in th esame way the webapp does | 04:20 |
lifeless | the second point won't really affect you atm as we don't profile scripts, but the first one will hurt - a lot- | 04:21 |
mars | so if I change this then I'll probably trip over yet more test-related bugs | 04:21 |
lifeless | see the 'except AttributeError:' on line 78 | 04:21 |
lifeless | I'd be delighted to see the root issue here fixed. | 04:21 |
lifeless | but I don't know if you have the time budgeted for that :) | 04:21 |
mars | this has rotted on the kanban board already (as I am sure you and Martin have noticed). I think I'll just try and land it :) | 04:22 |
lifeless | ok, so perhaps I can help solve your immediate issue. | 04:22 |
lifeless | what is it ? | 04:22 |
mars | well, I think it is solved then - I just have to add a comment string or two to that thread-local storage to make it less magic | 04:23 |
mars | name it _active_profilers or some such obvious thing, etc. | 04:23 |
lifeless | mmm | 04:24 |
lifeless | there are no inactive_profilers | 04:24 |
mars | well, _active_profile then | 04:24 |
mars | if _active_profile.actions = None | 04:24 |
lifeless | mars: if you come up with a good name; great. Myself, I'd just add a comment to the assignment and the module dostring. | 04:25 |
mars | anyway, something like that | 04:25 |
mars | lifeless, yes, will do | 04:25 |
mars | lifeless, thank you for the help, and for pointing past the minefield | 04:25 |
lifeless | de nada | 04:28 |
wgrant | If I have a db-devel-based branch that will land in devel after the release, how should I propose it? With db-devel as a prereq? | 04:39 |
lifeless | propose it to devel | 04:40 |
lifeless | after the release, the diff will be normal :) | 04:40 |
wgrant | If I somehow convince it to update after the release, sure. | 04:41 |
wgrant | I guess I could just wait until after the release. | 04:41 |
lifeless | one day | 04:41 |
wgrant | Although I have to wonder why we don't merge db-devel into devel at the time devel freezes. | 04:41 |
lifeless | I suggested that on the lit ;) | 04:41 |
wgrant | Ah, I'm a bit behind at the moment. | 04:41 |
Ursinha-afk | EdwinGrubbs, pong? | 04:49 |
Ursinha-afk | EdwinGrubbs, holiday here today, sorryu | 04:49 |
Ursinha-afk | *sorry | 04:49 |
EdwinGrubbs | Ursinha-afk: no problem, we sorted out some issues we were having with the qatagger. It's working now, and we opened bugs for the problems that should be fixed later. | 04:56 |
wgrant | StevenK: re. Ohloh: The import has been tried a few times, but always fails after working for a couple of weeks. | 05:10 |
wgrant | StevenK: Their bzr importer doesn't seem to be awfully good. | 05:10 |
* wgrant requests that it be kicked. | 05:30 | |
wgrant | I wonder if the regular failures are because of the frequent LP downtime. | 05:49 |
spm | sush :-) | 05:50 |
wgrant | Well, we are the only hosting site I know of that has regular downtime... | 05:51 |
poolie | lifeless: http://sourcefrog.wordpress.com/2010/10/13/59/ about ssl performance may interest you | 06:20 |
lifeless | poolie: thaks | 06:29 |
jtv | stub: question about the BranchRevision patch… | 06:45 |
stub | ? | 06:45 |
jtv | The problem is too much downtime when setting a new primary key, right? | 06:45 |
jtv | The change requires creation of a huge new unique index, even though we already have one. | 06:46 |
jtv | So I'm wondering: why do we need to declare a primary key in the first place? Does Slony require it? | 06:47 |
wgrant | Storm does. | 06:47 |
jtv | Storm requires us to declare a primary key _to Storm_. But does it require us to declare a primary key _in the schema_? | 06:48 |
wgrant | Ah, fair point. | 06:48 |
jtv | Because AFAIK this whole primary key business is little more than convention, a bit of optional syntactic sugar. | 06:48 |
wgrant | "Slony-I needs to have a primary key or candidate thereof on each table that is replicated." | 06:49 |
wgrant | Hm. | 06:49 |
jtv | Okay, what does it consider a candidate? Because we have unique index and we have not-null. | 06:49 |
wgrant | One can override it to another candidate key. | 06:50 |
wgrant | So it should be doable, yes. | 06:50 |
wgrant | (just needs UNIQUE and NOT NULL) | 06:50 |
jtv | stub: we already have the index and constraint we need… what do you think? | 06:52 |
stub | jtv: Slony requires a primary key | 06:52 |
wgrant | It says it requires a primary key or a candidate key. | 06:53 |
jtv | stub: see what wgrant just dug up—we can define a primary key there without declaring it in the schema. | 06:53 |
stub | I like to stick to best practices, and from the best practices section " Discussed in the section on Replication Sets, it is ideal if each replicated table has a true primary key constraint; it is acceptable to use a "candidate primary key." | 06:54 |
wgrant | Well, it's either use a candidate key or have several hours of downtime... | 06:54 |
mwhudson | there's also the 'make branchrevision2' plan isn't there? | 06:55 |
mwhudson | or has that been shot down for some reason | 06:55 |
wgrant | That would work too. | 06:55 |
wgrant | At the expense of a crapload of disk, I guess. | 06:55 |
mwhudson | yeah | 06:55 |
stub | Candidate key is certainly an option, but we need to teach or maintenance scripts about it. | 06:56 |
jtv | Everyone bring your spare disks to the DC for Operation Dunkirk. :) | 06:56 |
stub | There is also the ignore-it-until-we-drop-branchrevision route. There might be faster, smaller and better solutions than the big table in the RDB. | 06:57 |
wgrant | How long until we run out of rows? | 06:57 |
mwhudson | yeah, that's probably a reasonable approach | 06:57 |
mwhudson | wgrant: it's at 600 million ish and runs out at 2 billion | 06:58 |
mwhudson | so, no massive rush | 06:58 |
wgrant | Oh, I didn't realise it was only 600 million. | 06:58 |
jtv | What's the next id though? | 06:58 |
stub | The table is pretty much INSERT only | 06:58 |
mwhudson | good question, but probably not noticeably more than the row count | 06:59 |
wgrant | Except on branch deletion and overwrite, I guess. | 06:59 |
stub | Highest id is 757259996 | 06:59 |
jtv | And aborted transactions, and maintenance. | 06:59 |
wgrant | True. | 06:59 |
jtv | So that's okay. | 06:59 |
mwhudson | according to the graph (which is only an estimate i think) we've added 300 million ish rows in the last year | 07:00 |
jtv | Well then, let's just take one bit off the id for now and save 1/32nd of the space :) | 07:00 |
spm | jtv: don't muck about eh? drop database. | 07:00 |
jtv | at last we'll have some disk space free | 07:01 |
stub | Also, since the only thing that inserts rows into that table is the branch scanner, we could do magic and have everything live while we do the maintenance and only have the branch scanner disabled. | 07:01 |
jtv | stub: I don't suppose there's a way to make the new index be created concurrently like you can with a regular index? | 07:02 |
stub | The new primary key index? No. | 07:02 |
stub | And the *other* other alternative is to talk to the pg-hackers and update the system catalog to promote an existing unique index to the primary key index. | 07:04 |
jtv | oooh getting dirty now | 07:06 |
StevenK | I keep getting this when I run tests on any branch locally: | 07:08 |
StevenK | Test-modules with import problems: | 07:08 |
StevenK | lp.services.mailman.tests.test_lpmoderate | 07:08 |
StevenK | (And one other) | 07:08 |
wgrant | It can't find blah.blah.mailman.monkeypatches, or something like that? | 07:08 |
wgrant | That error mysteriously vanished when I reinstalled and did a clean rf-setup. | 07:09 |
StevenK | wgrant: Ah ha | 07:38 |
StevenK | wgrant: Just to be clear, you mailed ohloh and asked them to kick their LP import? | 07:45 |
wgrant | StevenK: I posted in the forum as they suggest. | 07:46 |
wgrant | They seem to kick them pretty quickly. | 07:46 |
wgrant | I wonder if they'll have to do another full re-import (which takes like a month) | 07:47 |
jtv | stub: http://paste.ubuntu.com/512180/ is what I have so far—running tests now | 08:02 |
wgrant | jtv: That looks rather evil. | 08:03 |
jtv | wgrant: stop, you're making me blush | 08:04 |
wgrant | Less evil, however, than an email I just received from my university. | 08:04 |
jtv | ? | 08:04 |
wgrant | It was apparently generated by a recent Microsoft Office product, and is a fairly short largely textual email. The text/plain version is <1KiB. The text/html version is 14KiB, contains 53 XML namespace declarations, and 6KiB of CSS. | 08:04 |
stub | It is evil, but also something I was considering :) Certainly needs to go past upstream though - everything that needs to be updated may not be obvious. | 08:05 |
jtv | stub: absolutely—I only found out about the pg_index part because \d didn't pick up the change. | 08:05 |
jtv | wgrant: that's actually pretty good. Last time I did that sort of analysis, it went something like 10:1 for some very basic HTML cleanups such as not declaring the font for every paragraph, and then it was another 10:1 for the cleaned-up HTML against the text. | 08:06 |
wgrant | jtv: 53 NAMESPACES. | 08:10 |
jtv | That may be a tad on the high side, yes. | 08:10 |
jtv | They probably just couldn't be bothered to see which ones were really needed. | 08:11 |
wgrant | Indeed. | 08:11 |
jtv | After all, who doesn't want flashing Microsoft logos with a half-functional copy of their website embedded in their letters? | 08:11 |
jtv | Or something. | 08:11 |
stub | lifeless: When you say 'the OOPS rate has tripled', is that ongoing or are you referring to the spikes during and just after the upgrades? | 08:23 |
lifeless | stub: its ongoing | 08:27 |
stub | Hmm... wasn't aware it was that much. | 08:27 |
lifeless | daily oops reports - we were at a few hundred, we're at 1.mumble K | 08:28 |
lifeless | its noisy too, not flat | 08:28 |
wgrant | +ppas and the person picker could well make up most of that, though. | 08:28 |
stub | Or maybe we have just tripled our throughput - the DB load is still half what we used to see and I don't know why ;) | 08:28 |
lifeless | stub: we should normalise by requests/day - I have a bug open for that on the oops summaries | 08:29 |
lifeless | ok, tuolumne is doing some -weird- aggregation here - https://lpstats.canonical.com/graphs/OopsEdgeHourly/20100914/20101014/ | 08:29 |
stub | lifeless: Oh... and we might be getting a lot of OOPS reports from newly enabled cronscripts, including the doubling up of OOPSes from some scripts. If we just look at timeouts though, the cronscripts won't contribute to that. | 08:30 |
lifeless | stub: the upgrades - https://lpstats.canonical.com/graphs/OopsLpnetHourly/20100914/20101014/ | 08:30 |
lifeless | stub: I mispoke, I should have said 'timeout rates have tripled' | 08:32 |
stub | Yer, and those spikes helpfully making the rest of the graph unreadable :-P I agree it looks like hard timeouts have increased significantly, and user generated errors too | 08:33 |
lifeless | stub: the ppa search is a major one | 08:33 |
stub | So this was for pre-release, so we can't blame increased traffic from 10/10 | 08:33 |
lifeless | 1000 a day | 08:33 |
stub | I haven't followed the PPA search issues - do you have a bug # handy? | 08:34 |
lifeless | https://bugs.edge.launchpad.net/soyuz/+bug/659129 | 08:34 |
_mup_ | Bug #659129: Distribution:+ppas timeout in PPA search <dba> <timeout> <Soyuz:Triaged> <https://launchpad.net/bugs/659129> | 08:34 |
lifeless | I tagged it dba :) | 08:34 |
lifeless | (only this morning though - not digging at you) | 08:34 |
lifeless | isn't SourcepackagePublishingHistory a big table ? | 08:38 |
wgrant | Maybe 10-15 million records? | 08:40 |
stub | yup | 08:40 |
lifeless | SELECT DISTINCT archive FROM SourcepackagePublishingHistory WHERE status IN (2, 1) | 08:40 |
wgrant | Is that the package cache updater? | 08:40 |
lifeless | thats the ppa search query | 08:40 |
wgrant | That can't be the whole query. | 08:41 |
lifeless | no, its a in clause | 08:41 |
lifeless | wgrant: see the bug I linked | 08:41 |
wgrant | But still, that's indexed. | 08:41 |
lifeless | Time: 1265.807 ms | 08:41 |
lifeless | 6690 rows | 08:42 |
lifeless | its not an obvious cause for 15 second queries, but its a tad slow. | 08:42 |
lifeless | whats annoying is that the query in the OOPS runs in 1.5s on staging | 08:42 |
lifeless | so I can't reproduce | 08:43 |
lifeless | stub: how long does it take on the prod slaves? | 08:54 |
stub | Just over 2 seconds | 08:55 |
lifeless | >< | 08:57 |
lifeless | on all ? | 08:57 |
stub | Yup. I can run the query and return the 6733 results to Bangkok in 2 seconds. | 08:57 |
lifeless | damn | 08:58 |
stub | 2.7 seconds on a cold slave | 08:59 |
lifeless | actually hitting up https://edge.launchpad.net/ubuntu/+ppas?name_filter=munin times out though | 08:59 |
stub | That would be doing a different query, or is the filtering done client side? | 09:00 |
lifeless | slightly different yes | 09:00 |
lifeless | (Error ID: OOPS-1747ED330) | 09:00 |
=== almaisan-away is now known as al-maisan | ||
lifeless | waiting for that to sync | 09:06 |
mrevell | Hello | 09:06 |
jml | hi | 09:07 |
=== al-maisan is now known as almaisan-away | ||
=== almaisan-away is now known as al-maisan | ||
lifeless | morning jml | 09:12 |
lifeless | grrr oops syncing :< | 09:13 |
jml | lifeless: good morning | 09:13 |
jml | mwhudson: thanks for doing the branch-distro thing | 09:17 |
mwhudson | jml: it's probably still failing intermittently | 09:18 |
jml | mwhudson: I had been meaning to ask, the failures in the bug report, do they require manual intervention? | 09:18 |
mwhudson | jml: no | 09:18 |
mwhudson | actually seems to be going currently | 09:19 |
mwhudson | jml: well, the script needs restarting, that's all | 09:19 |
jml | mwhudson: what's the intermittent failure then? | 09:19 |
jml | mwhudson: ahh... that's manual enough for me :) | 09:19 |
mwhudson | jml: intermittent, as in, until the losas notice | 09:19 |
stub | lifeless, wgrant: Huh. SourcepackagePublishingHistory is only 1.2 million records. I thought it was bigger too. | 09:19 |
stub | Think I must have been confused with BinarypackagePublishingHistory, which is 11 million | 09:20 |
jml | mwhudson: I can't tell you how keen I am to make this much a fire-and-forget operation for next time | 09:20 |
mwhudson | jml: well, you saw my advice on that front i guess | 09:21 |
jml | mwhudson: rather than a multi-person project | 09:21 |
gmb | jtv: Hi. Edwin asked me to check with you about the bug you're still qa-ing. Any news? | 09:21 |
jml | mwhudson: yeah, thanks | 09:21 |
jtv | gmb: yes, the build farm is now finally up and running. And now something else is broken. | 09:21 |
gmb | Ah. Doubleplusungood. | 09:22 |
jtv | gmb: I'm leaving out some other breakages for brevity. | 09:22 |
lifeless | losa ping - where is OOPS 1747ED330 ? | 09:22 |
mthaddon | lifeless: erm, context? | 09:23 |
gmb | jtv: Anything i can do to help? | 09:23 |
wgrant | stub: Er, yes, I mixed them up. | 09:23 |
wgrant | Oops. | 09:23 |
lifeless | mthaddon: sorry; we're trying to track down the highest timeout since pg8.4 | 09:23 |
lifeless | mthaddon: thats an OOPS I triggered 24 minutes ago | 09:23 |
lifeless | but lp-oops isn't showing it | 09:23 |
mthaddon | lifeless: and what do you mean by "where is"? which server is it on, or you can't find it? | 09:23 |
lifeless | mthaddon: I guess I mean 'has it rsynced across, has the injection into lp-oops completed' - I'm very vague about where to look to figure this out myself :( | 09:24 |
mthaddon | oh great, edge4 and edge5 are using the same OOPS prefix | 09:25 |
mthaddon | lifeless: you should familiarise yourself with the OOPS prefix system I think - very useful for tracking this kind of stuff down | 09:25 |
lifeless | mthaddon: I'll file a bug about the fact the overlap wasn't detected | 09:26 |
lifeless | mthaddon: I rewrote part of it recently ;) | 09:26 |
lifeless | mthaddon: but the operational deployment is a bit different | 09:26 |
stub | That 'stable has test failures' in the topic is old now, right? | 09:27 |
lifeless | I don't know :) | 09:27 |
=== stub changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.10 | PQM is Release-Critical; devel is closed (Release manager: EdwinGrubbs) | firefighting: - | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | ||
stub | Its a lie anyway - if there are failures nobody is fighting the fire ;) | 09:28 |
mthaddon | lifeless: I don't see an OOPS with that ID on either edge4 or edge5 :/ | 09:28 |
mwhudson | jml: in other news, a longer lead in time on new dev would perhaps allow a more thorough qa, which *might* have caught the other problem | 09:29 |
lifeless | mthaddon: filed https://bugs.edge.launchpad.net/launchpad-foundations/+bug/659752 about the overlap aspect | 09:29 |
_mup_ | Bug #659752: duplicate oops prefixes are not detected in production-configs <Launchpad Foundations:New> <https://launchpad.net/bugs/659752> | 09:29 |
jml | mwhudson: I don't quite get it. | 09:29 |
mwhudson | jml: thumper tested his branch on like 1% of package branches | 09:30 |
mwhudson | if he'd tested on 10%, it might have found the bug i'd reported | 09:30 |
mwhudson | (probably not though) | 09:30 |
thumper | it seems there were some maverick branches that hadn't been scanned | 09:31 |
mthaddon | lifeless: I'm not really sure how else to track this OOPS down if it doesn't appear on either of the two server with the "ED" OOPS prefix | 09:31 |
thumper | I poked them to get scanned | 09:31 |
thumper | which seemed to make them continue | 09:31 |
thumper | we are just of 13K through | 09:31 |
thumper | when it fails, it fails after the restacking | 09:32 |
thumper | so the failing ones just need to be scanned | 09:32 |
lifeless | mthaddon: fair enough | 09:32 |
mwhudson | thumper: one of the branches i poked at seemed broken | 09:32 |
thumper | openoffice.org? | 09:32 |
lifeless | mthaddon: I'm assuming that you mean you looked on the appserver itself when you say that ? | 09:32 |
mwhudson | no, the one in the bug report | 09:32 |
lifeless | mthaddon: if so thank you very much for prodding. | 09:32 |
thumper | ok | 09:32 |
mwhudson | i didn't poke very hard | 09:32 |
stub | mthaddon: How about 1746B1391 which also hasn't synced? | 09:32 |
* mwhudson back to chessy drama tv | 09:33 | |
mthaddon | lifeless: yeah, looked on both appservers edge4 and edge5 | 09:33 |
lifeless | mthaddon: do you need a merge proposal to allocate a new prefix for edge5, or are you doing that? | 09:33 |
mthaddon | lifeless: I'll take care of it | 09:33 |
lifeless | mthaddon: ok, thanks. | 09:33 |
mthaddon | stub: don't see that one on lpnet2 either :( | 09:34 |
lifeless | mthaddon: I have a note here to check that we're still ontarget for the 18th for golive of qastaging | 09:35 |
mthaddon | lifeless: there have been some delays because the DB build for it was causing blocking problems for the staging DB | 09:36 |
mthaddon | lifeless: so I'm not sure if we'll still make the 18th | 09:36 |
stub | lifeless: So the PPA search is still timing out on the COUNT() in the bug report, and that query takes 40+ seconds, and I've added the solution to the bug report. Would be nice to know we are not throwing OOPS reports away though ;) | 09:37 |
lifeless | stub: didn' you just try the count() and have it fast on prod etc? | 09:37 |
lifeless | (it was fast on staging) | 09:38 |
wgrant | I wonder how much of the PPA publisher's time is spent in domination. | 09:38 |
wgrant | That's *really* slow at the moment, since it blows away the cache a couple of times for each (suite, arch). | 09:38 |
lifeless | stub: I'm wondering if we're facing a systematic difference between staging and prod making staging unsuitable for evaluating performance | 09:39 |
stub | lifeless: SELECT DISTINCT archive FROM SourcepackagePublishingHistory WHERE status IN (2, 1), which was the proceeding query in my scrollback when you asked | 09:39 |
lifeless | ah | 09:39 |
lifeless | so on staging | 09:39 |
lifeless | SELECT COUNT(*) FROM Archive, Person, ValidPersonOrTeamCache WHERE Archive.purpose = 2 AND Archive.distribution = 1 AND Person.id = Archive.owner AND Person.id = ValidPersonOrTeamCache.id AND Archive.id IN ( SELECT DISTINCT archive FROM SourcepackagePublishingHistory WHERE status IN (2, 1)) AND Archive.fti @@ ftq('munin') AND Archive.private = FALSE AND Archive.enabled = TRUE AND (1=1) | 09:39 |
lifeless | ; | 09:39 |
lifeless | count | 09:39 |
lifeless | ------- | 09:39 |
lifeless | 11 | 09:39 |
lifeless | (1 row) | 09:39 |
lifeless | Time: 1204.301 ms | 09:40 |
lifeless | wgrant: care to whip up a patch for https://bugs.edge.launchpad.net/soyuz/+bug/659129 with stubs tweaks ? | 09:40 |
_mup_ | Bug #659129: Distribution:+ppas timeout in PPA search <dba> <timeout> <Soyuz:Triaged> <https://launchpad.net/bugs/659129> | 09:40 |
wgrant | lifeless: I'd love to, but I have five projects due on Monday, so I probably shouldn't. | 09:40 |
lifeless | stub: \d validpersonorteamcache | 09:41 |
lifeless | ERROR: column "reltriggers" does not exist | 09:41 |
lifeless | LINE 1: SELECT relhasindex, relkind, relchecks, reltriggers, relhasr... | 09:41 |
lifeless | ^ | 09:41 |
lifeless | wgrant: ok, no worries. | 09:41 |
stub | lifeless: postgresql client package needs to be upgraded on devpad | 09:42 |
stub | 8.3 client doesn't know about 8.4 system table updates | 09:42 |
lifeless | ah | 09:43 |
bigjools | and it even tells you that in the client at startup :) | 09:45 |
bigjools | lifeless: you've been busy duping bugs, thanks | 09:47 |
lifeless | bigjools: I picked a newer one but it had more detail, hope that is ok | 09:48 |
lifeless | bigjools: and sorry for the confusion about the % bug | 09:48 |
bigjools | lifeless: sure thing | 09:48 |
bigjools | lifeless: no worries. you did make me double check it. Twice. :) | 09:48 |
lifeless | hah :) | 09:49 |
bigjools | I know I'm a little scatterbrained.... | 09:49 |
bigjools | lifeless: btw are you fixing that ppa search timeout? | 09:50 |
lifeless | stub: so any idea why the count is fast on staging? | 09:50 |
lifeless | bigjools: certainly not tonight | 09:50 |
bigjools | it would be nice to make the release | 09:50 |
lifeless | bigjools: stub has a proposed fix for the query | 09:50 |
bigjools | I saw, that's great | 09:50 |
lifeless | bigjools: should be near trivial to apply it (ignore my comment about validpersonorteamcache for now) | 09:50 |
bigjools | lifeless: btw your comment on the ML thread about not joining via TeamParticipation confused me - it's not needed I don't think? | 09:51 |
lifeless | bigjools: if you or someone in non-asia timezone can get a fix together it should be possible to make the release. | 09:52 |
lifeless | though thats only 12 hours away now | 09:52 |
lifeless | I know that I can't make the release; to tired to be coding right now, and not enough time to run the test suite after I start work before the release ;) | 09:52 |
lifeless | bigjools: teamparticipation - its needed because 'team X has open subscription' can be achieved two ways: | 09:54 |
lifeless | - directly and indirectly | 09:54 |
bigjools | eek | 09:54 |
lifeless | for direct, the team flag matters | 09:54 |
bigjools | -> - ops, private matter | 09:54 |
lifeless | for indirect the same flag on *any team that is a member of the team*. | 09:54 |
bigjools | lifeless: do you remember where in the code that slow ppa query is@? | 09:58 |
* bigjools curses cold fingers | 09:58 | |
lifeless | bigjools: no, I hadn't looked for it | 09:59 |
lifeless | sorry | 09:59 |
bigjools | np, was just looking for a time-saver :) | 09:59 |
lifeless | yeah, I wish I had one for you | 10:00 |
bigjools | found it | 10:06 |
bigjools | stub: in your fixed query you say joining to Person is not necessary, but I think it is as it's ordering on Person.name | 10:08 |
lifeless | bigjools: its not needed for the count(*); this points at a storm issue | 10:08 |
bigjools | lifeless: interesting - I dunno how it could know that | 10:09 |
lifeless | neither do I :) | 10:09 |
lifeless | but the way we use .count() implies that we need to teach it, or to start using separate query definitions for estimation, sizing and results | 10:10 |
lifeless | we may need to do that anyway. | 10:10 |
lifeless | stubs comment that the distinct is the key thing suggests that ignoring the Person usage is reasonable | 10:11 |
bigjools | lifeless: the batch nav would need fixing to do that | 10:13 |
bigjools | would be a nice fix though | 10:14 |
bigjools | we can supply fake values for huge sets where preciseness is not useful | 10:14 |
lifeless | there is an estimator in the code base | 10:14 |
lifeless | which uses the table stats to make an estimate | 10:14 |
bigjools | I wonder what someone thought that DISTINCT was doing | 10:15 |
lifeless | refactored code perhaps | 10:16 |
bigjools | lifeless: how long are you around for? | 10:17 |
* bigjools grumbles at "make schema" building wadl*3 | 10:18 | |
lifeless | bigjools: if you need me, I can be around | 10:18 |
lifeless | bigjools: if you don't, given there is a team lead meeting in < 8 hours, I won't be around for long at all | 10:18 |
bigjools | lifeless: ok I'm just running tests on this trivial change, if you can bless the branch that'd be good | 10:18 |
* bigjools will be 5 mins | 10:19 | |
lifeless | ok | 10:19 |
bigjools | just doing the MP | 10:19 |
bigjools | lifeless: https://code.edge.launchpad.net/~julian-edwards/launchpad/slow-ppa-search-bug-659129/+merge/38307 | 10:21 |
lifeless | rc blessed | 10:21 |
bigjools | ta | 10:22 |
bigjools | lifeless: can you r= it as well :) | 10:22 |
lifeless | no, lp won't let me. | 10:23 |
lifeless | jml: can you? | 10:23 |
bigjools | Oo | 10:23 |
lifeless | bigjools: only one vote type per person | 10:23 |
bigjools | prob cause the diff is not ready | 10:23 |
bigjools | we need a rabbit | 10:24 |
wgrant | You could teach ec2 to interpret 'code release-critical' properly. | 10:24 |
gmb | Bigjools: I'll take a look | 10:26 |
bigjools | ah thanks gmb | 10:27 |
bigjools | still no diff.... is the scanner foobar? | 10:27 |
wgrant | Didn't we just branch Ubuntu? | 10:27 |
bigjools | /o\ | 10:28 |
lifeless | yes | 10:28 |
lifeless | but the branch of ubuntu has staggering code | 10:28 |
bigjools | so, last time the backlog was hojw many days? :) | 10:28 |
wgrant | Bye bye scanner for the next month. Unless that thing got CP'd? | 10:28 |
* bigjools back in 5 | 10:29 | |
gmb | bigjools: How many lines should there be in the diff? | 10:29 |
gmb | I still see "updating diff" but there's also a diff... | 10:29 |
wgrant | I see no "updating diff" any more. | 10:29 |
gmb | ... and now the message has gone. | 10:29 |
gmb | Right. | 10:30 |
wgrant | Nice. | 10:30 |
gmb | Hurrah for confusing-ui. | 10:30 |
gmb | bigjools: Anyway, r=me. | 10:30 |
gmb | thumper: Edwin-afk asked me to check on the status of https://code.edge.launchpad.net/~thumper/launchpad/better-errors-for-translate-path/+merge/38178 whilst he slept. Is it in EC2 atm? | 10:31 |
bigjools | gmb: ta | 10:32 |
stub | bigjools: Keep the Person join if you want - it doesn't slow things that much. The DISTINCT is the killer. | 10:36 |
bigjools | stub: right. I can't work out why it was needed for an IN query as well | 10:36 |
bigjools | fix heading to PQM now | 10:37 |
stub | bigjools: It may well have been an optimization. I think PG 8.4 query planner handles IN better now. | 10:37 |
bigjools | good to know, ta | 10:38 |
jml | lifeless: can I what? | 10:38 |
lifeless | jml: do a code review (which gmb has done) | 10:53 |
jml | lifeless: good good :) | 10:53 |
lifeless | halt() | 10:53 |
gmb | jtv: So, talk to me (as an Edwin proxy). What's the situation w.r.t. breakages and how likely are these things to become rollout blockers? | 11:01 |
gmb | (Note that I have *zero* context besides Edwin saying you had bug that was qa-needstesting) | 11:01 |
jtv | gmb: we're still working to get staging fully operational for our purposes, which is kind of a prerequisite for a rollout. | 11:01 |
gmb | Ah, right. | 11:02 |
jtv | One thing we identified is that the librarian gc grace period needs to be long enough to keep essential files present over the lifetime of a staging copy. | 11:02 |
jtv | I don't know if there are any other branches waiting for Q/A that would be affected by this. Possibly not; most buildfarm Q/A can happen on dogfood. | 11:03 |
wgrant | Can DF not be used? | 11:03 |
jtv | Just one thing missing on dogfood: codehosting. | 11:03 |
wgrant | There's a hack for that.™ | 11:03 |
wgrant | Oh, but I guess you need the scanner. Sad. | 11:04 |
jtv | Well we need to trigger an ITipChanged event and watch it fire off a buildfarm job. | 11:04 |
jtv | Exactly. | 11:04 |
wgrant | You can't QA the scanner on staging and manually create the records on DF? | 11:06 |
jtv | gmb: it's _probably_ safe to roll back my revision, but again we can't verify that assertion in staging's current state. | 11:06 |
gmb | jtv: Right. Deep joy. | 11:06 |
gmb | jtv: So, once staging's operational for you, your plans are to do QA and / or check that you can roll back safely? | 11:07 |
* gmb stabs wildly in the dark | 11:07 | |
jtv | gmb: a brilliant guess | 11:07 |
jtv | I'm still betting on forward rather than back. | 11:07 |
gmb | Cool. | 11:08 |
jml | bigjools: are you going to be working on the buildd-manager branch of death today? | 11:09 |
* jml pokes network drivers… again | 11:11 | |
bigjools | jml: otp, but yes | 11:11 |
=== jtv is now known as jtv-afk | ||
jml | bigjools: cool. just trying to plan my day. | 11:14 |
bigjools | jml: I'll start on it again in about 30 mins, do you want to join in? | 11:30 |
jml | bigjools: sure | 11:38 |
bigjools | great - just wading through the mountain of email first | 11:39 |
wgrant | bigjools: That branch made me scream, but then I noticed that you killed buildd-slavescanner.txt, so all was forgotten. | 11:39 |
bigjools | :) | 11:39 |
bigjools | it's working on dogfood, did I mention that? :) | 11:39 |
wgrant | You did. That's good news. | 11:40 |
* jml out arranging lunch – it's all about timing the interruptions. | 11:40 | |
bigjools | argh, this person picker timout is seriously pissing me off | 11:40 |
bigjools | lifeless: is that on your radar? | 11:41 |
mwhudson_ | looks like branch-distro finished? | 11:58 |
* gmb lunches | 11:58 | |
jml | mwhudson_: cool! how can you tell? | 11:58 |
wgrant | Finished, or failed again? | 11:58 |
mwhudson_ | https://code.edge.launchpad.net/ubuntu/natty/ has a big number on it | 11:58 |
mwhudson_ | and it's not changing | 11:59 |
mwhudson_ | i guess it might have fallen over again | 11:59 |
thumper | gmb: Revision: 9885 of db-devel, but buildbot seems down | 12:03 |
* thumper -> bed | 12:03 | |
wgrant | bigjools: Are we going to need something like CustomUploadPublishingHistory, maybe? | 12:03 |
bigjools | no idea, I've not thought about it | 12:04 |
wgrant | Ah. | 12:04 |
bigjools | possibly, though | 12:04 |
wgrant | I think it would probably make a lot of things suck less. But it needs thought. | 12:05 |
deryck | Morning, all. | 12:05 |
StevenK | gmb: Hi! Can you look at https://code.edge.launchpad.net/~stevenk/launchpad/db-add-derivedistroseries-api/+merge/38189 again? I've made the changes you suggested. | 12:30 |
EdwinGrubbs | thumper, lifeless: do you know if bug 658124 can be marked qa-ok? It's on staging already, but stub is not around. | 12:57 |
_mup_ | Bug #658124: Revision karma allocator glacial and needed to be disabled <qa-needstesting> <Launchpad Bazaar Integration:Fix Committed by stub> <https://launchpad.net/bugs/658124> | 12:57 |
EdwinGrubbs | jtv-afk: how goes QA? | 13:00 |
jml | EdwinGrubbs: both are asleep. It's 1am in NZ | 13:05 |
EdwinGrubbs | jml: you wouldn't happen to know about thumper's two branches that are release-critical approved but not landed? | 13:06 |
jml | EdwinGrubbs: not off the top of my head. | 13:07 |
gmb | EdwinGrubbs: I tried to check in with thumper but he'd already left. | 13:08 |
gmb | EdwinGrubbs: jtv-afk's situation is thus: | 13:09 |
gmb | <gmb> jtv: So, talk to me (as an Edwin proxy). What's the situation w.r.t. breakages and how likely are these things to become rollout blockers? | 13:09 |
gmb | (Note that I have *zero* context besides Edwin saying you had bug that was qa-needstesting) | 13:09 |
gmb | <jtv> gmb: we're still working to get staging fully operational for our purposes, which is kind of a prerequisite for a rollout. | 13:09 |
gmb | <gmb> Ah, right. | 13:09 |
gmb | <jtv> One thing we identified is that the librarian gc grace period needs to be long enough to keep essential files present over the lifetime of a staging copy. | 13:09 |
gmb | I don't know if there are any other branches waiting for Q/A that would be affected by this. Possibly not; most buildfarm Q/A can happen on dogfood. | 13:09 |
gmb | <wgrant> Can DF not be used? | 13:09 |
gmb | <jtv> Just one thing missing on dogfood: codehosting. | 13:09 |
gmb | <wgrant> There's a hack for that.™ | 13:09 |
gmb | Oh, but I guess you need the scanner. Sad. | 13:09 |
gmb | <jtv> Well we need to trigger an ITipChanged event and watch it fire off a buildfarm job. | 13:09 |
gmb | Exactly. | 13:09 |
gmb | <wgrant> You can't QA the scanner on staging and manually create the records on DF? | 13:09 |
gmb | <jtv> gmb: it's _probably_ safe to roll back my revision, but again we can't verify that assertion in staging's current state. | 13:09 |
gmb | <gmb> jtv: Right. Deep joy. | 13:09 |
gmb | jtv: So, once staging's operational for you, your plans are to do QA and / or check that you can roll back safely? | 13:09 |
gmb | * gmb stabs wildly in the dark | 13:09 |
gmb | <jtv> gmb: a brilliant guess | 13:09 |
gmb | <jtv> I'm still betting on forward rather than back. | 13:09 |
gmb | EdwinGrubbs: Not sure if that helps you any. | 13:09 |
EdwinGrubbs | gmb: well, it confirms that it is as bad as I thought. | 13:11 |
wgrant | What's actually broken about staging? | 13:14 |
gmb | No idea. | 13:15 |
wgrant | I see a TTBJ in progress there as we speak. | 13:16 |
wgrant | Ah, it just restarted. | 13:16 |
wgrant | Well. | 13:16 |
wgrant | I think the chroot is missing. | 13:16 |
wgrant | Easy fix. | 13:16 |
wgrant | Yes, the staging DB just needs to have a new chroot thrown at it. | 13:18 |
wgrant | So, unless there's some issue deeper than the obvious fatal one, it should take roughly two commands and ten seconds to fix. | 13:21 |
jml | one of these days I'm going to think seriously about the build farm UI | 13:23 |
wgrant | Oh? | 13:24 |
jml | e.g. that end users care about https://edge.launchpad.net/builders and actually check the page smells wrong to me | 13:25 |
wgrant | I think we should wait and see what happens now that multi-day queues are rare. | 13:27 |
jml | well I'm hardly proposing immediate action | 13:27 |
jml | a page that showed the queue, otoh, I could see being useful to end-users and operators alike | 13:27 |
wgrant | That sounds like my bug #155758 | 13:28 |
_mup_ | Bug #155758: Global PPA +builds would be useful <ppa> <ui> <Soyuz:Triaged by julian-edwards> <https://launchpad.net/bugs/155758> | 13:28 |
=== jtv-afk is now known as jtv | ||
jtv | hi gmb, hi EdwinGrubbs, I'm back from dinner | 13:30 |
jml | wgrant: right | 13:30 |
EdwinGrubbs | jtv: I'm hoping staging works for you now. | 13:31 |
jtv | no, not yet | 13:31 |
jml | wgrant: I guess in general I'm thinking that we should think about operator UI and user UI as being two distinct things that only sometimes overlap | 13:31 |
wgrant | jtv: Is there more to the staging breakage than the obvious chroot LFA expiration? | 13:32 |
jtv | wgrant: I was about to ask how mthaddon had fared | 13:33 |
jtv | mthaddon: staging is back… have you tried running those commands to upload the new chroot again? | 13:33 |
mthaddon | jtv: I haven't no | 13:45 |
jtv | mthaddon: could you? | 13:45 |
wgrant | Just grabbing the current prod one and manage-chroot.py'ing it in? | 13:45 |
mthaddon | running it now | 13:46 |
mthaddon | jtv: and done | 13:46 |
jtv | mthaddon: yay! Thanks. | 13:46 |
wgrant | Success. | 13:47 |
jtv | mthaddon: and now it's producing output. I'll throw in another "thanks" for good measure. | 13:47 |
mthaddon | yer welcome | 13:47 |
jtv | wgrant is obviously watching the same page I am. :) | 13:47 |
wgrant | Indeed. But I'm a little confused as to how clementine is involved. I thought that was used by the server team for stuff. | 13:48 |
jtv | wgrant: are you saying it's not supposed to be a staging builder!? | 13:49 |
jtv | EdwinGrubbs, gmb: yay! qa-ok. Only took a few seconds once everything was set up. :) | 13:51 |
EdwinGrubbs | jtv: yipeee | 13:51 |
wgrant | I.. don't know. | 13:51 |
=== al-maisan is now known as almaisan-away | ||
jtv | wgrant: I've had clementine for these jobs before. Can't say if that was IS's intention, but that's how it's been working. | 13:53 |
bigjools | clementine is the staging builder | 13:56 |
jtv | phew | 13:56 |
jtv | and build it did. | 13:56 |
jtv | I got my template. | 13:57 |
jtv | Shouldn't feel like such an achievement for something we've already had in production for a while, should it? :) | 13:57 |
jtv | So many moving parts. | 13:57 |
bigjools | the build farm is complicated... | 13:57 |
bigjools | ok jml I am about to start hacking on the BFH | 13:59 |
jtv | jam: heh, I just googled for something in libpqxx and found it on arbash-meinel.com :) | 14:02 |
jml | bigjools: \o/ | 14:04 |
StevenK | gmb: Did you see my gentle prod? | 14:05 |
StevenK | gmb: You did, never mind. Thanks for the review. | 14:06 |
EdwinGrubbs | wallyworld_, rockstar: ping | 14:08 |
bigjools | wgrant: https://edge.launchpad.net/ubuntu/+source/linux-lts-backport-maverick | 14:12 |
bigjools | spot the problem | 14:12 |
wgrant | bigjools: Already commented. | 14:12 |
bigjools | :) | 14:13 |
bigjools | your diagnosis is the same as mine | 14:13 |
wgrant | bigjools: Right, clementine is clearly a staging builder... but I also saw it being used to publish Maverick's EC2 AMIs. So I'm a little confused. | 14:16 |
wgrant | Maybe there are two clementines. | 14:16 |
* jtv suppresses mumbled remark about her sister | 14:20 | |
jtv | —having listened to far too much Tom Lehrer for his own good | 14:20 |
=== Ursinha-afk is now known as Ursinha | ||
EdwinGrubbs | rockstar, abentley: ping | 14:52 |
abentley | EdwinGrubbs: pong | 14:52 |
EdwinGrubbs | abentley: can you QA bug 634149 and bug 639785 that thumper landed? | 14:53 |
_mup_ | Bug #634149: Poor error messages from the smart server <codehosting-ssh> <qa-needstesting> <Launchpad Bazaar Integration:Fix Committed by thumper> <https://launchpad.net/bugs/634149> | 14:53 |
_mup_ | Bug #639785: InvalidProductName when trying to access some branches in LP <oops> <qa-needstesting> <Launchpad Bazaar Integration:Fix Committed by thumper> <https://launchpad.net/bugs/639785> | 14:53 |
deryck | allenap or gmb, how should I run test_bugtask_status? I get LayerIsolationError about the librarian being killed or hung. | 14:53 |
deryck | I've tried all manner of ./bin/test with test_bugtask_status | 14:54 |
allenap | deryck: Can you paste the error? I would use bin/test -vvct test_bugtask_status (and I have recently because I've changed it). | 14:55 |
=== almaisan-away is now known as al-maisan | ||
abentley | EdwinGrubbs: I'm not sure. The merge proposal doesn't describe how to demo the fix. | 14:55 |
gmb | deryck: What allenap said. | 14:56 |
EdwinGrubbs | abentley: well, if we can't QA it, I guess we can't release it. | 14:56 |
deryck | allenap, gmb -- http://pastebin.ubuntu.com/512400/ | 14:56 |
deryck | devel should be up to date for me, but confirming that now. | 14:57 |
bac | abentley, adeuring, allenap , bac, danilo, sinzui, deryck, EdwinGrubbs, flacoste, gary, gmb, henninge, jelmer, jtv, bigjools, leonard, mars, noodles775: Reviewer Meeting in 3 minutes | 14:57 |
allenap | deryck: Have you tried removing pid files, or even (gasp) rebooting? | 14:58 |
deryck | heh | 14:58 |
deryck | gasp indeed! ;) | 14:58 |
bigjools | deryck: kill all existing librarians then remove the pid file | 14:59 |
gmb | deryck: Again, what the other guy said. I can't reproduce locally... | 14:59 |
gmb | reproduce *the error* | 14:59 |
bigjools | it happens to me occasionally | 14:59 |
* bigjools chuckles at gmb | 14:59 | |
* gmb saw that coming | 14:59 | |
bigjools | ... | 15:00 |
gmb | *sigh* | 15:00 |
gmb | Oh, hey, grep works better if you spell things right. Who'da thunk? | 15:00 |
deryck | hmmm, no luck. | 15:01 |
deryck | rm'ed /var/tmp/testrunner-librarian.pid, still have the error | 15:01 |
deryck | don't show the librarian running via ps | 15:01 |
deryck | oh, well. Will dig in more after reviewer meeting | 15:02 |
allenap | deryck: Try lsof +D $tree_dir to see if anything is still running there. | 15:03 |
deryck | nothing running except gvim :-) | 15:08 |
lifeless | deryck: is that plain devel or do you have some changes? | 15:10 |
deryck | a-ha! rm /var/tmp/fatsam.test/librarian.pid did the trick. | 15:10 |
deryck | lifeless, plain devel. | 15:10 |
deryck | but I've got it now, finally. | 15:10 |
lifeless | thats very odd; you should have been getting a error from setUp | 15:12 |
lifeless | (layers.py line 589) | 15:12 |
bigjools | lifeless! | 15:20 |
lifeless | having trouble sleeping | 15:21 |
lifeless | so hey, is https://devpad.canonical.com/~lpqateam/qa_reports/deployment-db-stable.html down for other people ? I get connection refused | 15:22 |
bigjools | yeah loolks like devpad is misbehaving | 15:25 |
bigjools | jml: ok just looked at your patch *finally* and it appears I hadn't pushed up the latest revision for you to play with :( | 15:31 |
jml | bigjools: I'm not surprised, it looked wrong :) | 15:31 |
jml | bigjools: but I reckon my patch is good enough for illustration | 15:31 |
bigjools | yep | 15:31 |
bigjools | thanks | 15:31 |
EdwinGrubbs | Ursinha, matsubara: do you know of any oopses or or other problems that might be a rollout blocker? | 15:33 |
mars | abentley, are you still having problems with 'make check' failing on your local system? | 15:33 |
Ursinha | EdwinGrubbs, I'm checking right now | 15:33 |
mars | abentley, in reference to bug 629746 | 15:33 |
_mup_ | Bug #629746: make check fails with "A test appears to be hung. There has been no output for 600 seconds." <build-infrastructure> <Launchpad Foundations:Triaged by mars> <https://launchpad.net/bugs/629746> | 15:33 |
abentley | mars: I dunno-- I stopped using it. bin/test has always worked fine. | 15:34 |
mars | abentley, ok, I'll flag it as Won't Fix | 15:34 |
abentley | mars: !!! | 15:34 |
abentley | mars: Why would you do something like that? | 15:34 |
abentley | mars: make check uses test_on_merge, which turns out to be completely different code from bin/test. | 15:35 |
mars | abentley, well, 'make check' is a target intended for automated test suite use. After discussing this with the other build people, we decided that bin/test for local dev was fine, and save 'make check' for the bots | 15:36 |
abentley | mars: The difference in behavour between bin/test and test_on_merge worries me. | 15:37 |
Ursinha | EdwinGrubbs, devpad is down, I can't keep checking right now :/ | 15:37 |
Ursinha | it should be back soon, according to losas | 15:37 |
Ursinha | so I'll have an answer soon | 15:37 |
mars | abentley, it only has a call to 'make schema' in between, and it calls xvfb-run | 15:37 |
abentley | mars: last I saw, test_on_merge was its own test runner. | 15:38 |
mars | yes, unfortunately | 15:38 |
bigjools | jml: I reckon _with_timeout could be a nice decorator in lp.services.twisted | 15:38 |
mars | abentley, it checks the child process' exit status | 15:38 |
mars | abentley, and kills hung tests | 15:39 |
jml | bigjools: interesting thought. it assumes that the Deferred has a nice canceller defined, but that might not be a problem. | 15:39 |
bigjools | jml: or perhaps a context manager | 15:39 |
abentley | mars: my mistake. I guess I saw lots and lots of Python and assumed it was a test runner. | 15:40 |
jml | bigjools: yeah. maybe. I still find it hard to get excited about them. | 15:41 |
abentley | mars: still, I wonder-- are these tests not displaying output for 15 minutes and then succeeding on my box? | 15:41 |
bigjools | jml: I know what you mean, but the code would look much nicer if nothing else :) | 15:42 |
mars | abentley, I would say run the test in isolation with bin/test to see | 15:42 |
jml | no opinion on that yet | 15:42 |
bigjools | jml: oh I was going to ask - does our version of Twisted have that Deferred cancellation in it for the one callRemote returns? | 15:43 |
jml | bigjools: I don't know off the top of my head. the NEWS file will mention it. | 15:43 |
abentley | mars: Do you think testPPAUploadResultingInNoBuilds is the test in question? | 15:44 |
mars | abentley, no, I can't be sure. The other problem with test_on_merge.py is that output from hung tests, etc. gets buffered | 15:44 |
mars | abentley, usually one needs to run the sub-suite with bin/test | 15:45 |
mars | bin/test does the right thing: hangs, then prints to the console when you hit Ctrl-C | 15:45 |
abentley | mars: Perhaps you should send SIGINT before signal 15, then? | 15:47 |
mars | hmm, I don't know, maybe | 15:47 |
abentley | mars: so by sub-suite, you mean test_ppauploadprocessor? | 15:48 |
mars | yes | 15:48 |
mars | and if that does not reproduce it, step one suite higher in the chain again | 15:48 |
bigjools | jml: yes, it does | 15:48 |
jml | bigjools: cool. | 15:49 |
* bigjools hax0rs | 15:49 | |
mars | benji, leonardr, I think I have an idea about cleaning up windmill, if that is indeed the problem | 15:55 |
benji | mars: great | 15:56 |
mars | I'll whip up a patch | 15:56 |
jam | jtv: do you have the link? | 15:58 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
jtv | jam: what, for the libpqxx stuff? Not anymore… I've got a little design problem with notification listeners in libpqxx so I thought I'd look up who uses them and how. | 16:10 |
=== Ursinha is now known as Ursinha-lunch | ||
jtv | gary_poster: thanks for following up on the storm issue | 16:10 |
gary_poster | np jtv | 16:11 |
jam | jtv: hmmm, when I search for it, I get an old .weave file for a project I used to work on. Interesting to have text-readable repository content get indexed | 16:12 |
bigjools | jml: btw did you look into how to pass a connection timeout value to the reactor's connect method? | 16:13 |
jtv | jam: I think there was mention of university stuff. On an unrelated note, I'm sorry there's so much trouble getting the BranchRevision patch through. | 16:14 |
jml | bigjools: it's still the same as yesterday: patch Twisted or clone & mutate the Proxy class. | 16:14 |
bigjools | jml: yes I realise that :) Just wondered if you'd done anything. | 16:14 |
jml | bigjools: oh, no. | 16:14 |
bigjools | I think I found a problem with the decorator approach as well - it's kinda hard to pass different reactors for tests :( | 16:15 |
abentley | mars: I can't reproduce the specific delay. I have noticed the test suite seems to hang sometimes and then gets moving again, but I don't usually run with -vv, so I'm not sure where. | 16:16 |
jml | bigjools: good point | 16:17 |
bigjools | jml: unless we decorate the whole class | 16:17 |
abentley | mars: I worry that it might be because getUniqueInteger now has a random starting point. | 16:18 |
jml | bigjools: that seems like one of solutions in search of a problem | 16:18 |
bigjools | yer | 16:18 |
jml | one of those, I meant to say | 16:18 |
bigjools | I'm just looking for ways to make the code re-usable. | 16:18 |
jam | jtv: well, modifying a 600M row table and having a hard-timeout on how long the upgrade can run is always going to be a bit of a problem :) | 16:18 |
jml | bigjools: well, it can be a function, rather than a method | 16:19 |
jtv | jam: that's the thing—we're not doing anything that should take noticeable time. | 16:19 |
bigjools | jml: that's the easy approach, yes | 16:19 |
jml | def cancel_on_timeout(timeout, d, reactor=None): | 16:19 |
jtv | jam: dropping a table in postgres is at its core just dropping it from metadata, and leaving the existing rows untouched (until the next vacuum I guess—but we vacuum anyway) | 16:19 |
jam | jtv: it is changing the primary key, which requires re-indexing | 16:20 |
jtv | jam: that's the stupid thing. No technical reason for that that we can think of. It's just that nobody bothered to allow it yet. | 16:20 |
jtv | jam: changing a primary key is a matter of dropping one constraint and adding another, which is really just a not-null plus a unique plus a little marker saying "this is the primary key." | 16:21 |
jtv | jam: a primary key has basically no special meaning, except various scripts and slony like to work with the primary key by default. | 16:22 |
jtv | jam: so stub came up with a good one… just ram the change into the system catalog. Make it say that there's a primary-key constraint and that the existing index was made for it. But that needs careful deliberation with pg-hackers. | 16:23 |
=== deryck is now known as deryck[lunch] | ||
jam | jtv: true, though I'd rather work with thumper to redesign the whole logic and turn 600M rows into <1M | 16:23 |
jam | :) | 16:23 |
jtv | jam: that's good too :-) | 16:24 |
jtv | Is that the "compression" scheme you mentioned in Prague? | 16:24 |
jam | it would be interesting to get a dump of that content, and see how small it can be | 16:24 |
jam | yes | 16:24 |
abentley | EdwinGrubbs: qa-ed. | 16:27 |
abentley | jam, speaking of that, can we chat? | 16:31 |
EdwinGrubbs | abentley: thanks | 16:31 |
bigjools | jml: success. Now to write tests :) | 16:33 |
jml | bigjools: I don't know whether to be happy or sad. | 16:34 |
bigjools | jml: DDT | 16:34 |
bigjools | arf | 16:34 |
=== gary_poster is now known as gary-lunch | ||
EdwinGrubbs | gmb: are we still supposed to write up a rollout report? I don't see one for last cycle. https://wiki.canonical.com/Launchpad/RolloutReports | 16:42 |
=== benji is now known as benji-lunch | ||
gmb | EdwinGrubbs: Yes. https://wiki.canonical.com/Launchpad/RolloutReports/10.09. I just forgot to link to it. | 16:43 |
=== salgado is now known as salgado-physio | ||
jcsackett | EdwinGrubbs: ping. | 16:54 |
EdwinGrubbs | jcsackett: hi | 16:54 |
jcsackett | EdwinGrubbs: how do you feel about altering the codehosting_usage property on projects so it's set to LAUNCHPAD if products for the group are? | 16:55 |
jcsackett | rationale is that we have a bug about showing the unknown code hosting message if there are no branches for the projectgroup products, but it seems odd to test branches when we're looking at usage. | 16:56 |
jcsackett | i'm pinging you, EdwinGrubbs, since you most recently refactored that. (really nicely, btw). | 16:56 |
=== deryck[lunch] is now known as deryck | ||
jcsackett | alternatively right now i can just test the output of getBranches on a projectgroup and display the unknown message if it's 0; that just seems odd. | 16:59 |
EdwinGrubbs | jcsackett: hmmm, maybe projectgroups need a special message when there are no branches to say that you can submit code on the following products that have codehosting turned on. | 17:00 |
mars | leonardr, benji-lunch, here is a patch that should if the problem is the windmill suite: http://pastebin.ubuntu.com/512467/ | 17:00 |
EdwinGrubbs | jcsackett: I assume that if we change the codehosting_usage to LAUNCHPAD for the projectgroup, it will show a bunch of action links that don't apply. | 17:01 |
jcsackett | EdwinGrubbs: fair point; the overview involvement menu will trigger, which is ridiculous. | 17:01 |
* jcsackett hadn't thought that through. | 17:01 | |
mars | leonardr, benji-lunch, create a new branch of your current work, apply this patch, push, and run with "ec2 test -o '-t whatever_the_failing_test'", see if the problem persists. If it does not, try a full test run. | 17:01 |
leonardr | will do | 17:01 |
jcsackett | EdwinGrubbs: i think a message about no branches and list of links to the products makes sense. just displaying the "we don't know" message seems underwheming to me. | 17:03 |
jcsackett | thanks. | 17:03 |
=== bigjools is now known as bigjools-afk | ||
=== beuno is now known as beuno-lunch | ||
=== Ursinha-lunch is now known as Ursinha | ||
=== benji-lunch is now known as benji | ||
=== gary-lunch is now known as gary_poster | ||
=== bigjools-afk is now known as bigjools | ||
=== beuno-lunch is now known as beuno | ||
barry | hi guys, what's the story with python-psycopg2 for lp development on maverick? launchpad-dependencies won't install because it requires < 2.0.14 | 18:02 |
jml | g'night | 18:03 |
jtv | jml: good night | 18:03 |
maxb | barry: manually install the lucid .deb, then install launchpad-dependencies | 18:11 |
barry | maxb: ah. what are the prospects for updating to the maverick version of the package? | 18:14 |
maxb | I am not the person to ask about that | 18:14 |
barry | maxb: gotcha, thanks. maybe flacoste, gary_poster or sinzui knows? | 18:14 |
maxb | The underlying question is "How soon can we resolve our/Storm's unicode issues and be able to use PsycoPg 2.2?" | 18:14 |
gary_poster | barry, maxb, you need to revert to the older one. stub has a task to do the update probably in the next month/cycle | 18:15 |
barry | gary_poster: cool, thanks | 18:16 |
gary_poster | np | 18:16 |
lifeless | bigjools: what was the outcome of testing that query fix ? | 18:17 |
bigjools | lifeless: nothing else happened | 18:18 |
lifeless | barry: https://bugs.edge.launchpad.net/ubuntu/+source/psycopg2/+bug/650777 | 18:18 |
bigjools | it doesn't break functionality so there's no point worrying | 18:18 |
_mup_ | Bug #650777: operator does not exist: text = bytea <amd64> <apport-bug> <maverick> <psycopg2 (Ubuntu):New> <https://launchpad.net/bugs/650777> | 18:18 |
lifeless | bigjools: ok | 18:18 |
lifeless | bigjools: works for me | 18:18 |
bigjools | lifeless: we can do more investigation on the performance later | 18:18 |
lifeless | ack | 18:18 |
barry | lifeless: thanks. subscribed | 18:19 |
lifeless | barry: we have lucids version, which works, in the lp PPA | 18:19 |
barry | lifeless: so i just need to uninstall the mav version and it should work? | 18:19 |
lifeless | there is an argument that 'lp is broken and this just shows it'. | 18:19 |
lifeless | barry: downgrade yeah | 18:20 |
barry | +1 | 18:20 |
=== matsubara is now known as matsubara-lunch | ||
bigjools | lifeless: https://lp-oops.canonical.com/oops.py/?oopsid=OOPS-1747S227 | 18:26 |
bigjools | the fixed query is not the one that's timing out | 18:27 |
bigjools | I smell a problem with the ValidPersonOrTeamCache view | 18:27 |
lifeless | oh wow, lp-oops openid dance is speial now | 18:28 |
lifeless | 3 continue buttons | 18:28 |
bigjools | yeah I had to log out/in | 18:28 |
bigjools | I frickin hate openid | 18:28 |
lifeless | yeah, the valid* caches have been the source of lots of timeouts | 18:29 |
lifeless | there's a validity clause for Person | 18:29 |
lifeless | which you can incorporate into a storm query, guess we need the same for team | 18:29 |
* bigjools heads off for dinner | 18:30 | |
bigjools | laterz | 18:30 |
lifeless | ciao | 18:30 |
gary_poster | (mars, look over here :-) ) flacoste: do you know if dogfood is on lucid now, or if not, when it will be? | 18:34 |
flacoste | gary_poster: only a losa or bigjools would know | 18:35 |
gary_poster | ok thanks flacoste | 18:35 |
gary_poster | huh, oh look, I haven't been on canonical irc all day :-P | 18:35 |
gary_poster | lifeless: you mentioned to me a while ago that storm trunk had a bug that would bite us. Do you remember what it was, and do you know if it has been resolved? If it has been resolved, you can even ignore the first question if you want :-) | 18:39 |
elmo | lifeless/bigjools: try lp-oops now | 18:40 |
lifeless | I don't think it has | 18:40 |
deryck | lifeless, hi. Are you subscribed to the security mailing list that gets mail for security bugs? | 18:40 |
lifeless | elmo: thanks | 18:40 |
lifeless | deryck: I don't know | 18:40 |
deryck | lifeless, I posed a question for you in bug 638054, and then realized I wasn't sure if you would see it. | 18:40 |
lifeless | deryck: I'm structurally subcribed to 'launchpad-project' ;) | 18:41 |
deryck | lifeless, but that doesn't get you security bugs. non-obvious as that may be and all. ;) | 18:42 |
lifeless | huh, well I got the bug mail anyhow | 18:42 |
lifeless | and I've replied just now | 18:42 |
gary_poster | lifeless, "I don't think it has" was directed to me, I think; thank you. Do you know what the issue was? I'd like to mention it to jamu | 18:52 |
lifeless | something like | 18:54 |
lifeless | there was this cache incoherency | 18:54 |
lifeless | mm | 18:55 |
lifeless | I know, its an XXX | 18:55 |
=== salgado-physio is now known as salgado | ||
lifeless | https://bugs.edge.launchpad.net/storm/+bug/619017 | 18:55 |
_mup_ | Bug #619017: __storm_loaded__ called on empty object <Storm:Fix Committed by therve> <https://launchpad.net/bugs/619017> | 18:55 |
lifeless | thats the bug I mentioned, i think | 18:56 |
lifeless | now to find the fallout | 18:56 |
lifeless | https://bugs.edge.launchpad.net/storm/+bug/620615 | 18:56 |
_mup_ | Bug #620615: please contact the developers <Storm:In Progress by niemeyer> <https://launchpad.net/bugs/620615> | 18:56 |
lifeless | we hit that one when we use storm with the earlier one fixed. | 18:56 |
lifeless | IIRC | 18:56 |
gary_poster | lifeless: thank you. the title of the bug made me laugh. OK, so to your knowledge, when that bug is fixed, we can switch to Storm trunk (via an official 0.18 or unofficial release)? | 19:01 |
lifeless | deryck: my reply is alittle brief - but all the context is in the rt | 19:01 |
lifeless | gary_poster: I'm not aware of any other blockers | 19:01 |
gary_poster | great thanks again | 19:01 |
deryck | lifeless, ok, thanks for responding. Brief is fine. :-) I'll look at the RT. | 19:02 |
=== matsubara-lunch is now known as matsubara | ||
=== al-maisan is now known as almaisan-away | ||
jcsackett | abentley: ping | 19:33 |
abentley | jcsackett: OTP | 19:34 |
jcsackett | never mind then; rockstar, you available for a quick question? | 19:35 |
rockstar | jcsackett, on the phone. | 19:35 |
rockstar | jcsackett, abentley and I are on the phone together. :) | 19:37 |
jcsackett | rockstar: that's sort of what i guessed from the paired responses. :-) | 19:37 |
EdwinGrubbs | jcsackett: ok, I think I can answer your question now. | 19:37 |
jcsackett | EdwinGrubbs: i'm all ears. | 19:37 |
EdwinGrubbs | jcsackett: if you go to https://launchpad.dev/$project/+branchvisibility, you can specify the visibility policy for multiple teams separately. You can also specify the default visibility for people not in one of those teams. | 19:38 |
abentley | jcsackett: back | 19:43 |
jcsackett | EdwinGrubbs: can anyone with Edit permission for the product use that page? | 19:43 |
jcsackett | abentley: i'm trying to answer a question that EdwinGrubbs has helped me out with a bit. namely, if a product has branches set as private to one team, can you make branches on the product for another team? | 19:44 |
abentley | jcsackett: I don't know a lot about branch privacy. | 19:45 |
jcsackett | ah. Edwin thought you might. | 19:45 |
abentley | jcsackett: I don't think that "private to one team" is a thing. | 19:46 |
lifeless | different teams can have private branches on the same product | 19:46 |
abentley | jcsackett: I'm pretty sure the enum is "private", "private by default" or "public". | 19:46 |
abentley | jcsackett: I don't think there's a team relationship. | 19:46 |
lifeless | the ability to make private branches is a commercial feature | 19:46 |
lifeless | abentley: the policy is team based | 19:46 |
jcsackett | lifeless: i know, i'm trying to answer a question for a commercial team.https://answers.edge.launchpad.net/launchpad-registry/+question/129258 | 19:47 |
jcsackett | he marked it as solved, but has a new question in the comment he closed it with. | 19:47 |
jcsackett | nonmunged link https://answers.edge.launchpad.net/launchpad-registry/+question/129258 | 19:47 |
jcsackett | EdwinGrubbs pointed out he might be able to set it up with the +branchvisibility link; i'm just figuring out all the bits before i answer him. | 19:49 |
sinzui | jcsackett, you make need to to retarget the question to launchpad-code or at least get thumper or abentley to explain that branch visibly does not work the way they think. | 19:49 |
jcsackett | sinzui: dig. i'll retarget. | 19:52 |
lifeless | sinzui: jcsackett: I don't think it needs retargeting. Have you looked at their oops? | 19:56 |
jcsackett | lifeless: yes, that's why i was asking my initial question. | 19:57 |
lifeless | the fact they are encountering an oops suggests they have found a bug, to me. | 19:58 |
lifeless | they do need to have each *team* that is pushing branches setup with a branch policy (or have a meta-team containing all their teams, and give it the policy) | 19:59 |
lifeless | if the project is proprietary they should have the no-defined-policy behavior be to prevent pushing. | 19:59 |
sinzui | lifeless, they cannot define branch visibility. We suck | 20:00 |
lifeless | sinzui: they can have us do it though, no? | 20:01 |
sinzui | how do they know that? | 20:01 |
sinzui | Who walked them through how privacy works? | 20:01 |
sinzui | Where are the documents that they can read? | 20:02 |
sinzui | lifeless, this is an unusable feature. Lp engineers read the code to find out how it works | 20:02 |
jcsackett | sinzui: i think this *is* us walking them through privacy. :-/ | 20:02 |
=== mwhudson_ is now known as mwhudson | ||
sinzui | jcsackett, I think we should have done that 6 hours ago. This is the third problem | 20:03 |
lifeless | sinzui: https://help.launchpad.net/Code/SubscribingToPrivateBranches <- does this help? | 20:04 |
lifeless | it seems lightweight to me | 20:04 |
sinzui | jcsackett, I do not service commercial requests anymore because my experience as a subscriber to lp bugs, questions, feedback@ and commercial@ are preventing other engineers from discovering they need to do better | 20:05 |
jcsackett | sinzui: that's reasonable. thus i am now the one learning we need to do better. :-P | 20:05 |
jcsackett | however, i do not seem to have bac's powers to deal with their issue (insofar as setting visibility). | 20:06 |
sinzui | lifeless, no, they want to define visibility for another team, I think 10 people can do that | 20:06 |
lifeless | sinzui: do you file bugs about the things that are faulty/missing? | 20:06 |
sinzui | jcsackett, bac did no put you in the commercial admin team | 20:07 |
sinzui | lifeless, I have done more than that, I have had meetings to explain that is is wrong. | 20:08 |
lifeless | sinzui: could you bind 'what' to a value, for clarity | 20:08 |
sinzui | I also have nasty recipes in FAQs how to setup a commercial project that works somewhat like someone expect | 20:08 |
lifeless | I have an lp create-project tool in lptools | 20:09 |
lifeless | would it be reasonable to extend that for commercial projects (so that jc, bac etc - those with lp perms to do it, can do it easily) | 20:09 |
sinzui | lifeless, I an at 99% frustration and I am on my vacation. Lp engineers do not believe they made an bad service that is an embarrassment to charge money for. | 20:10 |
lifeless | sinzui: I didn't realise you were on leave. Shoo! go relax. | 20:10 |
jcsackett | lifeless: so, acknowledging that this sucks (and that the OOPs in question should probably be a bug, since a useful warning would be better), you good with it being retargeted per our vacationing friend's suggestion? | 20:15 |
lifeless | jcsackett: I don't see that a handoff will help the user. | 20:15 |
lifeless | jcsackett: if you think its the best thing for them to hand it off, sure, by all means do so. | 20:15 |
lifeless | jcsackett: if I was handling the question, I would: | 20:16 |
lifeless | - file a bug for the user for the OOPS | 20:16 |
* jcsackett nods. | 20:16 | |
lifeless | - write up a help page now with what we know about branch privacy | 20:16 |
lifeless | - point them at it | 20:16 |
jcsackett | not entirely sure we *know* about it; but i can seed a page with what i've learned. | 20:16 |
jcsackett | s/i've/we've | 20:16 |
lifeless | - read the wiki page curtis mentioned that is in the internal wiki | 20:17 |
lifeless | (and use that pages notes as part of the seed for the help.lp.net page) | 20:17 |
jcsackett | dig. | 20:18 |
* jcsackett did not expect to open this can of worms. | 20:19 | |
lifeless | if we write it up well, it will stay more closed in future | 20:19 |
rockstar | leonardr, ping | 20:30 |
leonardr | rockstar, hi | 20:30 |
rockstar | leonardr, did you write the lp.client javascript? | 20:30 |
leonardr | rockstar: i don't rember. i probably wrote some of it | 20:31 |
leonardr | can we talk about dominion instead? | 20:31 |
rockstar | leonardr, :) | 20:31 |
rockstar | leonardr, I only see a definition of the lp.client.plugins module, never a mention of just the lp.client module. | 20:32 |
leonardr | rockstar: look in l/c/l/javascript/client/client.js? | 20:33 |
rockstar | leonardr, yeah, no definition in there of lp.client | 20:33 |
leonardr | line 4 seems to have one? | 20:33 |
leonardr | no, it's tautological | 20:34 |
leonardr | well, no, it's not tautological | 20:34 |
leonardr | LP.client starts out an empty dictionary | 20:34 |
rockstar | leonardr, yeah, I can't seem to be able to do YUI().use("lp.client"); | 20:34 |
rockstar | leonardr, that's what I mean. | 20:34 |
leonardr | and then over the course of that file, stuff is added to the dictionary | 20:34 |
leonardr | rockstar: at that point you've lost me. it's possible there's some module management thing that this file isn't doing, but you should talk to maybe mars | 20:35 |
mars | rockstar, did you check the base template for it? | 20:35 |
mars | base-template-macros.pt | 20:36 |
rockstar | mars, yes. | 20:36 |
rockstar | mars, it's included there. | 20:36 |
=== almaisan-away is now known as al-maisan | ||
mars | rockstar, what is the problem? | 20:37 |
rockstar | mars, on upgrading to YUI 3.2, I get a "requirement NOT loaded: lp.client" | 20:37 |
rockstar | mars, that's all I know. | 20:37 |
rockstar | I suspect it's related to a dependent module not being available, but I have no idea how to prove that. | 20:38 |
mars | rockstar, have you grepp'd the source tree for the lp.client symbol? | 20:38 |
rockstar | I don't know where the Y.add('lp.client') is. | 20:38 |
rockstar | In fact, I'm almost positive now that there isn't one. | 20:44 |
mars | rockstar, that is odd | 20:48 |
rockstar | mars, I think it's a boo boo that thumper made that might have caused everything to break in yui 3.2. | 20:49 |
rockstar | mars, I think it's gotten stricter. | 20:49 |
rockstar | There is no lp.client. | 20:49 |
mars | that would be nice | 20:49 |
mars | the loose dependency loading in earlier versions caused problems for developers | 20:49 |
rockstar | mars, yeah, I'm doing a clean and a build real quick. I think this might fix it. | 20:50 |
mars | rockstar, well, if there is no .add() for it, but there is a 'requires:' stanza, then I would say it is an error in the requirements | 20:50 |
rockstar | mars, yeah, I think that's what's broken. | 20:50 |
mars | leonardr, benji, any luck with the windmill fix I proposed earlier? | 20:51 |
leonardr | mars: i had promising results, but i'm not giving them a lot of credence since the problem seems to skip from test to test. am doing a full run now | 20:51 |
benji | mars: I haven't gotten my test results back yet (I did a full run because I don't get the same errors twice) | 20:51 |
mars | ok, let me know how it turns out | 20:52 |
rockstar | mars, we upgraded windmill, right? | 20:59 |
mars | rockstar, we did, to tip. | 21:00 |
rockstar | mars, er, we've upgraded windmill since we discovered the 512K bug, right? | 21:00 |
mars | yes | 21:00 |
mars | we upgraded last week | 21:00 |
rockstar | mars, great. I'm hoping the 512K bug is fixed. Otherwise, I've hit yet another blocker in my quest to get a new YUI in... | 21:04 |
mars | rockstar, you could ask on #windmill. It is early PDT | 21:05 |
mars | that reminds me | 21:05 |
rockstar | mars, I didn't think it was a windmill bug, but in the way we used windmill. | 21:05 |
mars | I have a patch I would like to get into windmill trunk | 21:06 |
thumper | rockstar: what boo boo? | 21:11 |
=== al-maisan is now known as almaisan-away | ||
rockstar | thumper, your popup diff claims to require lp.client, but there is no lp.client module. | 21:11 |
thumper | rockstar: so fix it :) | 21:11 |
rockstar | thumper, not a big problem, except that I believed there really was, so I approached the problem thinking something I changed broke it. | 21:12 |
rockstar | Truthfully, something I changed just made the breakage more apparent (and break ALL OTHER JAVASCRIPT in the process...) | 21:12 |
deryck | I'm out. Later on, all. | 21:14 |
Ursinha | EdwinGrubbs, qa-tagger is back, it tagged a bug as needstesting, should I keep that as qa-bad as it was? it's bug 659129 | 21:18 |
_mup_ | Bug #659129: Distribution:+ppas timeout in PPA search <qa-needstesting> <timeout> <Soyuz:Fix Committed by julian-edwards> <https://launchpad.net/bugs/659129> | 21:18 |
lifeless | Ursinha: qa-ok for that bug, if you're touching it | 21:19 |
Ursinha | lifeless, cool, in a second | 21:19 |
lifeless | Ursinha: the fix wasn't /wrong/ it just wasn't deep enough (a later query times out instead) | 21:19 |
Ursinha | I see | 21:20 |
lifeless | abentley: thanks for adding to the arch guide | 21:27 |
lifeless | jcsackett: yes, thats the page - see the bottom where it talks about branch privact setup | 21:32 |
jcsackett | lifeless: ok, thanks. | 21:32 |
Ursinha | lifeless, hi | 21:33 |
Ursinha | re. bug 659618 | 21:34 |
_mup_ | Bug #659618: crash when assignee is None <qa-tagger:Fix Released by ursinha> <https://launchpad.net/bugs/659618> | 21:34 |
lifeless | jcsackett: and unless we're talking confidential stuff, the default place to talk is here :) | 21:34 |
Ursinha | I'm getting the committer from the info of the merged branch | 21:34 |
jcsackett | lifeless: right; i went there b/c i was unsure of the status of that page: re confidentiality. | 21:34 |
lifeless | Ursinha: I'd like some more detail than that, if you can humour me. | 21:34 |
Ursinha | lifeless, sure, a minute | 21:34 |
lifeless | jcsackett: fair enough; uhm, its not about any specific customer or a security vulnerability or embargoed surprise feature etc. | 21:35 |
lifeless | jcsackett: nor is it operational details we'd hold sacred | 21:35 |
* jcsackett nods. | 21:35 | |
jcsackett | fair enough. | 21:36 |
Ursinha | lifeless, the committer there: http://paste.ubuntu.com/512644/ | 21:36 |
lifeless | jcsackett: nor is it of a personal nature for one of us ;) | 21:36 |
jcsackett | i would hope that case doesn't come up too often on IRC. :-P | 21:37 |
Ursinha | lifeless, get_apparent_authors | 21:37 |
lifeless | Ursinha: so using that for assignee has a few problems. | 21:37 |
lifeless | jcsackett: people taking leave is personal, shouldn't be discussed in public (unless the person in question does) | 21:37 |
lifeless | jcsackett: (because if the house is vacant...) | 21:37 |
Ursinha | lifeless, go ahead | 21:37 |
lifeless | firstly, there may be no merged commits. | 21:38 |
Ursinha | lifeless, in devel/stable? | 21:38 |
lifeless | this happens when someone does a fix directly on trunk on pqm | 21:38 |
lifeless | which is needed (rarely) when things go completely cactus | 21:38 |
Ursinha | I've never saw that happen. As in all commits go to trunk through pqm | 21:38 |
lifeless | Ursinha: there was one about 7 weeks ago in fact :) | 21:39 |
Ursinha | so pqm will always be the first committer, and we'll have the apparent authors | 21:39 |
lifeless | Ursinha: no, that doesn't make sense | 21:40 |
lifeless | in your pastebin | 21:40 |
lifeless | rev 11682 | 21:40 |
lifeless | will have apparent authors of pqm | 21:40 |
lifeless | and rev 11643.2.7 | 21:40 |
lifeless | will have apparent authors of stevenk | 21:40 |
lifeless | get_apparent_authors applies only to a single rev. | 21:40 |
Ursinha | right.. | 21:40 |
lifeless | anyhow, you need to handle the case of there being no merged revisions | 21:41 |
Ursinha | lifeless, it goes one level deeper to get the apparent authors | 21:41 |
lifeless | secondly, if fred does a lot of work but goes on leave, barney may merge devel to fix conflicts and then land it; barney isn't the assignee | 21:41 |
lifeless | or if fred and barney are collaborating, the revision graph would look similar. | 21:42 |
lifeless | what would we want in the web report in those cases? | 21:43 |
Ursinha | lifeless, how do you suggest fixing that? | 21:43 |
lifeless | Ursinha: well, I don't know what 'assignee' in the report is for actually. | 21:43 |
lifeless | Ursinha: so I'd like to understand the use case and our goals before offering solutions | 21:43 |
Ursinha | lifeless, the assignee, in my understanding, should be the person responsible for that fix, as the one that should QA that and fix if anything goes wrong | 21:45 |
Ursinha | lifeless, the person we should poke about that item | 21:45 |
lifeless | ok | 21:45 |
lifeless | if we rename it 'authors' | 21:45 |
lifeless | and include *all* the authors found by looking at the trunk revision and all the merge revisions, transitively | 21:46 |
lifeless | then it would do that comprehensively | 21:46 |
rockstar | thumper, I wonder if you and I could have a phone call/review on my lazr-js branch. | 21:47 |
lifeless | the common case will be one person | 21:47 |
lifeless | but in the uncommon case we'll have accurate information | 21:47 |
Ursinha | lifeless, right. | 21:47 |
Ursinha | lifeless, mind writing this on the bug report? | 21:47 |
Ursinha | I have to leave now and should return in ~1h30 | 21:48 |
Ursinha | you'll be here anyway :) | 21:48 |
lifeless | sure | 21:48 |
Ursinha | thanks lifeless | 21:48 |
=== Ursinha is now known as Ursinha-bbl | ||
thumper | rockstar: ok, OTP right now | 21:54 |
rockstar | thumper, ack. We can do it much later in the day. | 21:55 |
abentley | thumper: https://dev.launchpad.net/ArchitectureGuide | 22:02 |
wallyworld_ | morning | 22:07 |
jcsackett | lifeless: got a second to be a second set of eyes on the help.lp.net page? | 22:17 |
=== Chex changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.10 | PQM is Release-Critical; devel is closed (Release manager: EdwinGrubbs) | firefighting: - | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | 17:15 -!- Topic for #ubuntu-devel: 10.10 released on 10/10/10 at 10:10:10UTC!! | Development of Ubuntu (not support, not app development) | #ubuntu fo | ||
=== Chex changed the topic of #launchpad-dev to: Launchpad Development Channel | Week 4 of 10.10 | PQM is Release-Critical; devel is closed (Release manager: EdwinGrubbs) | firefighting: - | https://dev.launchpad.net/ | Get the code: https://dev.launchpad.net/Getting | Launchpad down/read-only from 22:00 - 00:00 UTC for a code update | ||
benji | mars: no dice on the tests: https://pastebin.canonical.com/38615/ | 22:19 |
LPCIBot | Project db-devel build (65): STILL FAILING in 3 hr 44 min: https://hudson.wedontsleep.org/job/db-devel/65/ | 22:20 |
mars | benji, darnit | 22:20 |
LPCIBot | * Launchpad Patch Queue Manager: [release-critical=lifeless][r=gmb][ui=none][bug=659129] Speed up the | 22:21 |
LPCIBot | query used to search for PPAs. | 22:21 |
LPCIBot | * Launchpad Patch Queue Manager: [release-critical=lifeless][r=jtv][ui=none][bug=634149, | 22:21 |
LPCIBot | 639785] Catch the CannotHaveLinkedBranch exception in translatePath. | 22:21 |
mars | ok | 22:21 |
mars | hmm | 22:21 |
mars | so testtools has this nifty addDetail feature | 22:21 |
mars | perhaps that could be used to create a graceful way to do printf debugging on these errors | 22:22 |
mars | /if/ I can get useful identifying information about the active thread | 22:23 |
mars | monkey-patch threading.Thread.start()? :( | 22:23 |
mars | yuck | 22:24 |
mars | benji, I'll think about it. leonardr, looks like the errors persisted for benji. | 22:24 |
lifeless | jcsackett: sure | 22:35 |
jcsackett | lifeless: https://help.launchpad.net/Code/PrivateBranches | 22:36 |
benji | mars: do you know what the errors even mean? If so, can you explain it to me? | 22:36 |
lifeless | restricted -or- moderated? | 22:36 |
mars | benji, it means that threading.enumerate() says there are still live unjoined threads after the test is finished | 22:38 |
mars | benji, and the thread is still alive | 22:38 |
mars | benji, threading has a settrace() method that may provide some insight | 22:38 |
benji | mars: and that's something that RemotedTestCase tests for and generates errors if it is the case? | 22:38 |
lifeless | jcsackett: other than that, great | 22:39 |
lifeless | benji: RemotedTestCase is just the local proxy for a test that ran in another processs | 22:39 |
lifeless | benji: BaseLayer checks for the threads. | 22:39 |
jcsackett | lifeless: good catch. the internal stuff said restricted, but they're referring to a special case of all of this. | 22:40 |
jcsackett | thanks! | 22:40 |
mars | benji, it is added by zope.testing.testrunner.runner.TestResult, printed as a subunit stream by zope.testing.testrunner.formatter, then the stream is interpreted by RemotedTestCase | 22:40 |
mars | and raises the test error | 22:40 |
rockstar | thumper, https://code.edge.launchpad.net/~rockstar/launchpad/javascript-refresh/+merge/38373 | 22:48 |
=== salgado is now known as salgado-afk | ||
lifeless | flacoste: have you looked at the google doc I made? Any thoughts? | 22:54 |
flacoste | lifeless: i found it interesting, and a good direction, but didn't have any specific thoughts when i read it, | 22:55 |
lifeless | flacoste: ok; I'm going to code today. | 22:55 |
leonardr | mars: my full test run also failed with three random failures | 22:55 |
lifeless | flacoste: I'll get back to it tomorrow/monday | 22:56 |
=== matsubara is now known as matsubara-afk | ||
wgrant | jtv: The chroot_url URL seems to work fine for me... | 22:56 |
jtv | wgrant: yeah, _now_ it does | 22:56 |
wgrant | jtv: Maybe you caught it in a moment when the chroots were being replaced? | 22:58 |
wgrant | I can't see why they'd be blank. | 22:58 |
jtv | wgrant: so I get you straight: you're saying the production maverick chroot librarian URL works if you edit it to use the staging librarian? | 22:59 |
wgrant | jtv: No, no, I refer to your wiki edit. | 23:00 |
wgrant | Sorry. | 23:00 |
jtv | ah | 23:01 |
jtv | wgrant: no idea what caused it, but glad to hear it. | 23:01 |
wgrant | Ah, now this is one of those "we have no idea how long it's going to take, because staging sucks" upgrades, isn't it? | 23:03 |
jtv | wgrant: We do have some idea; stub did a manual db upgrade that doesn't show up in successful-updates.txt | 23:05 |
wgrant | Ah. | 23:05 |
poolie | thumper: did you see https://lp-oops.canonical.com/oops.py/?oopsid=1747ED661 and https://answers.edge.launchpad.net/launchpad-registry/+question/129258 ? | 23:07 |
poolie | i'm glad someone tweeted at the relevant time | 23:10 |
thumper | poolie: yes I saw it | 23:27 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!