Kundan Kumar wrote:
Hi Kohsuke,
I resolve the issue. The problem was due to CVS version 1.10.5. I think
this version is not supported by Hudson. One more thing was interesting.
During the checkout you are passing the date in some format which is
also not accepted by any CVS version. Hence CVS was getting hanged. So i
replace that version with 1.11. Now it's working fine.
Good to hear that you resolved the problem. Thank you for your patience.
But I'm curious, I'd understand if CVS failed complaining that it didn't
understand the date format. But instead it just hanged? Hmm.
Anyway, if you find any other issues in Hudson, let me know.
Thanks for your guidence.
Regards,
Kundan
Kundan Kumar wrote:
Hi Kohsuke,
The problem in not with CVS that i am sure. I think the problem is that
your application not able to identify the build.xml file which contains
the various targets.
In some sense, anything is a possibility, but I think this is highly
unlikely. If Hudson passes a wrong build.xml path to Ant, it will fail
right away, and it won't hang.
> I don't know how hudson internally works. But one
thing i am sure that some where inside your application you must trying
to invoke the build.xml file.
Correct.
> i also put some echo inside my build.xml.
But the problem is that your application not able to find the build.xml
file. After checkout the CVS responsibility is finished.Now it is the
Hudson responsibility to identify the build.xml relative to hudson
workspace. I tried various combination like after checkout i close the
tomcat server and manually using the ant i try to run my build.xml file.
It's working fine .Since ant is able to find build file. But inside
Hudson after Clicking on build now button he is not able to find
build.xml file.
Let me see the stack trace dump that you sent us.
Please provide some solution so that i can start working on it.I also
went through Hudson forum but no one ever encountered such problem.
Yes, this is the first time someone reported a problem like this.
i am also sending you the JVM dump related to window system.
Thanks. The following three threads are related to this. One waits for
the completion of cvs, the other two are used to pump stdout/stderr from
cvs. stdin is closed very early in the process.
What this tells us is that cvs process is not completed yet, for
whatever reason. So Hudson keeps waiting on it.
Probably you've told me already, but what is the OS of this system, and
what's the version of cvs? When you run the same command from shell,
does it work correctly without a hang?
Full thread dump Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode, sharing):
"cvs -Q -z9 -d :pserver:kundan@india:/cvs/cvsroot co -d workspace -D Tuesday, Ja
nuary 9, 2007 10:13:39 AM UTC HRMS: stderr copier" prio=6 tid=0x035f2ae0 nid=0x7
b8 runnable [0x04cdf000..0x04cdfa64]
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:177)
at hudson.Util.copyStream(Util.java:195)
at hudson.util.StreamCopyThread.run(StreamCopyThread.java:26)
"cvs -Q -z9 -d :pserver:kundan@india:/cvs/cvsroot co -d workspace -D Tuesday, Ja
nuary 9, 2007 10:13:39 AM UTC HRMS: stdout copier" prio=6 tid=0x0307d5d0 nid=0xb
7c runnable [0x04c9f000..0x04c9fae4]
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:194)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
- locked <0x23d27a40> (a java.io.BufferedInputStream)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at hudson.Util.copyStream(Util.java:195)
at hudson.util.StreamCopyThread.run(StreamCopyThread.java:26)
"Executor #1 for null" prio=6 tid=0x02d421c0 nid=0x9f4 in Object.wait() [0x0441f
000..0x0441fc64]
at java.lang.Object.wait(Native Method)
- waiting on <0x23d259b8> (a hudson.util.StreamCopyThread)
at java.lang.Thread.join(Thread.java:1095)
- locked <0x23d259b8> (a hudson.util.StreamCopyThread)
at java.lang.Thread.join(Thread.java:1148)
at hudson.Proc$LocalProc.join(Proc.java:101)
at hudson.scm.AbstractCVSFamilySCM.run(AbstractCVSFamilySCM.java:35)
at hudson.scm.AbstractCVSFamilySCM.run(AbstractCVSFamilySCM.java:43)
at hudson.scm.CVSSCM.checkout(CVSSCM.java:189)
at hudson.model.AbstractProject.checkout(AbstractProject.java:245)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:101)
at hudson.model.Run.run(Run.java:528)
at hudson.model.Build.run(Build.java:266)
at hudson.model.Executor.run(Executor.java:61)
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi@xxxxxxx
smime.p7s
Description: S/MIME Cryptographic Signature
|