[JIRA] (JENKINS-62041) PrioritySorter doesn't work as expected. High Prio jobs last in queue

已查看 0 次
跳至第一个未读帖子

ntomeky@gmail.com (JIRA)

未读,
2020年4月24日 04:08:032020/4/24
收件人 jenkinsc...@googlegroups.com
Tomasz Koźlak created an issue
 
Jenkins / Bug JENKINS-62041
PrioritySorter doesn't work as expected. High Prio jobs last in queue
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: job_priority.PNG
Components: prioritysorter-plugin
Created: 2020-04-24 08:07
Priority: Major Major
Reporter: Tomasz Koźlak

Hi,

I'm not sure if Piority Sorter works as it should.

Plugin version 3.6.0, Pipeline version 2.6

Absolute strategy.

Example: I have got 2 jobs in seperate folders, jobs use the same node to run. Job included in Folder1 is set with HIGH Priority (equal 1), job included in Folder2 is set with LOW Priority (equal 5). For testing purpose I run 10 times LOW Prio job and then 2 runs HIGH Prio Job. I expect that these 2 high prio runs will start before all other jobs in queue. But it's not happening. You can see screenshot from Build Queue plugin. All jobs are waiting for available executor. Two last rows are HIGH Prio jobs. I would expect that these two will be move on top of queue.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

ntomeky@gmail.com (JIRA)

未读,
2020年4月24日 05:04:032020/4/24
收件人 jenkinsc...@googlegroups.com
Tomasz Koźlak updated an issue
Change By: Tomasz Koźlak
Hi,

I'm not sure if Piority Sorter works as it should.

Plugin version 3.6.0, Pipeline version 2.6 , [Jenkins ver. 2.190.1|https://jenkins.io/]

Absolute strategy.

Example: I have got 2 jobs in seperate folders, jobs use the same node to run. Job included in Folder1 is set with HIGH Priority (equal 1), job included in Folder2 is set with LOW Priority (equal 5). For testing purpose I run 10 times LOW Prio job and then 2 runs HIGH Prio Job. I expect that these 2 high prio runs will start before all other jobs in queue. But it's not happening. You can see screenshot from Build Queue plugin. All jobs are waiting for available executor. Two last rows are HIGH Prio jobs. I would expect that these two will be move on top of queue.

 

ntomeky@gmail.com (JIRA)

未读,
2020年4月24日 05:59:052020/4/24
收件人 jenkinsc...@googlegroups.com
Tomasz Koźlak commented on Bug JENKINS-62041
 
Re: PrioritySorter doesn't work as expected. High Prio jobs last in queue

Also tried with "Jobs included in groups" but result is the same -> FIFO.

ntomeky@gmail.com (JIRA)

未读,
2020年4月24日 06:00:052020/4/24
收件人 jenkinsc...@googlegroups.com

ntomeky@gmail.com (JIRA)

未读,
2020年4月29日 02:21:032020/4/29
收件人 jenkinsc...@googlegroups.com
 
Re: PrioritySorter doesn't work as expected. High Prio jobs last in queue

I solved the problem by downgrading Pipepilne plugin from 2.6 to 2.5.

回复全部
回复作者
转发
0 个新帖子