android10 (Q) go版本跑测vts中断

在跑测VTS的过程中,发现最终的结果只跑了6个模块,并且log中有如下内容:

armeabi-v7a VtsHalGnssV1_0Target: VtsHalGnssV1_0Target: 
Error executing adb cmd 'adb -s WT123456789 shell "stop"'. ret: 1, stdout: , stderr: stop: must be root

armeabi-v7a VtsHalGatekeeperV1_0Target: VtsHalGatekeeperV1_0Target: 
Error executing adb cmd 'adb -s WT123456789 shell "stop"'. ret: 1, stdout: , stderr: stop: must be root

armeabi-v7a VtsHalGraphicsComposerV2_3Target: VtsHalGraphicsComposerV2_3Target: 
Error executing adb cmd 'adb -s 0123456789ABCDEF shell "stop"'. ret: 1, stdout: , stderr: stop: must be root

使用adb 查看发现:[ro.system.build.type]: [user]

而其他可以正常跑测vts的项目,该属性应该是[userdebug]

所以,基本判定是由于刷boot-debug.img出现了异常,后来排查发现如下问题,是因为提供了错误的boot-debug.img引起的异常:

$fastboot flash boot boot-debug.img

Invalid sparse file format at header magic
Sending sparse 'boot' 1/1 (8932 KB)                OKAY [  0.305s]
Writing 'boot'                                     FAILED (remote: 'sparse image size span overflow.')
fastboot: error: Command failed

你可能感兴趣的:(android10 (Q) go版本跑测vts中断)