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

Rotation of slave agent launch logs is broken for Windows masters

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Master on Windows (any version), slave on any platform

      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.

          [JENKINS-15408] Rotation of slave agent launch logs is broken for Windows masters

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

          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

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

          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

          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

          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

          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

          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

          Erik Molekamp added a comment -

          The fix was released in version 1.492.

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

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

              Created:
              Updated:
              Resolved: