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

Support Bundle incomplete due to failure to getTime() on a Node

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: support-core-plugin
    • Labels:
      None
    • Environment:
      support-core:2.54
      core:2.150.3.2
    • Similar Issues:
    • Released As:
      support-core:2.58

      Description

      Recently noticed a generated support bundle that was missing some contents about nodes and even the manifest.md. The Jenkins logs shows the following error:

      2019-07-02 17:06:31.129+0000 [id=847267]	WARNING	c.c.j.s.SupportPlugin$PeriodicWorkImpl#lambda$doRun$0: Could not save support bundle
      Command Close created at
      	at hudson.remoting.Command.<init>(Command.java:68)
      	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1265)
      	at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:1263)
      	at hudson.remoting.Channel.close(Channel.java:1436)
      	at hudson.remoting.Channel.close(Channel.java:1403)
      	at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1270)
      Caused: hudson.remoting.Channel$OrderlyShutdown
      	at hudson.remoting.Channel$CloseCommand.execute(Channel.java:1271)
      	at hudson.remoting.Channel$1.handle(Channel.java:565)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:85)
      Caused: hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on my-node failed. The channel is closing down or has closed down
      	at hudson.remoting.Channel.call(Channel.java:948)
      	at hudson.FilePath.act(FilePath.java:1072)
      	at hudson.FilePath.act(FilePath.java:1061)
      	at hudson.FilePath.lastModified(FilePath.java:1599)
      	at com.cloudbees.jenkins.support.api.FilePathContent.getTime(FilePathContent.java:85)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:301)
      	at com.cloudbees.jenkins.support.SupportPlugin.writeBundle(SupportPlugin.java:276)
      	at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl.lambda$doRun$0(SupportPlugin.java:764)
      	at com.cloudbees.jenkins.support.SupportPlugin$PeriodicWorkImpl.dt_access$313(SupportPlugin.java)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

          Hide
          allan_burdajewicz Allan BURDAJEWICZ added a comment -

          The exception thrown by getTime() should be caught otherwise it would prevent other contents from being added. This error also does not get recorded although it should.

          Show
          allan_burdajewicz Allan BURDAJEWICZ added a comment - The exception thrown by getTime() should be caught otherwise it would prevent other contents from being added. This error also does not get recorded although it should.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: