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

jUnit output of pytest/Selenium test fail to parse

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: