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

Azure VM plugin log is too chatty

    Details

    • Similar Issues:
    • Released As:
      0.8.0

      Description

       

       

      jenkins | May 13, 2018 11:24:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:24:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 25 ms
      jenkins | May 13, 2018 11:25:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:25:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 32 ms
      jenkins | May 13, 2018 11:26:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:26:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 22 ms
      jenkins | May 13, 2018 11:26:58 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Agents Clean Task
      jenkins | May 13, 2018 11:26:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: start
      jenkins | May 13, 2018 11:26:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: Running clean with 5 minute timeout
      jenkins | May 13, 2018 11:26:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask cleanDeployments
      jenkins | INFO: AzureVMAgentCleanUpTask: cleanDeployments: Cleaning deployments
      jenkins | May 13, 2018 11:26:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask cleanDeployments
      jenkins | INFO: AzureVMAgentCleanUpTask: cleanDeployments: Done cleaning deployments
      jenkins | May 13, 2018 11:26:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: end
      jenkins | May 13, 2018 11:26:58 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Agents Clean Task. 63 ms
      jenkins | May 13, 2018 11:27:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:27:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 24 ms
      jenkins | May 13, 2018 11:28:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:28:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 17 ms
      jenkins | May 13, 2018 11:29:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:29:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 25 ms
      jenkins | May 13, 2018 11:30:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:30:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 37 ms
      jenkins | May 13, 2018 11:31:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:31:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 11 ms
      jenkins | May 13, 2018 11:31:58 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Agents Clean Task
      jenkins | May 13, 2018 11:31:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: start
      jenkins | May 13, 2018 11:31:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: Running clean with 5 minute timeout
      jenkins | May 13, 2018 11:31:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask cleanDeployments
      jenkins | INFO: AzureVMAgentCleanUpTask: cleanDeployments: Cleaning deployments
      jenkins | May 13, 2018 11:31:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask cleanDeployments
      jenkins | INFO: AzureVMAgentCleanUpTask: cleanDeployments: Done cleaning deployments
      jenkins | May 13, 2018 11:31:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: end
      jenkins | May 13, 2018 11:31:58 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Agents Clean Task. 74 ms
      jenkins | May 13, 2018 11:32:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:32:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 37 ms
      jenkins | May 13, 2018 11:33:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:33:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 23 ms
      jenkins | May 13, 2018 11:34:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:34:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 26 ms
      jenkins | May 13, 2018 11:35:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:35:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 11 ms
      jenkins | May 13, 2018 11:36:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:36:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 28 ms
      jenkins | May 13, 2018 11:36:58 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Agents Clean Task
      jenkins | May 13, 2018 11:36:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: start
      jenkins | May 13, 2018 11:36:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: Running clean with 5 minute timeout
      jenkins | May 13, 2018 11:36:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask cleanDeployments
      jenkins | INFO: AzureVMAgentCleanUpTask: cleanDeployments: Cleaning deployments
      jenkins | May 13, 2018 11:36:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask cleanDeployments
      jenkins | INFO: AzureVMAgentCleanUpTask: cleanDeployments: Done cleaning deployments
      jenkins | May 13, 2018 11:36:58 AM com.microsoft.azure.vmagent.AzureVMAgentCleanUpTask execute
      jenkins | INFO: AzureVMAgentCleanUpTask: execute: end
      jenkins | May 13, 2018 11:36:58 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Agents Clean Task. 63 ms
      jenkins | May 13, 2018 11:37:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:37:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 21 ms
      jenkins | May 13, 2018 11:38:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:38:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 24 ms
      jenkins | May 13, 2018 11:39:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Started Azure VM Maintainer Pool Size
      jenkins | May 13, 2018 11:39:56 AM hudson.model.AsyncPeriodicWork$1 run
      jenkins | INFO: Finished Azure VM Maintainer Pool Size. 24 ms
      

      This is extremely chatty, especially when there no cloud configured for the plugin just yet.
      Translate to a quickly growing log.

       

        Attachments

          Issue Links

            Activity

            Hide
            jieshe Jie Shen added a comment -

            This issue is caused by periodic work of this plugin. And  PR 107 should have mitigated this issue by increasing the recurrence period time from 1 min to 5 min. 

            Show
            jieshe Jie Shen added a comment - This issue is caused by periodic work of this plugin. And   PR 107  should have mitigated this issue by increasing the recurrence period time from 1 min to 5 min. 
            Hide
            jieshe Jie Shen added a comment -

            Need discussion whether we should change some periodic tasks' log level to do not log these start/end log. There are still considerable count of them.

            Show
            jieshe Jie Shen added a comment - Need discussion whether we should change some periodic tasks' log level to do not log these start/end log. There are still considerable count of them.
            Hide
            casz Joseph Petersen added a comment -

            I would just lower the log level from INFO to FINE. 

            Then it is up to the Jenkins admin to create a logger: 

            https://support.cloudbees.com/hc/en-us/articles/204880580-How-do-I-create-a-logger-in-Jenkins-for-troubleshooting-and-diagnostic-information-

            Show
            casz Joseph Petersen added a comment - I would just lower the log level from INFO to FINE.  Then it is up to the Jenkins admin to create a logger:  https://support.cloudbees.com/hc/en-us/articles/204880580-How-do-I-create-a-logger-in-Jenkins-for-troubleshooting-and-diagnostic-information-
            Hide
            jieshe Jie Shen added a comment -

            PR https://github.com/jenkinsci/azure-vm-agents-plugin/pull/128 has been created to change the periodic work's normal log level.

            Show
            jieshe Jie Shen added a comment - PR  https://github.com/jenkinsci/azure-vm-agents-plugin/pull/128 has been created to change the periodic work's normal log level.

              People

              • Assignee:
                jieshe Jie Shen
                Reporter:
                casz Joseph Petersen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: