Kill route checks if github_username == run_owner (from paddles).
Github returns username like "JohnDoe" while run-names scheduled via teuthology machines have no capitalisation like "johndoe". This results in error like: ERROR:teuthology_api.services.kill:JohnDoe doesn't have permission to kill a job scheduled by: johndoe
Runs scheduled by teuthology-api would not have above error because they would have run-name capitalised too like "JohnDoe-2024-01-08_10:32:53-teuthology:no-ceph-main-distro-default-testnode".
Kill route checks if github_username == run_owner (from paddles). Github returns username like "JohnDoe" while run-names scheduled via teuthology machines have no capitalisation like "johndoe". This results in error like:
ERROR:teuthology_api.services.kill:JohnDoe doesn't have permission to kill a job scheduled by: johndoe
Runs scheduled by teuthology-api would not have above error because they would have run-name capitalised too like "JohnDoe-2024-01-08_10:32:53-teuthology:no-ceph-main-distro-default-testnode".
Contribution Guidelines
To sign and test your commits, please refer to Contibution guidelines.
Checklist