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

Node startup log should contain a timestamp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: windows-slaves-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.580.1 LTS on Fedora, Windows Slave
    • Similar Issues:

      Description

      When starting a windows slave with difficulties, debugging would be easier if there were timestamps on the log output from "manage jenkins">node>log. Otherwise it is hard to tell that anything new has happened when pressing "launch slave agent" when slave agent troubles (like the DCOM issue) are encountered.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          SSH Slaves log date/time for most relevant messages, so this seems specific to the slave launcher.

          Show
          danielbeck Daniel Beck added a comment - SSH Slaves log date/time for most relevant messages, so this seems specific to the slave launcher.
          Show
          vlatombe Vincent Latombe added a comment - Submitted https://github.com/jenkinsci/windows-slaves-plugin/pull/4
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java
          src/main/resources/hudson/os/windows/Messages.properties
          src/main/resources/hudson/os/windows/Messages_da.properties
          src/main/resources/hudson/os/windows/Messages_de.properties
          src/main/resources/hudson/os/windows/Messages_es.properties
          src/main/resources/hudson/os/windows/Messages_fr.properties
          src/main/resources/hudson/os/windows/Messages_ja.properties
          src/main/resources/hudson/os/windows/Messages_pt_BR.properties
          src/main/resources/hudson/os/windows/Messages_zh_TW.properties
          http://jenkins-ci.org/commit/windows-slaves-plugin/82a3a3812e877a93482d157e5f2aaa2443100ed0
          Log:
          [FIXED JENKINS-25845] Display timestamp in node startup log

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java src/main/resources/hudson/os/windows/Messages.properties src/main/resources/hudson/os/windows/Messages_da.properties src/main/resources/hudson/os/windows/Messages_de.properties src/main/resources/hudson/os/windows/Messages_es.properties src/main/resources/hudson/os/windows/Messages_fr.properties src/main/resources/hudson/os/windows/Messages_ja.properties src/main/resources/hudson/os/windows/Messages_pt_BR.properties src/main/resources/hudson/os/windows/Messages_zh_TW.properties http://jenkins-ci.org/commit/windows-slaves-plugin/82a3a3812e877a93482d157e5f2aaa2443100ed0 Log: [FIXED JENKINS-25845] Display timestamp in node startup log
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java
          http://jenkins-ci.org/commit/windows-slaves-plugin/b38640333975c235910006ab777054a1efb511fe
          Log:
          JENKINS-25845 Use ISO 8601 date format

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java http://jenkins-ci.org/commit/windows-slaves-plugin/b38640333975c235910006ab777054a1efb511fe Log: JENKINS-25845 Use ISO 8601 date format
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vincent Latombe
          Path:
          src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java
          src/main/resources/hudson/os/windows/Messages.properties
          src/main/resources/hudson/os/windows/Messages_da.properties
          src/main/resources/hudson/os/windows/Messages_de.properties
          src/main/resources/hudson/os/windows/Messages_es.properties
          src/main/resources/hudson/os/windows/Messages_fr.properties
          src/main/resources/hudson/os/windows/Messages_ja.properties
          src/main/resources/hudson/os/windows/Messages_pt_BR.properties
          src/main/resources/hudson/os/windows/Messages_zh_TW.properties
          http://jenkins-ci.org/commit/windows-slaves-plugin/f6cef6ae817f205e8e4d33b6925324b290c32d04
          Log:
          Merge pull request #4 from Vlatombe/JENKINS-25845

          [FIXED JENKINS-25845] Display timestamp in node startup log

          Compare: https://github.com/jenkinsci/windows-slaves-plugin/compare/ac1e7cd56ec7...f6cef6ae817f

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vincent Latombe Path: src/main/java/hudson/os/windows/ManagedWindowsServiceLauncher.java src/main/resources/hudson/os/windows/Messages.properties src/main/resources/hudson/os/windows/Messages_da.properties src/main/resources/hudson/os/windows/Messages_de.properties src/main/resources/hudson/os/windows/Messages_es.properties src/main/resources/hudson/os/windows/Messages_fr.properties src/main/resources/hudson/os/windows/Messages_ja.properties src/main/resources/hudson/os/windows/Messages_pt_BR.properties src/main/resources/hudson/os/windows/Messages_zh_TW.properties http://jenkins-ci.org/commit/windows-slaves-plugin/f6cef6ae817f205e8e4d33b6925324b290c32d04 Log: Merge pull request #4 from Vlatombe/ JENKINS-25845 [FIXED JENKINS-25845] Display timestamp in node startup log Compare: https://github.com/jenkinsci/windows-slaves-plugin/compare/ac1e7cd56ec7...f6cef6ae817f
          Hide
          jeubank Josiah Eubank added a comment -

          Is this specific to a plugin or for all Nodes?

          Using vsphere plugin to reboot/revert nodes and the node logs do not have timestamps.  Attempting to determine if this ticket has regressed or it does not apply to the current lack of timestamps.

          Show
          jeubank Josiah Eubank added a comment - Is this specific to a plugin or for all Nodes? Using vsphere plugin to reboot/revert nodes and the node logs do not have timestamps.  Attempting to determine if this ticket has regressed or it does not apply to the current lack of timestamps.

            People

            • Assignee:
              Unassigned
              Reporter:
              dannystaple Danny Staple
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: