New issue
Advanced search Search tips

Issue 593965 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: ----

Blocking:
issue 582646



Sign in to add a comment

Enable SSH Communication to Moblab via ssh tunnel

Project Member Reported by xixuan@chromium.org, Mar 10 2016

Issue description

 Bug chromium:582646  is separated into 3 sub-bugs:

1. Use SSH Tunnel For Communication to Servo & Chameleon

2. Use SSH For Communication to DevServer

3. Use SSH For Communication to Moblab

This bug is related to 3: Enable SSH communiation to Moblab via ssh tunnel.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 17 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/10ce09c325cc46c993929af23d2f54807862d005

commit 10ce09c325cc46c993929af23d2f54807862d005
Author: xixuan <xixuan@google.com>
Date: Wed Mar 09 04:00:13 2016

Autotest: Use SSH For Communication to Moblab

Create an ssh tunnel for autoserv to communicate to moblab. MoblabHost calls
rpc_server_tracker to create a safe ssh connection to moblab when it is
created or moblab is rebooted.

Related Change:

1. Refactoring rpc_server_tracker to seperate tunnel creating process
|_setup_tracker_for_rpc| and URL/host construction functions,
|_setup_rpc| or |tunnel_connect|.

2. Add a |enable_ssh_tunnel_for_moblab| to enable/disable ssh tunnel for
moblab.

BUG= chromium:593965 
TEST=Ran verify&repair, moblab_RunSuite:dummyServer, on local moblab to
verify ssh tunnel for moblab. Ran network_WiFi_SimpleConnect.wifi_check11g
to make sure that rpc_server_tracker still works.

Change-Id: I0d35209c3ba7b27cca00bbdff1a714ed6d8d40d3
Reviewed-on: https://chromium-review.googlesource.com/331792
Commit-Ready: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>

[modify] https://crrev.com/10ce09c325cc46c993929af23d2f54807862d005/server/cros/dynamic_suite/frontend_wrappers.py
[modify] https://crrev.com/10ce09c325cc46c993929af23d2f54807862d005/server/hosts/moblab_host.py
[modify] https://crrev.com/10ce09c325cc46c993929af23d2f54807862d005/server/hosts/rpc_server_tracker.py
[modify] https://crrev.com/10ce09c325cc46c993929af23d2f54807862d005/global_config.ini

Comment 3 by benhenry@google.com, Apr 26 2016

Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Status: Fixed (was: Assigned)
Closing... please feel free to reopen if its not fixed.
Status: Verified (was: Fixed)

Sign in to add a comment