xUnit v1.52 fails with ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: xunit-plugin
    • Environment:
      master at Linux; slave vs90 at Windows 7 32bits

      (seems similar to Jenkins bug #11858)

      Archiving artifacts
      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing CppUnit-1.12.1 (default)
      [xUnit] [INFO] - [CppUnit-1.12.1 (default)] - 80 test report file(s) were found with the pattern '*/stage/test_results/.xml' relative to 'e:\h\workspace\MXF_SDK\LICENSE\MOG_PAY_VERSION\label\vs90' for the testing framework 'CppUnit-1.12.1 (default)'.
      ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
      java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32
      at hudson.util.jna.InitializationErrorInvocationHandler.invoke(InitializationErrorInvocationHandler.java:28)
      at $Proxy17.GetFileAttributesW(Unknown Source)
      at hudson.util.jna.Kernel32Utils.getWin32FileAttributes(Kernel32Utils.java:76)
      at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:80)
      at hudson.Util.isSymlink(Util.java:322)
      at hudson.Util.deleteRecursive(Util.java:283)
      at hudson.FilePath$11.invoke(FilePath.java:1000)
      at hudson.FilePath$11.invoke(FilePath.java:997)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at hudson.remoting.Engine$1$1.run(Engine.java:58)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Library$Handler
      at com.sun.jna.Native.loadLibrary(Native.java:366)
      at com.sun.jna.Native.loadLibrary(Native.java:351)
      at hudson.util.jna.Kernel32Utils.load(Kernel32Utils.java:85)
      at hudson.util.jna.Kernel32.<clinit>(Kernel32.java:37)
      ... 17 more
      Checking console output
      Finished: FAILURE

            Assignee:
            Gregory Boissinot
            Reporter:
            pedro reis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: