Bump ping timeout to 60 seconds

The jobs fails intermittently on ping check
with current timeout of 30 seconds.

The testvm can take time to boot and have network
ready on slow systems and using qemu hypervisor
and lead to ping timeout.

With [1] included noticed it taking more than 40 seconds
to boot testvm, so bumping timeout to 60 seconds will
help in such cases.

[1] https://review.opendev.org/c/openstack/grenade/+/874417

Related-Bug: #1463631
Related-Bug: #2007357
Change-Id: Ibdd030e126d508e6ff24cde180c611ada7f24cb3
This commit is contained in:
yatinkarel 2023-02-23 12:39:46 +05:30
parent adcb563b18
commit 3f9fe2e8fc
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ function create {
resource_save nova nova_server_uuid $uuid
# ping check on the way up to ensure we're really running
ping_check_public $ip 30
ping_check_public $ip 60
# Save some inventory and allocation values (requires admin)
source_quiet $TOP_DIR/openrc admin admin
@ -191,7 +191,7 @@ function verify {
function verify_noapi {
local server_ip=$(resource_get nova nova_server_ip)
ping_check_public $server_ip 30
ping_check_public $server_ip 60
}
function destroy {

View File

@ -176,7 +176,7 @@ function create {
_wait_for_volume_update $CINDER_VOL3 "status" "in-use"
# ping check on the way up so we can add ssh content
ping_check_public $ip 30
ping_check_public $ip 60
# turn of errexit for this portion of the retry
set +o errexit
@ -239,7 +239,7 @@ function verify {
function verify_noapi {
local server_ip=$(resource_get cinder cinder_server_ip)
ping_check_public $server_ip 30
ping_check_public $server_ip 60
# this sync is here to ensure that we don't accidentally pass when
# the volume is actually down.
timeout 30 $FSSH -i $CINDER_KEY_FILE cirros@$server_ip \