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

JNA version needs upgrade to avoid conflicts in /tmp/jna when building

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • coverity-plugin
    • None

      When building the coverity-plugin on a machine where someone else has already built it, the tests fail to run with:

      java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied

      This is because a /tmp/jna directory is created owned by the first user that did the build. Apparently, a new version of JNA fixes this and creates /tmp/jna-${user} instead, so "something" needs to be changed to update that.

      http://issues.tmatesoft.com/issue/SGT-475 talks about a similar issue.

          [JENKINS-18933] JNA version needs upgrade to avoid conflicts in /tmp/jna when building

          Eric Hawicz created issue -
          Eric Hawicz made changes -
          Summary Original: JNA version needs upgrade to avoid conflicts in /tmp when building New: JNA version needs upgrade to avoid conflicts in /tmp/jna when building
          Craig Rodrigues made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Craig Rodrigues made changes -
          Link New: This issue is related to JENKINS-24521 [ JENKINS-24521 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 150380 ] New: JNJira + In-Review [ 193500 ]
          Shami Willms made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            kohsuke Kohsuke Kawaguchi
            erh Eric Hawicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: