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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • support-core-plugin
    • None
    • support-core:2.54
      core:2.150.3.2
    • support-core:2.58

      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)
      

          [JENKINS-58393] Support Bundle incomplete due to failure to getTime() on a Node

          Allan BURDAJEWICZ created issue -

          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.

          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.
          Allan BURDAJEWICZ made changes -
          Assignee Original: Emilio Escobar [ escoem ] New: Allan BURDAJEWICZ [ allan_burdajewicz ]
          Allan BURDAJEWICZ made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Allan BURDAJEWICZ made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Allan BURDAJEWICZ made changes -
          Released As New: support-core:2.58
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Arnaud Héritier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: