aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraashutosh <aashutoshk@google.com>2022-05-20 12:43:59 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-28 01:59:26 +0000
commit25446795c76cb334002d8fe11789d4725ba55612 (patch)
tree27f5f5e7020faca7342825a88fbc01db27601932
parenteb2700b211dfe206b90dff61c8d6f5667dfc788d (diff)
downloadautotest-25446795c76cb334002d8fe11789d4725ba55612.tar.gz
remove .cros from pcap hostname
Hostname without .cros is expected with the changes on infra side. BUG=b:232100193 TEST=local Change-Id: I282627cee1054ceab7090a3d2ca7465ecff26677 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/3657597 Tested-by: Aashutosh Kalyankar <aashutoshk@chromium.org> Reviewed-by: Aashutosh Kalyankar <aashutoshk@chromium.org> Reviewed-by: Congbin Guo <guocb@chromium.org> Auto-Submit: Aashutosh Kalyankar <aashutoshk@chromium.org> Reviewed-by: Shijin Abraham <shijinabraham@google.com> Commit-Queue: Aashutosh Kalyankar <aashutoshk@chromium.org>
-rw-r--r--server/cros/network/chaos_clique_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cros/network/chaos_clique_utils.py b/server/cros/network/chaos_clique_utils.py
index 19f7f13bf5..189f4f3faa 100644
--- a/server/cros/network/chaos_clique_utils.py
+++ b/server/cros/network/chaos_clique_utils.py
@@ -43,7 +43,7 @@ def allocate_packet_capturer(lock_manager):
# Pass pcap hostname as set to lock_kmanager
pcap_host = set([pcap_hostname])
if lock_manager.lock(pcap_host):
- return hosts.SSHHost(pcap['hostname'] + '.cros')
+ return hosts.SSHHost(pcap['hostname'])
else:
logging.info('Unable to lock %s', pcap['hostname'])
continue