[00:05:57] *** lynggaardDK1 has quit IRC [00:06:14] *** taril42 has quit IRC [00:13:16] *** jdolan has quit IRC [00:25:18] *** gits has quit IRC [00:26:31] *** Lewisham has joined #hudson [00:33:36] *** davidstrauss has quit IRC [00:51:00] *** tom7 has quit IRC [01:01:49] *** chetan- has quit IRC [01:14:19] *** chetan- has joined #hudson [01:23:10] *** vinse has joined #hudson [01:23:24] <vinse> oh cool ... there *is* a hudson channel! [01:24:40] <vinse> so i have hudson set up to poll cvs, and every one in a while the cvs connection hangs and i have to cancel the build. then it doesnt work again unless i restart hudson [01:24:40] <kohsuke> Yes, there is. [01:25:22] <kohsuke> so you are canceling a build even thought it's polling that hangs? [01:25:28] <kohsuke> Or are you talking about cvs checkout/update hang? [01:25:52] <vinse> kohsuke: ah, you're right the poll succeeds, the subsequent checkout hangs [01:26:41] <kohsuke> and when you abort, what happens? [01:27:19] <vinse> get a message "checkout aborted" [01:27:30] <vinse> and it gets marked as a failed build [01:27:41] <kohsuke> OK, then what do you mean by "it doesn't work again unless I restart hudson?" [01:28:06] <vinse> kohsuke: if i click "build now" it still fails, and continues to fail until i restart hudson [01:28:24] <kohsuke> you mean the next one will also hang at cvs checkout? [01:28:30] <vinse> yes [01:28:34] <vinse> fails in the exact same way [01:29:15] <kohsuke> maybe your hang isn't network related. maybe it's something to do with authentication. [01:29:43] <kohsuke> hudson just forks cvs, so there are not many situations where its restart affects the cvs behavior [01:30:22] *** statlor has joined #hudson [01:31:03] <vinse> what all logs can i look at? i see there's output in the tomcat logs, anywhere else i can look? [01:32:46] <kohsuke> I think /proc is your friend in this case [01:33:00] <kohsuke> You want to look at what environment variables and arguments cvs is executing with. [01:33:34] <kohsuke> doing pstack might also help you find exactly where cvs is hanging [01:35:10] <vinse> ok thanks [01:42:50] <statlor> hm if I open main/pom.xml as a project in netbeans 6.7.. is this reasonable [01:43:10] <statlor> I seem to recall in 6.5 I opened the main project and it also loaded all the plugins [01:43:19] <statlor> and just brought everything to its knees [01:43:35] <statlor> right now I have just the accurev project open and am afraid to try anything else heh [01:44:02] <statlor> maybe it was eclipse where it was just too much [01:45:32] <statlor> ah I think it is actually core that I want [01:47:35] <rtyler> kohsuke: btw, did you want me to file an enhancement request to not load every build.xml file at bootup of Hudson? [01:47:38] <rtyler> or you got that? :P [01:47:48] <kohsuke> It's already tracked, so no worries. [01:47:54] <rtyler> YAY [01:47:58] <rtyler> 317? right? :P [01:48:48] <mrooney> it will be a hotfix to 316 actually [01:49:09] <rtyler> YESH! [01:50:06] <kohsuke> it's #2487 [01:50:29] <kohsuke> rtyler: how about the JUnit hang problem in the concurrent build branch? [01:50:43] <rtyler> kohsuke: I've not had a chance to swap out our Hudson version yet [01:50:51] <kohsuke> ok [01:50:52] <rtyler> kohsuke: admc is a dick and just queued up like 60 jobs [01:50:55] <rtyler> :D [01:51:07] * rtyler fires admc [01:59:43] *** davidstrauss has joined #hudson [02:52:32] *** rromanchuk has quit IRC [02:57:18] *** jieryn-w has joined #hudson [03:02:23] *** Lewisham has quit IRC [03:06:59] *** Lewisham has joined #hudson [03:16:13] *** vinse has quit IRC [03:28:37] <mrooney> hey, a build that won't abort! [03:28:58] <mrooney> what does "Workspace appear to be locked, so getting a fresh workspace" mean I won der [03:36:08] *** Lewisham has quit IRC [03:42:45] *** rromanchuk has joined #hudson [04:01:46] *** davidstrauss has quit IRC [04:08:24] *** alexlod has quit IRC [04:14:00] *** admc has quit IRC [04:14:20] *** admc has joined #hudson [04:15:25] *** jieryn has joined #hudson [04:17:37] *** jieryn-w has quit IRC [04:20:57] *** Lewisham has joined #hudson [04:22:11] *** Lewisham has quit IRC [04:31:36] <statlor> hm any devs here that understand the build workflow [04:32:43] <statlor> I am looking at buildEnvVars in accurev's SCM implementation, and trying to understand the larger context.. when does buildEnvVars get called within the context of a build (before/after checkout, etc) [04:39:14] <statlor> from looking at SubversionSCM, it looks like my changelog file should be availble (it assumes its revisions.txt file is available) but where all that happens seems to be at a higher level [05:01:11] *** abayer has quit IRC [05:02:01] *** abayer has joined #hudson [05:04:29] *** abayer has quit IRC [05:05:47] *** abayer has joined #hudson [05:35:23] *** Lewisham has joined #hudson [05:51:52] *** akostadinov has joined #hudson [05:52:57] <statlor> mailed the dev list about it [05:56:01] <statlor> sleep time [05:56:04] *** statlor has quit IRC [06:19:25] *** Lewisham has quit IRC [06:26:35] *** admc has quit IRC [06:39:48] *** davidstrauss has joined #hudson [07:00:59] *** admc has joined #hudson [07:18:34] *** akostadinov has quit IRC [07:31:01] *** rromanchuk_ has joined #hudson [07:47:12] *** rromanchuk has quit IRC [07:55:01] *** davidstrauss has quit IRC [09:09:07] *** tom7 has joined #hudson [09:24:52] *** matt-wynne has joined #hudson [09:30:26] *** tom7 has quit IRC [09:37:38] *** mirage` has quit IRC [09:37:49] *** huimies has joined #hudson [10:18:38] *** brunomlopes has joined #hudson [10:34:18] <AgentIcarus> abayer: that's awesome, the fix works perfectly, thanks! [10:34:30] <AgentIcarus> now, to find out why my test results aren't being aggregated [10:42:25] *** ppawel has joined #hudson [10:59:22] *** dvrzalik has joined #hudson [11:09:45] *** Maior has joined #hudson [11:37:15] *** admc_ has joined #hudson [11:48:45] *** admc has quit IRC [13:18:23] *** admc_ is now known as admc [13:32:46] *** velo has joined #hudson [13:56:32] *** akostadinov has joined #hudson [14:44:45] *** jdolan has joined #hudson [15:01:19] *** abayer_ has joined #hudson [15:07:01] *** kstreith has quit IRC [15:07:21] *** kstreith has joined #hudson [15:10:20] *** gits has joined #hudson [15:18:12] *** gits1 has joined #hudson [15:19:47] *** abayer has quit IRC [15:22:36] *** gits1 has quit IRC [15:31:52] *** gits has quit IRC [15:36:57] *** davidstrauss has joined #hudson [15:42:42] *** statlor has joined #hudson [15:50:51] *** zeljko has joined #hudson [15:51:15] <zeljko> hi [15:52:07] <statlor> hello! [15:52:11] <zeljko> anybody has a minute to help a newbie? [15:53:01] <AgentIcarus> ask away, it can't hurt! [15:53:42] <statlor> proceed [15:53:44] <zeljko> great :) [15:54:01] <zeljko> I have tried several times to set up hudson to build my project [15:54:16] <zeljko> I am new to continuous integration [15:54:22] <zeljko> platform is windows 2003 [15:54:29] <zeljko> application i .net/c# [15:54:43] <zeljko> source control is svn [15:54:59] <zeljko> I have a build script (build.cmd) [15:55:15] <zeljko> and I want to run it every time there is a check-in in svn [15:55:40] <W_work> which part of all of those things are you having a problem with? [15:55:52] <zeljko> I have created a new free-style software project [15:56:25] *** akostadinov has quit IRC [15:56:32] <zeljko> is that the way to go? (I am still going through the documentation) [15:56:37] <W_work> yes [15:57:00] <zeljko> great, I have done at least something right [15:57:42] <zeljko> in job configuration I have selected svn as scm [15:57:51] <brunomlopes> hey zeljko I've done the same as you, except i'm using an msbuild script [15:57:52] <zeljko> pasted repository url [15:59:13] <zeljko> brunomlopes: great [15:59:25] <zeljko> I am a tester, my developer has created build script [15:59:49] <bobo_> i still dont see any problem? *getting curious* [16:00:44] <zeljko> bobo_: sorry, I got distracted for a second, I am back [16:01:33] <zeljko> brunomlopes: I am looking at build.cmd, it uses msbuild [16:01:51] <brunomlopes> cool [16:01:52] <zeljko> I am not sure what to enter for local module directory [16:02:01] <brunomlopes> i think you can leave it empty [16:03:17] <W_work> zeljko: empty is the best default. it depends on how your programming language's or project files' dependencies are resolved [16:03:29] <zeljko> but then it checks out all code in .hudson\jobs\(project)\workspace\(folder) [16:03:38] <W_work> leaving it empty will default it to the last directory of the svn checkout path [16:03:41] <zeljko> and source is already in another folder [16:04:02] <W_work> zeljko: doesn't matter, the workspace is something it does internal to Hudson, you shouldn't have to care about that [16:04:14] <W_work> what is the error you are getting? [16:04:20] <zeljko> W_work: great [16:04:23] <W_work> or where are you stuck? [16:05:06] <brunomlopes> (i'm not sure he's stuck, perhaps he just wants some "guidance" while he deploys his project on hudson?) [16:05:12] <zeljko> W_work: I entered absolute path to folder where source is located and got this error: [16:05:17] <zeljko> FATAL: The filename, directory name, or volume label syntax is incorrect [16:05:30] <W_work> zeljko: where do you enter that? [16:05:35] <AgentIcarus> zeljko: you want hudson to do a clean checkout [16:05:46] <AgentIcarus> (so don't point it an existing directory) [16:05:55] <zeljko> I have entered it in Local module directory [16:06:04] <W_work> oh, yeah, leave that empty instead [16:06:06] <zeljko> I will leave it empty and see what happens [16:08:33] <zeljko> hm [16:09:04] <zeljko> actually, all I need to do is run build.cmd, it builds all I need [16:09:42] <W_work> you set that up under "Build" by adding a build step that calls it [16:10:02] <zeljko> ok [16:10:31] <zeljko> build - execute windows batch command - build.cmd [16:10:45] <zeljko> do I have to enter absolute path to build.cmd? [16:10:56] <bobo_> relative path [16:11:10] <zeljko> thanks [16:11:18] * zeljko is calculating relative path [16:11:35] <AgentIcarus> that's relative path from the root of your project [16:11:50] <zeljko> relative from .hudson\jobs\(job)? [16:11:56] <bobo_> from workspace [16:12:07] <bobo_> or rather, from what you told hudson to check out. [16:12:32] <zeljko> I deleted that project and started a new one [16:12:42] <zeljko> build.cmd knows all it has to do [16:12:51] <zeljko> I just need a way to call build.cmd [16:12:52] <bobo_> but you want to check out from svn? [16:13:02] <W_work> actually you need to include the local module directory [16:13:06] <zeljko> yes, after I get this working [16:13:37] <bobo_> i think you should start with letting hudson check out from svn, and then get your build.cmd to run [16:13:40] <W_work> eg if you're checking out from https://some.svn.server/svn/trunk/someproject then the build path will likely be someproject/build.cmd [16:14:32] <zeljko> ok, will do [16:15:21] <zeljko> I just added svn url [16:15:32] <zeljko> and clicked build now [16:15:55] <zeljko> it says: pending - Waiting for next available executor [16:16:02] <zeljko> and there is nothing else building [16:16:23] <zeljko> log says: INFO: SCM changes detected in ecs. Job is already in the queue [16:16:34] <bobo_> do you have autorefresh on? [16:16:39] <zeljko> maybe I should reset hudson, looks like it remebers the jobs I have deleted [16:16:49] <zeljko> bobo_: no [16:16:55] <zeljko> enabling it right now [16:17:02] <W_work> then try refreshing :) [16:17:04] <W_work> or that [16:17:08] <zeljko> still pending [16:17:24] <bobo_> clicik on the executors link and see what it says [16:17:31] <bobo_> *click [16:17:42] <bobo_> build executor status [16:17:43] <bobo_> that is [16:18:02] <zeljko> there are two executors, both say they are offline [16:18:13] <bobo_> do they say why? [16:18:26] <zeljko> no [16:18:35] <bobo_> on the hudsoninstance/computer page? [16:18:49] <bobo_> (or click on Build executor status) [16:18:50] <zeljko> i will restart hudson, looks like I broke something [16:19:06] <zeljko> it says: Projects tied on master [16:19:13] <zeljko> if that is what you mean [16:19:25] <bobo_> no thats if you click on "Master" [16:19:36] <statlor> whoops sorry I disappeared (someone came to my desk) [16:19:43] <bobo_> click on "Build executor status" [16:21:39] <zeljko> ok, now they say idle [16:21:44] <zeljko> I restarted hudson [16:23:01] <statlor> you don't have to restart hudson to restart the executors, you can click on master on the main page on the left sidebar [16:23:13] <statlor> under "Build Executor Status" [16:23:34] <statlor> then on the resulting page, in the top right there should be a button that says something like "bring this node back online" [16:23:55] <statlor> the more interesting question is why did your master go offline [16:24:53] <zeljko> statlor: I will try to debug it if it happens again [16:25:09] <zeljko> build passed (with just svn checkout) [16:25:11] <statlor> I hope your build.cmd is completely self contained (i.e. only references relative paths and such) [16:25:24] <zeljko> statlor: yes [16:25:28] <zeljko> it has all it needs [16:25:31] <statlor> good, now you should be able to check the workspace it created and see if the files are there [16:26:11] <zeljko> yes, there is .hudson\jobs\(job)\workspace\(branch) [16:26:14] <statlor> for this you should be able to click on the build that was successful, then you should have a Workspace link on theleft [16:26:24] <statlor> or look at the filesystem yes :) [16:27:02] <zeljko> I will add "execute windows batch command" step [16:27:04] <statlor> now that workspace dir is your root, so say if build.cmd was in the bin dir off that, you should be able to add a build step to run a script, and enter bin/build.cmd [16:27:10] <statlor> yep exactly [16:27:35] *** zklaus has joined #hudson [16:27:45] <zeljko> workspace or workspace/branch is root? [16:28:09] <statlor> more good info here: http://wiki.hudson-ci.org/display/HUDSON/Building+a+software+project [16:28:25] <statlor> workspace should be root I think [16:28:48] <statlor> I'm not familiar with the local module thing you guys were talking about [16:28:56] <statlor> if that is branch, then maybe it is branch [16:28:56] <zeljko> I was reading that and I did not understand anything there [16:29:13] <W_work> yes, the workspace is the root [16:29:25] <zeljko> build.cmd is not checked out, it is in separate project [16:29:33] <W_work> then you need to check that out as well [16:29:35] <zeljko> should I check out that project too [16:29:37] <zeljko> great [16:29:43] <zeljko> will do [16:29:52] <statlor> there is also a variable for the absolute path to the workspace, so failing relative path, you could do %WORKSPACE%/bin/build.cmd [16:30:03] <W_work> in general, every dependency you will need for building should be checked out from SVN [16:30:36] <statlor> oh hm the svn integration can check out multiple projects for a single job? [16:31:10] <statlor> (I use a lesser-known commercial SCM called accurev) [16:32:21] *** davidstrauss has quit IRC [16:32:40] <bobo_> yes, you should be able to sit on a totaly new computer, do svn checkout. and run build.cmd [16:33:22] *** rromanchuk_ has quit IRC [16:33:23] <zeljko> I see now that I will have to modify either my build system, or hudson root folder [16:34:01] <bobo_> why? [16:34:18] <zeljko> my web server expects some folders at some place [16:34:27] <bobo_> web server? [16:34:32] <zeljko> maybe i could just copy them after everything is build [16:34:39] <bobo_> yes [16:34:40] <zeljko> yes, I am building web application [16:34:53] <bobo_> you should deploy them after building [16:35:10] <zeljko> everything is inside this virtual machine [16:35:27] <zeljko> (that I am using for building right now) [16:38:06] <zeljko> ok, build.cmd is not self contained [16:38:07] *** abayer_ has quit IRC [16:38:25] <zeljko> looks like it expects some files, and can not find it from new location [16:38:45] <bobo_> thoose files should be in svn then [16:39:07] <bobo_> and have a relative path from build.cmd [16:39:17] <zeljko> sure, thanks [16:39:29] <zeljko> I will have to bug my developer to fix it [16:39:42] <zeljko> (he is flying today, so probably tomorrow) [16:39:50] <zeljko> thanks to all of you [16:39:54] <zeljko> I was stuck for days [16:40:07] <zeljko> now I think I get how basics work [16:40:26] <AgentIcarus> cool [16:40:48] *** mindless has joined #hudson [16:40:51] <zeljko> do not get surprised if I show up here in a day or two :) [16:40:52] <AgentIcarus> any chance anyone here knows how the "Test Result Trend" graph on projects work? [16:41:22] <AgentIcarus> mine doesn't have results on it for my maven2 multi-module projects if I build it in parallel [16:42:17] <AgentIcarus> (I do have "Aggreagte downstream test results" and "Automatically aggregate all downstream tests" ticked) [16:46:26] <statlor> oh maven not freestyle? [16:47:06] <statlor> dunno, I do maven builds as freestyle jobs [16:47:08] *** rromanchuk has joined #hudson [16:48:02] <AgentIcarus> yeah it's a maven build [16:49:29] <zeljko> can I move my workspace folder to another location? [16:49:46] <AgentIcarus> why would you want to? [16:50:02] <zeljko> my build script does not work at C:\Documents and Settings\Administrator\.hudson\jobs\ecs\workspace [16:50:19] <zeljko> it works at c:\project [16:50:41] <zeljko> so if I could move workspace folder to c:\project, it would work [16:50:58] <zeljko> (this is just a workaround until I get my developer to fix build script) [16:53:21] *** akostadinov has joined #hudson [16:57:25] <zeljko> never mind, too complicated [16:57:34] <zeljko> I will push my developer to fix build script [16:58:00] *** zeljko has quit IRC [17:03:05] *** gits has joined #hudson [17:24:01] *** zklaus has left #hudson [17:28:09] *** ppawel has quit IRC [17:45:11] *** abayer has joined #hudson [18:22:46] *** gits has quit IRC [18:43:53] *** alexlod has joined #hudson [18:47:35] *** jbriguet- has joined #hudson [18:52:59] *** timp has quit IRC [18:53:11] *** jbriguet has quit IRC [19:12:25] *** dvrzalik has quit IRC [19:31:20] *** akostadinov has quit IRC [19:41:11] *** matt-wynne has quit IRC [20:14:37] *** mobhawk has left #hudson [20:23:44] *** khmarbaise has joined #hudson [20:52:31] <statlor> oh I just realized.. if a build is in the quiet period and you hit the build button, it forces a start of that build, and doesn't queue a separate build [20:52:32] <statlor> nice! [20:53:59] *** abayer has quit IRC [20:58:03] *** kstreith has quit IRC [20:59:33] *** weechat_user has joined #hudson [21:00:48] <weechat_user> hmm, suddenly when i select configure on my project it stops renedering after "Promote builds when..." [21:01:05] <weechat_user> running 1.316 [21:01:10] *** weechat_user is now known as davidk [21:01:21] *** brunomlopes has quit IRC [21:01:40] *** davidk is now known as Guest21738 [21:03:00] *** Guest21738 is now known as davidk [21:03:30] *** davidk is now known as Guest11830 [21:05:02] <Guest11830> wtf... [21:17:27] *** Guest11830 is now known as davidk [21:17:57] *** davidk is now known as Guest96258 [21:20:04] *** stalker314314 has joined #hudson [21:21:01] <stalker314314> hi all, can anyone tell me what could be the reasons for autodisabling some of the modules [21:31:11] *** tanuki has joined #hudson [21:31:31] <tanuki> Is there any way to have Hudson automatically build any branch in a Subversion repository? [21:33:29] <Guest96258> tanuki: just point the scm to the branch [21:34:01] <tanuki> Guest96258: We don't want to reconfigure the CI server for every branch [21:34:39] <tanuki> basically, in a perfect world, Hudson would watch /branches/* and automatically create a new copy of the project pointing to /trunk for each [21:35:09] <tanuki> so when I commit /branches/foo, it automatically builds a new "sub-project", in a sense, for "foo" [21:35:33] *** khmarbaise has quit IRC [21:35:34] <Guest96258> right, I see [21:53:30] *** abayer has joined #hudson [21:59:50] *** akostadinov has joined #hudson [22:03:01] *** brunomlopes has joined #hudson [22:06:48] *** khmarbaise has joined #hudson [22:14:35] *** khmarbaise has quit IRC [22:15:01] *** khmarbaise has joined #hudson [22:18:43] <rtyler> kohsuke: mind if I PM you? [22:18:52] <kohsuke> go ahead [22:24:53] <rtyler> as an aside, did that thread dump help? [22:32:19] *** khmarbaise has quit IRC [22:42:14] *** Lewisham has joined #hudson [22:47:39] *** velo has quit IRC [22:50:54] *** khmarbaise has joined #hudson [23:02:42] <statlor> koksuke: would you have advice on where in the codebase I could start looking to understand the SCM process steps.. I'm trying to understand when buildEnvVars happens within the larger context, to decide if my changelog will have already been produced when buildEnvVars is called.. [23:03:20] <statlor> in general though, I want to understand the process.. I hate working on some small part of the code without understanding the context [23:03:24] <statlor> it drives me nuts [23:04:06] <statlor> I've been trying to go backwards from buildEnvVars, but I think it would be easier if I went forward [23:10:14] *** stalker314314 has quit IRC [23:11:22] *** brunomlopes_ has joined #hudson [23:11:54] *** brunomlopes has quit IRC [23:12:15] <kohsuke> statlor: what do you mean by "process"? [23:12:24] <kohsuke> how the build happens? [23:12:38] <kohsuke> but I guess you already know that if you use Hudson. [23:16:38] *** lhochet has joined #hudson [23:17:03] <statlor> I mean where in the codebase [23:17:21] <statlor> what loads the particular instance of SCM based on the job configuration [23:17:30] *** jdolan has quit IRC [23:17:45] <kohsuke> SCM instances are always on memory [23:17:54] <kohsuke> It's loaded when Hudson is started [23:18:10] *** Lewisham_ has joined #hudson [23:18:11] *** Lewisham has quit IRC [23:18:11] <statlor> but when a job fires, something is calling checkout, buildEnvVars, etc in a certain order? [23:18:28] <kohsuke> right. [23:18:36] <statlor> this is probably a horrible question as it's going to be spread out all over the place [23:18:47] <statlor> as modular as everything is [23:18:59] *** akostadinov has quit IRC [23:19:01] <kohsuke> It starts with Queue.Executable [23:19:09] <statlor> ah! [23:19:14] <statlor> let me take it from there [23:19:26] <kohsuke> which is implemented by Build --- specifically the run method [23:19:38] <statlor> trying not to be a burden :( [23:20:07] *** lhochet has quit IRC [23:20:10] <kohsuke> I think this would make a nice Wiki page. The gory details of how a build is really done. [23:20:23] <statlor> I will do it once I understand it all [23:20:38] <statlor> I'll need it for future reference anyway heh [23:21:20] <statlor> gotta run but I'll check out those two spots later.. I'll make notes as I go along and hopefully I can turn it into something useful [23:21:21] <statlor> thanks! [23:21:36] <kohsuke> you are welcome [23:21:44] *** statlor has quit IRC [23:26:42] *** gits has joined #hudson [23:26:52] *** admc_ has joined #hudson [23:36:46] *** lhochet has joined #hudson [23:38:25] *** admc has quit IRC [23:39:53] *** lhochet has quit IRC