commit | c46139c18617041c595bc4840593855dc02b39fe | [log] [tgz] |
---|---|---|
author | John Wedig <johnwedig@google.com> | Fri Jun 13 00:30:16 2025 +0000 |
committer | John Wedig <johnwedig@google.com> | Tue Jun 24 17:58:19 2025 -0700 |
tree | 81b05482e488a70a514213886f0436073cb00bde | |
parent | 56294bafe97125d92a71f4ce4746e5d21ad87f26 [diff] |
dbus-sensors: gpiosensor service: Add dbus retries When the gpiosensor service starts, it makes a dbus call to get all the dbus objects managed by Entity Manager. This dbus call sometimes fails, and as a result, the gpiosensor service doesn't create dbus objects for any GPIOs. This commit updates the gpiosensor service to add dbus retries, if needed. Tested: Ran the misseated_connection test 1000 times. Failure rate 1%. http://sponge2/cb9b071d-3adb-42a4-8f54-3da18ff8d3d7 https://fusion2.corp.google.com/7e37c674-f1fd-3237-b8c0-d7d5f0ef9a28 https://fusion2.corp.google.com/89047ff5-446a-3525-8b42-e991e8dc7619 https://fusion2.corp.google.com/84d2983a-a18b-3de8-a616-84c1dc39b625 https://fusion2.corp.google.com/80a23722-ec58-33d2-bd5b-de685ce093f6 https://fusion2.corp.google.com/3e4c4b89-b96c-3a71-8e32-9a20a39eb809 Google-Bug-Id: 422474823 Platforms-Affected: All Change-Id: I55abf9299ebe67d24ff2ce7bf85206a3f724f566 Signed-off-by: John Wedig <johnwedig@google.com> (cherry picked from commit 029a4995388f1a7a5dfdf38fb3ca54ce7e0ec1dd)