Merge branch 'bugfix/fix_ot_ci_cases_avahi_service_issue_v5.1' into 'release/v5.1'

feat(openthread): fix ci avahi service cases issue (v5.1)

See merge request espressif/esp-idf!37873
This commit is contained in:
Shu Chen
2025-03-20 14:27:14 +08:00

View File

@@ -449,7 +449,7 @@ def open_host_interface() -> None:
def get_domain() -> str:
hostname = socket.gethostname()
print('hostname is: ', hostname)
command = 'ps -aux | grep avahi-daemon | grep running'
command = 'ps -auxww | grep avahi-daemon | grep running'
out_str = subprocess.getoutput(command)
print('avahi status:\n', out_str)
role = re.findall(r'\[([\w\W]+)\.local\]', str(out_str))[0]