/srv/irclogs.ubuntu.com/2010/08/06/#bzr.txt

mkanatThe buildbot release notes say that they're going to drop Bazaar support for their next release unless somebody maintains it.04:39
lifelessbaz or bzr04:46
lifelesswhats unmaintained about it ?04:46
mkanatlifeless: I'm not sure if they mean baz or bzr.05:22
mkanatlifeless: I'm not sure, I just noticed it in the release notes. I'm guessing they mean baz, because it would seem weird to drop bzr support.05:23
mkanatHmm, yeah, I think they refer to baz as "Bazaar" and bzr as "Bzr".05:25
mkanatYeah, they removed baz and said they were removing Bazaar.05:35
=== lifeless_ is now known as lifeless
cndI'm trying to use bzr fast-import with git fast-export14:01
cndbut every time I try it aborts on a specific commit14:01
cndanything I can try to make it work?14:01
jelmer_hi cnd14:02
jelmer_cnd: That depends on why/how it is failing..14:02
cndABORT: exception occurred processing commit :2514:03
cndbzr: ERROR: exceptions.IndexError: list index out of range14:03
jelmer_cnd: I think I've seen that error before; have you checked the bzr-fast-import bugtracker to see if there are any similar issues listed there?14:05
cndjelmer_, not yet14:06
cndI'll look now14:06
jelmer_cnd: Alternatively, have you considered doing the import with bzr-git or the Launchpad import service ?14:37
cndyeah, I haven't yet14:38
cndare there differences in how bzr-git and bzr fast-import work?14:38
cndas in, will the outputs be the same or different?14:38
jelmer_cnd: bzr-git generates consistent output, bzr fast-import will generate different output if run by different people independently.14:39
jelmer_cnd: The output they generate is different.14:39
jelmer_(The Launchpad import service uses bzr-git)14:39
cndahh, ok14:40
cndthanks14:40
cndjelmer_, I think I got it working using bzr-git instead14:47
cndthanks!14:47
jamjelmer_: morning. I have a question about meliae15:16
jamlooking here: http://packages.debian.org/sid/python/python-meliae it looks like it only built 0.3.0 for 1 platform?15:16
jelmer_cnd: No problem15:16
jelmer_jam: 'morning15:16
jelmer_jam: Uhm, aren't you generally the person providing *answers* about meliae ? :-P15:16
jelmer_jam: yes, so far it's only built on my local machine (I use amd64).15:17
jelmer_jam: At some point the Debian buildds will also build it for other architectures.15:17
jamjelmer_: k, I just wanted to request a sync to Maverick, and I wasn't sure what I need to wait for there.15:18
jamjames_w: ping if you are around15:18
james_wjam: pong15:18
jelmer_jam: You should be able to request a sync15:18
jamjames_w: any chance you could sync meliae 0.3.0? I can do the official thing if you're busy15:18
james_wjam: I can15:20
jamjames_w:  /thank /cheer /train :)15:20
MacSlowjames_w, there I am15:30
james_whi MacSlow15:31
james_wjam: MacSlow is having an odd problem pulling from lp15:31
james_wbzr hangs, but ssh works fine15:31
james_whttps://pastebin.canonical.com/35554/15:31
james_wMacSlow: there's no extra lines in your ~/.bzr.log now are there?15:32
MacSlowjames_w, these are just the last 10 lines... my whole ~/.bzr.log is 36716 lines long (2234253 bytes)15:35
james_wMacSlow: yeah, I just wondered if it had written any subsequent debugging information15:35
MacSlowjames_w, nope... the "bzr -Dhpss branch lp:clutk" command still hangs15:36
MacSlowand I don't expect it to move anytime soon15:37
james_wMacSlow: could you do a "pstree -p | grep -C2 bzr" please?15:39
MacSlowjames_w, pastebin taking its time to respond15:42
MacSlowjames_w, http://pastebin.ubuntu.com/474081/15:42
james_wMacSlow: and "strace -p 2206"15:42
MacSlowjames_w, wait... it (bzr) moved15:43
jamjames_w, MacSlow: strange, I just did "time bzr branch lp:clutk" and it finished in about 19s15:43
MacSlowseems it just finished the branch15:43
jamit isn't a very large branch15:44
james_wMacSlow: odd, in response to the strace, or before you got to that?15:44
MacSlowjames_w, before that15:44
MacSlowwhy do I always have to run into such kind of problems15:45
MacSlowjames_w, doing a "bzr -Dhpss branch lp:clutk" again and doing a strace on it's process id15:46
MacSlowthat just sits there at "read(6 ,"15:46
james_wjam: synced15:47
jamthanks james_w15:47
james_wMacSlow: seems that lp is taking its time in talking to you for some reason15:47
james_wthat's my guess, maybe 6 is something else15:47
jamMacSlow: any chance to do an strace across the whole run?15:49
MacSlowjames_w, ~/.bzr.log -> http://pastebin.ubuntu.com/47408515:49
jam50s to do an open() call? that is strange15:49
jamnow, that includes the ssh handshake, etc15:49
jamMacSlow: what is your ping time to bazaar.launchpad.net?15:49
jam(I wonder if there is something strange is the ssh handshake, but if normal ssh/sftp doesn't take that long then it is probably something else)15:50
MacSlowjam, ~33 ms15:50
jamMacSlow: do you have a lot of ssh keys in your agent?15:50
MacSlowjam, how to check?15:51
jamMacSlow: if you don't know, then I expect it will be small :), let me find it real quick15:52
jamMacSlow: ssh-add -l15:54
MacSlowjam, that reports just  one line, my key15:54
jamyeah, that's what I figured15:54
jamso it isn't like launchpad is spending a lot of time determining which key to use15:55
jamMacSlow: is it repeatable? (as in, if you try to branch again, it still takes >1min?)15:55
MacSlowjam, certainly... just trying it again... it just sits there15:56
MacSlowjam, on my desktop machine (running lucid) it works super fast15:56
MacSlowjam, other network-traffic (e.g. browsing some webpage) works at normal speeds15:58
jamMacSlow: try typing this:16:00
jamecho hello | ssh bazaar.launchpad.net bzr serve --inet --directory=/ --allow-writes16:00
jamthat should at least connect, talk to the remote server and stop16:01
jamand then we can try adding "-v" to the ssh command16:01
MacSlowjam, waiting for 10 seconds now after triggering that "echo hello | ..." command... nothing16:03
MacSlowah wait16:03
MacSlownow it tells me again I don't ahve a registered ssh key16:03
jamMacSlow: probably your lp username is different from your local one16:06
jamjust add "lpuser@bazaar." for whatever your launchpad username is16:06
MacSlowjam, figured that out... trying... but still sitting there doing nothing16:07
jamMacSlow: so trying again with "ssh -v" would be worthwhile I think16:07
jamit should tell us if ssh is sitting there waiting for something16:07
jamor if it is something in bzr16:07
MacSlowjam, "ssh -v ..." what else?16:08
jam(note that it is about 7s here, and that is *with* typing in my ssh passphrase)16:08
jamecho hello | ssh -v lpuser@bazaar.launchpad.net bzr serve --inet --directory=/ --allow-writes16:08
jamMacSlow: I have an idea, there was an issue I've seen in the past with dns reverse lookups16:09
MacSlowok16:09
jamlet me see if I can find the ssh config16:09
jamwait, maybe it was kerberos16:09
MacSlowright now it sits at: "debug1: expecting SSH2_MSG_KEXDH_REPLY"16:09
jamI wish I could remember better, checking16:09
jamMacSlow: http://llbb.wordpress.com/2007/07/11/ssh-takes-exactly-1-minute-20-seconds-or-80-seconds/16:10
jamor16:11
jamhttp://www.derkeiler.com/Mailing-Lists/securityfocus/Secure_Shell/2007-02/msg00033.html16:11
MacSlowjam, there they talk about sshd16:13
jamwell, they talk a little bit about both, I'm still looking16:14
jamhttps://bugs.edge.launchpad.net/ubuntu/+source/openssh/+bug/17416816:14
ubot5Launchpad bug 174168 in openssh (Ubuntu) " expecting SSH2_MSG_KEX_DH_GEX_GROUP (affected: 1, heat: 15)" [Undecided,Invalid]16:14
jamseems pretty close to what you are seeing16:14
jamclaims to be fixed in ssh v5.216:14
jamwhat does ssh --version give ?16:15
jamand this: http://www.snailbook.com/faq/mtu-mismatch.auto.html16:15
jamMacSlow: so you might try ifconfig eth0 mtu 576 and see if that "fixes" it.16:16
jamMacSlow: what platform are you on?16:17
jam(the bug report is about Jaunty)16:17
MacSlowjam, that would be wlan1 on my laptop here... does the MTU also apply to wifi-nics?16:17
MacSlowjam, maverick16:17
jamMacSlow: it should apply to any TCP/IP network16:17
=== Ursinha is now known as Ursinha-lunch
MacSlowjam, still hangs at "debug1: expecting SSH2_MSG_KEXDH_REPLY"16:19
MacSlowjam, this is taking too long... I need to work-around this some other way... thanks for the help sofar.16:21
jamMacSlow: just to check, what was your "ssh --version" ?16:22
jam(though as you say, if it was just that, lucid should be older than maverick)16:22
jamregardless, it is an ssh handshaking bug16:23
jamnot something with bzr16:23
pickscrapeHi, I seem to have managed to "lose" a revision by a combination of bzr rebase, switch and rebase-abort. Anyone know of any tricks to find revisions?16:23
jampickscrape: bzr heads --dead16:23
pickscrapejam: unfortunately that hasn't found the revision I'm looking for :(16:23
MacSlowjam, ssh -version reports "OpenSSH_5.5p1 Debian-4ubuntu3, OpenSSL 0.9.8o 01 Jun 2010"16:24
pickscrapeIt has actually found a parent of it though16:24
pickscrapeOr it could be a parent: may have previously been rebased away of course.16:24
jampickscrape: if it found a parent and not a child, then it would be tricky to find (a head is the most recent *child* with no other children)16:25
jamwhich would indicate that the revision really isn't there16:26
jamor the parent wouldn't be a head16:26
pickscrapeAh, the parent I thought I'd found must have been due to a rebase then.16:26
=== MacSlow is now known as MacSlow|afk
pickscrapeWhat's happened is I tried rebasing branch A, which must have failed, though I didn't notice the message telling me so. Later on I swithed to branch B, and tried to rebase.16:27
pickscrapeIt said there was already one in process, so I opted to rebase-abort. That left me with branch B looking like branch A.16:27
pickscrapeI'm wondering if it's a bug for switch to be allowed while there's a pending rebase in process?16:28
jampickscrape: perhaps. If you're in the same repository, though, rebase shouldn't be deleting any revisions, just changing the branch pointers16:29
jamso they should all still be there16:29
pickscrapejam: I actually have found the head I was looking for in the heads output. There's quite a few listed there. :) Thanks for your help.16:35
jamjames_w: I just got a "The source meliae - 0.3.0-1 is already accepted in ubuntu/maverick and you cannot upload the same version within the same distribution." error message16:39
jamdid you try to upload it 2x ?16:39
jamWas it already synced by someone else?16:39
jam(ISTR that gary poster had some interest in getting the latest Meliae for launchpad developers)16:39
james_wjam: I made a mistake and attributed the sync to "jam", and then unsuccessfully tried to cancel that and set you as the requester.16:40
james_wjam: so it's there, just you don't get the credit for it. I forgot you would get a failure mail too.16:40
jamjames_w: well, I can live without credit. I'm glad it got in16:41
jamanyway, back in a bit16:43
=== beuno is now known as beuno-lucnh
rubbsquick question. It's been a while since I've used bzr, if I want to connect to a server via ssh, I can't tell bzr to use a key right? I have to have it in some sort of agent correct?17:24
abentleyjam, the revision-id requiring a username is a strict requirement with bzr 2.2b4.  My traceback shows that it is.17:27
jamabentley: I'm saying that to create Revision content we require Whoami, I think that requiring it to create revision-ids is not much of a step beyond that17:27
abentleyjam, we require a committer_id, not a whoami, to create Revision content.  But we require a Whoami to create a revision-id.17:28
jamabentley: and if you don't supply a commiter_id directly, we get it from whoami, right?17:29
abentleyjam, correct.  The committer_id replaces Whoami for generating Revision content, but not for generating a revision-id.17:30
abentleyjam, which is what I'm saying is a bug.  If the commiter is me@example.com, the revision-id shouldn't contain aaron@aaronbentley.com17:32
jamabentley: it looks like we will pull the username from the "EMAIL" env variable, and the bzrlib test suite sets that17:33
jamabentley: sure17:33
jamabentley: line 244 of repository.py17:33
jam_gen_revision_id() could know if the commit has a committer id and take it from that17:33
jamrather than always using _config.username()17:33
abentleyjam, right.17:34
jamself._committer is available there, and happens to be self._config.username() if it wasn't supplied anyway17:34
jamso probably we could just change that line17:34
=== Ursinha-lunch is now known as Ursinha
=== deryck is now known as deryck[lunch]
mgzselftest should pass on Python 2.6 right?17:49
jelmer_mgz: yeah17:49
mgzjust tested a failure from upstream changes to gzip.py and it's from a change that shipped with Python 2.617:49
mgz...maybe the struct side of it is Python 2.7 only...17:50
* mgz goes to see17:50
jammgz: probably a 2.6.5/6 thing, as I believe they broke some stuff in the recent 2.6 releases17:51
jamI'm running 2.6.4 here17:51
jam(I think it is stuff they are officially allowed to break, but it broke nonetheless)17:52
mgzif you do... `python -c "import struct;print struct.pack('<L', -1)"` what happens?17:52
=== MacSlow|afk is now known as MacSlow
=== beuno-lucnh is now known as beuno
=== deryck[lunch] is now known as deryck
GaryvdMHi all.19:34
GaryvdMWhat is the 2.2.0 status?19:34
mgzwell, nominally frozen I guess garyvdm20:05
mgz...two bugs to blame on lifeless-of-2006 in one day20:06
mgzjam is doing a bug-closing spree.20:10
* mgz gets one before jam arrives there20:11
jamGaryvdM: I'm releasing today20:11
jamand cleaning up the bug tracker while I'm there20:11
mgzI'm not sure bug 531746 is fixed so much as mostly hacked around, but I guess that's nitpicking.20:11
ubot5Launchpad bug 531746 in Bazaar "Intermittent test failure during _finishLogFile (affected: 1, heat: 1)" [Low,Fix released] https://launchpad.net/bugs/53174620:11
mgzokay, two more Python 2.7 bugs to file, will do that later this evening.20:13
* mgz wanders off for food20:13
jammgz: you are welcome to post-triage however you want. For some things, a new bug is more relevant as it can be more focused20:13
mgzyeah, really that code just needs changing from a different angle, can quite happily be another bug.20:14
* jelmer_ makes a note to ignore all bzr-related email traffic for the next couple of hours.. too much :-)20:17
jamjelmer_: you generated at least as much as I did in the last week :)20:18
jelmer_jam: Sorry :-)20:21
jambut yeah, a bigger storm of updates than I realized at first20:22
jamwe had a *lot* of bugs that were fixed but not marked that way20:22
jelmer_are you using the script to check?:20:22
jamjelmer_: yeah, though after trimming just the 2.2 series over to a new file20:22
GaryvdMjam: Ok thanks.20:30
GaryvdMjam: I want to get the installers built as soon as possible.20:30
jamI'll have a tarball real-soon-now and I've submitted the code to pqm20:30
jamdo you want me to spin up ec2?20:30
jamGaryvdM: ^^20:31
GaryvdMbut not tonight, so tomorrow evening or sunday.20:31
GaryvdMjam: So yes please.20:31
jamwell, I can't guarantee to be around, but we can leave it running for you, I guess20:31
jamGaryvdM: the instance is now launching, I can ping you when I know it is up if you want20:32
GaryvdMjam: I'm planing to make 2 releases. one with old paramiko, and one with my patch. I'll upload the old paramiko to launchpad, and the one with my patch, i'll mention it on the mailing list so that people who test understanding what they are testing.20:35
jamGaryvdM: I would just do your new paramiko20:37
jamup to you, though20:37
GaryvdMjam: Ok - then I would just like for someone to review my changes.20:38
jamGaryvdM: has robey noticed yet?20:38
GaryvdMNope :-(20:38
jamGaryvdM: the big thing I saw, is that I think it breaks compatibility with pycrypto 2.0*20:39
GaryvdMjam: Yes, but if we control the pycrypto, that does not matter.20:39
GaryvdMFor robey that probably does matter.20:40
=== jam changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: jam | bzr 2.2-final has gone gold, build those installers
jelmer_jam: w00t!21:41
* jelmer_ looks into building 2.2.0 for debian21:41
jelmer_lifeless: 'moin21:53
jelmer_lifeless: I know you already have quite a few MPs to review on your list, but just wanted to make sure you were aware of the open ones for bzr-dbus.21:53
lifelessjelmer_: don't block on me :)22:00
jelmer_lifeless, ok :-)22:28
lifelessjelmer_: get john or jamesh or poolie to review22:29
lifelessor jfdi22:29
jelmer_lifeless: right22:30
jelmer_140 more tests to go :-)22:31
mgzokay, that's the last Python 2.7 issue turned up from running the testsuite23:02
mgzjust need to put up some more fixy branches now.23:03
jelmer_jam: still there23:04
jamjelmer_: just about to leave23:04
jelmer_jam: I have trouble merging bzr 2.2 into the debian unstable branch :-(23:04
jelmer_bzr: ERROR: An inconsistent delta was supplied involving u'bzrlib/help_topics/es', 'bzrlibhelp_topicses-20091223160038-qyu0zdzjfbx76ud7-1'23:04
jelmer_reason: Attempt to add item at path already occupied by id 'bzrlibhelp_topicses-20100104142927-3zk9dhyzgw3dqtkl-1'23:04
jelmer_any idea?23:04
jamsounds pretty odd to me. Looks like a wt.update() failure. Something thinks a dir shouldn't exist but it is already there23:05
jamanyway, I need to get going23:06
jameo-week for me23:06
jelmer_Sorry, didn't mean to hold you up.23:06
jelmer_Enjoy your weekend!23:06
=== Ursinha is now known as Ursinha-afk

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