Actions
Bug #65152
openteuthology-kill deleting a queued run gives traceback
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
I get following traceback when I try to kill a run where all jobs are still queued and not yet started:
$ teuthology-kill -o scheduled_vallariag@teuthology -m smithi -r vallariag-2024-03-26_12:00:31-rbd:nvmeof-ceph-nvmeof-mon-distro-default-smithi
2024-03-26 12:56:00,234.234 INFO:teuthology.kill:Checking Beanstalk Queue...
2024-03-26 12:56:05,665.665 INFO:teuthology.kill:Deleting job from queue. ID: 7623180 Name: vallariag-2024-03-26_12:00:31-rbd:nvmeof-ceph-nvmeof-mon-distro-default-smithi Desc: None
2024-03-26 12:56:05,678.678 INFO:teuthology.kill:Deleting job from queue. ID: 7623181 Name: vallariag-2024-03-26_12:00:31-rbd:nvmeof-ceph-nvmeof-mon-distro-default-smithi Desc: rbd:nvmeof/{base/install centos_latest conf/{disable-pool-app} workloads/nvmeof_thrash}
2024-03-26 12:56:05,681.681 INFO:teuthology.kill:Deleting job from queue. ID: 7623182 Name: vallariag-2024-03-26_12:00:31-rbd:nvmeof-ceph-nvmeof-mon-distro-default-smithi Desc: None
2024-03-26 12:56:57,215.215 INFO:teuthology.kill:Deleting jobs from paddles: ['7623181']
2024-03-26 12:56:57,340.340 INFO:teuthology.kill:No teuthology processes running
2024-03-26 12:56:58,623.623 INFO:teuthology.kill:No locked machines. Not nuking anything
Traceback (most recent call last):
File "/cephfs/home/vallariag/src/teuthology/virtualenv/bin/teuthology-kill", line 8, in <module>
sys.exit(main())
File "/cephfs/home/vallariag/src/teuthology/scripts/kill.py", line 44, in main
teuthology.kill.main(args)
File "/cephfs/home/vallariag/src/teuthology/teuthology/kill.py", line 40, in main
kill_run(run_name, archive_base, owner, machine_type,
File "/cephfs/home/vallariag/src/teuthology/teuthology/kill.py", line 78, in kill_run
report.try_mark_run_dead(run_name)
File "/cephfs/home/vallariag/src/teuthology/teuthology/report.py", line 579, in try_mark_run_dead
jobs = reporter.get_jobs(run_name, fields=['status'])
File "/cephfs/home/vallariag/src/teuthology/teuthology/report.py", line 374, in get_jobs
response.raise_for_status()
File "/home/vallariag/src/teuthology/virtualenv/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://paddles.front.sepia.ceph.com/runs/vallariag-2024-03-26_12:00:31-rbd:nvmeof-ceph-nvmeof-mon-distro-default-smithi/jobs/?fields=status,job_id
The jobs do get dequeued, the traceback could be avoided.
No data to display
Actions