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

Sectioned views are not evaluated for job priority

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • prioritysorter-plugin
    • None
    • * Jenkins and plugins latest
      * thousands of generated jobs by job-dsl plugin
      * Nested view with lots of sectioned views

    Description

      If a job is inside a sectioned view (section view plugin) the view-base priority evaluation seems to be broken. Excerpt from log:

      Evaluating JobGroup [21] ...
      [...]
          Evaluating View [Continuous] ...
      [...}
          Evaluating View [~NEVER-OPEN-THIS] ...
            Using filter ...
              Job is matching the filter ...
            No applicable strategy - Using JobGroup default 
      
      Jun 17, 2014 9:26:28 AM FINE PrioritySorter.Queue.Items
      
      Buildable: Id: 6076, JobName: DirectoryService_Tests, jobGroupId: 21, reason: <none>, priority: 5, weight: 5.0, status: BUILDABLE
      

      The same Job "DirectoryService_Tests" is in the sectioned [Continuous] view but it is only evaluated in the view NEVER-OPEN-THIS which is a flat ALL jobs view.

      Attachments

        Activity

          bruce Dirk Kuypers created issue -
          emsa23 Magnus Sandberg made changes -
          Field Original Value New Value
          Assignee bklarson [ bklarson ] Magnus Sandberg [ emsa23 ]
          klou Kurt made changes -
          Assignee Magnus Sandberg [ emsa23 ] bklarson [ bklarson ]
          Description If a job is inside a sectioned view the view-base priority evaluation seems to be broken. Excerpt from log:

          Evaluating JobGroup [21] ...
          [...]
              Evaluating View [Continuous] ...
          [...}
              Evaluating View [~NEVER-OPEN-THIS] ...
                Using filter ...
                  Job is matching the filter ...
                No applicable strategy - Using JobGroup default

          Jun 17, 2014 9:26:28 AM FINE PrioritySorter.Queue.Items

          Buildable: Id: 6076, JobName: DirectoryService_Tests, jobGroupId: 21, reason: <none>, priority: 5, weight: 5.0, status: BUILDABLE

          The Job is in the sectioned [Continuous] view but it is only evaluated in the list view [~NEVER-OPEN-THIS] which is a list view generated by regular expression containing all test jobs.
          If a job is inside a sectioned view (section view plugin) the view-base priority evaluation seems to be broken. Excerpt from log:

          {noformat}
          Evaluating JobGroup [21] ...
          [...]
              Evaluating View [Continuous] ...
          [...}
              Evaluating View [~NEVER-OPEN-THIS] ...
                Using filter ...
                  Job is matching the filter ...
                No applicable strategy - Using JobGroup default

          Jun 17, 2014 9:26:28 AM FINE PrioritySorter.Queue.Items

          Buildable: Id: 6076, JobName: DirectoryService_Tests, jobGroupId: 21, reason: <none>, priority: 5, weight: 5.0, status: BUILDABLE
          {noformat}

          The same Job "DirectoryService_Tests" is in the sectioned [Continuous] view but it is only evaluated in the view [~NEVER-OPEN-THIS] which is a flat ALL jobs view.
          emsa23 Magnus Sandberg made changes -
          Assignee bklarson [ bklarson ] Magnus Sandberg [ emsa23 ]
          emsa23 Magnus Sandberg made changes -
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 156090 ] JNJira + In-Review [ 195341 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            emsa23 Magnus Sandberg
            bruce Dirk Kuypers
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: