-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(get_docker_image_by_version): make it more roubst to errors
In some runs that are using AMIs which doesn't have corresponding docker images, we've seen this failures, when c-s stress command is running: ``` File "../sdcm/stress_thread.py", line 173, in _run_cs_stress cassandra_stress = get_docker_image_by_version( self.node_list[0].get_scylla_binary_version()) File "../sdcm/utils/version_utils.py", line 354, in get_docker_image_by_version for image in all_tags['results']: KeyError: 'results' ``` improved `get_docker_image_by_version` to be more robust on handling errors, and melformed responses.
- Loading branch information
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters