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

Gallio/MbUnit 3.2.603 generated report is not being correctly parsed by the Gallio plugin.


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • gallio-plugin, xunit-plugin
    • None
    • Windows Server 2008 R2, Gallio 3.2 build 603, Hudson 1.387, Hudson xUnit plugin 1.12, Hudson Gallio plugin 1.1

      I am unable to generate an XML file acceptable to the xUnit plugin so the report can be utilized in the web UI.

      I currently have Gallio running as a Windows Batch Command with the following:
      "C:\Program Files\Gallio\bin\Gallio.Echo.exe" /np /rnf:gallio.report /rt:Xml-Inline /v:Quiet RoadMap.Tests\bin\Debug\RoadMap.Tests.dll

      I'm not sure if anything has changed in the format of the report since previous versions of Gallio/Mbunit. The gallio.report.xml file does show the unit tests I have created with the status in there, although the post task does not see any of them in the log file.

      Console Output:
      C:\Program Files (x86)\Hudson\node\Emerald\workspace\RoadMap>exit 1
      [TASKS] Scanning workspace files for tasks...
      [WARNINGS] Skipping publisher since build result is FAILURE
      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing Gallio-N/A
      [xUnit] [WARNING] - Can't create the path C:\Program Files (x86)\Hudson\node\Emerald\workspace\RoadMap\generatedJUnitFiles. Maybe the directory already exists.
      [xUnit] [INFO] - [Gallio-N/A] - 1 test report file(s) were found with the pattern 'Reports\gallio.*.xml' relative to 'C:\Program Files (x86)\Hudson\node\Emerald\workspace\RoadMap' for the testing framework 'Gallio-N/A'.
      [xUnit] [INFO] - Converting 'C:\Program Files (x86)\Hudson\node\Emerald\workspace\RoadMap\Reports\gallio.report.xml' .
      [xUnit] [ERROR] - The plugin hasn't been performed correctly: None of the test reports contained any result
      Finished: FAILURE

        1. A2_20110119.xml
          81 kB
        2. ManualTest.xml
          80 kB
        3. S1_20110119.xml
          178 kB

            pmiossec Philippe Miossec
            davidsupuran davidsupuran
            2 Vote for this issue
            2 Start watching this issue