[JIRA] (JENKINS-55898) Surface pod scheduling failures to the user instead of waiting forever

1 view
Skip to first unread message

nathan.lowe@hyland.com (JIRA)

unread,
Jan 31, 2019, 12:56:02 PM1/31/19
to jenkinsc...@googlegroups.com
Nathan Lowe created an issue
 
Jenkins / Improvement JENKINS-55898
Surface pod scheduling failures to the user instead of waiting forever
Issue Type: Improvement Improvement
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2019-01-31 17:55
Environment: jenkins/jenkins:lts-alpine (2.150.1)
Kubernetes Plugin 1.14.3
Priority: Major Major
Reporter: Nathan Lowe

Every now and then developers will either make environmental changes or changes to the pod spec that cause the pod to fail to schedule. I've seen this most frequently happen when:

  • A developer removes a container image from an internal registry that is referenced in the pod spec without updating the pod spec in all branches (The container will get stuck in ErrImagePull)
  • A developer adds a container to the pod spec without overriding the entrypoint. When the container exits, kubernetes kills and restarts the pod before jenkins sees the pod becoming ready

It would be awesome if the kubernetes plugins could detect these failures and fail the build if this happens so the build doesn't run forever and we don't block other builds from scheduling. This is especially useful for users who don't have access to the kubernetes api to inspect *why* their builds aren't running.

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

matt.luceen@hyland.com (JIRA)

unread,
Jan 31, 2019, 4:33:17 PM1/31/19
to jenkinsc...@googlegroups.com

jenkins-ci@carlossanchez.eu (JIRA)

unread,
Feb 1, 2019, 3:57:03 AM2/1/19
to jenkinsc...@googlegroups.com
Carlos Sanchez commented on Improvement JENKINS-55898
 
Re: Surface pod scheduling failures to the user instead of waiting forever

There are some screens in the node executor page but it can't be printed in the build logs because agent provisioning is orthogonal to the build

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:43:35 PM7/16/19
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Unassigned
 
Change By: Jesse Glick
Assignee: Carlos Sanchez
Reply all
Reply to author
Forward
0 new messages