Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-376

YADE ignores the parameters force_files=false or error_on_no_data_found=false

    XMLWordPrintable

Details

    Description

      As of Now Situation

      • YADE starts the operation copyfrominternet via a jump_host
      • For operation copyfrominternet the parameters force_files=false or error_on_no_data_found=false is set.
      • When YADE do not file any file matching with file_spec regex, JADE throws an error
        main INFO  09:25:06,212   (SOSVfsSFtpJCraft.java:923) ::connect SOSVfs-D-0101: Try to connect to host 'japan.sos-berlin.com' at Port '22'.
        main INFO  09:25:06,987   (SOSVfsSFtpJCraft.java:889) ::doAuthenticate SOSVfs_D_133: user 'tokyo' logged in.
        main INFO  09:25:07,011   (SOSDataExchangeEngine.java:391) ::showResult
        *************************************************************************
         execution status     = failure. Errors reported.
         successful transfers = 0
         skipped transfers    = 0
         failed transfers     = 0
         last error           = SOSJADE_E_0098: No files found from the list in '/tmp/jade-dmz-58af30a5-8842-44fe-a2d5-2aab454af1c9.source.tmp'
        
        *************************************************************************
        
        main ERROR 09:25:07,012   (SOSDataExchangeEngineMain.java:81) ::Execute Execute: Error occurred ...: SOSJADE_E_0098: No files found from the list in '/tmp/jade-dmz-58af30a5-8842-44fe-a2d5-2aab454af1c9
        .source.tmp', exit-code 99 raised
        main INFO  09:25:07,017   (SOSVfsTransferBaseClass.java:1159) ::logINFO (SOSVfsSFtpJCraft::disconnect) disconnect OK
        
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        +                         END  : JADE.SH                          +
        +                         --------------                          +
        + DATE     : Thu Oct 15 09:25:07 UTC 2015                         +
        + HOSTNAME : uk.sos-berlin.com                                    +
        + USER     : london                                               +
        + CALL     : /home/london/sos-berlin.com/jade_client/jade_releases/jade_client.1.9.5/bin/jade.sh -SendTransferHistory=false -File_List_Name=/tmp/jade-dmz-58af30a5-8842-44fe-a2d5-2aab454af1c9.source.tm
        p -operation=delete -source_host=japan.sos-berlin.com -source_port=22 -source_protocol=sftp -source_user=tokyo -source_password=*** -source_ssh_auth_method=password +
        

      How to Reproduce

      • Execute attached(please see comments) YADE CLI profile or YADE JITL job with JobScheduler/YADE release 1.9.6

      Expected behavior

      • YADE should not throw an error when force_files=false or error_on_no_data_found=false and no file is found on source_dir matching with file_spec regex

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              mp Mahendra Patidar
              Mahendra Patidar Mahendra Patidar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: