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

Rotation of slave agent launch logs is broken for Windows masters

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Environment:
      Master on Windows (any version), slave on any platform
    • Similar Issues:

      Description

      When a slave node is launched, Jenkins logs this in a file called "slave-nodeName.log". For each new launch (or launch attempt) after being disconnected, this log file is rotated. Ten rotated log files (log.1 to log.10) are kept. Once all of these are present, each new launch (attempt) will overwrite the log of the directly preceding attempt. No more rotation takes place; the files .1 to .10 remain as they were.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Erik Molekamp
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/ebd791a02ee6e53cf0238121d9e500b7ca3da6c5
          Log:
          [FIXED JENKINS-15408] updated changelog

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Erik Molekamp Path: changelog.html http://jenkins-ci.org/commit/jenkins/ebd791a02ee6e53cf0238121d9e500b7ca3da6c5 Log: [FIXED JENKINS-15408] updated changelog
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Erik Molekamp
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/890001ba9522f2eb94c152597f4cd20122d535b1
          Log:
          [FIXED JENKINS-15408] updated changelog

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Erik Molekamp Path: changelog.html http://jenkins-ci.org/commit/jenkins/890001ba9522f2eb94c152597f4cd20122d535b1 Log: [FIXED JENKINS-15408] updated changelog
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Erik Molekamp
          Path:
          changelog.html
          core/src/main/java/hudson/util/io/ReopenableRotatingFileOutputStream.java
          http://jenkins-ci.org/commit/jenkins/e6553330d678d1bc43961e165753783cbee5d784
          Log:
          Merge pull request #582 from molekamp/ReopenableRotatingFileOutputStream-windows

          fixed JENKINS-15408: Rotation of slave launch logs on Windows

          Compare: https://github.com/jenkinsci/jenkins/compare/ec0b59d2306a...e6553330d678

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Erik Molekamp Path: changelog.html core/src/main/java/hudson/util/io/ReopenableRotatingFileOutputStream.java http://jenkins-ci.org/commit/jenkins/e6553330d678d1bc43961e165753783cbee5d784 Log: Merge pull request #582 from molekamp/ReopenableRotatingFileOutputStream-windows fixed JENKINS-15408 : Rotation of slave launch logs on Windows Compare: https://github.com/jenkinsci/jenkins/compare/ec0b59d2306a...e6553330d678
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #2081
          [FIXED JENKINS-15408] updated changelog (Revision ebd791a02ee6e53cf0238121d9e500b7ca3da6c5)
          [FIXED JENKINS-15408] updated changelog (Revision 890001ba9522f2eb94c152597f4cd20122d535b1)

          Result = UNSTABLE
          erik.molekamp : ebd791a02ee6e53cf0238121d9e500b7ca3da6c5
          Files :

          • changelog.html

          erik.molekamp : 890001ba9522f2eb94c152597f4cd20122d535b1
          Files :

          • changelog.html
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2081 [FIXED JENKINS-15408] updated changelog (Revision ebd791a02ee6e53cf0238121d9e500b7ca3da6c5) [FIXED JENKINS-15408] updated changelog (Revision 890001ba9522f2eb94c152597f4cd20122d535b1) Result = UNSTABLE erik.molekamp : ebd791a02ee6e53cf0238121d9e500b7ca3da6c5 Files : changelog.html erik.molekamp : 890001ba9522f2eb94c152597f4cd20122d535b1 Files : changelog.html
          Hide
          erik_molekamp Erik Molekamp added a comment -

          The fix was released in version 1.492.

          Show
          erik_molekamp Erik Molekamp added a comment - The fix was released in version 1.492.

            People

            • Assignee:
              erik_molekamp Erik Molekamp
              Reporter:
              erik_molekamp Erik Molekamp
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: