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

[xUnit] [ERROR] - The plugin hasn't been performed correctly: null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      Ubuntu 10.10, Jenkins 1.398, xUnit 1.15
    • Similar Issues:

      Description

      Works perfectly with xUnit 1.14, but after upgrading to 1.15:

      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing PHPUnit-3.4 (default)
      [xUnit] [INFO] - [PHPUnit-3.4 (default)] - 1 test report file(s) were found with the pattern 'build/logs/junit.xml' relative to '/var/lib/jenkins/jobs/MyDemo/workspace' for the testing framework 'PHPUnit-3.4 (default)'.
      [xUnit] [ERROR] - The plugin hasn't been performed correctly: null
      Recording plot data
      Publishing Clover coverage report...
      Publishing Clover XML report...
      Publishing Clover coverage results...
      Finished: FAILURE

        Attachments

          Issue Links

            Activity

            wcomnisky William Comnisky created issue -
            Hide
            gbois Gregory Boissinot added a comment -

            2 options:
            1) Try the previous versions (xUnit 1.14 and gives me the error)
            2) Keep xUnit 1.15 and activate the new log system. Build again and look at the log

            And please could you attach php results files as inputs?
            I'll try with your files.
            Thanks

            Show
            gbois Gregory Boissinot added a comment - 2 options: 1) Try the previous versions (xUnit 1.14 and gives me the error) 2) Keep xUnit 1.15 and activate the new log system. Build again and look at the log And please could you attach php results files as inputs? I'll try with your files. Thanks
            gbois Gregory Boissinot made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            andrewminerd Andrew Minerd added a comment -

            This appears to be related to the "stop processing if error" option. After upgrading to 1.15, I could no longer build. I cycled this option in my project configuration and a subsequent build succeeded.

            Show
            andrewminerd Andrew Minerd added a comment - This appears to be related to the "stop processing if error" option. After upgrading to 1.15, I could no longer build. I cycled this option in my project configuration and a subsequent build succeeded.
            Hide
            eifert eifert added a comment -

            I also have this problem. I think it's MetricsType.stopProcessingIfError. It is null if the project is deserialized from xunit<=1.13. Maybe a readResolve() which initializes it to true could help?

            Show
            eifert eifert added a comment - I also have this problem. I think it's MetricsType.stopProcessingIfError. It is null if the project is deserialized from xunit<=1.13. Maybe a readResolve() which initializes it to true could help?
            Hide
            wcomnisky William Comnisky added a comment -

            Sorry for the delay.

            1) With xUnit 1.14 it works.
            2) How can i activate the new log?

            I will send you the files later. Only PHP class file and unit test class? Or entire workspace?

            Thanks

            Show
            wcomnisky William Comnisky added a comment - Sorry for the delay. 1) With xUnit 1.14 it works. 2) How can i activate the new log? I will send you the files later. Only PHP class file and unit test class? Or entire workspace? Thanks
            Hide
            khushsk Sagar Khushalani added a comment -

            We had the same issue, except with CppUnit.

            Show
            khushsk Sagar Khushalani added a comment - We had the same issue, except with CppUnit.
            Hide
            jhansche Joe Hansche added a comment - - edited

            Same issue here with PHPUnit (3.5.5), xUnit 1.15, and Jenkins 1.398.

            Downgrading to 1.14 worked for us. I did not try keeping 1.15 and modifying the "stopProcessingIfError" option.

            Show
            jhansche Joe Hansche added a comment - - edited Same issue here with PHPUnit (3.5.5), xUnit 1.15, and Jenkins 1.398. Downgrading to 1.14 worked for us. I did not try keeping 1.15 and modifying the "stopProcessingIfError" option.
            Hide
            wcomnisky William Comnisky added a comment -

            It works with xUnit 1.15 and "Stop and set the build to 'failed' status if there are errors when processing a result file" option checked.

            It fails only when this option is disabled.

            Show
            wcomnisky William Comnisky added a comment - It works with xUnit 1.15 and "Stop and set the build to 'failed' status if there are errors when processing a result file" option checked. It fails only when this option is disabled.
            Hide
            gbois Gregory Boissinot added a comment -

            Fixed with xUnit 1.16

            Show
            gbois Gregory Boissinot added a comment - Fixed with xUnit 1.16
            gbois Gregory Boissinot made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            kevincai Kevin Cai added a comment -

            Upgrade to xUnit-1.16, a similar issue occurs:

            [xUnit] [INFO] - Starting to record.
            [xUnit] [INFO] - Processing CppUnit-1.12.1 (default)
            [xUnit] [ERROR] - The plugin hasn't been performed correctly: Unable to serialize hudson.FilePath$FileCallableWrapper@4bf3d45a

            Show
            kevincai Kevin Cai added a comment - Upgrade to xUnit-1.16, a similar issue occurs: [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing CppUnit-1.12.1 (default) [xUnit] [ERROR] - The plugin hasn't been performed correctly: Unable to serialize hudson.FilePath$FileCallableWrapper@4bf3d45a
            kevincai Kevin Cai made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            Hide
            jhansche Joe Hansche added a comment -

            Same error as kevincai, using PHPUnit. Had to revert back to 1.14 again.

            Show
            jhansche Joe Hansche added a comment - Same error as kevincai, using PHPUnit. Had to revert back to 1.14 again.
            gbois Gregory Boissinot made changes -
            Link This issue duplicates JENKINS-8901 [ JENKINS-8901 ]
            Hide
            gbois Gregory Boissinot added a comment -

            Fixed in trunk.
            It will be released as soon as possible

            Show
            gbois Gregory Boissinot added a comment - Fixed in trunk. It will be released as soon as possible
            gbois Gregory Boissinot made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            evernat evernat made changes -
            Link This issue is duplicated by JENKINS-8842 [ JENKINS-8842 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 138987 ] JNJira + In-Review [ 188271 ]

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                wcomnisky William Comnisky
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: