/srv/irclogs.ubuntu.com/2011/06/06/#bzr.txt

workthrickjelmer: thanks for your help, I'll come with more substantial questions tomorrow or thereabouts00:00
jelmerworkthrick: sure00:00
* workthrick reboots00:04
pooliehi all00:17
jelmer'morning poolie00:19
pooliehi jelmer00:20
spivGood morning01:06
wgrantspiv, poolie: We had some odd branch corruption on the db-devel builder on Friday.02:19
wgranthttp://people.canonical.com/~wgrant/launchpad/pygettextpo.tar.gz is the branch. An upgrade to 2a works, then pulling lp:~launchpad-pqm/pygettextpo/trunk crashes with BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing referenced chk root keys: [StaticTuple('sha1:d34f39faee56e120a83e7cec4fe01c4fd5fd32f6',)]02:20
wgrantA fresh checkout works fine.02:20
wgrantStill broken on a daily 2.4 build.02:21
spivwgrant: hmm02:26
wgrantYes.02:27
spivI don't think we've had a report of that error from a fresh upgrade before.02:27
wgrantcheck/reconcile are happy.02:27
wgrantSo perhaps the remote branch is bad or something...02:27
spivOh, it's probably not upgrade then, problem an issue in the remote02:28
wgrantOnly just saw that they're happy now.02:28
wgrantBut the remote branch hasn't changed in a year...02:28
spiv*or* if the remote is fine in isolation too (passes check), then you've possibly got a example that pinpoints a bug in fetch.02:29
spivOh, if the remote is that old, possibly it has the non-canonical-chks issue02:30
spivwgrant: try 'bzr check-chk' from the lp:bzr-repodebug plugin on the remote02:30
wgrantHmmmmmm.02:32
wgrantbzr was upgraded in devel recently.02:32
wgrantBut one revision after what's in db-devel at the moment.02:32
wgrantRather suspicious timing.02:33
spivwgrant: ah, yes, check-chk finds *many* issues in lp:~launchpad-pqm/pygettextpo/trunk02:33
wgrantI don't see how the db-devel slave would be using the devel bzr, though...02:33
wgrantspiv: How do we fix that?02:34
spivbzr reconcile --canonicalize-chks02:34
spiv(it's a hidden option, it's specifically for repairing damage from bug 522637)02:35
ubot5Launchpad bug 522637 in Bazaar 2.0 "BzrCheckError: Cannot add revision(s) to repository: missing referenced chk root keys" [High,Fix released] https://launchpad.net/bugs/52263702:35
wgrantTime for some PQM fun, I guess...02:35
wgrantThanks.02:35
spivAnd must be run on the actual damaged repo, not just done elsewhere and pulled, due to the nature of the problem.02:35
wgrantYep.02:35
spivIt's pretty impressive, actually.02:36
spivI'm not sure I've seen a branch with so many non-canonical-form CHK maps before!02:36
spivwgrant: thanks for reminding me of that issue!02:39
spivwgrant: I just realised it accounts for some package import failures :)02:39
wgrantspiv: Ah!02:39
pooliehi spiv, wgrant02:50
spivHmm.03:16
spivNon-canonical CHKs were *part* of what was breaking libffi03:16
spivBut there's still something funky going on.03:16
=== poolie changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: vila | UDD failure ratchet: 481
poolielifeless: in https://code.launchpad.net/~mbp/bzr/220464-stale-locks/+merge/62582 what do you mean by something stronger?03:51
lifelesspoolie: well, you mentioned putting a machine identifying hash in or something04:53
pooliemm04:54
poolieit could go in /home04:54
pooliea lot of the problem cases have shared disks so that may not help04:54
shadeslayerhttps://code.launchpad.net/~neon/+recipe/project-neon-calligra << bzr runs out of memory on that recipe, could someone look at it? IIRC this bug was fixed a couple of months ago right?06:31
spivshadeslayer: well, bzr memory usage has typically been improving with every major release06:33
shadeslayerspiv: i agree, but that branch is like 97 MB's in xz format :)06:33
spivWhether that means your particular out of memory case has been fixed I couldn't immediately say.06:33
shadeslayerany ideas when it'll be able to build that particular size?06:34
spivDepends on what the problem is, and what version of bzr (and maybe bzr-builder) the buildslave is running.06:34
shadeslayeri guess, whatever launchpad uses06:35
spivIt *might* be as simple as getting bzr upgraded there.06:35
spivWell, I say âââ"simple" but I'm sure wgrant will correct me...06:35
shadeslayerwell .. the source code import uses git->bzr conversion, but i have no idea what the bzr branch format is ... will look into it later this evening then06:36
spivI don't mean upgrading the repo/branch format being used06:37
spivThose are already current06:37
spivI mean the version of the 'bzr' program being used.06:37
shadeslayerah06:37
pooliei think jelmer and others  have a project underway to upgrade bzr06:38
pooliei don't think it's all done yet06:38
poolieaccording to https://code.launchpad.net/ lp is still using bzr 2.2.306:42
fullermdHeaders: {'Software version': '2.2.3dev'}06:43
spivI don't think the PPA builders are necessarily using the same version of bzr as the rest of Launchpad.  I might be wrong.06:45
wgrantpoolie, spiv, shadeslayer: The bzr upgrade has landed, and I'm QAing it now. Will be deployed in a couple of days.06:50
wgrantBut spiv is right.06:50
wgrantThe buildds don't use the same version.06:50
wgrantThey use packages.06:50
wgrantI may converse with lamont.06:50
lifelesspoolie: re: locks - I want to avoid us trashing repositories in the lp deployed configuration which will be N hosts, one cluster FS for storage06:52
pooliei want that too :)06:53
pooliehaving multiple hosts, one filesystem should be safe06:54
poolies//should actually be safe in the patch as proposed06:54
pooliei'm going to check the server side behaviour though06:54
spivshadeslayer: and fwiw that branch is much larger than your xz'd 97MB.  'du -hs .bzr' says 509M.07:10
maxbspiv: Hi. Do you think I should file a bug for "Please upgrade bzr-builddeb on jubany", or is it not worth the process?08:09
maxbWe should be in the clear to redo the sysvinit import as soon as current trunk of builddeb & udd are deployed, which would be nice, as it's a user request08:10
spivHmm, a lot of changes since r49408:11
maxboh yes :-)08:12
spivIt sounds like a good idea, and I think I'd be happy to just do it, but not at 5pm :)08:14
spivSo probably worth filing a bug08:14
maxbrihgt08:14
* maxb is intrigued by the cpuarrayd failur08:21
maxbSomehow the importer has decided to import a package name which does not exist08:22
spivmaxb: yeah, I was wondering about that one too08:23
=== tomaw_ is now known as tomaw__
=== tomaw__ is now known as tomaw
pooliehello vila09:27
vilapoolie: hey !09:28
pooliehi09:28
poolie:)09:28
pooliei like your mails-09:28
pooliei might need subtitles though :)09:28
vilahttp://www.youtube.com/watch?v=CN666q3ptAU09:29
vila:)09:30
vilapoolie: corrections welcome nevertheless ;)09:34
=== gerard_1 is now known as gerard_
poolievila so actually more seriously i don't know what spam you're talking about10:05
pooliedid people object to the previous message/10:06
vilahmm, right, so what's the saying about explaining jokes ? ;)10:07
vilathis was just a way to roll the drums about the policy change, people should know that there is something going on with reviews and subscriptions by now10:08
vilaI probably viewed too much monty python lately: http://www.imdb.com/title/tt0071853/crazycredits10:09
pooliei like the humour10:09
pooliei think perhaps a subtitle saying what's actually happening would help10:09
vilaright, the link to maxb message was supposed to give the serious info10:10
pooliewell, just something to think about10:11
poolievila, whoa, you sent through my stale lock branch?10:33
pooliei was just drafting a reply to robert10:33
vilamgz approved it...10:33
vila:-/10:33
pooliei think it's probably ok but i was going to look at it again10:33
viladid I miss a reply from Robert ?10:33
pooliei do appreciate you trying to flush the queue10:33
pooliehe asked if it's safe wrt server side operations10:34
vilaMay be I over interpreted but I read mgz's last comment as: that's fine as it is, we can do a further proposal10:34
vilapoolie: oh right, but this won't be deployed on lp then ?10:35
pooliewhy not?10:36
vilameh, if you think you need a further proposal, this don't *have* to be deployed on lp10:37
vilaif you're ok, I don't have objections myself10:37
pooliewell10:38
poolieon the whole we should probably land it and perhaps do follow up10:38
pooliei wouldn't mind brainstorming other things we could check, with you10:38
pooliewhat do you think we should do about matching up the host names?10:40
pooliei'm tempted to also ask a losa to kill the pqm job until we're agreed on how to do it10:42
vilahow about a grace period before stealing the lock ?10:47
vilaThe issues you and Robert raised still exist with break-lock no ?10:48
poolieok, i replied10:50
pooliea grace period could be another option10:50
vilaI can't think of a good way to make the host name check stronger that can't be defeated either so I'm not sure about that10:50
poolieok, good night!10:54
vilag'night !10:54
vilapoolie: pqm failure anyway, so no worries10:59
jelmerg'night poolie11:00
lifelessvila: poolie: re: landing and iterating; If landing something that makes server deployment risky, how would we identify that this blocks a release/deploy to lp ?11:07
lifelessnot saying you should or shouldn't, just wondering what the process to avoid mistakes further down the line is11:08
vilalifeless: add more tests ? ;) Anyway, there was a pqm failure for this proposal so it didn't land11:12
bigjoolshi all, I'm doing a "bzr shelve --all" and getting this error, what can I do to fix it?11:38
bigjoolsbzr: ERROR: Could not acquire lock "/home/ed/canonical/lp-branches/copies-must-use-queue-bug-789502/.bzr/checkout/dirstate": [Errno 11] Resource temporarily unavailable11:38
jelmerbigjools: there's no other bzr instance trying to access that branch at the same time?11:39
bigjoolsjelmer: I hope not, I've not touched bzr since I booted the box, that's the first thing I typed11:39
bigjoolsah, there's a bzr grep running ...11:40
bigjoolsjelmer: that was it :/11:40
bigjoolsI didn't think it'd do an exclusive lock11:40
bigjoolsthanks11:40
jelmernot one of our best error messages..11:41
bigjoolsno :)11:41
quicksilverdoes anyone use reviewboard with bzr? or alternatively, have suggestions on tools in this area? That is, support for code review workflows12:09
ScottKquicksilver: I've used it.12:10
quicksilverScottK: works well?12:11
ScottKYou need a patch and then it works.12:11
ScottKLet me see if I can find it.12:11
quicksilverthe bzr-diff-revid stuff?12:11
ScottKYes.12:12
quicksilverfound that already in my initial researches.12:12
quicksilvertrying to find a bit of automation for a good merge-request/code-review workflow.12:12
ScottKThere's also a patch to rbtools we needed.12:12
ScottKI think that may just be because we were on an older version.12:13
quicksilverI really want something which can work on the output of "bzr merge --preview"12:14
quicksilverthat is, the diff between unmerged branches.12:14
quicksilvermost code review tools seem to want to work on diffs between versions of a particular branch12:14
ScottKI don't think I've used it that way.12:15
* quicksilver nods12:16
quicksilvermaybe my workflow is odd12:16
quicksilverbut I like to review changes before we pull them into mainline.12:16
spivquicksilver: that's not odd at all; it's how Launchpad's code review workflow works for example.12:17
quicksilverspiv: hmm maybe running an internal launchpad instance is a better idea then?12:17
* quicksilver tries to google info about lp code review12:17
spivquicksilver: but I guess the thing is if you have a branch that's simply a bunch of revisions on top of the target branch (i.e. no merges from the target onto the branch-for-review part way through its new commits) then diff-between-versions-of-branch is the same.12:18
quicksilverright. but we always have those (merges from target onto branch-for-review)12:19
quicksilverapart from anything else it's the branch-developers obligation to keep testing against latest mainline and ensure there are no conflicts12:19
quicksilverso there should be regular merges in that direction.12:19
* spiv nods12:19
quicksilverspiv: seems lp code review gives you a workflow and an interface to browse merge candidates, btu doesn't actually support the process of annotating the diffs?12:20
spivIt gives you a place to add comments about the whole diff, but no way to directly annotate a part of the diff with a particular comment, no.12:21
* quicksilver nods12:21
quicksilvercurrently I review the entire output of bzr merge --preview in emacs, make notes and then discuss those notes with the developer.12:21
spiv(I think there was some discussion recently about maybe adding something like that)12:21
quicksilverit works OK but I was wondering if I could automate some of those parts12:21
quicksilverand having it on the intranet lets the rest of the team get some idea what's going on12:22
quicksilverwhich is nice.12:22
spivMy usual way to do reviews with Launchpad is I get the email sayingg12:22
spiv"review this, here's the diff" and I reply to that email, quoting the bits of the diff I'm commenting on and following them with my remarks.12:22
spivs/to do/I do/12:23
* quicksilver nods12:23
spivI don't mean to suggest my preferences are universal :)12:23
spivPart of the difficulty of directly annotating LP's diffs is that they are updated automatically as the branch changes12:23
spivSo the comments on a review may be interleaved with "New revision: Add more comments, fix typo." etc12:24
quicksilverspiv: reviewboard (which ScottK and I were just discussing) claims to understand about different versions of diff.12:25
quicksilverI'm not sure what it looks like in practice.12:25
spivI'm not either, I haven't taken a close look at reviewboard recently at all.12:26
ScottKI think you'll have to try it to know if it fits your workflow.12:27
* quicksilver nods12:29
niemeyerGreetings!14:32
niemeyerI faced an issue with bzr over the weekend that prevented importing some code on it.  Wondering if someone already had a look at something similar:14:33
niemeyerbzr: ERROR: An inconsistent delta was supplied involving '<unknown>', 'hg:usr_sgri'14:33
niemeyerreason: Parent is not present in resulting inventory.14:33
niemeyerThis was a simple non-fancy import of about 8600 revisions, just one commit after the other14:34
niemeyerThis seems to be the same bug as this one:14:40
niemeyerhttps://bugs.launchpad.net/bzr-hg/+bug/51336814:40
ubot5Ubuntu bug 513368 in Bazaar Hg Plugin "inconsistent delta during fetch" [Medium,Triaged]14:40
niemeyerWhat surprised me is that I'm hitting the bug just with plain command line interaction14:41
maxbniemeyer: It's not that surprising, bzr-hg is somewhat less developed that other bzr foreign plugins14:54
niemeyermaxb: I'm not using bzr-hg14:55
niemeyermaxb: bzr is crashing all by itself14:55
niemeyermaxb: I go 8600 revisions doing "bzr add; bzr remove; bzr commit"14:56
niemeyerand the resulting repository has this bug14:56
maxbThe string 'hg:usr_sgri' from your error message is *highly* suggestive of bzr-hg being involved14:57
niemeyermaxb: Ouch.. maybe the plugin is kicking in just because there's an .hg directory?14:57
maxbEntirely possible14:57
niemeyerUgh14:57
niemeyerOk, that'd explain a lot14:57
niemeyermaxb: ...and I had it installed. I'll try to reproduce the bug without it, but it looks like you're right. That was very helpful, thanks!14:58
niemeyermaxb: OMG.. not only it works, but it's also several orders of magnitude faster15:17
* niemeyer hugs maxb15:17
maxb:-)15:17
maxbDid you try using bzr-hg to import the branch first?15:17
maxbIt would be somewhat simpler than an add/commit loop15:18
gourreddit story about bzr - http://www.reddit.com/r/programming/comments/hseul/do_you_like_bzr_were_working_on_the_github_for/15:29
asabilmergebox sounds like something that would probably help increasing bzr adoption15:37
niemeyermaxb: Heh15:45
niemeyermaxb: I'm sure it's simpler when it works15:46
niemeyermaxb: This bug is around for more than a year15:46
shadeslayerwgrant: thanks!15:56
shadeslayerspiv: alright, i15:56
shadeslayer+i'll test it out when its rolled out15:56
shadeslayerwgrant: is the new bzr out on production servers?16:08
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
=== bigjools-afk is now known as bigjools
=== zyga is now known as zyga-afk
=== yofel_ is now known as yofel
=== zyga-afk is now known as zyga
pooliehi maxb, all23:18
maxbhello23:18
jelmerhi poolie, maxb23:27
pooliehey there23:29
wizonesolutionsAnyone know if Bazaar has something similar to git-submodule?23:35
lifelessthere is a plugin23:44

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