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

Build Fails on PPC64/Linux with IBM-JDK

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: Other, OS: Linux
    • Similar Issues:

      Description

      Started by user anonymous
      FATAL: hudson.util.jna.GNUCLibrary (initialization failure)
      java.lang.NoClassDefFoundError: hudson.util.jna.GNUCLibrary (initialization failure)
      at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
      at hudson.Util.createSymlink(Util.java:970)
      at hudson.model.Run.run(Run.java:1172)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

      Environment:
      uname -a
      Linux XXX 2.6.18-164.6.1.el5 #1 SMP Tue Oct 27 11:38:31 EDT 2009 ppc64 ppc64
      ppc64 GNU/Linux

      /opt/ibm/java/bin/java -version
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build pxp64dev-20090707 (SR10 ))
      IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux ppc64-64 j9vmxp6423-20090707
      (JIT enabled)
      J9VM - 20090706_38445_BHdSMr
      JIT - 20090623_1334_r8
      GC - 200906_09)
      JCL - 20090705

        Attachments

          Issue Links

            Activity

            Hide
            davidzzzwilliams davidzzzwilliams added a comment -

            observer

            Show
            davidzzzwilliams davidzzzwilliams added a comment - observer
            Hide
            batmat Baptiste Mathus added a comment -

            Adding me as an observer (a pity I'm forced to add a comment for this. Jira
            doesn't need it).
            Sorry for the spam.

            Show
            batmat Baptiste Mathus added a comment - Adding me as an observer (a pity I'm forced to add a comment for this. Jira doesn't need it). Sorry for the spam.
            Hide
            davidzzzwilliams davidzzzwilliams added a comment -

            We saw some unexpected results, as documented in

            https://bugs.eclipse.org/bugs/show_bug.cgi?id=292629

            at the end, in comments 44 - 46.

            First, using build 334, we saw

            FATAL: hudson.util.jna.GNUCLibrary (initialization failure)
            java.lang.NoClassDefFoundError: hudson.util.jna.GNUCLibrary (initialization
            failure)
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
            at hudson.Util.createSymlink(Util.java:970)

            Sounds like that's to be expected, given this bug.

            But, the unexpected part, we then added

            -Dhudson.Util.symlinkEscapeHatch=true

            but got

            FATAL: jnidispatch (/com/sun/jna/linux-ppc/libjnidispatch.so) not found in
            resource path
            java.lang.UnsatisfiedLinkError: jnidispatch
            (/com/sun/jna/linux-ppc/libjnidispatch.so) not found in resource path
            at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:700)
            at com.sun.jna.Native.loadNativeLibrary(Native.java:680)
            at com.sun.jna.Native.<clinit>(Native.java:108)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
            at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:86)
            at java.lang.J9VMInternals.initializeImpl(Native Method)
            at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
            at hudson.Util.createSymlink(Util.java:970)

            This could easily be in our setup or install ... did not investigate.
            Just wanted to document here that the workaround didn't work for us,
            in case that's useful to you.

            Show
            davidzzzwilliams davidzzzwilliams added a comment - We saw some unexpected results, as documented in https://bugs.eclipse.org/bugs/show_bug.cgi?id=292629 at the end, in comments 44 - 46. First, using build 334, we saw FATAL: hudson.util.jna.GNUCLibrary (initialization failure) java.lang.NoClassDefFoundError: hudson.util.jna.GNUCLibrary (initialization failure) at java.lang.J9VMInternals.initialize(J9VMInternals.java:132) at hudson.Util.createSymlink(Util.java:970) Sounds like that's to be expected, given this bug. But, the unexpected part, we then added -Dhudson.Util.symlinkEscapeHatch=true but got FATAL: jnidispatch (/com/sun/jna/linux-ppc/libjnidispatch.so) not found in resource path java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-ppc/libjnidispatch.so) not found in resource path at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:700) at com.sun.jna.Native.loadNativeLibrary(Native.java:680) at com.sun.jna.Native.<clinit>(Native.java:108) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:194) at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:86) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:194) at hudson.Util.createSymlink(Util.java:970) This could easily be in our setup or install ... did not investigate. Just wanted to document here that the workaround didn't work for us, in case that's useful to you.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : kohsuke
            Path:
            trunk/hudson/main/core/src/main/java/hudson/Util.java
            trunk/hudson/main/core/src/main/java/hudson/WebAppMain.java
            trunk/hudson/main/core/src/main/java/hudson/tools/ZipExtractionInstaller.java
            trunk/hudson/main/core/src/main/java/hudson/util/jna/GNUCLibrary.java
            trunk/www/changelog.html
            http://fisheye4.cenqua.com/changelog/hudson/?cs=24103
            Log:
            [FIXED JENKINS-4820] Fallback gracefully if JNA is not available.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/Util.java trunk/hudson/main/core/src/main/java/hudson/WebAppMain.java trunk/hudson/main/core/src/main/java/hudson/tools/ZipExtractionInstaller.java trunk/hudson/main/core/src/main/java/hudson/util/jna/GNUCLibrary.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=24103 Log: [FIXED JENKINS-4820] Fallback gracefully if JNA is not available.
            Hide
            cdaszenies cdaszenies added a comment -

            works on our build-server (Hudson ver. 1.336)
            Thanks a lot!

            Show
            cdaszenies cdaszenies added a comment - works on our build-server (Hudson ver. 1.336) Thanks a lot!

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              cdaszenies cdaszenies
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: