eG Monitoring
 

Measures reported by JenkinsQueueTest

A queue is a temporary waiting line for jobs before execution. The jobs will be waiting in the queue until they are assigned to free executors by the master Jenkins node. Once the master node assigns the executors, the jobs will run on the slave nodes, and results will be delivered to the users. If the jobs are stuck or reside in the queue for a prolonged period, then the queue may grow indefinitely and may not hold the space to accommodate upcoming jobs. This will lead to a serious degradation of the performance of the Jenkins server. To avoid such unpleasant degradation and to keep track of the performance of the Jenkins server, it is necessary to continuously track the jobs in the queue. The JenkinsQueueTest helps administrators in this regard!

This test monitors the queue in the Jenkins server, and reports ID of the queue where the jobs are being queued and the status of each job in the queue. This test also reveals if any job is being blocked/stuck (waiting for an executor) in the queue. These statistics help administrators to instantly identify the jobs that are being blocked/stuck or residing in the queue for a prolonged period and take necessary actions for the same.

Outputs of the test : : One set of results for each job that is in the queue on the target Jenkins server.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Queue_id Indicates the ID of the queue where this job is being queued. Number  
Is_blocked Indicates whether/not this job is blocked.   The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
No 0
Yes 1


Note:

By default, this measure reports whether a job is blocked or not. The graph of this measure however, is represented using the numeric equivalents only.
Is_buildable Indicates whether/not this job cab be built.   The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
No 0
Yes 1


Note:

By default, this measure reports whether a job can be built or not. The graph of this measure however, is represented using the numeric equivalents only.
Is_stuck Indicates whether/not this job is stuck in the queue   The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
No 0
Yes 1


Note:

By default, this measure reports whether a job is stuck in the queue or not. The graph of this measure however, is represented using the numeric equivalents only.
Is_concurrentBuild Indicates whether this job is a concurrent job or not.   The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
No 0
Yes 1


Note:

By default, this measure reports whether a job can be built or not. The graph of this measure however, is represented using the numeric equivalents only.
In_queue_since Indicates how long this job has been waiting in the queue. Minutes Ideally, the value of this measure should be low. Comparing the value of this measure across the jobs will reveal the job that is residing in the queue for longer time.