[JIRA] [git-plugin] (JENKINS-30473) polling fails when cloud slaves shutdowns fast

3 views
Skip to first unread message

gentoo.integer@gmail.com (JIRA)

unread,
Sep 15, 2015, 7:05:01 PM9/15/15
to jenkinsc...@googlegroups.com
Kanstantsin Shautsou created an issue
 
Jenkins / Bug JENKINS-30473
polling fails when cloud slaves shutdowns fast
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 15/Sep/15 11:04 PM
Environment: 2.4.0/1.18.0
1.609.3
Priority: Minor Minor
Reporter: Kanstantsin Shautsou

When no WS required polling is run as usually, but when build is going it tries poll using this build that ends in stacktrace?

Started on Sep 16, 2015 1:51:41 AM
Polling SCM changes on docker-5f823700b921
Using strategy: Default
[poll] Last Built Revision: Revision 653b08cf73531b28015ff601b1e292236ed3b898 (origin/branch)
FATAL: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed
java.io.IOException: remote file operation failed: /home/jenkins/workspace/JOB at hudson.remoting.Channel@534f2fda:docker-5f823700b921: hudson.remoting.ChannelClosedException: channel is already closed
	at hudson.FilePath.act(FilePath.java:985)
	at hudson.FilePath.act(FilePath.java:967)
	at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:131)
	at hudson.plugins.git.GitSCM.createClient(GitSCM.java:705)
	at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:646)
	at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:527)
	at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:380)
	at hudson.scm.SCM.poll(SCM.java:397)
	at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1471)
	at hudson.model.AbstractProject._poll(AbstractProject.java:1442)
	at hudson.model.AbstractProject.poll(AbstractProject.java:1353)
	at jenkins.triggers.SCMTriggerItem$SCMTriggerItems$Bridge.poll(SCMTriggerItem.java:119)
	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:510)
	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:539)
	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: hudson.remoting.ChannelClosedException: channel is already closed
	at hudson.remoting.Channel.send(Channel.java:575)
	at hudson.remoting.Request.call(Request.java:130)
	at hudson.remoting.Channel.call(Channel.java:777)
	at hudson.FilePath.act(FilePath.java:978)
	... 19 more
Caused by: java.io.IOException
	at hudson.remoting.Channel.close(Channel.java:1160)
	at hudson.remoting.Channel.close(Channel.java:1135)
	at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:678)
	at hudson.slaves.SlaveComputer.access$600(SlaveComputer.java:94)
	at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:607)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	... 5 more
Done. Took 40 sec
No changes

Build on cloud slave existed for 46 sec.
Seems polling dies with stacktrace because it tries to do WS based polling on slave that shutdowns soon.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

gentoo.integer@gmail.com (JIRA)

unread,
Sep 15, 2015, 7:13:01 PM9/15/15
to jenkinsc...@googlegroups.com
Kanstantsin Shautsou commented on Bug JENKINS-30473
 
Re: polling fails when cloud slaves shutdowns fast

Caused by randomly changing configuration in BranchSpec. Without my changes it replaced "blank" with "**" that is #JENKINS-30345
Closing this issue as it obviously failed with closed channel because git scm configuration required WS.

gentoo.integer@gmail.com (JIRA)

unread,
Sep 15, 2015, 7:14:01 PM9/15/15
to jenkinsc...@googlegroups.com
Kanstantsin Shautsou resolved as Not A Defect
 
Change By: Kanstantsin Shautsou
Status: Open Resolved
Resolution: Not A Defect

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 22, 2019, 9:32:33 PM10/22/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Not A Defect
Change By: Mark Waite
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages