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

Anonymization of the nodes file-descriptor.txt does not work

XMLWordPrintable

    • support-core:1289.v0b_5eec42e328

      (noticed as part of https://github.com/jenkinsci/support-core-plugin/pull/473)

      FileDescriptorLimit.GetUlimit.filter is not serializable and that causes the file-descriptor.txt to not show the FD when collected from remote nodes. Showing an exception instead:

      java.io.NotSerializableException: com.cloudbees.jenkins.support.filter.AllContentFilters
              at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
              at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1543)
              at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1500)
              at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
              at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
              at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
              at hudson.remoting.UserRequest._serialize(UserRequest.java:263)
              at hudson.remoting.UserRequest.serialize(UserRequest.java:272)
      Caused: java.io.IOException: Unable to serialize com.cloudbees.jenkins.support.impl.FileDescriptorLimit$GetUlimit@5f9a685c
              at hudson.remoting.UserRequest.serialize(UserRequest.java:274)
              at hudson.remoting.UserRequest.<init>(UserRequest.java:101)
              at hudson.remoting.Channel.callAsync(Channel.java:1029)
              at com.cloudbees.jenkins.support.util.CallAsyncWrapper$1.call(CallAsyncWrapper.java:20)
              at com.cloudbees.jenkins.support.util.CallAsyncWrapper$1.call(CallAsyncWrapper.java:17)
              at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:48)
              at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:82)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      Caused: java.util.concurrent.ExecutionException
              at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
              at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
              at com.cloudbees.jenkins.support.util.CallAsyncWrapper.callAsync(CallAsyncWrapper.java:24)
      Caused: java.io.IOException
              at com.cloudbees.jenkins.support.util.CallAsyncWrapper.callAsync(CallAsyncWrapper.java:26)
              at com.cloudbees.jenkins.support.AsyncResultCache.get(AsyncResultCache.java:59)
              at com.cloudbees.jenkins.support.AsyncResultCache.get(AsyncResultCache.java:33)
              at com.cloudbees.jenkins.support.impl.FileDescriptorLimit$1.printTo(FileDescriptorLimit.java:97)
              at com.cloudbees.jenkins.support.api.PrefilteredPrintedContent.writeTo(PrefilteredPrintedContent.java:63)
              at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:416)
              at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:353)
      [...]
      

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: