Job will remain in queue even testflinger-cli cancel is submited
Bug #1942064 reported by
Dirk Su
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
New
|
Low
|
Unassigned | ||
Testflinger |
New
|
Wishlist
|
Unassigned |
Bug Description
If testflinger-agent is not running. Submitted and cancelled job will remain in the queue.
Expect the job will be removed from queue.
$ testflinger-cli submit -p testflinger-
Job submitted successfully!
job_id: eb7c706e-
This job is waiting on a node to become available.
Jobs ahead in queue: 0
^C
Cancel job eb7c706e-
$ testflinger-cli submit -p testflinger-
Job submitted successfully!
job_id: 8b927c87-
This job is waiting on a node to become available.
Jobs ahead in queue: 1
tags: | added: oem-priority somerville |
Changed in oem-priority: | |
importance: | Undecided → Critical |
importance: | Critical → Low |
To post a comment you must log in.
I can add this as a wishlist, but also realize that once it goes into a canceled state, it won't actually run on a device. If it's in a valid queue, and something is actually processing that queue, it will get removed by it immediately when it gets processed. Otherwise, redis will clean it up after the ttl expires if it's not in a queue getting processed.