commit | 4d7ea8af4fd6259a85472a1bdab62a1021c1c267 | [log] [tgz] |
---|---|---|
author | Joaquin Marquez <joaquinmarquez@google.com> | Tue Jul 08 21:21:46 2025 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 10 17:37:06 2025 |
tree | 09a80025b2aabc5003a3a12930a8d26e6aebe4bf | |
parent | f0df9b7bdd4c7b80e76cef4e196aca3966f934f1 [diff] |
crossdevice tests: Handle iwgetid exit code 255 The `iwgetid` command exits with status 255 when the device is not connected to a wireless network. This is a possible state before attempting to connect to Wi-Fi. The previous implementation treated any non-zero exit code as a fatal error, causing tests to fail unnecessarily. This change updates `ConnectToWifi` to correctly handle the 255 exit code as a non-error, allowing the connection logic to proceed as intended. BUG=b:241572787 TEST=tast run -var=android.companions=localhost:2204:2B091FDH3005EW:pixel7pro -var=router=localhost:2202 -var=pcap=localhost:2203 localhost:2201 nearbyshare.CrosToPhoneHighVis.dataoffline_noone_jpg11kb Change-Id: I825014346669d9a43bff932958812a2f241db451 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/6715660 Auto-Submit: Joaquin Marquez <joaquinmarquez@google.com> Tast-Review: Katherine Threlkeld <kathrelkeld@chromium.org> Tested-by: Joaquin Marquez <joaquinmarquez@google.com> Commit-Queue: Joaquin Marquez <joaquinmarquez@google.com> Reviewed-by: Michael Hansen <hansenmichael@google.com>
This repository contains integration tests that are run by Tast.
helpers/
- Source code for binaries executed by tests.local/
- Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros
by the tast-local-helpers-cros
package.src/go.chromium.org/tast-tests/cros/
Shared code, the main tast
executable, the local_test_runner
and remote_test_runner
executables responsible for running bundles, and documentation are located in the tast repository.