Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-14304

dfuplus should supply a return code reflecting errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Scheduled
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.4
    • Fix Version/s: None
    • Component/s: DFS, ecl command
    • Labels:
      None
    • Environment:
      Linux
    • Compatibility:
      Minor

      Description

      dfuplus return code seems to be zero whether there is an error in the command or not (see below). Documentation should describe return codes for each command.

      [svc-seceng@security:node010241041012 20150922165630_000000000_858]$ dfuplus action=despray username=******* password=******* srcname=~searchresults::20150922165630_000000000_858_auth_failed server=https://**.**.**.**:18010 overwrite=1 jobname=
      "Dat a::Access::run_query ds 20150922165630_000000000_858
      " dstip=*...* dstfile=/var/lib/HPCCSystems/dropzone/requests/20150922165630_000000000_858/20150922165630_000000000_858_auth_failed

      Despraying ~searchresults::20150922165630_000000000_858_auth_failed to host *...* file /var/lib/HPCCSystems/dropzone/requests/20150922165630_000000000_858/20150922165630_000000000_858_auth_failed
      Checking for local Dali File Server
      Submitted WUID D20150928-155424
      0% Done
      D20150928-155424 Finished
      Total time taken 0 secs
      ✔ complete at 15:54:34
      [svc-seceng@security:node010241041012 20150922165630_000000000_858]$ dfuplus -v
      DFU Version: 7 internal_5.2.4-1
      ✔ complete at 16:00:13

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              kovacsbv Vic Kovacs
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: