/srv/irclogs.ubuntu.com/2008/05/01/#bzr.txt

nekohayohmm any ideas?00:00
jamnekohayo: something about that machine00:00
jamand I don't think I have access to it00:00
vilajam: wow, you're damn right, on my Ubuntu box I see:00:00
jamlifeless, pool?00:00
jampoolie: ?00:00
vila...vice.LaunchpadServiceTests.test_unknown_service   OK                   0ms00:00
nekohayojam, what machine?00:00
jamnekohayo: the PQM machine00:00
jamthings seem to run fine locally, but running very slow on our merge bot00:01
jamhttps://pqm.bazaar-vcs.org/00:01
nekohayono I meant for http://ecchi.ca:8000/bzr-question-spiced-ham.htm :)00:01
nekohayo(unless this is related?)00:01
jamnekohayo: sorry, completely unrelated, I didn't see your IRC post at all00:01
pooliejam, hi00:01
vilahi poolie00:02
nekohayo(that is a big question that I wrote as a html page to avoid spamming :)00:02
poolienekohayo: can you post it to the list instead, it looks like it will take some thinking about00:02
jamnekohayo: what do you mean by "specto used cvs, svn, and bazaar, all with branches that lost history between the switches"00:02
jam?00:02
nekohayojam, I mean that specto, across its lifetime as a project, used 3 different version control systems00:02
nekohayoand each time, we did not keep the history00:02
jamnekohayo: converting from svn and converting from CVS do not generate conversions that are compatible00:03
jamhence why you saw the big set of conflicts.00:03
nekohayojam: uh? but the merge of the bzr-svn branch into the cvs one only created 4 minor conflicts (I think)00:03
vilajam, poolie: A new request arrived on pqm, but that's the only change, still at the same test... puzzling00:04
jamnekohayo: well, if you can post to the list, I agree with poolie, it is going to take a bit of thinking00:04
nekohayomerging the specto-woutc bzr branch into the new cvs+svn branch did the big conflicts though00:04
nekohayook00:04
jamif you can give some details about what is *in* the different branches, it would help.00:04
jamwe have a phone call right now00:04
jamvila: different processes00:05
vilajam: I guess so. Well, time to sleep then, I'll see how it goes tomorrow :)00:06
lifelessjam: ?00:24
keithyHi, I was using bzr ftp://00:32
keithyand it seams to use directories relative tot he root of the file system00:32
pooliei don't have any great ideas about pqm performance00:32
pooliei am seeing some tests failing inside pycurl00:32
pooliethis is odd00:32
keithybut how does it manage that , when I login using ftp myself I dont see the root of the file system00:33
bob2keithy: can you cd / when you login using a ftp client?00:33
keithyah.. it it appears so00:34
keithyduh00:34
pooliekeithy: i think you can use //host/~/foo00:34
poolieif you wish00:34
pooliehello bob200:34
keithyty00:34
spivjam: I have a test for your bug, sending it to the list00:37
lifelessthe machine is not dedicated solely to bzr00:43
lifelessits possible there is some other load00:43
jamlifeless: I was wondering if you would have an idea why the PQM machine is taking 100+ ms for a test that runs here in <3ms00:44
jamlifeless: further, pqm seems a bit wedged00:44
jamIt has been showing the same step of Vincent's patch for ~1hr00:44
jamspiv: thanks00:44
pooliespiv, i feel like we ought to have a coding standard about isinstance vs type etc00:45
poolieif only to avoid it being rehashed in every review00:45
pooliemaybe also to document which one is fastest00:45
jamspiv: bb:approve00:46
spivpoolie: That sounds good to me.00:46
lifelesstop - 00:48:14 up 220 days,  4:25,  1 user,  load average: 0.07, 0.06, 0.0700:48
pooliejeez firefox is flakey recently00:48
poolielifeless: that's pqm?00:48
lifelessyes00:48
lifelessits running just the bzr test at the moment, no other things interfering00:49
TFKylehmm, bb over IRC, interesting00:49
abentleyTFKyle: please no00:54
poolielifeless: so it seems like the test must be wasting time if it's running but the load avg is so low, like it's blocking on io or sleeping a lot01:07
lifelessyes01:07
elmothe machine's entirely idle; it's not blocking on io01:14
elmo 1  0   5392 122888 130552 1489500    0    0     0     0  102    22  0  0 100  001:14
elmo 1  0   5392 122888 130552 1489500    0    0     0     0  103    26  0  0 100  001:14
elmo^-- vmstat output01:14
pooliethanks elmo01:16
pooliethat's a bit fucked then...01:16
=== poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org/ | bzr 1.4rc2 up for testing, 1.4final today
lifelessspiv: ping01:19
pooliecould either of you maybe strace the process to get some idea of what it is doing?01:19
lifelessspiv: I would like you to be the reviewer for http://bundlebuggy.aaronbentley.com/request/%3C1209531548.29242.542.camel%40lifeless-64%3E if you would01:19
spivlifeless: ah-hah.  I was just looking over that code yesterday to get a sense for what was coming :)01:20
spivlifeless: So I'm happy to review that.01:20
elmopoolie: strace says it's in a futex and not much more01:23
keithyhello, can I break a lock on a repo?01:58
spivYep, "bzr break-lock PATH"01:59
keithyty01:59
poolieelmo: thanks02:04
* igc food02:26
pooliehas anyone else seen bug 225020?02:34
spivpoolie: I have02:35
spivpoolie: I spent a while digging into without making much progress (except that I suspect libcurl is doing dumb things, like confusing actual errors with notifications about the exceptfds you can pass to select)02:36
spivpoolie: at the time, no-one else seemed to have heard of it, so I just assumed that my freshly-upgraded hardy system had something strange going on.02:37
spiv(I only upgraded to hardy a month ago)02:37
spivpoolie: "echo raise ImportError > pycurl.py" in the root of your bzr checkout is a workaround, of sorts.02:38
poolie:/02:38
pooliealso, why didn't the robot link that bug, i wonder?02:38
spivIs the robot in the channel?02:39
spivI see ubuntulog, but not ubotu or whatever it is called.02:39
poolieubugtu?02:39
bimberiubotu is currently gone, I think that work is being done on replacements.02:41
bimberiRef: https://lists.ubuntu.com/archives/ubuntu-irc/2008-April/000443.html02:41
pooliespiv, btw last night i started work on deprecating LockableFiles from a different direction and it went quite well02:41
poolieit may be i just haven't got to the hard part yet02:41
spivpoolie: oh, great!02:42
pooliebimberi: thanks for the reference, that's kind of unfortunate though02:43
bimberipoolie: np. And yes it is.  I've noticed an 'ubottu' in some other channels.  I guess #ubuntu-ops would be a good place to ask.02:45
pooliei don't know many of the people in that thread but it's an unfortunate sounding situation02:48
pooliespiv, maybe it only happens with -Werror and it actually reflects an error in the server code?03:04
abentleypoolie: where do we stand with bzr 1.4?03:06
poolieit looks like we want to merge #214894 into it, i'm reading that and will do final today with only that change?03:06
spivpoolie: I think I saw the pycurl problem without -Werror.  I used strace and didn't see any sign of a problem on the server side, IIRC.03:07
spivAh, I think I still have the straces somewhere.03:08
spivThe straces also showed no error return from poll(2) either, IIRC.03:08
abentley"Should be represented as XXX"?03:09
spivpoolie: http://rafb.net/p/dlbvkD76.html03:09
spivabentley: d'oh.03:09
spivpoolie: that paste is part of an strace of a test run.  Straight after that it starts re-reading .py files to build the traceback for the exception raised by pycurl.03:11
poolieabentley: what are you quoting?03:11
spivpoolie: but the server behaved correctly (and as expected), that test server does not allow POST03:12
abentleypoolie: I'm quoting a comment from spiv's patch for #21489403:12
spivMy test had a half-written comment.03:12
poolieoh ok03:13
poolieabentley: pqm seems unreasonably slow today for unclear reasons03:13
poolienot sure if you saw before03:13
poolie:/03:13
abentleyNo, I wasn't sure what you guys were stracing.03:13
pooliei was going to put this text at the head of the release03:14
pooliehttp://rafb.net/p/JNXf7H59.html03:14
pooliespiv, my shelves turned up so after i send off this merge i will head to hornsby if that suits you03:17
pooliewill probably lunch here first03:17
spivabentley: I've fixed the XXX in the docstring in my branch, and thanks to PQM being so slow the corrected version will be merged.03:17
spivpoolie: sounds good03:17
abentleyspiv: heh!03:17
spivabentley: thanks for catching that :)03:17
abentleyspiv: no problem.03:17
abentleyI wish I'd had the option a few days ago when I accidentally merged the wrong branch.03:18
spivHmm, PQM isn't so much slow as wedged, AFAICS.03:18
lifelesspoolie: ping03:39
pooliepong03:41
poolielifeless: pong03:41
lifelessI'm trying to figure out store url escaping03:41
pooliek03:41
lifelessI seem to be getting double escaping03:41
poolieok03:43
pooliesorry to interrupt you but pqm seems to be barely making progress at all03:43
poolieit is according to the web still working on the same job it was when i started this morning03:43
lifelessits hung on a futex03:44
poolieoh, hung as opposed to just spending lots of time in futexes?03:44
lifelesspqm@balleny:~$ strace -p 1607503:45
lifelessProcess 16075 attached - interrupt to quit03:45
lifelessfutex(0x1a30e90, FUTEX_WAIT, 0, NULL <unfinished ...>03:45
lifelessProcess 16075 detached03:45
pooliemaybe we should kill it and let the next job through then?03:45
lifelessdone03:45
pooliethanks03:45
poolieso back to your escapism03:46
lifelesstest_escaped_store03:46
lifelesshas a test_weave in it03:46
lifelessas far as I can tell, it should be double escaping with bzr.dev03:46
poolienot sure what you're asking me - to check your logic, if this is a bug, why it is this way, ...?03:48
igclifeless: wrt MutableTree.put_file_bytes_non_atomic, why "non_atomic" as a suffix?03:49
lifelessbecause its not atomic03:50
poolieigc, it means "don't do the rename-into-place thing"03:50
pooliepeople reading the file may see it half-written03:50
pooliecould be good to put that in the developer guide03:50
igcpoolie, lifeless: ah - ok03:51
igcthe wt.put_file_bytes_non_atomic docstring refers to the MutableTree one but the latter doesn't exist03:52
igcI'll add it03:52
lifelesspoolie: I'm trying to figure out what is going on03:54
lifelesspoolie: e.g. store.filename(' ') -> '88/%2520'03:54
lifelesspoolie: but the test looks for '88/%20' successfully03:54
lifelessmy replacement mapper code returns the same result from filename03:54
lifelessbut the test fails (because the file on disk is 88/%2520.weave)03:55
lifelessah I think I have found it03:56
LaserJockis there a recommended way to use bzr to track a cvs repo? would cvsps work?05:18
LaserJockmost of the tools I've seen seem to be made for one shot conversion, where I want to be able to track a CVS repo05:21
lifelesslaunchpad05:21
lifelessor cscvs which is what launchpad uses05:21
LaserJockwell, yeah, launchpad could work if it was up-to-date05:21
lifelessit tries hard to handle just about any stupidity people do to cvs05:21
LaserJockbut it frequently lags05:21
LaserJockmaybe the best would be to just keep a close eye on the LP import and keep poking05:22
* igc food05:24
mwhudsonLaserJock: which import?05:24
LaserJockthe one I want to track is about 5 months behind or so :/05:24
LaserJockmwhudson: https://code.launchpad.net/~vcs-imports/gchemutils/trunk05:25
LaserJockit's just difficult to have to keep track of LP05:25
LaserJockI end up tacking the CVS anyway just to make sure I'm not missing stuff05:25
mwhudsonoh and gah, we lost all the code imports log files earlier on today05:27
* mwhudson gives the import a kick05:27
LaserJockalthough in looking at the 4 imports that I'd use on a daily basis gchemutils is the only one that's not up-to-date05:27
LaserJockit's also the only one that is CVS, which may explain it05:28
mwhudsonLaserJock: it's https://bugs.edge.launchpad.net/launchpad-cscvs/+bug/120977 :(05:28
mwhudsonso it's not going to start working again until we get some time to fix that05:28
mwhudson(or someone else fixes it, cscvs is open source after all, but people who know enough about cvs are probably a bit thin on the ground)05:29
LaserJockbummer :/05:29
mwhudsonyar05:29
LaserJockthat's the one I especially would love to work with in bzr05:30
LaserJockas I can't make head or tails of CVS to save my life05:30
LaserJockbut the project is very important to me05:30
LaserJockso I struggle on ;-)05:30
LaserJockright now I'm using git-cvs to track it05:31
LaserJockwhich works pretty well, but I'm trying to convert all my git stuff to bzr05:31
LaserJockmwhudson: is it possible to just start the import later?05:32
mwhudsonLaserJock: if you run cscvs by hand maaaybe05:32
LaserJockthis is one thing I keep running into with DVCS05:33
LaserJockI would verrrry rarely need to go to revision 105:33
LaserJockbut often times if something breaks somewhere in history the whole thing is screwed05:33
LaserJockit would be nice to just say "gimme the stuff from the last year"05:34
LaserJockif that makes any sense :-)05:34
LaserJockmwhudson: is there a way for users to see if a vcsimport is out of sync without having to get the original repo?05:36
LaserJockmwhudson: I think the value of LP code hosting goes way down if users can't be assured that they're getting the latest revision05:36
mwhudsonLaserJock: well, the "Last imported: 28 weeks ago" on https://code.edge.launchpad.net/gchemutils/trunk is a pretty large clue05:36
LaserJockyeah, for that one sure05:37
LaserJockbut there's nothing like a failure flag or something?05:37
mwhudsonthis should, and soon-ish will be, on the branch page05:37
mwhudsonhm, no05:37
mwhudsonprobably should be though05:38
mwhudsonLaserJock: file a bug about that?05:38
LaserJockok05:38
LaserJockI'm just concerned05:38
LaserJockbecause when somebody says "are you building from HEAD?" I need to be able to confidently reply05:38
LaserJocknot, "well let me go poke around to make sure LP is up-to-date"05:39
LaserJockI guess it's good enough for users05:40
mwhudsonwell, i can't really see how you can be sure05:41
LaserJockbut if you're hacking on irc with fellow developers it's not really gonna work05:41
mwhudsoni mean, the imports lag by a few hours on average05:41
LaserJockwell, that's sort of my point05:41
mwhudsonwell, how can launchpad know it's out of date?05:42
LaserJockwell05:42
LaserJockit can't exactly05:42
mwhudsonthere is a sort of plan floating around where launchpad should be able to subscribe to a commits mailing list05:42
mwhudsonand will update whenever it receives a mail05:42
LaserJockbut I wonder if you could somehow give a time since last import05:42
mwhudsonbut i don't think it's even written down, never mind scheduled05:43
mwhudsonhttps://edge.launchpad.net/drupal/main -> "Last imported: 28 minutes ago"05:43
LaserJockbottom line though, LP vcsimports are not really designed for developers methinks05:43
poolielifeless: hi, are transactions meant to be getting removed?05:43
poolieie the control_files.get_transaction and so on?05:44
lifelessyah05:44
lifelessI didn't break api but I stopped their use in stores in 1.405:44
lifeless branch may still use them05:44
poolieok05:44
poolieas i may have said yesterday05:44
pooliei think removing LockableFiles is becoming more important, to enable improvements in Remote05:45
poolieso if less stuff uses them, and we can either just delete them or at least have less to update05:45
poolieall the better05:45
spivmwhudson: if launchpad had an API for "please mirror now", a 3rd-party could arrange for that to happen for themselves without waiting for the launchpad feature.05:46
mwhudsonspiv: yes05:46
mwhudsonspiv: it's on the cards05:46
LaserJockmwhudson: bug filed05:49
awmcclainHey all... are there docs somewhere about how to log to .bzr.log? I'm trying to debug bzr-email.05:49
spivawmcclain: "from bzrlib.trace import mutter; mutter('this goes to the log file')"05:52
spivawmcclain: see the bzrlib.trace module in general05:52
lifelesspoolie: I think having less stuff use them is good06:56
poolielifeless: i want to bounce a testing idea off you07:07
pooliethat is that we should make use of the lock taken/released events to assert that less than N locks are acquired in the blackbox test for push07:07
poolieeventually we want similar assertions on smaller levels07:07
lifelesssuch tests are one of the things I had in mind with the lock hooks07:08
pooliebut since people sometimes add "oh and also" code to the cmd_ it might be good to cover it at a high level07:08
poolieme too07:08
pooliegreat07:08
poolielifeless, was that actually merged yet?07:13
poolieabentley: BB is down :?07:14
lifelesspoolie: dunno07:21
bimberi\o/07:33
bimberibug 22502007:34
ubottuLaunchpad bug 225020 in bzr "pycurl reports "select/poll returned error"" [Undecided,New] https://launchpad.net/bugs/22502007:34
lifelessspiv: how did my branch look?07:44
spivlifeless: Haven't looked yet, I've been pairing with poolie07:50
spivlifeless: I expect to do it tonight and first thing tomorrow, though.07:50
lifelesscool07:51
lifelesspoolie: I have the mapping code looking good; was rather confused by the apparent double-escaping07:54
lifelesspoolie: turns out we return urls not paths from the public interface, even though it talks paths. This will get cleared up by my following work07:54
lifelessand with that, its halt() time for me. See you tomorrow.07:58
lifelesshi sabdf1, bye sabdfl :)07:58
sabdf1night lifeless08:46
=== sabdf1 is now known as sabdfl
=== Af1 is now known as AfC
=== mrevell is now known as mrevell-bbl
james_wIf I'm creating ghosts as part of an import I just add extra parents when needed correct? I don't need to add ghost records of any sort?12:58
james_wAlso, just generating a new random revid is fine, as I can just look up the needed revid when I come to create the ghost later?12:58
=== mrevell-bbl is now known as mrevell
spivjames_w: I think so.13:42
james_wspiv: thanks.13:43
lambyjelmer: I've just packaged (and pushed) bzr-gtk 0.94.0rc1 but the shiny log is now broken (and I don't know how to fix it) :'(13:45
jelmerlamby: Thanks!13:45
lambyjelmer: I did manage to patch a few other problems, which almost certainly need to go upstream.13:45
jelmerlamby: Shiny log being "bzr viz" ? :-)13:45
lambyIndeed. To be clear, it only breaks when you load it via olive-gtk.13:46
jelmerahh, ok. I don't use olive so that must be why I've missed it13:46
lambyThe other patches are in debian/patches on our alioth repo. Enjoy o/13:47
jelmerlamby: Cool, thanks again :-)13:47
awilkinsjelmer: Confirm that "bzr viz" doesn't work via olive14:02
awilkinsjelmer: I meant to put a bug up for it...14:03
awilkinsWhat is abentley doing to the main BB server? It's always down...14:05
abentleyawilkins: I'm trying to fix it.14:06
awilkinsI suppose that's logical ;-)14:06
abentleyUnfortunately, there appear to be bugs in the visitor tracking part of Turbogears that are threading bugs that I can't reproduce locally.14:09
jelmerabentley: btw, do you have any idea what could cause this: http://bundlebuggy.vernstok.nl/bzr-gtk//request/%3C9a9b41cb0804111344p82ce7d5o6f819346e9eb4349@mail.gmail.com%3E14:20
abentleyYeah, that could be an attempt to treat something as a merge directive that is really a bundle or a patch.14:21
abentleyI ran into that a while back, but I can't remember whether I fixed it.14:22
abentleyjelmer: are you up-to-date with my changes?14:24
jelmerI'm running my own branch, which has the RSS support but may not be up to date14:24
* jelmer checks for missing revs14:25
abentleyLooks like I fixed it in revno 24214:28
abentleyIt would be a merge request *without* a patch, actually.14:30
jelmercrap, updating actually broke bundlebuggy altogether14:35
abentleyjelmer: I've changed the way mail is handled in BB, to deal with the fact that BB's been unstable.14:43
abentleyNow procmail delivers mail to a mail_queue directory, and BB checks for new mail there.14:43
abentleyjelmer: But it looks as if your problem is you haven't updated the database schema.14:46
abentleyThe migrate script should do that for you.14:47
jelmerabentley, thanks18:11
abentleyjelmer: np18:12
vilaabentley: do you have access to the pqm machine ? It looks like my last submission make it hang again >-/ (It did this morning lifeless killed it I guess)18:18
abentleyvila: No, sorry.18:19
vilatoo bad, do you  remember *how* it run the test suite ? And/Or what its config is, I'm totally puzzled about what can cause this...18:20
jelmerabentley: Did you improve performance in bb by any chance?18:20
jelmerit seems significantly faster to me18:21
abentleyjelmer: Yes, I have done some optimization.18:21
abentleyjelmer: Also, you should find that your hacks to place BB's root at a sub-url are no longer necessary.  Please let me know if there's anything I've missed.18:59
jelmerabentley: it still redirects to localhost:8089 after voting using the web interface19:00
abentleyjelmer: that uses the application root.  If you've got that configured correctly it should take you to the correct place.19:07
abentleyjelmer: try configuring server.webpath19:08
jelmerabentley: it's the host name that it doesn't get right, the path in the request is fine19:11
jelmeris there an option for that?19:12
abentleyyes.19:12
abentleyI use: base_url_filter.on = True19:12
abentleybase_url_filter.use_x_forwarded_host = True19:12
abentleyYou can also specify the base url yourself.19:13
abentleyAre you running using dev.cfg or prod.cfg?19:13
PengWait, when using bzr+ssh, autopacking isn't done by the server?19:13
abentleyPeng: Correct.19:14
beunoPeng, no, autopacking is always done client-side, AFAIK19:14
PengOh.19:14
PengI thought it was done by the server.19:14
PengMaybe someone said that it was a possibility (which it is), and I misinterpreted it.19:14
abentleyThat's how we'd like it to work, not how it works right now.19:14
PengYeah.19:17
PengHuh.19:17
* Peng leaves.19:18
vilalifeless: If (and/or when) you look at pqm, can you try to have a look at *where* selftest is hanging, I really have no clue on how to debug this :-/19:40
vilaThe only I can think about that can explain is a test order dependent bug since I changed the overall test suite order when merging in a single list the modules that were defining test_suite()  and those what were using LoadTestsFromModule...19:42
vilas/only/ only cause/19:42
vilaGrr, I hate blind debugging :-(19:43
PengAck, now push-and-update is getting DeprecationWarnings in bzr.dev.20:25
PengThanks to install_hook.20:25
PengThink it's worth enabling the "bzr://" smart protocol on a server?20:36
ja1Peng: push-and-update should be fixed for install_named_hook21:01
ja1as should bzr-email21:01
=== ja1 is now known as jam
jamwell, at least once my commit finishes21:01
PengYay.21:01
PengWait, when does push-and-update's hook come into effect?21:06
jamPeng: it has to register itself at plugin load time21:06
jamso it is calling install_hook all the time21:06
jamthe hook isn't being called, but it needs to be installed21:07
PengYeah, but when does it actually do its thing? On every push?21:07
jamPeng: on every push it checks if the remote has a working tree, if it does, it then does 'ssh host bzr update path'21:08
PengHuh.21:08
jamPeng: so it won't create WTs that aren't there, but if there is one, it tries to keep it up to date21:08
PengI didn't know that.21:08
jamI think I also included a hacky workaround to get it to not complain about "this transport does not update the WT"21:09
PengYes, you did.21:10
vilajam: Do you know where I can find how pqm run the test suite ?21:39
jamvila: make check21:39
jamvila: so "Makefile" has the details21:39
vilajam: grrr, thanks a lot ;-)21:39
jamit should be something like "python -O -Werror ./bzr selftest" and "LANG=C ..."21:40
vilalol,     import docutils21:41
vilaImportError: No module named docutils21:41
vila:-)21:41
vilaBad vila21:41
metamemeI'm new to bzr and my organization is switching to it from svn.  When using a centralized workflow, is it possible to have a post-commit hook like bzr-email be set up entirely on the server side, with zero client configuration?21:48
jammetameme: I believe we added a specific hook for it in bzr 1.4, if not, it will be in 1.521:51
jamprior versions didn't quite have enough info21:52
jamATM, bzr-email is not directly able to do it, because the hook is newer21:52
metamemejam: Okay, thanks.  It'll be a great feature to have.21:52
jammetameme: I believe someone already put together code with the older format, which runs as a cron script21:53
jamand just detects new revisions and emails them out21:53
jelmerabentley, how do I know whether I'm using dev.cfg or prod.cfg?22:05
vilajelmer, jam: did you run test-gtk lately ? One test is failing: test_diff_view22:11
jamvila: I don't think jelmer ever runs test-gtk, and I haven't done any hacking on it for a while22:12
jamthe bzr-gtk project is *not* TDD22:12
jambbiab22:12
vilahmm, bad Jelmer :)22:12
vilaanyway I'm hacking again on the '_' related problem, trying to implement it as _i18n as the last mail on the subject suggested, is that still the consensus ?22:13
abentleyjelmer: If you use the bundled init script or do start-bundlebuggy prod.cfg or run start-bundlebuggy for an installed copy, you are using prod.cfg.22:14
abentleyIf you are getting lots of stuff spewed to the console, you are running dev.cfg.22:15
jelmerabentley: Looks like I'm using dev.cfg then :-)22:15
jelmerThe base_url bits you mentioned seem to work, thanks!22:15
abentleyNo problem.22:15
jelmerit would be nice if these two settings were mentioned in the example dev.cfg for new bundlebuggy users..22:16
jelmervila: Well, GUI unit testing is kinda hard22:16
vilajelmer: no worries, just joking, what about the other points ^22:17
jelmervila: Which ones?22:17
vilaanyway I'm hacking again on the '_' related problem, trying to implement it as _i18n as the last mail on the subject suggested, is that still the consensus ?22:17
vila One test is failing: test_diff_view22:18
vilaand, about the po files, how are you handling them ?22:19
jelmerabentley: Should mail_queue_location point to a mbox or maildir ?22:19
vilaI tried genpot.sh but it broke and seems old22:19
jelmervila: phanatic is handling all of the i18n stuff22:19
jelmervila: We still need a PQM to make sure we don't get regressions like that22:19
jelmerlifeless, ping22:19
vilaphanaric: ping (arf, not even online :)22:20
vilaphanatic: ping (arf, not even online, but not a reason to typoed his nick :)22:21
abentleyjelmer: It should point to a directory, not a maildir in particular.22:25
abentleyYou can point it at the maildir/new, if you like.22:26
lambyjelmer: Heh, fastest upstream merge evarr. (Thanks)22:29
=== mwhudson_ is now known as mwhudson
=== BasicPRO is now known as BasicOSX
lifelessjelmer: hi22:48
lifelessjelmer: pqm right?22:48
jelmerlifeless: you can read minds :-)22:48
vilalifeless: read my mind too, you'll find pqm :-/22:57
lifelessvila: no idea about your patch sorry22:58
vilalifeless: how about an interrupt to at least have a starting point on where it hangs ?22:59
vilaNote that it is currently hanging for around 5 hours...23:00
lifelessthe hang I saw it was waiting on a futex23:00
lifelessis it hung again?23:00
vilayes23:00
lifelesskilled23:00
vilafirst time I thought it may have been the pqm, but now I'm really... killed ? Ghaa, how can I hope to debug it then :-(23:01
lifelessit runs within cron23:01
lifelessI can't pdb it when it hangs23:01
vilaI see :(23:02
lifelessI can gdb but that is fiddly and much less useful23:02
lifelessit was waiting on futex23:02
lifelessthat means its probably a server shutdown or some such23:02
lifelessthis is your test-ids patch?23:02
vilathe one changing test_suite() to load_tests()23:03
vilathe only side-effect I see is that some tests are not run in the same order now, other than that....23:03
lifelessthats entirely possible to cause such an effect23:03
lifelessif we have an isolation bug23:03
vilaI tried running all tests in isolation (i.e. one by one with --load-list) and so far nothing serious popped out23:04
lifelessI don't think you should ignore basic_tests ever23:04
vilabasic_tests ?23:05
lifeless+    # since this module doesn't define tests, we ignore basic_tests23:05
lifeless     suite = doctest.DocFileSuite(*scripts)23:05
lifelessanyhow, assume that its ordering. You need to run two tests minimum to display an ordering problem23:05
lifelessone easy way to show such a thing is to invert the entire test order23:05
lifelessvila: also23:06
vilahmmm, pqm is running make check, running make check is ok...23:06
lifelessbasic_tests is a suite23:06
lifelessyou don't ever have to do23:06
lifelesssuite = loader.suiteClass()23:06
lifelesssuite.addTests(basic_tests)23:07
lifelessjust use basic_tests directly.23:07
lifelessbb:tweak  :)23:07
lifelessyou'll save lots of code23:07
vilaright, I will do that anyway, but if it fixes the problem, I'll be really surprised23:08
lifelessthis for loop23:09
lifeless+    for test in tests.iter_suite_tests(standard_tests):23:09
lifeless+        result.addTests(adapter.adapt(test))23:09
lifelessseems to be cropping up multiple times23:10
vila:-)23:10
vilaYup, I didn't want to stretch the patch, but I noticed it23:10
lifelessok, I've read the patch end to end23:10
lifelessthose are my comments; I can't see anything to cause a random hang.23:10
lifelessthere are two causes i can think of:23:11
lifeless - test ordering23:11
lifeless - test parameterisation23:11
lifelessif its an ordering bug, one would expect that running the entire test suite in opposite order would *probably* show it23:11
lifelessso a simple patch that adds reversed(list(iter_suite_tests(test_suite))) to the end of bzrlib.test_suite()23:12
lifelessor just before the runner23:12
lifelessmight be enough to trigger and show the problem23:12
vilaI'll try that. Can you elaborate on the parameterisation cause ?23:13
lifelesstest parameterisation - if the patch actually does change the semantics of one or more parameterised tests its possible that you're just causing a bug, but I didn't spot such a thing when I read the patch.23:13
vilaSince the branch had a long live, I was paranoid about each merge and always checked that I got the same number of tests (that was one reason to keep that last patch in its own loom thread)23:15
vilaGranted, number of tests was a simple metric, but23:15
vilano but23:15
lifeless:)23:17
lifelessback in a few minutes, shave & breakfast23:17
vilaarf, arf, false hope:23:25
vilaFAIL: test_selftest.TestTestIdList.test_test_suite23:25
vila    not equal:23:25
vilaa = ['bzrlib.tests.blackbox.test_branch.TestBranch.test_branch',23:25
vila 'bzrlib.tests.test_selftest.TestTestIdList.test_test_suite',23:25
vila 'bzrlib.tests.test_transport_implementations.TransportTests.test_abspath(LocalURLServer)',23:25
vila 'bzrlib.timestamp.format_highres_date']23:25
vilab = ['bzrlib.timestamp.format_highres_date',23:25
vila 'bzrlib.tests.test_transport_implementations.TransportTests.test_abspath(LocalURLServer)',23:25
vila 'bzrlib.tests.test_selftest.TestTestIdList.test_test_suite',23:25
vila 'bzrlib.tests.blackbox.test_branch.TestBranch.test_branch']23:25
lifelessspiv: when you arise, review ping23:32
mwhudsonspiv: me too!23:34
mwhudson:)23:34
vilalifeless: selftest reversed just complete, except for the one test whose failure is understandable, nothing.   I'll dig the basic_tests route a bit just to check but if you can provide me with some data on pam, that may helps too (os/python versions, plugins ?).23:45
lifelesspam?23:55
lifelessif you mean pqm, its running dapper23:55
* Peng looks at the topic.23:56
PengToday today? Cool.23:56
bob2it said that yesterday, too ;)23:56
PengThe topic was set 23 hours ago.23:57
vilalifeless: s/azerty/qwerty/ :) yes pqm, python2.4 ?23:58

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