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

Automatically dump agent logs to the disk

    Details

    • Type: New Feature
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: remoting
    • Labels:
      None
    • Similar Issues:

      Description

      In Jenkins common SSH and JNLP slaves do not dump logs to the disk by default. It complicates the analysis of connectivity issues.

      Requirements:

      • After specifying an option, remoting starts forwarding its logs to the disk
      • Logs are being put to a special directory, which may potentially contain additional files
      • By default Jenkins should not enable this directory since there are many potential compatibility issues (alternative - create it in the .jenkins directory with a kind of unique ID for the remoting instance)
      • Nice2Have: These logs can be rotated easily using internal settings or external mechanisms

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Epic Link JENKINS-38833 [ 175240 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is blocked by JENKINS-39370 [ JENKINS-39370 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            oleg_nenashev Oleg Nenashev made changes -
            Assignee Oleg Nenashev [ oleg_nenashev ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-39817 [ JENKINS-39817 ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "remoting/pull/129 (Web Link)" [ 15092 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-38520 [ JENKINS-38520 ]
            oleg_nenashev Oleg Nenashev made changes -
            Summary Automatically dump agent STDERR and STDOUT to the disk Automatically dump agent logs to the disk
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-517 [ JENKINS-517 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: