/srv/irclogs.ubuntu.com/2010/05/18/#bzr.txt

* spiv waits for the cold&flu pills to kick in fully01:05
lifelessugh01:05
spivI'm definitely doing much better than yesterday.  I don't seem to actually have a fever anymore, and I got a proper night's sleep.01:06
spivHooray for ubuflu :/01:07
mgzlifeless: re "Where is test_dir being set?", two instances of `self.test_dir = ` in bzrlib.tests both of which are old01:16
mgzso I presume the change is something to do with how test methods are put on instances in testtools01:17
spivmgz: oh wow, that's a shorter nick!01:17
mgzblame vila!01:17
igcmorning01:26
lifelesshmmm01:33
mgzI presume the code was wrong before, but happened to work because no one was checking if the attribute they'd put the directory name in was still a string or whatever01:35
mgzdidn't look too closely once I'd worked out how easy the fix was01:39
lifelessmgz: yeah01:48
* igc lunch03:03
nilgI'm having problems with launchpad since yesterday, anyone else?03:39
Croephacan bzr diff compressed files? like can it give intelegable changes between revisions of a docx file?04:31
spivCroepha: not as a builtin feature04:34
spivCroepha: I think it would be possible to write a plugin to do that, or perhaps you could try "bzr diff --using=..." if you already have a tool for producing readable diffs for that file type.04:36
lifelessnilg: some details please04:40
lifelessCroepha: you can write a plugin to the diff code that examines specific files in a different way04:41
nilglifeless: sorry I works actually04:41
vilahi all07:21
bialixheya07:50
igcnight all08:14
GaryvdMHi and Night igc.08:15
bialixnight igc08:15
gourmorning08:15
gournight igc08:15
igchi GaryvdM, gour (and night)08:15
gour#541626 makes bzr-fastimprt unusuable for me08:16
gouris it just fastimport's problem or affects bzr aswell?08:16
bialixyou should say bug #54162608:16
ubottuLaunchpad bug 541626 in bzr-fastimport "'BTreeBuilder' object has no attribute '_find_ancestors'" [Undecided,Confirmed] https://launchpad.net/bugs/54162608:16
gourbialix: thanks08:16
bialixour pet bot, good ubottu, take a cookie08:17
* gour would like to to darcs <---> bzr and use LP08:18
gours/to to/to do08:18
bialixtailor?08:19
gouri'm not sure it can do incremental import and believe fastimport should be better supported...igc takes care for it08:19
bialixperhaps not today08:20
gourvmiklos (who wrote darcs part) recommends it over tailor as well08:21
GaryvdMbialix: Nudge https://code.launchpad.net/~garyvdm/bzr-explorer/better_tree_filter/+merge/2051908:29
bialixat evening, sorry, have to work08:30
GaryvdMbialix: Ok08:30
* GaryvdM looks at 2 qbzr mps08:30
=== gour1 is now known as gour
=== wgrant_ is now known as wgrant
MvGHi there! When will 2.1.2 be released? https://launchpad.net/bzr/+milestone/2.1.2 expects it 2010-04-22, and bug #572098 is really annoying. Yes I could work from a snapshot, but I prefer releases for my production work.09:44
ubot5Launchpad bug 572098 in Bazaar "`bzr clean-tree` should not blindly delete nested branch/tree/repo (affected: 1, heat: 6)" [High,Fix released] https://launchpad.net/bugs/57209809:44
MvGGot the wrong bug, it's #559436 that's annyoing me personally, but seeing a list of 5 high priority fixes looks like a release might be a good thing.09:45
Peng_bug 559436?09:56
ubot5Launchpad bug 559436 in Bazaar "AttributeError: 'NoneType' object has no attribute 'get_config' (affected: 4, heat: 30)" [High,Fix released] https://launchpad.net/bugs/55943609:56
Peng_Oh.09:56
MvGMeans whenever I switch a branch with local modifications, I get a backtrace... :-(09:56
MvGs/branch/tree/09:57
GaryvdMvila: Who is the rm for 2.1.* ?10:01
vilaGaryvdM: hmm, I've lost track here, was it igc or poolie ?10:02
GaryvdMvila: jam did 2.1.0. I can't find the release announcement for 2.1.110:03
vilaGaryvdM: yeah, so poolie was RM for 2.1.1, where are you searching for the annoucement ? lp ?10:04
GaryvdMvila: yes10:04
vilaGaryvdM: hmm, he presumably forgot this bit then10:05
GaryvdMMvG: Out of the people who could be the rm, none of them are online right now, so it may be a good idea to send a mail to the mailing list.10:05
MvGGaryvdM: OK, will do so.10:05
vilaGaryvdM: do you remember which toolkit was used for diffamation ? qt ?10:15
vilaGaryvdM: or was it osx specific ?10:15
GaryvdMvila: It was written in java. I'm not sure which toolkit10:17
vilawow, who said java was slow ? :-P10:17
vilafor those that couldn't attend UDS,  the video is here: http://ubuntudevelopers.blip.tv/file/3617079/10:21
bialixdoes somebody really said that java is slow? he should look at python first10:30
Peng_Heh.10:33
vilabialix: some people explained me that they switched from java to python for web apps because python was faster :-P10:33
bialixah10:33
bialixmaybe10:33
bialixbut diffamation is desktop thing10:33
guijemontdoesn't java have a reputation of slowness just because a lot of people programming in java don't know what they're doing?10:38
vilayup, so the key is to focus on the relevant part that needs to be animated, things like shortest edit paths (mentioned in the above presentation) are certainly needed to reduce the data set to process10:38
guijemont(me? feeding the trolls?)10:38
vilathe same apllies to python really :)10:39
guijemontcertainly10:39
guijemontthat's where the virtue of brainfuck is10:39
guijemontbad programmers don't go there10:40
guijemontgood programmers don't either though10:40
GaryvdMvila: http://www.aviz.fr/diffamation/10:43
guijemontindeed diffamation looks cool10:49
vilaGaryvdM: ecellent, thanks for the url10:49
jmldid anyone take notes for the "Bazaar/Launchpad healthcheck" session at the recent UDS? I can't find it on gobby11:22
vilajml: ouch, ping poolie ? :-/11:23
jmlvila: I'll send him an email.11:24
vilamgz: in case you're wondering, I've found the problem with babune11:24
vilajml: I should have known...11:24
vilamgz: the selftest -x option can't be used twice (AFAICS) so TestBreakin and its zombies was back...11:25
vilamgz: I've just finished upgrading babune to lucid and relaunch a full set of runs, gentoo has already succeeded11:26
spivjml: bazaar-m-healthcheck?11:26
jmlspiv, ahh, thanks. I was looking for it under the community track11:26
spivjml: that would have been logical :P11:26
vilajml: pfff, I'm so disappointed :-P11:27
* vila runs (not only to avoid jml's great vengeance :)11:27
jml:D11:29
spivvila: Huh, I thought selftest -x could be used twice?11:30
spivvila: btw, if you feel inclined, maybe set up a builder for bzr on python2.7?11:30
spiv(It'll fail to even start tests atm, though, I filed a bug)11:31
bialixyep, some pages gone from gobby12:00
bialixjml: that page still there12:04
bialixtitled bazaar-m-healthcheck12:04
jmlbialix: thanks.12:05
bialixI guess we should put those pages to wiki12:05
jmlbialix, yeah. that'd be good.12:06
jmlbialix, I'm collecting all of the Launchpad-related notes, putting them onto our wiki, then blogging a summary.12:07
jmlI'm not going to do that for Bazaar though.12:07
bialixok12:07
bialixI'll do that for bzr12:07
=== radoe_ is now known as radoe
guijemontI've named some of you there, hope you don't mind: http://guij.emont.org/blog/2010/05/18/scratching-an-itch-make-bzr-gtk-collapse/12:28
guijemontGaryvdM, jelmer and vila12:28
nessitavila: ping13:00
vilanessita: pong14:04
nessitavila: hi there! I added a comment on https://bugs.launchpad.net/bzr/+bug/58175114:05
ubot5'Error: Could not parse data returned by Launchpad: HTTP Error 401: Unauthorized\nResponse headers:\n---\ncontent-length: 21\ncontent-type: text/plain\ndate: Tue, 18 May 2010 13:05:13 GMT\nserver: zope.server.http (HTTP)\nstatus: 401\nvia: 1.1 wildcard.edge.launchpad.net\nx-powered-by: Zope (www.zope.org), Python (www.python.org)\n---\nResponse body:\n---\nBug 581751 is private\n---\n (https://launchpad.net/bugs/581751)'14:05
nessitavila: lifeless suggested me to ping you, is there any debug we can do together?14:05
vilawow, ubottu can't authenticate ? That's weird...14:06
nessitaany extra info I can add? I can reproduce it consistently14:06
vilanessita: just sec, let me page in the context14:08
nessitavila: sure, thanks14:08
vilahmm, looks like the nightly hasn't been updated since 2010-03-24, so I'm pretty sure it doesn't have the fix14:10
vilanessita: what do you mean by 'split' the bzr command ?14:11
nessitavila: yes14:11
vilanessita: nice host name by the way :)14:11
nessitaheh :-)14:11
=== CardinalFang_ is now known as CardinalFang
vilanessita: sorry for the delay, I've just updated to lucid and my setup is not fully functional yet14:15
vilaGaryvdM: did you merge annotate_find to trunk ? It seems that branch doesn't work anymore on lucid14:15
nessitavila: no problem. Just ping me using my nickname and I'll be happy to help debugging14:16
GaryvdMvila: I have not yet merge annotate_find to trunk, but I have merge trunk in to annotate_find, so annotate_find should work on trunk.14:16
GaryvdM*should work on lucid14:16
vilaok, first I'd like to check if the nightly includes the fix I mentioned14:16
vilaGaryvdM: Oh, right, you told me that, let me check14:17
vilaGaryvdM: thanks, that fixed it :)14:18
vilanessita: right, the fix is revno 5160 on trunk while the nightly seems to be 5106, right numbers, wrong order14:20
nessitavila: ok, so, is there any way of getting a newer bzr other that branching trunk?14:20
vilanessita: can you run bzr from sources ?14:20
nessitavila: I guess so :-)14:21
* nessita branches14:21
vilanessita: none of the ppas seems to contain better than nightly, this fix should be in the next releases (2.0.6, 2.1.2, 2.2xxx)14:21
vilaspiv: (surely too late but anyway) I thought -x could be used twice too, regression ? (-s can ! :)14:23
vilanessita: don't forget to run make after branching (hmm, you may need to install some dependencies too, pyrex for one...)14:24
nessitavila: is there any howto?14:25
nessitaI mean, a list of deps so I install them at once14:25
* vila looks at the package def14:26
nessitajeje14:26
nessitathat's cheating!14:26
vila:)14:26
vilaI know we don't have TestDepends but I'm pretty sure we have DevDepends (or whatever the name is)14:26
* nessita is still branching14:28
vilaargh, one more regression, can\t switch virtual desktops anymore14:28
vilanessita: hmm, first branch ever ?14:28
nessitayeap14:28
* nessita sings like a virgin, branching for the very first time14:29
vilashift+ctrl+alt+left instead of ctrl+meta-left .... did the design team infected by emacs viruses ?14:31
vilanessita: :-)14:31
vilaargh, keyboard layout bug :(14:31
nessitavila: how big is a bzr branch?14:48
vilahistory or working tree ?14:48
nessitahistory14:49
nessitavila: it doesn't matter, I was just curious14:50
nessitathis thing is still branching :-)14:50
vilanessita: my .bzr shared repo is ~6214:50
vilaghaa 63M14:50
vilathat should be an upper bound as it contains many revisions that were never (or are not yet :) merged to trunk14:51
vilanessita: lag/bandwidth ?14:51
nessitamax download rate is 1M for me14:52
nessitaand the branch is using ti all14:52
nessitait*14:52
nessita\  78155kB   107kB/s | Fetching revisions:Inserting stream and counting14:53
vilahmm, 78M already, something weird is going on here :-/14:53
nessitanot relly?14:54
nessitanessita@dali:~$ du -sh src/bzr.trunk/14:54
nessita35Msrc/bzr.trunk/14:54
nessitafinished!14:54
vilanessita: so you used twice the volume of the final branch: something weird happened, can file a bug with these numbers please ?14:56
vilanessita: then you can ping lifeless :-)14:56
nessitaok14:56
nessitavila: make completed successfully14:57
vilanessita: so, run 'make' in the bzr branch14:57
nessitadone14:57
vilawow, you rock :)14:57
nessitaheh14:57
vilano weird messages about extensions nor zlib ?14:57
nessitanopes, it failed because of the lack of pyrex, which I installed and re run make14:57
vilanessita: just do './bzr info -v' there14:57
vilaok, so you should have the other ones already installed (I vaguely remember zlib-dev was required at some point)14:58
nessitavila: https://pastebin.canonical.com/32382/14:58
vilanessita: cool15:00
nessitavila: this worried me though https://pastebin.canonical.com/32383/15:00
nessitavila: note bzr vs ./bzr15:00
nessitabut versions match?15:00
vilanessita: try using this bzr for your previously failing ... let me look ta this pate15:00
vilanessita: yes, versions are bumped for release only, nightly are not your usual beast15:01
nessitaohhhh ok15:01
nessitavila: shall I redo the splits with the newer bzr?15:01
vilabut the full output should mention the revno15:01
vilanessita: not if the fix apply to your case15:02
nessitaperfect15:02
vilanessita: bah, no15:02
vilasorry for the convoluted answer15:02
nessitano problem15:02
nessitaI can do the split again15:02
nessitashall I branch using newer bzr too?15:03
vilanessita: no, just try the failing command with the new bzr15:03
nessitaok15:03
vilaeither it's fixed or it's a whole new bug anyway15:03
vilamgz: babune back in blue, expect for the windows run !!15:04
nessitait didn't fail!15:04
nessitavila: nice :-)15:04
vilanessita: pfew, I'm so glad about that ! This fix was a real pain :)15:05
nessitavila: thank you very much for your help!15:05
vilanessita: I was afraid you were hitting the same kind of problem only different, luckily it looks to be the *same* :)15:05
vilanessita: my pleasure15:06
nessitaseems like it15:06
nessitavila: have a few more minutes for a follow up question?15:06
vilanessita: sure15:06
nessitavila: so, the merged worked (yey!) but, when applied, it removes some files (because the source branch has those removes in it). Is there any way to avoid/undo certain changes?15:07
vilanessita: if the merge remove 'filea', doing 'bzr revert filea' should restore it, you can then commit and the following merges shouldn't delete it again15:09
nessitavila: yey, you're right15:09
nessitathanks again!15:10
vilanessita: I'll mark the bug as a duplicate then15:13
nessitavila: please do15:13
nilg`bzr repo on launchpad is nearly impossible to get from china, any knowledge about that issue?15:15
vilaguijemont: marmitians anonymous, really, you know there are free certificate providers these days ? :-P15:18
vilaguijemont: and, of course, no problem with your citations :)15:23
guijemontvila: yeah, should handle that one day15:25
guijemontbut the big issue is it's a shared server15:26
vilaha, yeah, technical problems are so much easier to handle when humans are not involved :-D15:26
GaryvdMvila: I know you us synergy. Are you aware of this: http://code.google.com/p/synergy-plus/15:46
GaryvdM*use15:46
GaryvdMvila: The old synergy segfaults for me. synergy-plus is more stable for me, but the clipboard is broken.15:48
vilaGaryvdM: good to see this nice software resurrected, I'll track it to see how it evolve.15:49
vilaGaryvdM: it's mission critical for me so unless it works better I'll stick with the working one :)15:49
GaryvdMvila: I see.15:51
vilaGaryvdM: also, I try to minimize installs from source, so unless it's packaged for lucid... I will wait (if someone proposes it as a ppa though.... I will gladly test it ;-)15:53
vilaGaryvdM: Oh, and I have a pending bug against virtualbox about the bad interactions between vbox, synergy and the apple magic mouse...15:54
kfogelOn a Debian GNU/Linux system, ever bzr command gets this warning:16:01
kfogel/usr/lib/python2.5/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken16:01
kfogel  RandomPool_DeprecationWarning)16:01
kfogelBut python-paramiko package is up-to-date.  Googling does not reveal any obvious fixes, and the URL given in the warning is a 404.16:01
kfogelAny ideas?16:01
IslandUsurperIsn't Crypto a separate download from paramiko?16:07
cbzwhat happens when a pack file size gets to the system filesize limit?16:08
IslandUsurperkfogel, the source install docs list http://www.python.org/pypi/pycrypto/ as the place to get pyCrypto16:08
kfogelIslandUsurper: thanks16:08
IslandUsurperkfogel, I would guess there's a different package for it instead of python-paramiko16:09
=== IslandUsurper is now known as IslandUsurperAFK
nessitahey all, me again with weird issues. Anyone has a hint how to solve this conflicts? https://pastebin.canonical.com/32393/16:47
maxbYou know that that's a pastebin most people can't see?16:58
nessitaduh, sorry, pastebin was disabled a few hours ago :)16:59
nessitaoops, still is16:59
=== salgado is now known as salgado-lunch
nessitapublic paste: http://paste.ubuntu.com/435609/17:01
=== beuno is now known as beuno-lunch
nessitamaxb: thanks for pointing this out!17:01
maxbI guess this is a private branch?17:08
nessitamaxb: yes, I split a subtree from a branch and I merged it against another branch in another project17:10
nessita(using bzr split and bzr merge)17:10
maxbthat sounds... complicated :-)17:10
nessitayeah17:10
nessitaI'm so frustrated17:10
nessitabut I have to do this, and maintain history17:11
=== kfogel is now known as kfogel-lunchpad
bialixGaryvdM: still here?17:41
=== IslandUsurperAFK is now known as IslandUsurper
=== IslandUsurper is now known as IslandUsurperAFK
bialixGaryvdM: maybe I simply should dogfood your bzr-explorer patch? I'm not really wise to easily review your changes17:43
=== IslandUsurperAFK is now known as IslandUsurper
bialixabout duplication: maybe it's worth to require in explorer trunk compatibility with newer qbzr? and keep explorer 1.0.x as compatible with qbzr 0.18?17:44
* bialix going to home, will read irclogs later17:44
bialix~~~17:44
mgzvila: good to know the nix hang problems are not related, was coming to that conclusion here17:50
mgzI've got some interesting results on the thread leak regression I'll probably post to the mailinglist17:50
=== kirkland` is now known as kirkland
phellercan anyone tell me what provides XMLSerializer ?18:05
phellernevermind.  I see it's part of bzrlib now18:08
=== beuno-lunch is now known as beuno
=== luke-jr_ is now known as luke-jr
vilamgz: (passing around) regression ? The leaks have been there for... a very long time, what are you comparing to ?18:14
mtaylorabentley: bug in lp-submit in pipelines:  I just got this error: bzr: ERROR: There is already a branch merge proposal: https://code.edge.launchpad.net/1.0/~mordred/drizzle/pandora-build/+merge/1473318:14
mtaylorabentley: too bad the 1.0 doesn't really belong in that url...18:14
vilamgz: the bug itself is very stealth and I have never been able to reproduce it on demand...18:15
abentleymtaylor, funny, I thought I'd fixed that one.18:18
mgzvila, that's just it, yes, the leaks have always been there, but they were never fatal for *me* before18:18
mgzand now I can reliably repo.18:18
mtaylorabentley: it's possible I'm running an old version18:19
mgzvila: I've got a couple of things I'd like you to check if you can18:19
=== JFo is now known as JFo-afk
abentleymtaylor, just testing now.  It's possible I only fixed lp-propose.18:19
mgz1) make really-really sure you're chop-test-run-into-several-smaller-subprocesses workaround is still working, as that should make leaks harmless18:20
mgz2) do a full babune test run on r4919 and r492018:20
abentleymtaylor, yeah, that's it.  On 2.1, lp-submit will give you that error.  On 2.2, you get lp-propose through its lp-submit alias.18:23
mtaylorabentley: ok. cool18:24
mtaylorabentley: I'll just deal with it then18:24
mtaylorit's certainly not borking me :)18:24
abentleymtaylor, I'll fix it, just not right now.18:27
GaryvdMbialix: If you read this in the log, I've replied to your questions in the mp. Thanks18:31
vilamgz: 1) is demonstrated by babune being almost blue (including some hacks for some slaves to increase BZR_CONCURRENCY *above* the number of available processors)18:34
fullermdFor god's sake, let it BREATHE!18:35
vilamgz: what do you call a full run ? All slaves ?18:35
vilafullermd: funnily enough it's the freebsd8 that needs the hack has running it under vbox with more than two cores lead to far too much crashes :-/18:35
vilas/freebsd8/freebsd8 slave/ and to avoid any misunderstandings, I blame vbox not freebsd (remember the time skew problems I was encountering ? Still there, even worse maybe)18:36
vilaand babune's fans have been changed for more silent, yet still efficient, ones, so it can breathe and I don't hear it complain anyway18:37
fullermdObviously, the answer is to make freebsd8 the host rather than the emulated one   ;p18:37
vilafullermd: all tests are run in slaves, not on host :-P Host is for *my* tests :-)18:38
vilaso I'll still need to have a freebsd slave ;)18:38
fullermdDaemons don't take well to chains.  You're liable to wake up one day to a trident at your throat.18:39
GaryvdMIf you interrupt a bzr-git fetch, will it resume, or restart?18:39
vilaone more reason to give it only two cores, I may be able to put my neck between the two teeth of the bident :)18:40
vilafullermd: and stop complaining, now you can blame the lower number of cores to explain why freebsd is the slowest nix on http://babune.ladeuil.net:24842 :-P18:41
fullermdAh, yes.  Core limits for VM's should be called the Skynet Prevention Program.18:41
vilaYou said the name !!!!18:42
fullermdjaunty isn't a nix?  ;p18:42
vilahehe, I was waiting for that, check again in a couple of days or drill down for the trend, jaunty and karmic last run are atypical :-P18:43
fullermdDoesn't much matter anyway, since Windows does it in 2 minutes  ;p18:44
vilano no, 55mins, note the debug :) This one is running only a small subset :)18:45
* fullermd snorts.18:46
* vila dinner :)18:46
fullermdYou've got a pathetic career as a benchmarker ahead of you if you're gonna get bogged down in irrelevant details like that   ;p18:46
mgz<vila> mgz: what do you call a full run ? All slaves ? <- windows only, but all tests (minus bb.test_breakin)18:47
mgzI'll get my write-up done later, then things might start making more sense18:47
=== salgado-lunch is now known as salgado
mgzessenstially, I think things have got worse on the threads-leaked-alive front.18:50
mgzand it's the fault of testtools, which is becoming something of a mantra for me18:51
fullermdWell, consistency is a virtue, right?18:53
=== kfogel-lunchpad is now known as kfogel
eydaimoncan I create a branch on remote host? say I have a bunch of files in a dir. I want to create a branch on the remote host, and check them in there. how would I do it?19:20
beunoeydaimon, create teh branch locally and push to it19:23
beunoit will create it19:23
eydaimonbzr init . ?19:25
eydaimonthen bzr push pathname?19:25
beunobzr init .19:26
beunobzr add19:26
beunobzr commit -m19:26
beunobzr commit -m'Some message'19:26
beunobzr push pathname19:26
eydaimonthanks :)19:27
eydaimonwill the local branch work as a checkout or as a branch?19:27
beunoyouz welcome19:27
beunoa branch19:27
eydaimoncan I make it a checkout?19:27
eydaimonso Id on't have to keep pushing19:28
beunoyes, but you will need to checkout from $path19:28
eydaimonso first push, then checkout19:28
eydaimonbzr doesn't seem to like writing to a dir which already exists19:28
beunoyeah, it's fussy about that19:33
GaryvdMeydaimon: You can make your local branch a check out by running bzr bind :push19:34
eydaimoncool. thank you19:36
vilamgz: hmm, re-trying old revisions on windows with the bug fixes in testtools and subunit may be worth a try, but I won't bet a lot on testtools making things worse19:38
vilamgz: keep in mind that the root cause is that transport objects don't close their socket, for http that means keeping the connection alive. The servers have to keep their own connections open. At some point python's gc will finally collect the transports and close the client sockets triggering the server sockets close.19:42
vilamgz: But since that take too long, we finally reach the socket/file handle/thread limit19:43
vilamgz: now, to fix that, we need to close the socket in either the client or the server, that's where I encountered weird behaviors (uncaught exceptions in the server threads leading to hang threads for once)19:45
vilamgz: I have some branches where the servers where almost good and where there were almost no more leaked threads and... get interrupted19:46
vilamgz: It's high n my TODO list now so expect some results soon (for handwaved values of soon of course :)19:46
kojiroThere's something I really don't understand about bzr-svn: If I do a merge/commit/push, it puts back changes that were already on the svn repo, but makes it look like I just made those changes19:50
kojirois that really what I should be doing?19:50
=== tchan1 is now known as tchna
=== tchna is now known as tchan
vilafullermd: benchmarker... OMG what a scary thought...20:05
* fullermd . o O ( Vilacraft... )20:06
jamvila: shouldn't you be ... not in IRC... by now :)20:07
fullermdWow, you haven't even started benchmarking, and people are already trying to get rid of you!20:07
GaryvdMjam :-p20:07
vilajam: hey ! Indeed :)20:08
jamhi GaryvdM20:08
vilaProceed as if I wasn't there :)20:08
jamvila: I'm seeing an awful lot of blue on babune :). Though I wonder why selftest-windows isn't, seeing as you worked with Martin all week on it...20:08
jamAre there patches pending?20:08
jam(At least, I thought you said you got Win32 to pass...)20:08
vilajam: AFAIUI, most of them are now due to the infamous "Can't start new thread"20:09
vilaI thought we add, but for some reasons, not all tests were running and we based our countdown on that.20:10
* mgz reads log20:10
vilamgz had landed further patches I believe so the remaining ones should be fixed when the leaks will20:10
vilaoh, he's there (mgz) so he can comment :)20:11
mgzyup, I'm aiming to splat everything that's not a leak20:11
jamvila: you know, if you gave that vm 2 cpu's, you're troubles would probably go away...20:11
mgzincluding a couple of things I see but babune doesn't20:11
vilajam: I can't make XP recognize several cores...20:11
jam*your*20:11
mgzon the leak-as-regression thing, something has gone seriously bad in the past 300 revisions20:11
jamvila: my wife runs xp-pro on 2-core20:12
jam(business machine)20:12
mgzleaks are harmless provided there's enough memory to spare for the stack space required by lingering threads20:12
vilaha, pro, that should explain it :)20:12
jammaybe20:12
vilamgz: could be, I can try increasing the memory allocated to the vm20:12
jamxp was based on 2k's kernel, IIRC. So maybe xp-home has an explicit deficit, but xp generally can definitely handle multi-core20:13
mgzbetween r4919 and r4937 (which is the first post-testtools rev that doesn't corrupt memory), the working set increased two or three fold20:13
vilanow waitaminute, I'm pretty sure I'm using a pro version...20:13
mgzand the tests start hanging.20:13
vilamgz: working set ?20:14
vilacorrupt memory ?20:14
mgzsorry, yes, this is complicated by lots of unrelated things20:14
mgzhence easier in a big email than on IRC20:15
vilaok20:15
jammgz: working set => active memory consumption?20:19
mgzright, it's one of the measures I get from windows, also, pagefile usage, and I'm not sure how they overlap20:20
mgz(is the combined value the total memory usage?)20:20
bialixhow to configure pqm plugin to send merge request for 2.1 branch?20:25
GaryvdMbialix: Change the submit branch in branch.conf.20:28
bialixe.g.?20:28
GaryvdMbialix: you probably will not have permissions though.20:28
bialixboom20:28
GaryvdMbialix:    submit_branch = bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/2.1/20:31
GaryvdMor just20:31
GaryvdMbzr pqm-submit bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/2.1/20:32
mgzvila: so, I ran the whole testsuite against a bunch of different revisions, summary of the results at <http://float.endofinternet.org/temp/bzr_selftest_result_summary.log>20:36
* bialix rambling on out-of-date hacking.txt instruction re pqm20:37
mgzthe first rev I can test without the crash from r4920 has massive memory usage, and hangs in a threaded test, as does each revision after that20:38
mgzmore recent revisions still have massive memory usage, but run faster (there was a rev aiming to speed up the test suite, right?) and now get various thread-related failures but hang less reliably.20:39
vilamgz: yes, lifeless optimized a bunch of tests20:40
mgzI'm going to run some revs between 4945 and 5200 but it seems to me like the regression is between r4919 (which is fine for me) and r4937 (which is the first post-testtools that I can run)20:40
mgzhence the request for you to try r4919 on babune, if you can20:41
mgzI expect zero thread problems.20:41
mgz(the full results are on my server, but are giant xml files that might hurt unsuspecting webbrowsers)20:43
vilamgz: now running20:52
vilamgz: that was fast :-/20:54
vilahmm, the qbzr guys are gone for some more vodka I suspect...20:54
mgzbah, dodgy unicode handling in error messages is historical...20:55
mgzdon't suppose you have python 2.4 on that box?20:56
vilamgz: 2.4 2.5 2.620:56
mgzAttributeError: 'BzrAutoTimingTestResultDecorator' object has no attribute '_call_maybe' <- and I got this from subunit, and didn't know what the hell it was20:56
vilapretty old bug20:57
mgzin bzr? that was fixed?20:57
vilaerr wait, you got that *now*20:57
mgzI might have been trying to test an old revision at the time.20:57
vilano, I'd say in testtools20:57
mgzI can run the testsuite back to at least ~4000 cleanly20:58
vilathey try to preserve backwards compatibility with that (IIRC), they may lack 2.4 testers though20:58
mgzbut I have less in-tree infrastructure I'm relying on20:58
mgzr4919 is before testtools20:58
vilabite the bullet man, testtools is the future and the sky is the limit ! :-D20:59
mgzokay, so this probably isn't going to be easy to prove with babune21:00
mgzbut, here's my 4919 run: http://float.endofinternet.org/bzrcst/clasfull/491921:00
vilamgz: just try to exclude all http server related tests (add a skip in the server setup if you want) and just focus on the rest21:00
mgzand 4920: http://float.endofinternet.org/bzrcst/clasfull/4920 (early crash)21:00
mgzand 4937: http://float.endofinternet.org/bzrcst/clasfull/4937 (crash bug fixed, late hang)21:01
vilaargh, poisoned url, kill firefox, kill firefox ! ;)21:01
mgzyeah, sorry ;)21:01
mgzI did load one of those even on your laptop, so it should survive21:02
vilathis bug drove me crazy for a long while, there is really no way to predict when something will fail, hece the --parallel=fork trick21:02
mgzbut that trick seems currently to be insufficent21:02
mgzand looking at my local test runs, things have got *much worse* with leaks in the past 300 revs21:03
vilamgz: sure, I knew since the beginning we were on thin ice21:03
vilait stoppped working for OSX long ago and get rid of the slaves for this reason21:03
mgzthe number of leaks is about the same, but they're causing deadlocks, OOM testfailures, thread handle test failures, and huuuuge memory usage21:03
mgzso, something changed.21:03
vilaI've seen it appearing on OSX and I could precisely point the revision,21:04
vilait was totally unrelated :)21:04
mgzehhehe21:04
mgzthere is a symptom vs. cause problem with this, too big a problem to isolate21:04
vilathread scheduling is not... damn, what's the word21:05
mgzthe memory usage is causing the failures, or the leaking is causing the memory usage, or...?21:05
mgzdeterministic?21:05
vilayeah, thanks, deterministic21:05
mgzokay, I think I'll do two more things before moving onto another problem for the moment21:06
vilanot closing the sockets is causing the leaks, increasing memory usage (but not all I think)21:06
mgz#1 cherrypick my r4937 fix back on top of r4920 to see if I can squarely blame testtools for the change in mem usage21:07
vilamore memory usage certainly leads to memory fragmentation, => increasing time => different scheduling => may be more leaks21:07
mgz#2 run some revs before and after robert's test-speedup (know what number that was?)21:07
vilaat one point it's useless to try to understand what happens21:07
vilamgz: I think there was several commits for several improvements21:08
vilaI'd say around 2.1 release21:08
mgztesttools did change some teardown/other details in pretty subtle ways21:14
vilamgz: don't rely on teardown, use addCleanup, you can't mix both21:16
lifelessmoin21:16
mgzsure, but were the thread-related tests ever audited for that kind of thing after r4920?21:16
vilamgz: yes, there was some changes there.... speaking of the devil !21:16
lifelessvila: you can mix them, they have a defined order21:16
mgzit's pure fluke that the bb.test_non_ascii problem went on to cause a reliable crash to annoy me into finding and fixing it21:17
mgzokay, set r4290+4937 running, time for a break.21:17
vilalifeless: I'm falling asleep right now, but I think I remember cases where you could easily shoot yourself in the foot by mixing them21:18
lifelessyes, we had a list discussion21:19
lifelesswe want to transition entirely to cleanups21:19
lifelessgo to sleep though :)21:19
=== mwhudson_ is now known as mwhudson
vilaright, that was the idea I was trying to convey: use addCleanup, not tearDown21:19
vilayeah, 22:22 is a good hour for that21:20
mgzvila: check the diff of r4937 ;)21:20
mgzthe point is it happened 17 revs after the breakage, and there may be similar as-yet-uncaught issues related to threading21:21
vilamgz: :-D21:25
* vila zzzz.... cmfdinjd bou8rh7m21:25
jamlifeless: /wave22:00
lifelessjam: hai22:01
lifelessjam: did you have a chance to look at dirstate2?22:02
jamlifeless: I grabbed a copy of it, but haven't poked at it yet22:02
lifelessok22:02
lifelessjam: whats the time for you now ?22:03
jam4pm, 1hr before EOD22:03
lifelessso, between mountain view and montreal. doh, my clock is running out of zones22:06
fullermdHeck, I just lookit my watch, it tells me what jam's time is   ;p22:09
RumblePureI'm in utter panic. I've checked out from my main branch to my laptop. I did bzr update on my laptop after having worked on my code, and that created a real mess. Original files got screwed up, and tons of files that end with .THIS and .OTHER have been created.22:38
RumblePureHow can safely revert to latest commit on laptop?22:38
RumblePureThat's all I care about now.22:39
beunoso22:39
beunoyou had uncommited changes?22:39
RumblePurebeuno: not on the laptop no. I had commited locally22:41
beunoI don't think I follow22:41
RumblePure1. I checked out from my main branch to my laptop.22:42
RumblePure2. I worked on my code on the laptop, doing local commits on the laptop's branch multiple times.22:42
RumblePure3. Satisified with my work, I wanted to commit back to main branch on stationary.22:42
lifelesswhat bzr version?22:43
RumblePure4. Bzr said I have to do bzr update before I can do that. After I did bzr update, everything got messed up.22:43
lifelesswe made update much better recently, I thought.22:43
RumblePurelifeless: we've been over this man, last time this happened I followed your advice and updated to latest version.22:43
RumblePure2.1.122:44
RumblePureOh no I think I'm gonna have to throw up.22:44
RumblePureMy local commits are no longer even showing when I do bzr log on the laptop.22:44
lifelessRumblePure: calm down22:45
lifelessRumblePure: its all there, there is no data loss22:45
lifelessRumblePure: do you have bzrtools installed ?22:45
RumblePurelifeless: then why wont bzr log show my previous local commits?22:46
RumblePurelifeless: no i dont. what does it do?22:46
lifelessbecause they are sitting staged until you commit22:46
lifelessif you run bzr st22:46
lifelessand look at the pending merges section of the output22:46
lifelessyour most recent commit before you ran update will be there.22:46
RumblePurelifeless: they aren't shown when i do bzr st. only the status.22:47
RumblePurebut never mind that.22:47
RumblePureAll I wanna do know is to get things to the way they were before i did bzr update on laptop.22:48
lifelessRumblePure: 'bzr st' ? not 'bzr st .' or anything else ?22:48
RumblePurebzr st only22:48
lifelessok22:48
lifelessanyhow22:48
lifelessif you could install the bzrtools plugin22:48
lifelessif you're on Debian or Ubuntu, apt-get install bzrtools22:48
RumblePurei already have it, or so it seems22:49
lifelessgreat22:50
lifelessrun 'bzr heads --dead'22:50
RumblePure... what does it do?22:50
lifelessqueries your repository22:50
RumblePureOk this is good, I think I see my last commit.22:51
jamlifeless: looking at your dirstate2 branch, I see that you don't handle a failure in "rename current NEW.check". Are you looking for more of a 'logically, this sequence seems correct' check, or a code check?22:51
lifelessjam: well I know its a sketch, but all feedback is good22:52
lifelessjam: I think the thing to answer at the moment is 'is this the right approach/what needs to be done to plug conceptual holes in it'22:52
lifelessRumblePure: now, you'll have something like:22:53
lifelessHEAD: revision-id: robertc@robertcollins.net-20091220080322-7cx34xsdvkzm1x0p22:53
RumblePurelifeless: I should say that I just realized that I did have uncommited data on the laptop. So this was data that had not even been locally commited. This was the state before I tried bzr update.22:53
lifelessRumblePure: ok, so you *did* have uncommitted changes.22:54
lifelessthat makes it trickier.22:54
RumblePurelifeless: but you can scratch it.22:54
RumblePurelifeless: not that important right now.22:54
lifelessRumblePure: you sure ?22:54
RumblePurelifeless: I'm more forced to than sure, but yeah.22:54
lifelessok.22:54
RumblePureHEAD: revision-id: purerumble@puremainframe-20100518210143-n03lz2rtfa1tspx2 (dead)22:54
lifelesscopy that string from the email bit on. E.g. for me it would be robertc@robertcollins.net-20091220080322-7cx34xsdvkzm1x0p22:55
lifelesswithout the (dead) bit22:55
jamlifeless: so I have some "this bit is hard to understand" stuff. and I still need to go through it step-by-step logically to make sure things fail correctly22:55
lifelessnow first we reset your working tree:22:55
RumblePurepurerumble@puremainframe-20100518210143-n03lz2rtfa1tspx222:55
jamfirst bit is that it seems ok22:55
lifelessbzr revert22:55
lifelesssecondly, we restore your local state22:55
[1]reggiehey bzr experts -- we have a commit mailer that is failing to work with a SSL server on port 46522:56
lifeless'bzr pull --local . -r revid:purerumble@puremainframe-20100518210143-n03lz2rtfa1tspx2'22:56
[1]reggieany chance I"m just missing some config option?22:56
jam[1]reggie: I don't think smtplib trivially supports SSL, if you can, use TLS on the standard ports22:57
RumblePurelifeless: ok it says on revision 89, this was better than when bzr log showed only up to 83.22:57
[1]reggiejam, alas this is not an option (other than just setting up a local smtp server)22:57
lifelessRumblePure: now that you've encountered this with bzr 2.1.1, we know that we haven't fixed the issue as well as we thought we had. Is your code open source?22:58
RumblePurelifeless: no, super really sorry man.22:58
lifelessno problem22:58
lifelesshowever, would you be willing to run some queries for us - that would return metadata only ?22:59
RumblePurelifeless: I remember your buddy at this channel asked the same question. Trust me I wanna help you to 105% to catch this bug, but can't give you the code. :-/22:59
lifelessthats ok, I understand completely.22:59
jam[1]reggie: it could probably be updated to do so, looking here: http://docs.python.org/library/smtplib.html22:59
RumblePurelifeless: affirmitive. but do it quickly22:59
jamyou have to use a different class22:59
jamSMTP_SSL22:59
lifelessRumblePure: bzr heads --all22:59
jambut otherwise should be the same22:59
jamNot sure how you would indicate that in the config file22:59
RumblePurelifeless: One question first, is the local branch on my laptop healthy now?23:00
lifelessRumblePure: should be, yes.23:00
[1]reggieright. I saw that.  I'm using a binary insatll of windows.  I guess I could use a python install23:00
RumblePurelifeless: I still got some *.THIS and *.OTHER files laying around. Should I just get rid of them?23:00
lifelessRumblePure: yes23:00
RumblePurelifeless: will it bother your inqueries that you want me to run if i just clean up first and do a local commit?23:01
jam[1]reggie: how are you generating emails then? This is failing for 'bzr send'?23:01
RumblePure*inquiry23:01
lifelessRumblePure: it will yes23:01
jamyou can always 'bzr send -o filename' and then send that with another mailer23:01
lifelessRumblePure: I want you to run23:01
jamIf it is from 'bzr-email', that isn't bundled with the installer anyway23:01
RumblePurelifeless: ok, lemme at least make a hard copy of the folder.23:01
lifelessbzr find-merge-base . [the master branch you checked out]23:01
lifelessthat will print a revid23:01
jamalso, on Windows, I think the default is to have "bzr send" spawn whatever MAPI mailer is present23:02
jamwhich means we aren't the ones sending to SMTP anyway.23:02
lifelessI then want you to look in 'bzr log --show-ids' for that revid, and print the revno that it has there23:02
lifelessOn 04/08/2010 03:34 PM, Francis J. Lacoste wrote:23:02
lifeless> Stuart Metcalf announced that they should be rolling out an OpenID-enabled23:02
lifeless> Mumble at the end of next week. That will save us from registering 3823:02
jamanyway, more details needed... :), I might be around later23:02
lifelessbah sorry, paste error23:02
lifelessignore the email :)23:02
=== salgado is now known as salgado-afk
mgzare the email address for third party packagers written down anywhere? I know at least some of them subcribe to the bzr list23:04
RumblePurelifeless: I reach the master branch through bzr+ssh and a dynamic ip-number that has changed. Will go with new ip-number23:04
lifelessmgz: they were on the wiki at one point23:04
mgzI shall poke around.23:05
RumblePurelifeless: It says it requires argument OTHER23:05
RumblePurelifeless: oh wait23:06
RumblePurelifeless: never mind23:06
mgzhm, DistroDownloads wikipage currently does not seem to have contact points23:07
mgzor rather, it has general links and things but no email addresses. CCing people on a short email I can do, filing upstream bugs and so on is too much for a teeny change23:08
lifelessmgz: which change are we talking about ? the dep one? no need to bother there as I said ;)23:09
lifelessjust a courtesy if you feel like it23:09
RumblePurelifeless: It has revno 8323:10
mgzwell, if I could find email addresses, courtesy would be easy, just post a short message to list with CCs.23:10
RumblePurelifeless: the revision id that matches what bzr find-merge-base gave.23:10
lifelessRumblePure: can you look at bzr log <master branch> --show-ids, and get the revno that the base revisionid has there ?23:11
lifelessRumblePure: it may be 83 as well, just want to be sure23:11
RumblePurelifeless: affirmitive, it is 83 that has that revid23:12
lifelessRumblePure: finally, I need to know if you had new files involved in your branch23:12
lifelessbzr st -r 83..23:13
lifelesshave a look in that, and tell me if there are new files23:13
RumblePurelifeless: yes i remember and just checked, there were new files involved23:15
lifelesswere those files the ones that went really messy?23:15
lifeless(I don't know) is an ok answer.23:15
RumblePurelifeless: other files went messy too, but yeah those files that were new at the time went messy.23:17
lifelessok23:17
RumblePurelifeless: with new, I mean they show up under "added:"23:17
lifelessI think this gives me enough to try to reproduce23:17
lifelessthank you23:17
lifelessnow, to get your changes into your master23:17
RumblePurelifeless: no problem. Just grab me anytime at ArashU@gmail.com and I'll see what I can do more.23:18
lifelessas you've only added stuff - doing the following should work:23:18
lifelessbzr unbind23:18
lifelessbzr push <master url>23:18
lifelessbzr bind23:18
RumblePurelifeless: Can we try that some other time? I really need to get to bed. Just wanna cleanup (remove *.THIS and *.OTHER files) and commit locally. Will that be OK for now?23:18
lifelesssure23:19
lifelessthanks for your help23:19
RumblePurelifeless: Ok, now I've fixed the stuff I lost and commited *breathing out*. Thx for the help lifeless. You saved my day again. You got my email ArashU@gmail.com? Just grab if you want help to track that bug.23:27
lifelesssure thing, thanks23:30
bignosewhen I ‘bzr merge ; bzr revert --forget-merges’ I understand that the working tree remains with the changes, but the merged revisions are gone.23:34
bignosebut what about ‘bzr merge ; bzr revert’? do the merged revisions remain, waiting for a commit?23:34
lifelessno23:35
lifeless'bzr revert' discards all changes23:35
lifeless'bzr revert .' discards only path changes23:35
lifeless'bzr revert -forget-merges' discards only pending merges23:35
lifelessits a bit magic; sorry.23:35
bignoseah. so why would I have seen advice elsewhere to do both ‘bzr revert ; bzr revert --forget-merges’ to be sure?23:35
lifelessno idea23:35
bignoseis it a behaviour that's been different in the past?23:35
lifelessnope23:36
lifeless'bzr revert' has, ever since creation, been a Big Hammer23:36
bignosewhat does “only path changes” mean?23:36
lifelessfiles, directories, symlinks that have changed23:36
lifeless'things that are paths'23:36
bignosebut not contents?23:36
lifelessyes their contents23:36
bignoseah. so what's excluded?23:37
lifelesspending merges23:37
bignoseheh.23:37
bignoseokay, maybe that's what I'm remembering. ‘bzr revert . ; bzr revert --forget-merges’23:37
bignosemaybe from a person who kept them as distinct operations in their mind23:37
lifelessI would guess a git user23:37
bignoserighto.23:37
lifelessas git requires . for basically everything23:38
lifelessbut . is an explicit path for us, rather than nothing which is 'find the root and do the default'23:38
bignoseso, it can be useful to ‘bzr merge ../foo-feature/ ; bzr revert . ; bzr revert ../bar-feature/ ; bzr commit’23:38
bignosebecause that allows a single commit of all the merges23:38
bignoseright?23:38
bignosehmm, no.23:39
bignoseis there a way to get a bunch of revisions from various places, apply them all, and only then commit?23:39
lifelessbzr merge foo; bzr merge bar --force; bzr merge gam --force; bzr commit23:41
bignoseokay, just read the help on that. perfect, thanks.23:42
bignoseso lifeless, you're no longer living in oz?23:43
RumblePurelifeless: hey lifeless. I told you I cleaned up, made some changes and then made two or three more local commits. Well guess what. After that I ran bzr update again and it all went smoothly.23:45
RumblePurelifeless: after the update i commited back to master, no problems!23:45
RumblePurelifeless: and .bzr/branch/branch.conf still had the new ip-number. Maybe this wasn't related to the changing ip?23:46
RumblePurelifeless: and I've checked the code. All my latest changes are there.23:46
lifelessRumblePure: I'm not sure23:46
lifelessI'll try and reproduce23:46
lifelessbignose: yah, moved back to NZ23:47
RumblePurelifeless: but remember when the problem showed up I had some locally uncommited changes when I tried to commit back to master? you think that caused it all?23:47
lifelessat this point, yes23:47
RumblePurelifeless: Well I'll try to pin it down some other day, try to find out what's really causing this.23:49
mgzokay, that's shiny.23:51
mgznot only did sourceforge let me use my launchpad openid to post a bug report (as I've long forgotten my login), but launchpad understood the concept of an upstream bug at sourceforge and it's easy to make pretty linky.23:52
mgzit's almost like the days of free software balkanisation are over23:52
lifelessalmsot ;)23:52
ciss_if i try to revert to revision 1, bazaar tells me: "bzr: ERROR: Path(s) are not versioned" - i suppose this is due to some files been unrecoverably deleted. can i tell bzr to ignore missing files and do the revert anyway?23:55
ciss_ah, sorry, found my error23:57

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