Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-598

SSH Job fails with a java.io.IOException: Pipe closed

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.13.3
    • 1.13.4

    Description

      Current Situation

      When the SSH Job uses a command_script parameter or adds a script in the script part of the Job configuration a temporary script file is created on the remote side. After the script file has run, the temporary script file should be deleted. The SSH Job still tries to delete the file via SFTP.

      Because of issues JITL-558 and JITL-572 no SFTP channel will be opened by default, which results in an exception caused by "java.io.IOException: Pipe closed". The temporary files are not deleted.

       

      Desired Behavior

      The SSH Job should cleanup temporary script files on the remote side without using SFTP.

       

      Maintainer Note

      A patch is provided for JobScheduler 1.13.3:

      • For JobScheduler Master download the patch from the link below and copy the jar file to [SCHEDULER_HOME]/lib/patches directory.
      • If the SSH Job runs on a JobScheduler Agent then copy the patch to the [SCHEDULER_HOME]/lib/patches folder of the Agent.

       

      Attachments

        Issue Links

          Activity

            People

              sp Santiago Aucejo Petzoldt
              sp Santiago Aucejo Petzoldt
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: