[00:00] bigjools: "requested to review" [00:00] It's the reviewer [00:00] Not a subscriber [00:00] so that overrides sibscription settings saying not to email? [00:00] sigh [00:00] ok how do I stop this? [00:00] it doesn't override, its direct notification [00:00] remove maas-lander from maas-maintainers [00:00] Set a team email address [00:00] Or remove maas-lander from maas-maintainers, yeah [00:01] put maas-lander and maas-maintainers both in ~canonical-launchpad-branches or a similar branch-only-access team [00:01] then it won't be able to land stuff [00:01] lifeless: that's basically a way for evil js to get at http-only cookies isn't it? [00:01] man this stuff is over complicated [00:01] thats *why* we have that structure in LP, and why I encouraged you to use the same teams, or the same structure, for MAAS :) [00:01] lifeless: I understand - or rather I don't understand why it needs to be so complex :( [00:01] mwhudson: http://en.wikipedia.org/wiki/CRIME_%28security_exploit%29 [00:02] lifeless: "It relies on the attacker being able to observe the size of the ciphertext sent by the browser while at the same time inducing the browser to make multiple carefully crafted web connections to the target site." [00:02] lifeless: if you can do that, you can just carefully craft the results to do evil directly, surely? [00:02] mwhudson: yes, but the demonstration is terrifying [00:03] it's a super cool hack [00:03] mwhudson: no, you can't [00:03] mwhudson: No [00:03] mwhudson: By crafting part of a body I can reveal the headers [00:03] eg. if I control a string embedded deep in JSON somewhere [00:04] !!!!!! I can't set a contact address that is the same as another team's [00:04] bigjools: I wouldn't go the contact address route [00:04] bigjools: it gets super messy. [00:04] ... [00:05] I was going to redirect email to launchpad-reviewers [00:05] This is already super-messy, and the complex team structure doesn't make it any less messy [00:05] exactly wgrant [00:05] MP notifications are fundamentally broken [00:05] It's always going to be messy until they're fixed [00:06] I don't understand the arbitrary refusal to set the contact address to be the same as another team [00:06] that's bizarre [00:06] It's not arbitrary [00:06] It's less than ideal [00:06] But it's certainly not arbitrary [00:06] the error on screen should say why instead of appearing to be arbitrary [00:06] Launchpad doesn't just use it as a contact address [00:06] It's also used to look up the team [00:06] Mostly by Soyuz [00:06] headdesk [00:07] * bigjools sets contact address to devnull@example.com [00:07] Good luck confirming that :) [00:08] bollocks, it ignored it! [00:08] this is fucking infuriating :/ [00:08] wgrant: I agree that things could be better, but given the *current code base* I think the simplest way to manage it is leaf teams for things that do stuff, and organisational teams put into those. [00:08] wgrant: arguing that its broken just aknowledges that it is. [00:08] is this recommended structure documented anywhere on the lp wiki? [00:09] wgrant: the other reason to do it the same way as LP is that it would be the same way as LP [00:09] bigjools: https://dev.launchpad.net/CreatingNewProjects [00:09] thanks [00:09] lifeless: Sure, but that requires renaming branches everywhere [00:09] lifeless: So it's far less destructive to set a contact address [00:09] wgrant: ah, that is a cost to moving, yes. [00:09] which will hurt. [00:10] lifeless: not sure that page helps [00:10] bigjools: I don't think we captured the how-we-got-there anywhere other than the list archives :( - sorry! [00:10] I have to run, shopping trip to do [00:10] lifeless: :( [00:11] back soon, good luck solving your headache. [00:11] my 2c before I go [00:11] - make a new team -reviewers and copy the direct member list from -maintainers to -reviewers [00:11] make it the reviewer [00:12] make it owned by -maintainers [00:12] and refactor to remove duplication post-release. [00:17] * bigjools made launchpad-reviewers the reviewer [00:18] My inbox thanks you [00:19] lp-reviewers was a member of the old team anyway [00:19] Yeah [00:19] But now I'll get less mail :) [00:19] that was the idea :) [00:22] also, when I change the status of an MP to approved it'd be really nice if it either warned about new versions not in the page or just approved them anyway [00:22] :/ [00:45] zomg its a statik [00:53] 2012-09-25 22:55:56 INFO Outage complete. 0:00:01.818455 [00:53] getting there [00:53] (from the latest staging update) [00:54] What, too long? [00:55] No reason for it to take more than a couple of hundred milliseconds [00:56] StevenK: yeah [00:57] security.py is most of the remaining time, I believe [00:59] StevenK: https://code.launchpad.net/~wgrant/launchpad/bug-1056506/+merge/126358 === matsubara is now known as matsubara-afk [01:01] wgrant: r=me [01:01] StevenK: Thanks [01:02] wgrant: I heartily approve of lines 61-69 [01:02] Yeah... [01:06] libreoffice starts -fast- on SSD [01:18] 2012-09-26 01:17:38 INFO Resetting permissions. [01:18] Security took 0.780465126038 [01:18] 2012-09-26 01:17:38 INFO Enabling access to launchpad_dev_master. [01:18] 2012-09-26 01:17:38 INFO Outage complete. 0:00:00.888748 [01:18] So security.py is indeed probably most of it [02:12] 327 / 0 DistroSeries:EntryResource:getBuildRecords [02:12] 321 / 0 Person:+specworkload [02:12] :( [02:22] Why do we get a PQM success mail at 11:59 and then a failure at 12:04? [02:25] StevenK: There are lots of mail delays [02:25] StevenK: So buildbot-poll sends the email [02:25] It gets stuck in a queue [02:26] 5/10 minutes later, buildbot-poll sees there's still stuff to merge [02:26] Sends the email [02:26] Mail queue unclogs, PQM processes both [02:26] I look forward to when we can kill buildbot-poll [02:42] * StevenK stabs lxc [03:35] wgrant: LXC is impenetrable. [03:35] StevenK: Howso? [03:36] I don't understand it at all! [03:36] I know parts of it all too intimately. [03:36] What is it doing to you? [03:36] I destroyed the ec2 instance in disgust before lunch, but the lxc-setup-build script in examples was hanging [03:37] StevenK: Did you have a base container set up properly? [03:37] And where was it hanging? [03:38] lxc-wait -n or so, I think [03:38] And base container? [03:38] See previous statement about impenetrability. [03:38] lp-setup-lxc-build relies on there being a base container already [03:38] It builds LP inside a container [03:39] You can use lpsetup to create this container [03:41] I wonder if we need more 'this is how its all put together' docs for this [03:44] Yeah [03:44] Particularly since the in-DC setup is different [03:44] I suspect we'll be able to pull together docs from me watching StevenK trip over everything :) [03:45] Oh. Yay? [03:46] StevenK: So, do you understand the high-level fundamentals of how parallel testing is implemented for LP today? [03:46] I suspect few outside lifeless, I, Yellow, and some ops, do [03:47] But I'm not sure how much you've picked up on [03:47] As it's all a bit complicated [03:47] wgrant: We create 20 containers run a portion of the tests in them, and testr interleaves it all together into a useful subunit stream [03:47] StevenK: Right [03:48] Now, the 20 containers aren't all created from scratch each time [03:48] They're ephemeral (created by the aptly named lxc-start-ephemeral) as clones of a base container [03:49] This base container has LP code+deps+DB etc in it. [03:49] And it's persistent [03:49] lxc-start-ephemeral uses aufs or overlayfs to create effectively COW snapshots of the base container's tree [03:49] Right [03:49] Then bring up a new throwaway container on that [03:50] You can see the buildbot config in lp:~launchpad/lpbuildbot/public [03:50] With a testr.conf that calls IIRC lp-setup-lxc-test to run bin/test in an ephemeral container [03:51] Yes, it calls /usr/local/bin/lp-setup-lxc-test [03:51] testr just calls the command there to run the tests, so testr doesn't know about LXC at all [03:51] As far as it's concerned it's just running 20 parallel testrunners locally [03:51] I was guessing I needed lp-setup-lxc-build first, but like I said, that wasn't filled with happiness [03:52] Right, lp-setup-lxc-build is run as one of the earlier phases of each full testsuite run [03:52] It basically just runs 'make build schema' [03:52] So that's done in the base container, rather than separately in each cloned one [03:52] But it relies on there being a container already [03:53] lpsetup init-lxc can probably create it for you [03:53] In the DC we do it manually [03:54] Right [03:54] There's nothing really special about the container created by lpsetup [03:55] You can get something roughly equivalent by running rocketfuel-setup in a normal container from lxc-create [03:55] wgrant: I'll bring up an ec2 instance in a bit, working on failing tests from my storm branch. [03:55] There were failures? :( [03:56] Query issues, or just things expecting SQLObjectResultSets? [03:56] Yeah, there was a callsite of handleOptional... hiding in registry/sourcepackage.py [03:56] Oh [03:56] Sinister [03:56] Oh right [03:56] That one [03:56] Yeah [03:56] Which I'd like to destroy [03:56] I tried once upon a time to make the build API sensible [03:56] But didn't quite get all the way [03:57] wgrant: Can I kill _get_ubuntu in that class? [03:58] StevenK: That comment is prehistoric and no longer correct [03:58] So I can kill it? [03:58] You should be able to use an inline ILaunchpadCelebrities lookup instead [03:58] Yeah [03:58] I was going to, yeah [03:58] However [03:58] Hmm [03:59] Check the history on .packaging [03:59] I think the Ubuntu specialcase can probably be removed [03:59] It's the only callsite of priorReleasedSeries [03:59] And seems pretty pointless [04:00] Because Ubuntu should have previous_series set properly everywhere [04:02] Yeah [04:03] Even in sampledata [04:03] So I'd try removing that specialcase and all the priorReleasedSeries definitions and seeing if the test suite complains [04:03] That gets this branch to -60 [04:04] You removed it from DistroSeriesSet and the interfaces too? [04:04] Nope [04:04] Hold on, removed what? [04:04] priorReleasedSeries [04:05] Its sole callsite is the Ubuntu specialcase in SourcePackage.packaging [04:05] And I can't see any value in that special case. [04:05] You might be able to find something [04:05] But I really can't [04:06] Right, it's terrible [04:07] Since Ubuntu releases are serial, the first priorReleasedSeries is always going to be previous_series [04:07] Except when we're on a non-released non-development series [04:07] Like q-series or r-series [04:07] Their first priorReleasedSeries is the current release [04:07] precise [04:07] not quantal [04:08] But that provides no value, since with the special case removed it will fall back to quantal which will fall back to precise [04:08] So yeah [04:08] Delete the special case [04:08] Then probably lp-land and see if buildbot complains [04:08] It probably won't, and if it does then the fix is easy and meh. [04:08] % bzr damage [04:08] Using submit branch /home/steven/launchpad/lp-branches/devel [04:08] Healing: 134 lines of code [04:08] :) [04:08] You got both priorReleasedSeries methods and their respective interfaces? [04:09] And the *enormous* test [04:10] % bzr grep priorReleasedSeries | wc -l [04:10] 0 [04:10] :) [04:10] https://code.launchpad.net/~julian-edwards/launchpad/set-previous-series-bug-805913/+merge/66942 [04:10] is very relevant [04:11] what [04:12] StevenK: The addendum there doesn't make much sense to me [04:12] If there are many unreleased series, then it will just recurse back [04:13] Indeed [04:13] It's not necessary to jump straight to the last released one, AFAICT [04:13] wgrant: Do you want to eyeball a diff before I commit, push and lp-land? [04:13] StevenK: If you push I'll check the MP [04:14] bigjools: I'm guessing that's all a blur and you don't remember the context around that MP any more? [04:15] wgrant: Pushed [04:15] not looked, otp [04:17] bigjools: Not still dealing with broker from hell? [04:17] no thankfully [04:18] StevenK: The amount of red in the incremental diff pleases my eyes. [04:21] StevenK: Can you run -t packaging or so? [04:21] Just in case there's something obvious [04:28] wgrant: Total: 109 tests, 0 failures, 0 errors in 6 minutes 27.422 seconds. [04:28] Total: 109 tests, 0 failures, 0 errors in 6 minutes 27.422 seconds. [04:28] BLEH, this double paste is getting annoying [04:32] StevenK: Sounds good [04:32] Let me lp-land it [04:35] StevenK: Indeed [04:38] cody-somerville: you around? [04:42] * StevenK stabs init-lxc for wanting lots of information [04:43] wallyworld: lazr.restful already has infrastructure for detecting canonical_url changds [04:43] Though I'm not sure why it's not working here [04:43] this is lazr.restfulclient [04:43] and the code path does not detect it [04:44] wallyworld: Sure, but lazr.restful detects a change and sends a 301 with Location [04:44] clearly not :-) [04:44] Blink. It debootstraps? [04:44] this is a fairly old bug too [04:44] Well, yeah, it doesn't work in this case [04:44] But I'd probably investigate why it doesn't work [04:44] I'm going to be unhappy if this requires an LP account [04:45] Rather than adding that somewhat terrible model hack [04:45] StevenK: Why wouldn't it debootstrap? [04:45] It needs to create a fresh installation for the container [04:45] wgrant: Wasn't expecting it is all [04:45] It should be OK with grabbing the branches from LP anonymously, though [04:45] You'd think [04:46] I've fed it nonense, so we'll see [04:47] wallyworld: See lazr.restful._resource.EntryManipulatingResource.applyChanges() for the code which does it on attribute changes [04:47] But I guess not on method calls [04:47] we could run an image rather than debootstrap [04:47] ok, will look. i didn't realise lazr.restful detected url changes [04:47] but LXC isn't [currently] run that way [04:47] Rargh [04:48] lpsetup needs a bug [04:48] It pulls from archive no matter what, it should be configurable [04:48] wallyworld: I'm not quite sure where method calls are done, but I know it automatically calls ObjectModifiedEvent, so there must be something there [04:48] StevenK: Ah yeah [04:49] StevenK: I manually ran lxc-create with MIRROR=whatever beforehand [04:49] wgrant: have you had time to look at the ghosts? [04:49] Sadly, it's going faster than the ec2 mirror [04:49] lxc-create stores a cache keyed on (distroseries, archtag) [04:49] wgrant: by "it", you mean lazr.restful i assume [04:49] So I can't complain much [04:49] wallyworld: Right, sorry [04:49] ok [04:49] lifeless: Not yet, as it doesn't seem overly urgent. If you want me to I'll get onto it nowish, though [04:50] I've been fixing bugs to make bigjools shut up :P [04:50] That fix should be deployed soon [04:50] Indeed :) [04:51] wgrant: Right, so init-lxc just finished [04:51] wgrant: I'd like to know its good this week [04:51] StevenK: Did it branch LP stuff into it and stuff? [04:51] wgrant: as config changes when they are needed, are generally needed now [04:51] lifeless: Yeah, true [04:51] And we have no ops next week [04:51] wgrant: I don't think so [04:51] wgrant: How can I check? [04:51] wgrant: exactly [04:52] StevenK: ls ~ [04:52] wgrant: does the lp-setup-lxc stuff bind-mount ~? [04:52] or does it do a fresh copy of everything ? [04:52] root@ip-10-78-117-158:~# ls -lh ~ [04:52] total 0 [04:52] lifeless: it bind mounts ~ [04:52] StevenK: Ah right [04:53] thats root though :P [04:53] init-lxc Create an LXC container suitable for later installing [04:53] a Launchpad development environment. [04:53] init-repo Get the Launchpad code and dependent source code. [04:53] install-lxc Completely sets up an LXC environment with Launchpad [04:53] using the sandbox development model. [04:53] Oh, bleh [04:53] StevenK: tell me you ran that as root ? [04:53] lifeless: Which as root? [04:53] StevenK: is this on your machine ? [04:53] From install-lxc: [04:53] This is basically the same as running `init-lxc` and then, inside the \ [04:53] newly created container, `lp-setup init-repo`, `lp-setup update`, and [04:53] `make install`. [04:54] lifeless: Note the hostname [04:54] StevenK: doesn't tell me anything [04:54] It's an m2.xlarge ec2 instance [04:54] StevenK: thanks [04:54] m2.2xlarge, rather [04:54] 34GiB of RAM [04:54] StevenK: So I'd start the container, SSH in, and run lp-setup init-repo, lp-setup update, make install [04:55] lxc-start lptests ? [04:55] sudo lxc-start -n lptests -d [04:55] Without -d it'll start in the foreground and give you local console [04:55] Which is usually undesirable [04:56] You can then use lp-lxc-ip (or something close to that) to determine the IP address to give to ssh [04:56] I thought it was ubuntu/ubuntu [04:56] It should be the username and password of whatever account you ran it as, usually [04:56] But otherwise ubuntu/ubuntu [04:56] Or root/ [04:57] root/ doesn't work either [04:57] It's possible that running it as a passwordless root account has confused it [04:57] Check /var/lib/lxc/lptests/rootfs/etc/shadow [04:59] Disabled root, it has an jenkins account [04:59] But the password isn't jenkins or test or ubuntu or test [04:59] Ah, if you ran it as jenkins then it'll have copied your host's jenkins password [04:59] Ahh [04:59] That I know [05:00] I thought you ran it as root, given the PS1 earlier [05:00] It insisted I run it with -u [05:00] Ah [05:00] Right [05:00] lp-setup init-repo: error: No bzr launchpad-login set. [05:00] Bleh [05:01] vim is your friend [05:01] I suspect [05:01] * StevenK adds --use-http [05:01] Or that [05:03] Hm, the amount of progress printed is staggering [05:04] In which direction? [05:04] Do you want to proceed? [y/N] y [05:04] [05:04] Heh [05:05] Right, it is doing something, it just isn't telling me [05:08] * wgrant watches 2500 gpg prompts fly past [05:09] Hm? [05:09] I should probably have disabled signing before running mkghosts [05:10] Heh [05:10] 20 failures [05:10] 6 errors [05:10] So, I love [05:10] lose, even [05:11] wgrant: wheee :P [05:11] StevenK: Hm, what [05:11] You lost [05:11] Terribly [05:11] But how [05:11] Those errors don't make much sense [05:11] It looks like the DSP is ending up None [05:12] BrokenImplementation: An object has failed to implement interface [05:12] Ah, no [05:12] It's just answer_contacts that's broken, it seems [05:13] By "The answer_contacts attribute was not provided" it means "AttributeError: 'NoneType' object has no attribute 'using'" [05:13] How did I manage to screw that up? [05:13] Oh heh [05:13] @property [05:13] - def _store(self): [05:13] - return Store.of(self.sourcepackagename) [05:13] - [05:13] That would do it [05:13] in sourcepackage.py [05:14] Oh, I thought that was unused! [05:14] I even bzr grepped for it [05:14] QuestionTargetMixin uses it [05:15] Anyway, this is why we have 35 minute buildbot :) [05:15] Heh [05:15] Putting together a testfix [05:15] It looks like the only failure, but you would do well to wait until this run finishes and then run all the failures [05:15] It's going to require a branch anyway, but yeah [05:17] It just finished [05:17] * StevenK grabs the stream [05:17] http://lpbuildbot.canonical.com/builders/lucid_lp_lxc/builds/39/steps/shell_9/logs/subunit/text should be what you want, yeah [05:18] Indeed [05:18] I was already wgetting when I said I was grabbing it [05:18] And I'm now waiting on testr run --failing [05:18] (and bzr on said ec2 ...) [05:19] jenkins@lptests:~$ du -sh launchpad/lp-branches/.bzr [05:19] 229M launchpad/lp-branches/.bzr [05:19] :) [05:20] Ran 84 (-22077) tests in 131.750s (-1768.113s) [05:20] PASSED (id=1, skips=6) [05:21] Excellent [05:21] OMG, it finished [05:21] Your ec2 instance? [05:22] Yeah [05:22] lp-setup update depends on CWD? :-( [05:22] Yes [05:22] as do lp-setup-lxc-test and lp-setup-lxc-build [05:22] It makes a fair bit of sense [05:23] jenkins@lptests:~/launchpad/lp-branches/devel$ lp-setup update [05:23] lp-setup update: error: the target dir /home/jenkins/launchpad/lp-branches/devel is not a valid Launchpad tree. [05:24] lp-setup update: error: the target dir /home/jenkins/launchpad/lp-branches/devel is not a valid Launchpad tree. [05:24] Not seen that before [05:24] Luckily the code is quite sensible [05:24] Oh, it's in sandbox, for ... some reason [05:25] Testfix landed [05:27] Thanks [05:27] StevenK: Right, it uses lightweight checkouts [05:27] devel is a treeless branch [05:27] sandbox is a lightweight checkout [05:27] And devel is empty [05:27] It has a .bzr [05:27] But that's it [05:36] wgrant: StevenK: more low hanging fruit: https://bugs.launchpad.net/loggerhead/+bug/869309 [05:36] <_mup_> Bug #869309: If folders in repository have unicode names, sometimes I get KeyError < https://launchpad.net/bugs/869309 > [05:36] brought to my attendion by the new user that just assigned it to themselves >< [05:37] lifeless: But there's no low-hanging fruit :) [05:37] wgrant: it has a patch attached. [05:37] wgrant: doesn't get much lower :) [05:37] Indeed [05:42] wgrant: Right, that's all done on my ec2 slave === almaisan-away is now known as al-maisan [05:45] is it just me or does anyone else's screen dimming fail to turn the screen back when the mouse is moved? the pointer shows up but the screen stays black :-( [05:47] wallyworld: that could be a dropped vsync for unity [05:47] wallyworld: it looks like a dimming problem, but it isn't [05:48] it doesn't happen if i turn off "screen dimming after 10 minutes" [05:48] so i just got back from making a coffee and boom :-( [05:48] cause i forgot to turn it off again [05:49] chat to RAOF [05:49] in #ubuntu-dekstop [05:49] desktop [05:49] once they finish figuring out where to put the privacy setting [05:50] ok, i'll search bugs first [05:51] wgrant: So, next step? [05:53] StevenK: Do stuff [05:53] Um [05:53] StevenK: In sandbox on the host, run lp-setup-lxc-build [05:53] See if it works [05:57] * StevenK stabs it for prompting for a sudo password every 2 seconds [06:04] wgrant: In a word, no [06:04] Heh [06:04] buildbot loves you, though [06:05] StevenK: What broke? [06:05] "Everything" is an acceptable answer. [06:06] The script [06:07] wgrant: http://pastebin.ubuntu.com/1227964/ [06:07] This command has to be run as root [06:07] sudo it? [06:07] Ah [06:07] You did [06:08] StevenK: Why ~/lp-setup-lxc-build rather than the one installed in PATH? [06:08] Did you hack it [06:08] ? [06:08] There is none in PATH [06:08] lp-setup should have come with one [06:08] I thought [06:09] It's in /usr/share/pyshared/lpsetup/templates/lp-setup-lxc-build [06:09] Ah [06:09] Right [06:09] And I got sick of that long path so I copied it and +x'd it [06:09] Container {lxc_name} does not exist [06:09] Sounds like you didn't replace the bits of the template? [06:09] Oh, I need to sed over it? [06:10] It takes {lxcip}, {lxc_name} and {ssh_key_path} variables [06:10] The last is just a local SSH key to use to connect to the containers [06:11] So I need to fix it, it certainly doesn't use $1 and so on? [06:11] Right [06:11] lxcip shouldn't be an arg, but the other two arguably should be [06:27] wgrant: So the name is lptests or something that will based off it, like current-test-0 or something? [06:28] StevenK: lptests is the base, the ephemerals will be something like lptests-temp-wefwhjefuwehfuiweghfuiw [06:29] wgrant: Sorry, I mean what should {lxc_name} be? [06:29] StevenK: lptests [06:35] wgrant: So lxc-stop on lptests failed with Operation not permitted, but it seemed to work [06:36] lp:~lifeless/python-oops-datedir-repo/bug-971255 <- another critical for you, MP coming up [06:36] StevenK: You need to sudo lxc-* operations, usually [06:37] Except the whole script is running as root [06:38] That's a little odd [06:39] Hm, I think I should done this as an EBS backed instance [06:40] wgrant: https://qastaging.launchpad.net/builders/palmer/+history?build_text=libc&build_state=all consistenly times out :-( [06:40] https://code.launchpad.net/~lifeless/python-oops-datedir-repo/bug-971255/+merge/126386 [06:40] wgrant: StevenK: or wallyworld: ^ [06:41] No diff [06:41] No review [06:41] StevenK: there is a diff [06:41] StevenK: thanks to the magic of ajax [06:42] Looks good [06:42] StevenK: Indeed, but we're OK as long as the stuff that worked before hasn't regressed. [06:43] We should probably just drop name filtering from that page eventually [06:44] * StevenK destroys this instance [06:45] StevenK: I'd recommend against using EBS, as that would let you work around setup awkwardness rather than fixing it properly [06:45] wgrant: I'm trying to avoid the two hour wait lp-setup install-lxc brings [06:46] AH [06:46] H [06:46] Ah [06:46] aH [06:59] wgrant: StevenK: wallyworld: https://code.launchpad.net/~lifeless/python-oops-datedir-repo/bug-1003627/+merge/126392 - with this I'll do a release, and we'll have that critical fix-released. [07:00] Is the prune bug already solved? [07:00] no [07:00] the pruning too fast one is [07:01] this is pruning-the-right-stuff-is-impossible. [07:01] we have to physically partition the datedir repo for things in different project groups [07:01] this will fix it [07:01] Didn't wgrant write a patch for the prune reference bug? [07:02] he did: 19:00 < lifeless> the pruning too fast one is [07:02] this is a different prune bug [07:03] lifeless: r=me [07:04] thanks [07:17] wgrant: isn't bug 1050722 FR ? [07:17] <_mup_> Bug #1050722: prune only searches for OOPS references up to prune_until < https://launchpad.net/bugs/1050722 > [07:18] lifeless: Ah, indeed [07:18] Closed, thanks. [07:33] StevenK: https://code.launchpad.net/~lifeless/python-oops-tools/bug-1003627/+merge/126401 if you would [07:34] StevenK: I've set a commit message, so if you can toggle the MP to approved (if you do approve) that would rock. Thanks! [07:34] * lifeless waves bye-for-a-bit [07:35] Do not understand why prune is duplicated [07:48] good morning [07:56] StevenK: the CLI is the only duplicate [07:56] StevenK: oops-tools prunes the DB [07:56] StevenK: datedir-repo prunes disk [07:57] StevenK: and the API client is in just one place [07:57] Yes, but you're duplicating logic between them [07:57] StevenK: the CLI only [07:59] There is some code that we should dedupe further [07:59] But it's not completely terrible atm [07:59] and it can't all be generalised [08:04] writing a disk-dir implementation of the django orm terrifies me [08:04] StevenK: thanks! [08:05] StevenK: wgrant: I'll leave you(purple) to get the prune cronjobs raionalised at a convenient [08:06] Of course :) [08:10] wgrant: thanks [08:12] hello, it seems like exports for http://bazaar.launchpad.net/~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal/changes stopped at Aug 16th for some reason, would it be possible to check if something is stuck/stale (lockfile etc)? it would be nice to get a updated package description export for the ubuntu beta2 [08:12] wgrant: StevenK wallyworld_ one for you guys to kick or invstigate ? [08:13] * wallyworld_ runs away (my packing foo is zero) [08:13] packaging even [08:14] wallyworld_, there's no escape. It's not about packaging, it's about bzr branches ;) [08:14] wallyworld_: It's actually translations [08:14] Which none of us have any clue on [08:14] But let's see [08:14] That date is a little suspicious [08:14] I wonder if the import was interrupted by a DC move and left a lock around [08:14] s/import/export/ [08:14] Since ddtp exports take forever [08:15] ah, is that when the move happened [08:15] August 18, but yeah [08:15] Rather close [08:15] 2012-09-26 05:11:44 ERROR Failure in ddtp-ubuntu/quantal: LockContention(Could not acquire lock "(local)": ) [08:16] * mvo has no clue either but hopes it just a "rm export-ddtp-quantal.lock" [08:16] mvo: bzr break-lock lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal [08:16] should do it [08:16] \o/ [08:16] Hopefully it'll say there's a lock there from taotie on Aug 18 [08:16] It wasn't killed by the move, but exports were severely broken due to fallout from the move a day after [08:17] wgrant: hm, that did just return, no message no nothing? [08:17] :( [08:18] Let's see [08:23] jam, jelmer, mgz: ^^ any ideas on the above? [08:28] wallyworld_: StevenK could one of you please help me out on https://answers.launchpad.net/launchpad/+question/209465 [08:29] czajkowski: i think if they use one of the supported bug trackers eg bugzilla etc then lp will import bug data but it will still be available in the external system too [08:30] but i'm not 100% sure what happens the other way [08:31] wgrant: http://bazaar.launchpad.net/~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal/.bzr/repository/lock/ and http://bazaar.launchpad.net/~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal/.bzr/branch/lock/ [08:31] show that no lock is currently held. [08:31] wallyworld_: ok thanks :) [08:31] jam: Exactly [08:31] I don't really knowt about the exception you saw. [08:31] czajkowski: They won't be able to search for or report new bugs on Launchpad, but all data will still be there if they choose to reenable it [08:31] It is possible to be a semi-genuine contention, if you are re-opening a branch in a script, and now one side is holding a lock, and the other is trying to do something. [08:32] jam: It's only been happening on that branch since the move chaos [08:32] Without code changes [08:32] So it seems unlikely to be legitimate. [08:32] I don't see howit can be "(local)" but without a URL [08:32] well, we did upgrade bzr in the middle term [08:34] It worked on Aug 16, we moved to a new server with significant drama on Aug 18, then it hung a bit until Aug 30, and from Aug 31 it's been giving that error [08:34] Was there a bzr upgrade in those two weeks? Possibly... [08:42] tumbleweed: Oh, are you still looking for a db review for your edit-packagesets branch? https://dev.launchpad.net/PolicyAndProcess/DatabaseSchemaChangesProcess has instructions on whom to seek db reviews from [08:54] cjwatson: aha, I never looked there. Thanks [09:52] czajkowski, wgrant: sorry, I was in a meeting now, should I rather file a bugreport about the export issue instead of asking on irc? especially if its not as trivial as I had hoped? [09:59] mvo: probablly best that way the maintenance team can look at it [10:00] Which export issue? [10:01] StevenK: lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal is not getting translation updates anymore since ~1month [10:09] I filed bug https://bugs.launchpad.net/launchpad/+bug/1056752 now [10:09] <_mup_> Bug #1056752: Translations export not working for lp:~ubuntu-core-dev/ddtp-ubuntu/ddtp-quantal < https://launchpad.net/bugs/1056752 > [10:50] thanks for the qa wgrant [11:23] * mpt wonders what "div.first{*margin-right:4%;_margin-right:1.3%}" is supposed to do [11:24] screw with IE users for fun? [11:25] Neither *margin-right nor _margin-right is a valid property, as far as I know [11:29] the star property hack targets IE 7 and less, the underscore hack targets IE 6 and less [11:29] wheeee [11:29] css hacks ftw [11:29] oh I see [11:30] so, it's deliberatly invalid css to get older buggy browsers that misinterpret it as valid to apply specific rules [11:30] but... that's pretty bad, setting percent margins is likely to just break things anyway [11:30] I was just trying to figure out why bug reports had become unreadable, and it was because my custom Launchpad CSS had stopped working [11:31] and having different values for different browsers then makes working out why something looks funny even more entertaining [11:31] ah, well % css rules are generally a good thing as they keep things in scale for different browser sizes [11:31] we're not in the land of pixel perfect and such [11:31] curious what custom CSS you run with. [11:32] yay, fixed [11:33] rick_h_, http://paste.ubuntu.com/1228291/ [11:33] mpt: cool [11:34] while I like smaller fonts I've often thought a lot of users must find it small === gary_poster|away is now known as gary_poster [12:35] jcsackett: ping when you get a sec === matsubara-afk is now known as matsubara === abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: abentley | Firefighting: - | Critical bugs: ∞ === slank` is now known as slank === slank is now known as Guest84818 [14:10] abentley: a review for you if you get a chance please https://code.launchpad.net/~rharding/launchpad/info_type_events/+merge/126317 [14:10] jcsackett: would appreciate your look as well if you have the bandwidth. ^^ [14:11] I think this will address the manual usage and we'll see I guess when I follow up and integrate the change into place. [14:15] rick_h_: What happens if an item is private and a feature on the page is in beta? That should show two banners, but you've made it a singleton, IIUC. [14:16] abentley: the beta code is in betabanner.js and has it's own singleton [14:16] rick_h_: cool. [14:16] that's just moved code, from the bottom to the top of the file so it's how it currently works [14:17] rick_h_: "@namespace lp.app.banner" reminds me that we haven't reached consensus about whether to separate namespaces from module names. [14:18] rick_h_: But you didn't change that, so that's alright. [14:18] abentley: yea, at some point I want to put together some notes/examples and see [14:19] I looked at a rename here, but it hit some 50 files and I didn't want to get into it with this [14:19] because we've started a lp.ui namespace and this would be good as lp.ui.banner.PrivacyBanner, lp.ui.banner.BetaBanner, etc [14:19] but for another day [14:22] rick_h_: ping. i lost history in irc, so the details as to why you needed me to ping you are lost to me. what's up? [14:22] rick_h_: Why attach the _singleton_privacy_banner to window? [14:23] abentley: to be explicit. That's what's happening itself, but making it explicit makes sure in all cases you're using a global instance [14:23] jcsackett: sorry, ping'd earlier because I didn't get how banner rendering worked with the .pt bits [14:23] deryck, hi, I've filed a few bugs related to specification privacy: bug 1056881, bug 1056891 and bug 1056893 - sorry if I made any duplicates, but I didn't find them [14:23] <_mup_> Bug #1056881: Specifications privacy: subscribers can't see private blueprints < https://launchpad.net/bugs/1056881 > [14:23] <_mup_> Bug #1056891: Specification privacy: upcoming work won't load for anyone if there's any private data on it < https://launchpad.net/bugs/1056891 > [14:23] <_mup_> Bug #1056893: Specification privacy: no "private content" header on +upcomingwork page with private data < https://launchpad.net/bugs/1056893 > [14:23] jcsackett: but basically just ping'd on the review since you looked at it yesterday with feedback [14:24] jcsackett: feel free to ignore [14:24] rick_h_: so all is well now? i'm happy to answer questions whenever. it's not the clearest of code, despite my best efforts at the time. :-P [14:25] jcsackett: well, I broke off rendering into a second step. Just events for now [14:25] rick_h_: dig. [14:25] so might bug you later on, but for now I"m cool [14:25] rick_h_: righto. [14:26] rick_h_: I don't understand the value of that explicitness. Because there's no encapsulation, there's no longer a guarantee that it is a singleton. [14:26] abentley: window is a browser enforced singleton global space. It's to make sure you know where that's at and prevents people from looking for var definitions and such [14:26] for instance, in tests, I know I need to reset that window.var [14:29] danilos, thanks for filing the bugs. [14:29] rick_h_: Window is just a global. It doesn't ensure there's only one instance of PrivacyBanner. If I can set __singleton_privacy_banner to null, then getPrivacyBanner will create a second instance. [14:29] abentley: right, but the module is only loaded once. So it's set to null one on module load. And then never again [14:29] deryck, yw, thanks for getting this in, Linaro wants to use it asap :) [14:30] except in tests where I do that to do a proper teardown [15:06] rick_h_: Sorry, forgot I was reviewing before the call. [15:06] np [15:12] rick_h_: It doesn't seem very decoupled to be emitting privacy_banner:hide/privacy_banner:show. If you know about the privacy banner, why not ns.getPrivacyBanner()._make_public ? [15:14] abentley: because in that case you need to deal with the instance [15:14] abentley: the future branch will get rid of the singleton code so you won't call anything. You'll just fire the event. [15:15] and ideally, you'll be firing the information type event, not the privacy banner event [15:15] so the calling code won't be using _make_public. What you'll have is banners and portlets listening for information_type:change/is_public/is_private events [15:15] rick_h_: Okay, makes sense. [15:24] rick_h_: r=me. [15:24] abentley: cool thanks for the review === al-maisan is now known as almaisan-away === matsubara is now known as matsubara-lunch [16:03] abentley: you available to look at a branch that just fixes up sampledata? [16:03] jcsackett: sure. [16:03] abentley: awesome. :-) https://code.launchpad.net/~jcsackett/launchpad/remove-date_next_suggest_packaging-needs-sampledata/+merge/126475 [16:04] jcsackett: r=me. [16:04] abentley: thanks! [16:10] Hi guys! I've some problems installing launchpad on my laptop, with chroot and rocketful-setup [16:10] can I ask someone of you how to fix it? [16:22] robbiz^: you might have more luck if you start to explain whats going on [16:23] or else posting to launchpad-dev mailing list [16:24] robbiz^: https://launchpad.net/~launchpad-dev [16:25] Ok... [16:27] Well my postgresql database didn't start [16:27] the message is this [16:28] Error: The cluster is owned by user id 120 which does not exist any more [16:29] going through system folders I've no config file in /etc/postgresql/9.1/main [16:34] I have Ubuntu precise with chroot system as explained in dev.launchpad.net [16:46] sinzui: you free to talk for a bit? [16:47] yes [16:50] Ok... Probably it's better to post on the mailing-list! [16:50] :) [17:18] jcsackett, ding dong [17:22] jcsackett, I think this test should pass, but it does not. It might be the origin of the 404 because mail rationales and canonical urls are need to explain why the email as received: http://pastebin.ubuntu.com/1228850/ [17:37] sinzui: awesome. === deryck is now known as deryck[afk] === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === matsubara-lunch is now known as matsubara === Guest84818 is now known as slank === slank is now known as Guest32361 === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === deryck[afk] is now known as deryck [20:00] jcsackett: 'When this is improved' ? <- approved?? [21:33] lifeless: Sample data branch? [21:39] lifeless: approved, yes. [21:54] jelmer: hey, still interested in packaging lptools ? [21:55] hi lifeless [21:55] lifeless: no, not really after wheezy [21:58] jelmer: have you been using bzr builddeb etc for it, or just regular packaging ? [21:58] jelmer: I see 'new upstream snapshot' in the log - can't quite tell :) [21:59] lifeless: I only use bzr builddeb for packages in bzr so that must be what I was using :-) [21:59] jelmer: also, I haven't used the debian bzr facilities for a couple years - whats the current stuff for pushing there... [21:59] jelmer: or perhaps I can convince you to do the upload of 0.2.0 and ITA it at the same time ? [21:59] the last branch is @ http://anonscm.debian.org/bzr/bzr/collab-maint/lptools/unstable/ [22:00] lifeless: Sure, I'm happy to do another upload [22:00] lifeless: do you mean RFA rather than ITA? [22:00] yes, crossed wires [22:00] I was thinking intent to abandon :) [22:01] lol [22:01] lifeless: but sure, happy to do another upload with 0.2.0 and the RFA [22:02] jelmer: that would be awesome, thank you [22:02] let me file it [22:08] jelmer: actually, I'm going to O it [22:09] lifeless: euhrm, okay [22:09] jelmer: I doubt there will be another upload before I finish here [22:09] jelmer: and after that I'll have other things to worry about, so saying I'd maintain it in the interim would be an exaggeration [22:10] lifeless: sounds reasonable to me [22:10] http://www.debian.org/devel/wnpp/ : "RFA...hey will maintain it in the meantime, but perhaps not in the best possible way. In short: the package needs a new maintainer. " [22:10] lifeless: I originally thought that's what you meant [22:10] vs [22:10] O [22:10] The package has been "Orphaned". It needs a new maintainer as soon as possible [22:10] wgrant: see pm [22:10] since I think a RFA doesn't require changes to the package itself [22:10] jelmer: I'm not sure O does either does it ? [22:11] jelmer: adoption requires the change [22:11] lifeless: it does, requires changing the maintainer to Debian QA team [22:11] huh, inconsistent docs ftw [22:11] jelmer: so, whats easiest for you? [22:12] lifeless: if you file the O bugreport I can do an upload that changes the maintainer to the QA team [22:12] will do === gary_poster is now known as gary_poster|away [22:16] jelmer: just waiting for the ack [22:18] jelmer: bug 688916 [22:18] <_mup_> Bug #688916: 75-80% CPU-Usage (starting with 1.9.0beta1) < https://launchpad.net/bugs/688916 > [22:18] well, not that one :P [22:20] (-: === abentley changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ∞ [22:21] we've given up on critical bugs? === StevenK changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: âˆ~300 [22:21] Hm === StevenK changed the topic of #launchpad-dev to: http://dev.launchpad.net/ | On call reviewer: - | Firefighting: - | Critical bugs: ~300 [22:58] wgrant, https://code.launchpad.net/~sinzui/launchpad/bug-subselect-timeout/+merge/126566 [23:10] wallyworld__: http://theamazingios6maps.tumblr.com/ [23:16] jcsackett, r=me [23:17] sinzui: awesome, thansk. [23:19] StevenK, https://devpad.canonical.com/~curtis/launchpad-critical-report/launchpad-criticals.html is updated. [23:33] wgrant: So, lp-setup-lxc-build actually does a build [23:34] StevenK: Is the build successful? [23:35] It looks to run make schema too, it looks fine [23:36] wgrant: lxc-stop: failed to stop 'lptests': Operation not permitted and ls: cannot access lptests: No such file or directory are a little concerning [23:37] StevenK: You sure it's adequately root? [23:37] wgrant: It's running under sudo ... [23:37] apparmor [23:38] sudo lxc-stop -n lptests does not complain [23:38] I may have to reach for set -x or run 'id' in the script [23:39] The apparmor workaround shouldn't be necessary to get this bit working [23:39] Just some stuff inside the container [23:39] Like postgres [23:39] And I think lpsetup does the apparmor disablement. [23:39] Apparently not for nested [23:39] According to the README [23:39] But who reads those anyway [23:43] wgrant: So the next step is to fire up lp-setup-lxc-tests? [23:45] StevenK: Right, fill in the lp-setup-lxc-test template and then run something like 'lp-setup-lxc-tests -t lp.services.config' and see what happens [23:46] Pain, misery and suffering is my guess [23:46] And/or great success. [23:46] Well, those aren't mutally exclusive. :-) [23:53] StevenK: Any luck? [23:53] wgrant: Just about to run it [23:54] BLEH [23:54] Forgot {ssh_key_path} [23:55] Heh [23:55] It's easy to do [23:58] Rargh, single quotes