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

ZFS Migration Fail on Solaris b122

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • SunOS 5.11 snv_122 x86
      Java version "1.6.0_15"
      Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
      Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode)

      Run command: java -jar hudson.war

      Steps:
      1. Start Hudson
      2. Browse to host
      3. Click 'Manage Hudson'
      4. Click "Yes" button for ZFS migration on Solaris.
      5. Click "Start Migration" button.

      ZFS Migration fails with "Invocation Target Exception" and "Unsatisfied Link Exception"
      Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'zfs_build_perms': ld.so.1: java: fatal: nspr_use_zone_allocator: can't find symbol

      Console Output:

      [webapp 2009/12/08 11:21:52] - Error while serving http://mahoro:8080/administrativeMonitor/hudson.os.solaris.ZFSInstaller/start
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'zfs_build_perms': ld.so.1: java: fatal: nspr_use_zone_allocator: can't find symbol
      at com.sun.jna.Function.<init>(Function.java:134)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:345)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:325)
      at com.sun.jna.Library$Handler.invoke(Library.java:203)
      at $Proxy12.zfs_build_perms(Unknown Source)
      at org.jvnet.solaris.libzfs.ACLBuilder$PermissionBuilder.toNativeFormat(ACLBuilder.java:120)
      at org.jvnet.solaris.libzfs.ZFSObject.allow(ZFSObject.java:449)
      at hudson.os.solaris.ZFSInstaller$1.call(ZFSInstaller.java:195)
      at hudson.os.solaris.ZFSInstaller$1.call(ZFSInstaller.java:166)
      at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      at hudson.os.SU.execute(SU.java:126)
      at hudson.os.solaris.ZFSInstaller.createZfsFileSystem(ZFSInstaller.java:166)
      at hudson.os.solaris.ZFSInstaller.doStart(ZFSInstaller.java:222)
      ... 35 more

      [Winstone 2009/12/08 11:21:52] - Untrapped Error in Servlet
      javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: Error looking up function 'zfs_build_perms': ld.so.1: java: fatal: nspr_use_zone_allocator: can't find symbol
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:527)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:408)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:117)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'zfs_build_perms': ld.so.1: java: fatal: nspr_use_zone_allocator: can't find symbol
      at com.sun.jna.Function.<init>(Function.java:134)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:345)
      at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:325)
      at com.sun.jna.Library$Handler.invoke(Library.java:203)
      at $Proxy12.zfs_build_perms(Unknown Source)
      at org.jvnet.solaris.libzfs.ACLBuilder$PermissionBuilder.toNativeFormat(ACLBuilder.java:120)
      at org.jvnet.solaris.libzfs.ZFSObject.allow(ZFSObject.java:449)
      at hudson.os.solaris.ZFSInstaller$1.call(ZFSInstaller.java:195)
      at hudson.os.solaris.ZFSInstaller$1.call(ZFSInstaller.java:166)
      at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      at hudson.os.SU.execute(SU.java:126)
      at hudson.os.solaris.ZFSInstaller.createZfsFileSystem(ZFSInstaller.java:166)
      at hudson.os.solaris.ZFSInstaller.doStart(ZFSInstaller.java:222)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:185)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:492)
      ... 25 more

            Unassigned Unassigned
            maehem maehem
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: