-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avocado jobs command is broken #6067
Comments
The
The expected behavior here is to not crash, possibly skipping the info that was not obtained. Now, even with a single version of Avocado generating job results, there's a possible crash with:
Followed by:
|
Hi @clebergnu, thanks for the testing. So IIUIC the |
Fix: Handle missing job data in 'avocado jobs list' command - Updated 'handle_list_command' to use `job.get()` for safely accessing job data. - If a key is missing, it now defaults to 'N/A' instead of causing a crash. Reference: avocado-framework#6067 Signed-off-by: Harvey Lynden <hlynden@redhat.com>
Fix: Handle missing job data in 'avocado jobs list' command - Updated 'handle_list_command' to use `job.get()` for safely accessing job data. - If a key is missing, it now defaults to 'N/A' instead of causing a crash. Reference: avocado-framework#6067 Signed-off-by: Harvey Lynden <hlynden@redhat.com>
Describe the bug
The
avocado jobs
command makes avocado crash. Boutavocado jobs list
andavocado jobs show
is broken.Steps to reproduce
Just run
avocado jobs list
oravocado jobs show latest
Expected behavior
Avocado will provide useful information, and it won't crash.
Current behavior
System information (please complete the following information):
The text was updated successfully, but these errors were encountered: