[JIRA] (JENKINS-52380) Jenkins 2.107.2 job status show finished, but in console log, the job still is running. other job can't build due to running job.

3 views
Skip to first unread message

giser_wkfor@163.com (JIRA)

unread,
Jul 5, 2018, 4:21:02 AM7/5/18
to jenkinsc...@googlegroups.com
daniel zhang created an issue
 
Jenkins / Bug JENKINS-52380
Jenkins 2.107.2 job status show finished, but in console log, the job still is running. other job can't build due to running job.
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2018-07-05-16-13-01-392.png, image-2018-07-05-16-17-02-933.png
Components: core
Created: 2018-07-05 08:20
Environment: 2.107.2
Priority: Critical Critical
Reporter: daniel zhang

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

giser_wkfor@163.com (JIRA)

unread,
Jul 5, 2018, 4:22:01 AM7/5/18
to jenkinsc...@googlegroups.com

giser_wkfor@163.com (JIRA)

unread,
Jul 5, 2018, 4:22:02 AM7/5/18
to jenkinsc...@googlegroups.com
daniel zhang updated an issue
!image-2018-07-05-16-17-02-933.png!

!image-2018-07-05-16-
13 21 - 01 03 - 392 791 .png!

giser_wkfor@163.com (JIRA)

unread,
Jul 5, 2018, 4:22:02 AM7/5/18
to jenkinsc...@googlegroups.com

giser_wkfor@163.com (JIRA)

unread,
Jul 5, 2018, 4:24:01 AM7/5/18
to jenkinsc...@googlegroups.com
daniel zhang commented on Bug JENKINS-52380
 
Re: Jenkins 2.107.2 job status show finished, but in console log, the job still is running. other job can't build due to running job.

Here is jstack logs:
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593)
at sun.security.ssl.InputRecord.read(InputRecord.java:532)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)

  • locked <0x00000001e3179e70> (a java.lang.Object)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
  • locked <0x00000001e3179f30> (a java.lang.Object)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
    at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)
    at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:118)
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85)
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
    at jenkins.plugins.slack.StandardSlackService.publish(StandardSlackService.java:136)
    at jenkins.plugins.slack.StandardSlackService.publish(StandardSlackService.java:95)
    at jenkins.plugins.slack.ActiveNotifier.completed(ActiveNotifier.java:137)
    at jenkins.plugins.slack.SlackListener.onCompleted(SlackListener.java:27)
    at jenkins.plugins.slack.SlackListener.onCompleted(SlackListener.java:15)
    at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
    at hudson.model.Run.execute(Run.java:1772)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

at hudson.model.ResourceController.execute(ResourceController.java:97)

at hudson.model.Executor.run(Executor.java:429)

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 5, 2018, 4:31:01 AM7/5/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 5, 2018, 4:33:02 AM7/5/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-52380
 
Re: Jenkins 2.107.2 job status show finished, but in console log, the job still is running. other job can't build due to running job.

Looks like a Slack plugin issue.

Listener code should not contain heavy logic in handlers, such logic must be offloaded

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 5, 2018, 4:33:02 AM7/5/18
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Jul 24, 2018, 7:27:02 AM7/24/18
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Jul 24, 2018, 7:28:03 AM7/24/18
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-52380
 
Re: Jenkins 2.107.2 job status show finished, but in console log, the job still is running. other job can't build due to running job.

There's no bug in core here that I can tell.

Builds have an intermediate state between being finished (i.e. build result has been determined) and done (logging closed) during which notifiers that do not, and should not, impact the build result can run. This includes RunListeners. This is what happens here. Probably just a matter of defining timeouts in the plugin.

timjacomb1@gmail.com (JIRA)

unread,
Dec 1, 2019, 2:18:03 PM12/1/19
to jenkinsc...@googlegroups.com
Change By: Tim Jacomb
Status: Open Fixed but Unreleased
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

timjacomb1@gmail.com (JIRA)

unread,
Dec 1, 2019, 2:18:04 PM12/1/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages