Actually it might be a problem with this test hitting a window of the task_state changing quickly enough between the windows where we check the status. From looking at the logs, the vm_state is 'active' most of the time but the task_state is constantly changing, and going from 'image_backup' to 'image_pending_upload' to 'null' to not being in the response at all and then back to 'image_backup'.
If anything, we should log the current task_state here along with the current vm_state:
Actually it might be a problem with this test hitting a window of the task_state changing quickly enough between the windows where we check the status. From looking at the logs, the vm_state is 'active' most of the time but the task_state is constantly changing, and going from 'image_backup' to 'image_ pending_ upload' to 'null' to not being in the response at all and then back to 'image_backup'.
If anything, we should log the current task_state here along with the current vm_state:
https:/ /github. com/openstack/ tempest/ blob/master/ tempest/ common/ waiters. py#L81
Because I think it's the task_state that we're timing out on.