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

Extend loggning to show assigned priority

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Extend loggning to show assigned priority to queued Job.

      This will make it easier to troubleshoot and validate that the assigned priorities are as expected.

        Attachments

          Issue Links

            Activity

            Hide
            emsa23 Magnus Sandberg added a comment -

            JENKINS-21103 will to easier to troubleshoot with this

            Show
            emsa23 Magnus Sandberg added a comment - JENKINS-21103 will to easier to troubleshoot with this
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: emsa23
            Path:
            src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java
            src/main/java/jenkins/advancedqueue/PriorityConfiguration.java
            src/main/java/jenkins/advancedqueue/PriorityConfigurationCallback.java
            src/main/java/jenkins/advancedqueue/sorter/AdvancedQueueSorter.java
            src/main/java/jenkins/advancedqueue/sorter/AdvancedQueueSorterQueueListener.java
            src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java
            http://jenkins-ci.org/commit/priority-sorter-plugin/aad90ea08afbd1b5cc92d45fb5b2ec45f34c7568
            Log:
            JENKINS-21119 Extend loggning to show assigned priority

            • Refactored to include more information in the ItemCache.
            • Refactored to use specific transition methods rather than setter.
            • Added ItemTransitionLogger to log events in the Queue.
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java src/main/java/jenkins/advancedqueue/PriorityConfiguration.java src/main/java/jenkins/advancedqueue/PriorityConfigurationCallback.java src/main/java/jenkins/advancedqueue/sorter/AdvancedQueueSorter.java src/main/java/jenkins/advancedqueue/sorter/AdvancedQueueSorterQueueListener.java src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java http://jenkins-ci.org/commit/priority-sorter-plugin/aad90ea08afbd1b5cc92d45fb5b2ec45f34c7568 Log: JENKINS-21119 Extend loggning to show assigned priority Refactored to include more information in the ItemCache. Refactored to use specific transition methods rather than setter. Added ItemTransitionLogger to log events in the Queue.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: emsa23
            Path:
            src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java
            src/main/java/jenkins/advancedqueue/PriorityConfiguration.java
            src/main/java/jenkins/advancedqueue/PriorityConfigurationCallback.java
            src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java
            http://jenkins-ci.org/commit/priority-sorter-plugin/6d8ae691d4111366baccdad1625af727f8c2eb4b
            Log:
            JENKINS-21119 Extend loggning to show assigned priority

            Add decision-logging where the decisions taken to
            calculate the priority is more clearly shown.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java src/main/java/jenkins/advancedqueue/PriorityConfiguration.java src/main/java/jenkins/advancedqueue/PriorityConfigurationCallback.java src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java http://jenkins-ci.org/commit/priority-sorter-plugin/6d8ae691d4111366baccdad1625af727f8c2eb4b Log: JENKINS-21119 Extend loggning to show assigned priority Add decision-logging where the decisions taken to calculate the priority is more clearly shown.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: emsa23
            Path:
            src/main/java/jenkins/advancedqueue/PriorityConfiguration.java
            http://jenkins-ci.org/commit/priority-sorter-plugin/376d18e56f2637fc2cf6cc988c91b61b333e1a81
            Log:
            JENKINS-21119 Extend loggning to show assigned priority

            Also log the name of the parent MatrixProject for a
            found MatrixConfiguration.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/PriorityConfiguration.java http://jenkins-ci.org/commit/priority-sorter-plugin/376d18e56f2637fc2cf6cc988c91b61b333e1a81 Log: JENKINS-21119 Extend loggning to show assigned priority Also log the name of the parent MatrixProject for a found MatrixConfiguration.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: emsa23
            Path:
            src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java
            http://jenkins-ci.org/commit/priority-sorter-plugin/197347bf423ef5303641b9e920c96c47464918e7
            Log:
            JENKINS-21119 Extend loggning to show assigned priority

            Avoid logging twice with fine and finer.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java http://jenkins-ci.org/commit/priority-sorter-plugin/197347bf423ef5303641b9e920c96c47464918e7 Log: JENKINS-21119 Extend loggning to show assigned priority Avoid logging twice with fine and finer.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: emsa23
            Path:
            src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java
            src/main/java/jenkins/advancedqueue/PriorityConfiguration.java
            http://jenkins-ci.org/commit/priority-sorter-plugin/035da32a6f7c8146c10064d5d8355c09ef26130f
            Log:
            JENKINS-21119 Extend loggning to show assigned priority

            • Added missing log when global default priority is used
            • Make sure to log with finer() id log-level is ALL
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/ItemTransitionLogger.java src/main/java/jenkins/advancedqueue/PriorityConfiguration.java http://jenkins-ci.org/commit/priority-sorter-plugin/035da32a6f7c8146c10064d5d8355c09ef26130f Log: JENKINS-21119 Extend loggning to show assigned priority Added missing log when global default priority is used Make sure to log with finer() id log-level is ALL
            Hide
            emsa23 Magnus Sandberg added a comment -

            Fixed in 2.4

            Show
            emsa23 Magnus Sandberg added a comment - Fixed in 2.4

              People

              • Assignee:
                emsa23 Magnus Sandberg
                Reporter:
                emsa23 Magnus Sandberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: