IRC log from 21-Mar-2008
2008-03-21T01:10:22 *** ccharlesworth has joined #mifos
2008-03-21T01:18:20 *** sam-r-i has quit IRC
2008-03-21T01:33:07 *** mifosbot has joined #mifos
2008-03-21T06:25:06 *** sam-r-i has joined #mifos
2008-03-21T07:35:55 *** bpatnaik has joined #mifos
2008-03-21T07:36:11 <meonkeys> bpatnaik: Hi Biren
2008-03-21T07:36:18 <bpatnaik> Hi Adam
2008-03-21T07:36:31 <meonkeys> so, when I applied the patch for 1608
2008-03-21T07:36:42 <meonkeys> and executed "ant run_test" from the command line
2008-03-21T07:36:48 <meonkeys> FieldConfigTest was failing.
2008-03-21T07:36:59 <meonkeys> two of the tests in there, I don't remember which ones.
2008-03-21T07:38:43 <meonkeys> FieldConfigTest is run with ApplicationTestSet2
2008-03-21T07:41:26 <bpatnaik> one ore thing is when I run the whole test suite for revision 15203, it fails for so many reasons. Don't know whay
2008-03-21T07:41:32 <bpatnaik> more thing
2008-03-21T07:41:52 <meonkeys> sorry, what revision?
2008-03-21T07:42:32 <bpatnaik> sorry 12503
2008-03-21T07:44:55 <meonkeys> hmmm. Not sure about that revision... I would try updating to the latest trunk rev (12588)
2008-03-21T07:45:02 <bpatnaik> I don't know why was it failing . There were lots of failure. But it never failed for FieldConfigurationTestSuite
2008-03-21T07:46:41 <bpatnaik> FieldConfigurationTestSuite consists of the test for FieldConfigTest
2008-03-21T07:46:50 <bpatnaik> and it was failing for FieldConfigTest
2008-03-21T07:46:56 <meonkeys> yep, I see.
2008-03-21T07:47:39 <bpatnaik> I checked all of the test suite related to FieldConfigTest and they all seem ok
2008-03-21T07:47:49 <meonkeys> how long does it take you to execute "ant run_test"?
2008-03-21T07:48:06 <bpatnaik> it took nearly 40 minutes
2008-03-21T07:48:15 <meonkeys> ahh. that's painful.
2008-03-21T07:48:21 <bpatnaik> yes
2008-03-21T07:48:34 <bpatnaik> each time u test, u spend 40 minutes
2008-03-21T07:48:45 <bpatnaik> and also it takes lot of memory
2008-03-21T07:48:53 <meonkeys> It sure does.
2008-03-21T07:50:13 <meonkeys> It seems like the minimum memory requirement on Ubuntu is about 2GB, and on Windows maybe more... but memory, disk, processor all seem to make a difference, too. Kim and I chatted for a while about this (because it takes her about as long to run unit tests) but we couldn't get hers to run faster.
2008-03-21T07:50:48 <meonkeys> ccharlesworth, stephenhorga1: how long does it take you guys to run the full test suite?
2008-03-21T07:52:08 *** awalji has joined #mifos
2008-03-21T07:52:43 <meonkeys> well, maybe they're not around. Anyway, we all agree this is a problem, and we're totally committed to fixing it, but not until after 1.1.
2008-03-21T07:55:26 <meonkeys> http://mifos.org/developers/wiki/ImproveTheTestSuite
2008-03-21T07:55:28 <mifosbot> <http://tinyurl.com/2oc77r> (at mifos.org)
2008-03-21T07:55:43 <meonkeys> but, of course, that doesn't help you right now. So, a couple of ideas.
2008-03-21T07:56:17 <meonkeys> Is there someone in you office that can apply your patch and run the full unit test suite for you?
2008-03-21T07:57:57 <meonkeys> I'll run it too on my server here at home.
2008-03-21T07:58:20 <meonkeys> bpatnaik: is attachment #489 on issue #1608 the latest patch?
2008-03-21T07:59:08 *** awalji_ has joined #mifos
2008-03-21T07:59:09 <bpatnaik> let me check the attachment number
2008-03-21T07:59:11 <bpatnaik> one sec
2008-03-21T08:01:25 <meonkeys> I mean, that's the most recent one attached to the issue, I just wanted to make sure you didn't have any additional local changes.
2008-03-21T08:02:09 <bpatnaik> yes
2008-03-21T08:02:13 <bpatnaik> 489
2008-03-21T08:02:25 <bpatnaik> no
2008-03-21T08:02:37 <bpatnaik> 489 is the latest patch attachment I had uploaded
2008-03-21T08:03:01 <bpatnaik> so please test with 489 attachment
2008-03-21T08:03:04 <meonkeys> ok
2008-03-21T08:03:08 <bpatnaik> thanks
2008-03-21T08:03:18 <meonkeys> no problem. see you in 12 minutes.
2008-03-21T08:03:36 <bpatnaik> also can you please send me the test suite log file after you finished with testing
2008-03-21T08:03:47 <meonkeys> yes, will do.
2008-03-21T08:03:52 <bpatnaik> thanks Adam
2008-03-21T08:03:55 <bpatnaik> see u soon
2008-03-21T08:03:59 <bpatnaik> bye 4 now
2008-03-21T08:09:37 *** bpatnaik_ has joined #mifos
2008-03-21T08:18:41 *** awalji has quit IRC
2008-03-21T08:23:22 <meonkeys> bpatnaik, bpatnaik_: 2 failures. Here's the log: http://download.yousendit.com/8184A3257D15F990
2008-03-21T08:25:16 <bpatnaik_> let m echeck
2008-03-21T08:25:21 <bpatnaik_> thanks Adam
2008-03-21T08:27:02 *** bpatnaik has quit IRC
2008-03-21T08:27:04 <meonkeys> no problem. And recall from our earlier conversation (on the 12th of March)...
2008-03-21T08:27:46 <meonkeys> My guess is: prior to FieldConfigTest running, a prior unit test alters the "mandatory" flag for that field in the test database,
2008-03-21T08:27:51 <meonkeys> And that test probably isn't cleaning up after itself by resetting the flag.
2008-03-21T08:34:44 <ccharlesworth> meonkeys: full test suite takes around 20 mins
2008-03-21T08:35:17 <meonkeys> cool, thanks for the feedback.
2008-03-21T08:35:21 <ccharlesworth> nps
2008-03-21T08:55:26 <meonkeys> bpatnaik_: so, does that make sense?
2008-03-21T08:55:41 <mifosbot> New news from builds: MIFOS-WT-624 was SUCCESSFUL (with 2704 tests): Updated by Adam Monsen
2008-03-21T09:00:27 *** bpatnaik_ has quit IRC
2008-03-21T09:09:17 <meonkeys> hmm, looks like Biren dropped off. Anyway, here were the errors.
2008-03-21T09:09:21 <meonkeys> hmm, looks like Biren dropped off. Anyway, here were the errors.
2008-03-21T09:09:34 <meonkeys> junit.framework.AssertionFailedError: expected:<false> but was:<true>
2008-03-21T09:09:34 <meonkeys> at org.mifos.framework.components.fieldConfiguration.util.helpers.FieldConfigTest.testIsFieldMandatory(FieldConfigTest.java:39)
2008-03-21T09:09:50 <meonkeys> junit.framework.AssertionFailedError: expected:<1> but was:<0> at org.mifos.framework.components.fieldConfiguration.util.helpers.FieldConfigTest.testInit(FieldConfigTest.java:51)
2008-03-21T09:10:12 <meonkeys> I emailed them to Biren.
2008-03-21T09:57:46 *** sam-r-i has quit IRC
2008-03-21T09:58:09 <meonkeys> vanmh_: Hrmm. Didn't realize that test "Set"s needed to be maintained synchronously with the ApplicationTestSuite
2008-03-21T09:58:46 <vanmh_> meonkeys: yep, for the time being that's the case
2008-03-21T09:59:31 <meonkeys> Ok, I've got a bit of cleanup to do, then.
2008-03-21T09:59:36 <vanmh_> I hope that ApplicationTestSuite can go away at some point, but there are still enough test interdependency issues that it hasn't happened yet
2008-03-21T10:00:14 <meonkeys> could we just run the 4 "Set"s in order?
2008-03-21T10:00:23 <meonkeys> (for the "run_test" target)
2008-03-21T10:05:41 <vanmh_> that's what I would like to do (and was supposed to be the last step in splitting the test suite), but it failed because of dependencies between tests
2008-03-21T10:07:55 <meonkeys> oh, I see.
2008-03-21T10:08:06 <vanmh_> meonkeys: it still could be done, it is just a matter of taking the time to eliminate dependencies (or work around them)
2008-03-21T10:09:24 <meonkeys> got it.
2008-03-21T10:30:41 *** awalji_ has quit IRC
2008-03-21T10:35:37 *** awalji_ has joined #mifos
2008-03-21T10:35:38 *** awalji_ is now known as awalji
2008-03-21T10:59:17 *** bmazur has quit IRC
2008-03-21T11:29:54 <mifosbot> New news from builds: MIFOS-WT-625 has FAILED : Updated by Adam Monsen
2008-03-21T11:32:59 <meonkeys> "C:\bamboo\bamboo-home\xml-data\build-dir\MIFOS-WT\mifos\build.xml:66: The content of elements must consist of well-formedcharacter data or markup."
2008-03-21T11:33:08 <meonkeys> hmm. build.xml looks well-formed to me...
2008-03-21T11:37:51 <vanmh_> meonkeys: looks like xml issues...
2008-03-21T11:38:13 <vanmh_> the build ran okay on your box with these changes?
2008-03-21T11:40:14 <meonkeys> should I run it locally before committing?
2008-03-21T11:40:21 <meonkeys> kidding, kidding.
2008-03-21T11:40:28 <vanmh_> :-)
2008-03-21T11:40:29 <meonkeys> vanmh_: yes, it worked on my box.
2008-03-21T11:41:00 *** bmazur has joined #mifos
2008-03-21T11:42:18 <vanmh_> meonkeys: I expected you had, but I like to eliminate the obvious first
2008-03-21T11:45:58 <vanmh_> meonkeys: interesting, the build server doesn't like a comment line (line 66)...
2008-03-21T11:46:31 <meonkeys> yeah, I'm not sure if I believe that error.
2008-03-21T11:46:45 <meonkeys> I'm thinking build.xml has local modifications.
2008-03-21T11:47:13 <vanmh_> let's check with Ofer
2008-03-21T11:47:42 <meonkeys> I pinged him; asked him to join us (at about 11:33)
2008-03-21T11:48:10 <vanmh_> meonkeys: ok sounds good. I just noticed the time, and I have to run, so I'll check in when I get back...
2008-03-21T11:48:17 <meonkeys> ok, talk to you later
2008-03-21T11:48:55 <vanmh_> BTW, using the latest revision, the build seems to be running fine on my box...
2008-03-21T11:50:22 <meonkeys> ah, good to know. thanks!
2008-03-21T11:55:45 *** sam-r-i has joined #mifos
2008-03-21T11:59:57 <mifosbot> New news from builds: MIFOS-WT-626 has FAILED : Updated by Adam Monsen
2008-03-21T12:24:20 <sam-r-i> mifosbot doesn't like Adam's checkin :)
2008-03-21T12:24:20 <mifosbot> sam-r-i: Error: "doesn't" is not a valid command.
2008-03-21T12:24:34 <sam-r-i> what is strange is that 0 unit tests failed
2008-03-21T12:38:01 <meonkeys> heh. Bad Robot!
2008-03-21T12:38:36 <meonkeys> sam-r-i: see the earlier messages in this channel... there may be something wrong with the build server.
2008-03-21T12:38:46 <meonkeys> I've pinged Ofer... we'll see what he says.
2008-03-21T12:39:08 <vanmh_> sam-r-i: 0 unit tests run, 0 failed...
2008-03-21T12:39:17 <meonkeys> by "pinged" I mean "sent a Skype" text message.
2008-03-21T12:41:30 <meonkeys> or "sent a Skype text message" rather.
2008-03-21T12:42:05 <sam-r-i> makes sense, thanks
2008-03-21T12:42:31 <vanmh_> :-)
2008-03-21T12:46:24 <vanmh_> meonkeys: the test suite passed on my box with the latest revision...
2008-03-21T12:51:35 <meonkeys> interesting. Mine passed as well.
2008-03-21T13:01:04 <vanmh_> meonkeys: hey Adam, ready to talk?
2008-03-21T13:15:13 <meonkeys> ah, just thought of something... it might clean up the test merge back to the trunk to first update the branch with the latest trunk code. Anyway, I'll figure out what's going on.
2008-03-21T13:21:18 <vanmh_> ok
2008-03-21T13:23:02 *** Kim_ has joined #mifos
2008-03-21T13:23:41 *** bmazur has quit IRC
2008-03-21T13:32:48 *** keith_r_p has joined #mifos
2008-03-21T13:56:00 *** bmazur has joined #mifos
2008-03-21T14:30:08 <meonkeys> Kim_: hi Kim! question on i18n...
2008-03-21T14:30:33 <meonkeys> if I add a new .properties file to src/org/mifos/config/localizedResources
2008-03-21T14:31:06 <meonkeys> must I also add "_fr.properties" and "_is_IS.properties" files?
2008-03-21T14:31:37 <meonkeys> vanmh_: (or maybe that's a question for Van... I don't know)
2008-03-21T14:33:59 <Kim_> just _is_IS.properties
2008-03-21T14:34:51 <meonkeys> Kim_: ok, thanks!
2008-03-21T14:35:24 <vanmh_> meonkeys: do as Kim says :-)
2008-03-21T14:35:25 <Kim_> because you know how to translate to is_IS (appending @@@....^^^), but you don't know how to translate to French? If you do go ahead!
2008-03-21T14:36:29 <meonkeys> LOL. parlez francais un peu, but not enough to translate, that's fo sho
2008-03-21T14:37:55 <meonkeys> so, what happens when we want to deploy to Iceland? ;)
2008-03-21T14:40:47 <vanmh_> they see lots of @@@, ^^^ ? ;-)
2008-03-21T14:43:45 <meonkeys> Ofer said there were local modifications to build.xml on the build server. He's going to blow away the conflicted build.xml file and re-run the build.
2008-03-21T15:00:17 <vanmh_> meonkeys: thanks for the update
2008-03-21T15:02:14 <mifosbot> New news from builds: MIFOS-WT-627 has FAILED : Manual build
2008-03-21T15:03:25 <meonkeys> bad robot!
2008-03-21T15:08:54 *** keith_r_p has quit IRC
2008-03-21T15:34:17 <mifosbot> New news from builds: MIFOS-WT-628 was SUCCESSFUL (with 2710 tests): Manual build
2008-03-21T16:02:45 *** emilytucker_mifo has joined #mifos
2008-03-21T16:03:13 <emilytucker_mifo> vanmh_: Holy moly! Nice catch on that issue....
2008-03-21T16:03:26 <emilytucker_mifo> Seems like that would have been really easy to miss...
2008-03-21T16:04:24 <vanmh_> emilytucker_mifo : thanks. yeah, that would have definitely broken things...
2008-03-21T16:04:55 <vanmh_> this is the problem in general that we face...
2008-03-21T16:05:21 <vanmh_> making a seemingly reasonable change in one place can break things in other far away places in the app...
2008-03-21T16:06:01 <emilytucker_mifo> is another potential solution to (i'll write it out-- but might be too complicated/convoluted) is to keep attended/missed as hardcoded entries
2008-03-21T16:06:14 <emilytucker_mifo> potentially you can change their labels on the edit-labels page....
2008-03-21T16:06:32 <emilytucker_mifo> and then you can add additional atttendance options in the define lookup value page...
2008-03-21T16:06:49 <emilytucker_mifo> prob not a good approach for v1.1 given everything else, but potentially a good solution
2008-03-21T16:07:50 <vanmh_> hmm. maybe we can think about it a bit... :-)
2008-03-21T16:08:28 <emilytucker_mifo> is that your way of saying "you're on crack?" :-) you're so understated...
2008-03-21T16:08:33 <emilytucker_mifo> :-)
2008-03-21T16:08:49 <vanmh_> hey, no fair turning on the ESP ;-)
2008-03-21T16:09:03 <emilytucker_mifo> Ha!
2008-03-21T16:09:14 <meonkeys> lol
2008-03-21T16:09:33 <meonkeys> Van says more by not saying anything than anyone I know. :)
2008-03-21T16:09:43 <vanmh_> :-)
2008-03-21T16:10:21 <emilytucker_mifo> cool, i'll chew on this some more...
2008-03-21T16:10:59 <vanmh_> ok. It seems like the main thing for now is figuring out the way to go for 1.1 which most likely is not the ultimate solution anyway.
2008-03-21T16:12:23 <emilytucker_mifo> my only concern is that some of those labels are really misleading-- very specific only to GK.... maybe just adding them as labels that can be renamed instead of trying to generate them dynamically....
2008-03-21T16:14:46 <vanmh_> the only thing about renaming is that someone could potentially change the meaning of them, which would result in a performance history page with numbers that were not meaningful
2008-03-21T16:15:28 <emilytucker_mifo> doh. of course. ok, let me think about this on a day that isn't friday afternoon.... thanks van!
2008-03-21T16:16:34 <vanmh_> sure. enjoy your weekend!
2008-03-21T16:31:40 <Kim_> meonkeys: Do you know how to add/drop index on a table? I'd like to make the column lookup_name (table lookup_value) unique.
2008-03-21T16:36:37 <vanmh_> Kim_: looks like Adam is marked as away (grayed out)
2008-03-21T16:36:37 <meonkeys> Kim_: yes. Take a look at the 178 upgrade/downgrade scripts
2008-03-21T16:36:44 <meonkeys> jinx!
2008-03-21T16:36:47 <vanmh_> and there he is!
2008-03-21T16:37:39 <meonkeys> LOL. I'm off duty, I just need to walk away from the dang computer and go get some happy hour dinner. Have a great weekend, all!
2008-03-21T16:38:27 <meonkeys> Kim_: oh... wait... just make sure you say '_UNIQUE_' INDEX. I've been meaning to fix those 178 up/down scripts.
2008-03-21T16:39:06 <vanmh_> meonkeys: go start your weekend! enjoy :-)
2008-03-21T16:39:50 <meonkeys> but... can't... must... compute...
2008-03-21T16:40:06 <vanmh_> the curse of Mr. OpenSource...
2008-03-21T16:40:30 <meonkeys> :)
2008-03-21T16:41:26 <meonkeys> Kim_: kim, the example to follow would be the upgrade_to_181.sql and the corresponding downgrade script. trunk changeset 12552.
2008-03-21T16:41:29 <Kim_> Thank you very much!
2008-03-21T16:41:46 <vanmh_> ...unable to remove himself from his computer, and driven to give away the fruits of his labors...
2008-03-21T16:42:53 <meonkeys> watch the superhero turn into a super beer-o in the span of 16 fluid ounces!
2008-03-21T16:43:01 <vanmh_> :-)
2008-03-21T16:45:48 <vanmh_> you're giving away your secret location by revealing you live in a backward, non-metric nation ;-)
2008-03-21T16:45:54 <Kim_> meonkeys: Thank you very much for saving my life (75 cents). Van has tortured me so much!
2008-03-21T16:46:17 <vanmh_> uh oh-- now Kim is getting mean! ;-)
2008-03-21T17:08:26 <mifosbot> New news from builds: MIFOS-WT-629 was SUCCESSFUL (with 2710 tests): Updated by Van Mittal-Henkle
2008-03-21T17:11:56 *** Kim_ has quit IRC
2008-03-21T17:14:50 *** emilytucker_mifo has quit IRC
2008-03-21T17:55:10 *** awalji__ has joined #mifos
2008-03-21T17:56:38 *** vanmh_ has quit IRC
2008-03-21T18:03:26 *** epavlenko has quit IRC
2008-03-21T18:10:23 *** awalji has quit IRC
2008-03-21T18:14:59 *** awalji__ has quit IRC
2008-03-21T18:42:57 *** bmazur has quit IRC
2008-03-21T20:36:16 *** awalji__ has joined #mifos
2008-03-21T20:36:18 *** awalji__ is now known as awalji
2008-03-21T20:37:07 *** awalji has quit IRC
2008-03-21T20:48:40 <mifosbot> New news from builds: MIFOS-WT-630 was SUCCESSFUL (with 2711 tests): Updated by Kimloan Ho
2008-03-21T23:55:14 *** bmazur has joined #mifos
