Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18555

ssh process is not killed on git command timeout

    XMLWordPrintable

Details

    Description

      Summary

      When Bamboo kills git command it leaves ssh process untouched. It will remain executed until JVM shutdown

      Details

      Create plan with large repository checkout task. Use SSH key for repository authentication and native git as capability. Set command timeout for 1 minute in repository settings
      Start build
      See process list

      ps axvf
      
      java
        \-git
            \-ssh -o ...
      

      Wait for 1 minute when checkout is timed out and Bamboo interrupts plan
      See process list

      ps axvf
      
      java
        \-ssh -o ...
      

      Workaround

      Manually kill ssh processes which are not children of git process

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              achystoprudov Alexey Chystoprudov
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: