commit | 0c112d4a87ffa69e156a9f09b0231a6ba23e5624 | [log] [tgz] |
---|---|---|
author | Karl Ward <karlward@google.com> | Fri Dec 02 20:28:17 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 02 20:28:17 2022 +0000 |
tree | b41fb93fa97577462b7c808f7e1691d461dcb80b | |
parent | 8609f3708d5d3163e4c8f4842e75d184faec7ccd [diff] |
Detect another flavor of component already stopped. When the WLAN Policy controller tries to stop a component, it attempts to detect when the component is already stopped. A recent change in the error message that occurs prevented this from working; this change adds an additional flavor of error message that matches the newly-seen behavior. Fixes: https://fxbug.dev/116544 Test: antlion [...] -tc WlanPhyComplianceABGTest Change-Id: I0ab8af9b5ad72b617ff8529d37bc14b549f7198c Reviewed-on: https://fuchsia-review.googlesource.com/c/antlion/+/769633 Reviewed-by: Sam Balana <sbalana@google.com> Commit-Queue: Karl Ward <karlward@google.com>
diff --git a/src/antlion/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py b/src/antlion/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py index 1ca8a80..25f06b4 100644 --- a/src/antlion/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py +++ b/src/antlion/controllers/fuchsia_lib/lib_controllers/wlan_policy_controller.py
@@ -91,7 +91,8 @@ self.log.debug(f"Stopped session: {result.stdout}.") else: if (b'InstanceNotFound' in result.stderr - or b'instance was not found' in result.stderr): + or b'instance was not found' in result.stderr + or b'does not exist' in result.stderr): self.log.debug(f'Instance was not found: {result.stderr}.') else: raise WlanPolicyControllerError(