【STS】 run sts-engbuild 测试到一半,发生DeviceNotFound,及Deviceoffline,无法继续跑

[DESCRIPTION]

报错讯息:
10-08 18:02:33 I/FailureListener: FailureListener.testFailed android.security.cts.Poc16_09#testPocCVE_2016_2471 false false false
10-08 18:02:33 D/ModuleListener: ModuleListener.testEnded(android.security.cts.Poc16_09#testPocCVE_2016_2471, {})
10-08 18:02:33 D/ModuleListener: ModuleListener.testRunFailed(Could not find device LCEAA000842E6EGC)
10-08 18:02:33 I/ConsoleReporter: [LCEAA000842E6EGC] Could not find device LCEAA000842E6EGC
10-08 18:02:33 D/JarHostTest: HostTestListener.testRunEnded(187806, {})
10-08 18:02:33 W/TestInvocation: Invocation did not complete due to device LCEAA000842E6EGC becoming not available. Reason: Could not find device LCEAA000842E6EGC
10-08 18:02:33 W/ResultReporter: Invocation failed: com.android.tradefed.device.DeviceNotAvailableException: Could not find device LCEAA000842E6EGC

[SOLUTION]


中断是有发生devices offline
请确认以下:
1.adb版本使用>=1.0.40
2.测试前有完成 “Setting up CTS steps (https://source.android.com/compatibility/cts/setup) => Android device configuration”

若还是有device offline问题可以透过
https://partnerissuetracker.corp.google.com 回复给Google
可参考:Google official STS FAQ: https://support.google.com/androidpartners_security/answer/9144408?hl=en&ref_topic=7534918

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据