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

jUnit output of pytest/Selenium test fail to parse

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • xunit-plugin
    • None
    • Jenkins 2.127
      xUnit plugin 2.0.2

      Job log show a lot of error lines like:

      WARNING: The file '/var/lib/jenkins/workspace/bob-develop/selenium.xml' is an invalid file.
       WARNING: At line 1 of file:/var/lib/jenkins/workspace/bob-develop/selenium.xml:cvc-complex-type.3.2.2: Attribute 'skips' is not allowed to appear in element 'testsuite'.
       WARNING: At line 1 of file:/var/lib/jenkins/workspace/bob-develop/selenium.xml:cvc-complex-type.3.2.2: Attribute 'file' is not allowed to appear in element 'testcase'.
       WARNING: At line 1 of file:/var/lib/jenkins/workspace/bob-develop/selenium.xml:cvc-complex-type.3.2.2: Attribute 'line' is not allowed to appear in element 'testcase'.
       WARNING: At line 156 of file:/var/lib/jenkins/workspace/bob-develop/selenium.xml:cvc-complex-type.3.2.2: Attribute 'file' is not allowed to appear in element 'testcase'.

      I can supply a full XML file if wanted.

            nfalco Nikolas Falco
            larsskj Lars Skjærlund
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: