Skip to content

utils_net:Retry when not getting default gateway#4094

Closed
chloerh wants to merge 1 commit intoavocado-framework:masterfrom
chloerh:defaut-gw-retry
Closed

utils_net:Retry when not getting default gateway#4094
chloerh wants to merge 1 commit intoavocado-framework:masterfrom
chloerh:defaut-gw-retry

Conversation

@chloerh
Copy link
Copy Markdown
Contributor

@chloerh chloerh commented Mar 27, 2025

Test result:

 (1/1) type_specific.local.virtual_network.connectivity_check.bridge_interface.linux_br.default: STARTED
 (1/1) type_specific.local.virtual_network.connectivity_check.bridge_interface.linux_br.default: PASS (68.59 s)

Comment thread virttest/utils_net.py
if p.get("dev") == target_iface
]
default_route_list = non_multi + multi
LOG.debug(f"default_route_list: {default_route_list}")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC it's the first time we observe this so having to retry shouldn't be necessary but important here to stabilize our test runs. Therefore, would it make sense to LOG.warning or something similar whenever there wasn't a default route?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Signed-off-by: Haijiao Zhao <haizhao@redhat.com>
@chloerh chloerh requested a review from smitterl April 22, 2025 09:25
@chloerh chloerh closed this Apr 24, 2025
@chloerh chloerh reopened this Apr 24, 2025
@chloerh
Copy link
Copy Markdown
Contributor Author

chloerh commented Jun 6, 2025

Close this pr since it's not solving the network issue

@chloerh chloerh closed this Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants