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

Improve reporting of assert failures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: 6.2.0
    • Fix Version/s: 6.4.0
    • Component/s: JLib
    • Labels:

      Description

      Internal errors coming from assertex or throwUnexpected() failures in the code end up reported with a filename looking like:

      /var/lib/jenkins/workspace/LN-Candidate-withplugins-5.4.6-1/LN/centos-6.4-x86_64/HPCC-Platform/ecl/hqlcpp/hqlcpp.cpp(2899)

      The information we really need there is at the end of the line, but we don't always get to see that as people report it as a "Jenkins error" and conclude that it's the same as every other Jenkins error ever reported.

      A bit of sanitizing of the filename before reporting could be helpful in ensuring that unrelated errors are not conflated by users.

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: