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

Sauce connect process not stopping as part of Jenkins pipeline

XMLWordPrintable

      Hi
      We have Jenkins setup with no slaves and configured a job with using Jenkins pipeline but after protractor test case execution ends, sauce connect process is not stopping and it just simply hangs at that step
      We have to manually stop the job to close the process -

      eport created successfully!
      Aborted by anonymous
      Sending interrupt signal to process
      sh: line 1: 16950 Terminated JENKINS_SERVER_COOKIE=$jsc '/var/lib/jenkins/jobs/OAO_SauceLabs/workspace@tmp/durable-d1230cf0/script.sh' > '/var/lib/jenkins/jobs/OAO_SauceLabs/workspace@tmp/durable-d1230cf0/jenkins-log.txt' 2>&1
      Aborted by anonymous
      Aborted by anonymous
      Aborted by anonymous
      Aborted by anonymous
      Aborted by anonymous
      Click here to forcibly terminate running steps
      Click here to forcibly terminate running steps
      Click here to forcibly terminate running steps
      Click here to forcibly terminate running steps
      Click here to forcibly terminate running steps
      Click here to forcibly terminate running steps
      [Pipeline] }
      Decremented process count for NSB_team, now 0
      Flushing Sauce Connect Input Stream
      Flushing Sauce Connect Error Stream
      Closing Sauce Connect process
      Sauce Connect stopped for: NSB_team
      [Pipeline] // sauceconnect
      [Pipeline] }
      [Pipeline] // sauce
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline

      Below is version information -
      Jenkins 1.651.3
      Sauce OnDemand plugin 1.158
      Pipeline: Groovy 2.4

            halkeye Gavin Mogan
            mittal_ashu11 Ashutosh Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: