Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61387

SlaveComputer not cleaned up after the channel is closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • kubernetes-plugin
    • None

      Steps to reproduce:

      1. Create a Pipeline with the fellow script
        pipeline{
            
            agent {
                label "test-pod"
            }
            
            stages {
                stage("Sleep") {
                    steps {
                        sh "sleep 1000"
                    }
                }    
            }
        }
        
      1. Run the Pipeline and waiting for agent pod to start
      2. Reboot the node which the agent pod has been assigned to

      Result:

      SlaveComputer is marked as offline and never get deleted even after we delete the pod. Build will also not failed and run forever.

      Expected Result:

      SlaveComputer is deleted and the build is failed.

       

            Unassigned Unassigned
            cizezsy Shenyu Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: