Builds cannot start after upgrading

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical
    • Component/s: kubernetes-plugin
    • None
    • Environment:
      Jenkins: 2.189
      Kubernetes Plugin: 1.18.1

      After upgrading to the latest Kubernetes plugin we have started receiving this exception and no jobs can be built: 

       

      sh: cd: line 1: can't cd to /home/jenkins/workspace/abcd_master: No such file or directory
      sh: can't create /home/jenkins/workspace/abcd_master@tmp/durable-9ae82b18/jenkins-log.txt: nonexistent directory
      sh: can't create /home/jenkins/workspace/abcd_master@tmp/durable-9ae82b18/jenkins-result.txt.tmp: nonexistent directory
      mv: cannot stat '/home/jenkins/workspace/abcd_master@tmp/durable-9ae82b18/jenkins-result.txt.tmp': No such file or directory
      process apparently never started in /home/jenkins/workspace/abcd_master@tmp/durable-9ae82b18
      script returned exit code -2
      

      An agent is being allocated, the job is running on it, but for some unknown reason it can't execute anything. Nothing has changed in our docker images so this is not a permission issue (and we have enough space on the nodes so it's not that as well)

      Downgrading back to 1.17.3 fixes the issue and everything works just fine.

       

       

            Assignee:
            Carlos Sanchez
            Reporter:
            Steve Todorov
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: