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

TmpCleaner plugin fails with java.lang.NoClassDefFoundError: Could not initialize class org.jruby.ext.posix.Linux64HeapFileStat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • tmpcleaner-plugin
    • None
    • Jenkins 2.190.3
      TmpCleaner plugin 1.3
      Linux x64 (CentOS 7.6)

      At Jenkins slaves there are lots of exceptions such as

      Feb 13, 2020 10:06:15 AM hudson.plugins.tmpcleaner.TmpCleanTask delete
      INFO: Deletion failed: /tmp/tmpclean8686648300166673561.tmp
      Feb 13, 2020 10:06:15 AM hudson.remoting.UserRequest perform
      WARNING: LinkageError while performing UserRequest:hudson.plugins.tmpcleaner.TmpCleanTask@3ddab2ff
      java.lang.NoClassDefFoundError: Could not initialize class org.jruby.ext.posix.Linux64HeapFileStat
              at org.jruby.ext.posix.LinuxPOSIX.allocateStat(LinuxPOSIX.java:44)
              at org.jruby.ext.posix.LinuxPOSIX.lstat(LinuxPOSIX.java:72)
              at hudson.plugins.tmpcleaner.TmpCleanTask.visit(TmpCleanTask.java:99)
              at hudson.plugins.tmpcleaner.TmpCleanTask.call(TmpCleanTask.java:50)
              at hudson.plugins.tmpcleaner.TmpCleanTask.call(TmpCleanTask.java:24)
              at hudson.remoting.UserRequest.perform(UserRequest.java:212)
              at hudson.remoting.UserRequest.perform(UserRequest.java:54)
              at hudson.remoting.Request$2.run(Request.java:369)
              at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

      coming from the TmpCleaner plugin. The problem seems to be similar to JENKINS-58211 affecting the ArtifactDeployer plugin.

            Unassigned Unassigned
            mag Petr H
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: