Skip to content

automated/android/multinode/share-local-device-over-adb-tcpip

Description

adb MultiNode setup: make local device remotely accessible via adb TCP/IP. Handles the device over to a role that responds to the following synchronization steps: - lava-sync start_handover - lava-send dut_address dut_address=${dut_address} - lava-sync finish_handover

Maintainer

  • karsten@fairphone.com
  • softwareteam@fairphone.com

OS

  • debian
  • ubuntu

Scope

  • functional

Devices

  • lxc

Steps to reproduce

  • . ./automated/lib/sh-test-lib
  • . ./automated/lib/android-test-lib
  • . ./automated/lib/android-multinode-test-lib
  • ret_val=0
  • share_local_device_over_adb_tcpip "${ADB_TCPIP_ATTEMPTS}" "${TIMEOUT_SECS}" "${ADB_PORT}" || ret_val=$?
  • if [ "${ret_val}" -ne 0 -a "${RAISE_ON_FAILURE}" = "true" ]; then lava-test-raise "Could not share device of adb tcpip." fi