[JIRA] (JENKINS-56992) When a pod dies in kubernetes, we should be able to dump out the pod logs somewhere

5 views
Skip to first unread message

ataylor@cloudbees.com (JIRA)

unread,
Apr 12, 2019, 11:08:04 AM4/12/19
to jenkinsc...@googlegroups.com
Alex Taylor created an issue
 
Jenkins / Improvement JENKINS-56992
When a pod dies in kubernetes, we should be able to dump out the pod logs somewhere
Issue Type: Improvement Improvement
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2019-04-12 15:07
Priority: Major Major
Reporter: Alex Taylor

Issue:
I have a pipeline which is massively parallel and spins up a series of kubernetes pods to do a build process with a few containers on each. Occasionally(about 1 of every 5-10) the kubernetes pod will disconnect with an error message

Could not connect to $CONTAINER to send interrupt signal to process

This becomes very difficult to troubleshoot a solution for since there is not any additional details

Resoution:
It would be very helpful here to get logs or more details about the failure by potentially dumping the failed pod logs somewhere. This would be very helpful to have inside of the Kubernetes plugin since the pod no longer exists after the build is done and getting the previous logs is difficult if it is not caught instantly

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:32:01 PM7/16/19
to jenkinsc...@googlegroups.com

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:33:01 PM7/16/19
to jenkinsc...@googlegroups.com

levon.sa@gmail.com (JIRA)

unread,
Mar 12, 2020, 3:48:03 AM3/12/20
to jenkinsc...@googlegroups.com
Levon Saldamli commented on Improvement JENKINS-56992
 
Re: When a pod dies in kubernetes, we should be able to dump out the pod logs somewhere

I have a similar problem (running jenkins builds with openshift) when pods occasionally fail to start and disappear without any trace of logs kept anywhere. It would be great of logs or events from pod and container startup failures could show up in the build log on jenkins.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages