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

Timeout with activity: true and activity timed out

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.176.2
      Basic Steps 2.18
      Job running on a Windows Slave connected with JNLP4
    • Similar Issues:

      Description

      My pipeline has the following options:

        options {
          buildDiscarder(logRotator(numToKeepStr: '3'))
          disableResume()
          timeout(activity: true, time: 10, unit: 'MINUTES')
        }
      

      However, there is sometimes a timeout, although every few seconds the log is extended. In the case the log says:

      Timeout set to expire after 10 min without activity
      ...
      Cancelling nested steps due to timeout
      Sending interrupt signal to process
      ...
      Timeout has been exceeded

      The timeout occurs always in the Test Stage, during a nightwatch test. The position seems not deterministic. I have 4 nightwatch tests in this stage and I got timeouts at the beginning and also at the end of this stage.

      Sometimes the pipeline works as it should and after about 16 minutes the build is completed successfully.
      I also changed the timeout time (e.g. 2,3,5,15 minutes) and got similar results.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              mikorn Michael Korn
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: