-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device unauthorized errors during Android device CI runs #47185
Comments
Tagging subscribers to this area: @directhex Issue DetailsExample build: https://dev.azure.com/dnceng/public/_build/results?buildId=956492&view=results Adb seems to be claiming that the device is unauthorized, which causes a bunch of tests to not run and fail. I'm not sure if this is machine specific or device specific. I'm seeing numerous BadExit's on DNCENGWIN-036 and 30.
|
/cc @MattGal |
Sure seems device-specific ... @akoeplinger any suggestions? We can just teach it to try the suggested workaround of kill-server in this case too. |
Hm we should try if killing the adb server works, but it's possible that the device lost authentication and someone needs to re-auth it on the phone. |
Most likely mitigated with fixes mentioned in https://github.com/dotnet/core-eng/issues/11891. |
I'm seeing this happening for the following test suites
based on https://dev.azure.com/dnceng/public/_build/results?buildId=1093022&view=logs&j=c693b1a1-52cc-5241-304f-e4b4c2d5f73e&t=ca6cd8a5-c31d-5a98-8419-f200a8c4128d from test runs in #50095 |
@mdh1418 it's more likely related to specific devices versus the tests but we'll take a look and get an issue created if so. |
@MattGal this ended up being the devices right: https://github.com/dotnet/core-eng/issues/12841 ? |
I think so... but they seem to be going bad more often. Is it possible that a sufficiently weird APK could cause the problem? (@parose1 would be interested in the answer) |
Hard to say, we'd need to know in what state the device is then we could maybe track down how it got there by correlating which workitems ran around the time it went bad. |
Example build: https://dev.azure.com/dnceng/public/_build/results?buildId=956492&view=results
Example log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-47057-merge-86b88422cf374fa882/Microsoft.Extensions.Configuration.Json.Tests/console.d1b0ae97.log?sv=2019-07-07&se=2021-02-08T18%3A02%3A12Z&sr=c&sp=rl&sig=DtoVG0NJIQ9Th%2BgD5IONKr3jkRUFCMvsp6U61UZ9QtE%3D
Adb seems to be claiming that the device is unauthorized, which causes a bunch of tests to not run and fail. I'm not sure if this is machine specific or device specific. I'm seeing numerous BadExit's on DNCENGWIN-036 and 30.
The text was updated successfully, but these errors were encountered: