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

Improve Regression Test Engine error handling

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Regression Test Engine
    • Labels:
      None
    • Environment:
      OBT, Smoketest

      Description

      Add more informative error message when when exception occurred.
      Current error message:

      Error:
            2. Test: schedule2.ecl
          --- schedule2.xml
          +++ schedule2.xml
          @@ -1,6 +1,4 @@
          -<Dataset name='MyLogging'>
          - <Row><id>60</id></Row>
          - <Row><id>59</id></Row>
          - <Row><id>60</id></Row>
          - <Row><id>59</id></Row>
          -</Dataset>
          +Error (1001): Command return code non-zero. 
          + retCode: 4
          +'W20170607-104306 failed
          +'
      

      Improved (add more information from ecl command stdout and stderr streams):

      Error:
            1. Test: schedule2.ecl
          Error (1001): Command return code non-zero. 
           retCode: 4
          'W20170607-113602 failed
          
          Deploying ECL Archive /home/ati/HPCCSystems-regression/archives/archive_schedule2.xml
          
          Deployed
             wuid: W20170607-113602
             state: compiled
          
          Running deployed workunit W20170607-113602
          <Exception><Source>Roxie</Source><Message>IPropertyTree: Ambiguous xpath used
          getProp: ambiguous xpath &quot;Statistic[@creator=&apos;myroxie@192.168.1.56&apos;][@scope=&apos;&apos;][@kind=&apos;TimeElapsed&apos;]&quot;</Message></Exception>
      

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: