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

Parsing output of CppUnit 1.12.1 failed with "Invalid content was found starting with element 'Statistics'. One of '{"":SuccessfulTests}' is expected."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • cppunit-plugin
    • None
    • CppUnit 1.12.1
      Hudson 1.374
      CppUnit plugin 1.8
      xUnit plugin 1.8

      Parsing CppUnit result file fails when using plugin version 1.8. It works fine with plugin version 1.0.

      [xUnit] [WARNING] - The file '/project/atsebatch/sacmci/bto/hudson/blue/prod/workspace/schedule_availability/test-results/ARIExcludeIncludeCarriersTestResults.xml' is an invalid file.
      [xUnit] [WARNING] - At line 14 of file:///project/atsebatch/sacmci/bto/hudson/blue/prod/workspace/schedule_availability/test-results/ARIExcludeIncludeCarriersTestResults.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'Statistics'. One of '

      {"":SuccessfulTests}

      ' is expected.
      [xUnit] [WARNING] - The result file '/project/atsebatch/sacmci/bto/hudson/blue/prod/workspace/schedule_availability/test-results/ARIExcludeIncludeCarriersTestResults.xml' for the metric 'CppUnit-1.x' is not valid. The result file has been skipped.

            gbois Gregory Boissinot
            btosabre btosabre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: