SlaveComputer not cleaned up after the channel is closed

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

       

            Assignee:
            Unassigned
            Reporter:
            Shenyu Zheng
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: