problem with CVS Polling

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with CVS Polling

Prabhat Jha-3
Hi,

I have four free style jobs setup in Hudson (1.143) that polls the same CVS repo at the same time. These jobs run the same test
but with different configuration and we would like to run these four set of tests the same version of code.( That's
why they poll the repo at the same time).

Hudosn's Poll SCM throws following java.util.concurrent.ExecutionException. Please let me know if you have
any suggestion for a work around or any other inputs.

Failed to join the process
hudson.util.IOException2: Failed to join the process
        at hudson.Proc$RemoteProc.join(Proc.java:196)
        at hudson.scm.CVSSCM.run(CVSSCM.java:746)
        at hudson.scm.CVSSCM.update(CVSSCM.java:380)
        at hudson.scm.CVSSCM.pollChanges(CVSSCM.java:199)
        at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538)
        at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258)
        at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException
        at hudson.remoting.Request$1.get(Request.java:131)
        at hudson.remoting.Request$1.get(Request.java:109)
        at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
        at hudson.Proc$RemoteProc.join(Proc.java:188)
        ... 12 more
Caused by: hudson.remoting.RequestAbortedException
        at hudson.remoting.Request.abort(Request.java:166)
        at hudson.remoting.Channel.terminate(Channel.java:311)
        at hudson.remoting.Channel$CloseCommand.execute(Channel.java:365)
        at hudson.remoting.Channel$ReaderThread.run(Channel.java:436)
Done. Took 11 hours
No changes

Regards,
Prabhat


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: problem with CVS Polling

Kohsuke Kawaguchi
Administrator
Prabhat Jha wrote:
> Hi,
>
> I have four free style jobs setup in Hudson (1.143) that polls the same CVS repo at the same time. These jobs run the same test
> but with different configuration and we would like to run these four set of tests the same version of code.( That's
> why they poll the repo at the same time).
>
> Hudosn's Poll SCM throws following java.util.concurrent.ExecutionException. Please let me know if you have
> any suggestion for a work around or any other inputs.

This happens when the communication channel between the master and the
slave went down while some remote operations (in this case CVS polling
activity) is in progress.

In this case the shut-down of the communication channel appears orderly,
  meaning the cause is something like someone selectin "disconnect" from
the web UI, new system configuration got submitted and deleted this
slave, etc.

I suppose you didn't do any of those, so I just added a probe in CVS
(will be in 1.150) so that when the same error happens next time we can
see who's initiating the shut down of the channel.


> Failed to join the process
> hudson.util.IOException2: Failed to join the process
> at hudson.Proc$RemoteProc.join(Proc.java:196)
> at hudson.scm.CVSSCM.run(CVSSCM.java:746)
> at hudson.scm.CVSSCM.update(CVSSCM.java:380)
> at hudson.scm.CVSSCM.pollChanges(CVSSCM.java:199)
> at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538)
> at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258)
> at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException
> at hudson.remoting.Request$1.get(Request.java:131)
> at hudson.remoting.Request$1.get(Request.java:109)
> at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
> at hudson.Proc$RemoteProc.join(Proc.java:188)
> ... 12 more
> Caused by: hudson.remoting.RequestAbortedException
> at hudson.remoting.Request.abort(Request.java:166)
> at hudson.remoting.Channel.terminate(Channel.java:311)
> at hudson.remoting.Channel$CloseCommand.execute(Channel.java:365)
> at hudson.remoting.Channel$ReaderThread.run(Channel.java:436)
> Done. Took 11 hours
> No changes
>
> Regards,
> Prabhat
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: problem with CVS Polling

Prabhat Jha-3
Thanks. We just upgraded our version to 1.149 so it will be a while
(probably two weeks) before we upgrade. As you said, we did not do any
of the things that may have caused it as builds were schedule to kick in
at 11 PM. ;-)

Kohsuke Kawaguchi wrote:

> Prabhat Jha wrote:
>> Hi,
>>
>> I have four free style jobs setup in Hudson (1.143) that polls the
>> same CVS repo at the same time. These jobs run the same test
>> but with different configuration and we would like to run these four
>> set of tests the same version of code.( That's why they poll the repo
>> at the same time).
>>
>> Hudosn's Poll SCM throws following
>> java.util.concurrent.ExecutionException. Please let me know if you have
>> any suggestion for a work around or any other inputs.
>
> This happens when the communication channel between the master and the
> slave went down while some remote operations (in this case CVS polling
> activity) is in progress.
>
> In this case the shut-down of the communication channel appears
> orderly,  meaning the cause is something like someone selectin
> "disconnect" from the web UI, new system configuration got submitted
> and deleted this slave, etc.
>
> I suppose you didn't do any of those, so I just added a probe in CVS
> (will be in 1.150) so that when the same error happens next time we
> can see who's initiating the shut down of the channel.
>
>
>> Failed to join the process
>> hudson.util.IOException2: Failed to join the process
>>     at hudson.Proc$RemoteProc.join(Proc.java:196)
>>     at hudson.scm.CVSSCM.run(CVSSCM.java:746)
>>     at hudson.scm.CVSSCM.update(CVSSCM.java:380)
>>     at hudson.scm.CVSSCM.pollChanges(CVSSCM.java:199)
>>     at
>> hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538)
>>     at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258)
>>     at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290)
>>     at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
>>     at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>>     at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>>
>>     at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>>
>>     at java.lang.Thread.run(Thread.java:595)
>> Caused by: java.util.concurrent.ExecutionException:
>> hudson.remoting.RequestAbortedException
>>     at hudson.remoting.Request$1.get(Request.java:131)
>>     at hudson.remoting.Request$1.get(Request.java:109)
>>     at hudson.remoting.FutureAdapter.get(FutureAdapter.java:32)
>>     at hudson.Proc$RemoteProc.join(Proc.java:188)
>>     ... 12 more
>> Caused by: hudson.remoting.RequestAbortedException
>>     at hudson.remoting.Request.abort(Request.java:166)
>>     at hudson.remoting.Channel.terminate(Channel.java:311)
>>     at hudson.remoting.Channel$CloseCommand.execute(Channel.java:365)
>>     at hudson.remoting.Channel$ReaderThread.run(Channel.java:436)
>> Done. Took 11 hours
>> No changes
>>
>> Regards,
>> Prabhat
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]