Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51604

XPathExeption when parsing QtTestLib Reports when a Test contains multiple Incidents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
    • Environment:
      Jenkins V2.125
      xUnit plugin V2.0.0
      Windows Server 2008 R2 Standard, SP1
      QtTest 4.8.7
    • Similar Issues:

      Description

      I have an QtTest Report which has multiple incident of type fail within one TestFunction.
      The Exception is
      [xUnit] [ERROR] - Conversion error Error to convert the input XML document
      ERROR: Step ‘Publish xUnit test result report’ aborted due to exception:
      hudson.remoting.ProxyException: net.sf.saxon.trans.XPathException: A sequence of more than one item is not allowed as the first argument of concat()

      When the transformation handle the fail (ln 97) the variable "file" will contain an Array. This is not supported by the concat in ln 109.

      Attatched a Report which cause the error and a modified Transformation which will prevent the error.

        Attachments

          Activity

          br_michael Michael Wietzke created issue -
          nfalco Nikolas Falco made changes -
          Field Original Value New Value
          Comment [ do you habe the original report? ]
          br_michael Michael Wietzke made changes -
          Attachment MyQtTestTestProject.zip [ 42765 ]
          nfalco Nikolas Falco made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          nfalco Nikolas Falco made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          nfalco Nikolas Falco made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              br_michael Michael Wietzke
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: