Job will remain in queue even testflinger-cli cancel is submited

Bug #1942064 reported by Dirk Su
8
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-cli.yaml
Job submitted successfully!
job_id: eb7c706e-0441-457d-8e64-1864a8efc663
This job is waiting on a node to become available.
Jobs ahead in queue: 0
^C
Cancel job eb7c706e-0441-457d-8e64-1864a8efc663 before exiting (y)es/(N)o/(c)ontinue? y
$ testflinger-cli submit -p testflinger-cli.yaml
Job submitted successfully!
job_id: 8b927c87-3e3d-4fa9-b7e2-0518bf2ea925
This job is waiting on a node to become available.
Jobs ahead in queue: 1

Revision history for this message
Paul Larson (pwlars) wrote :

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.

Changed in testflinger:
importance: Undecided → Wishlist
Dirk Su (dirksu)
tags: added: oem-priority somerville
Changed in oem-priority:
importance: Undecided → Critical
importance: Critical → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.