[CTS 9.0R5]com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement fail

问题描述

 com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
fail
java.lang.AssertionError: On-device tests failed:

解决方案

log里有如下报错.
 01-14 15:59:36.322272: E/DevicePolicyManager(930): KeyChain error while generating a keypair
01-14 15:59:36.322272: E/DevicePolicyManager(930): android.os.DeadObjectException
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.BinderProxy.transactNative(Native Method)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.BinderProxy.transact(Binder.java:1135)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.security.IKeyChainService$Stub$Proxy.generateKeyPair(IKeyChainService.java:422)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at com.android.server.devicepolicy.DevicePolicyManagerService.generateKeyPair(DevicePolicyManagerService.java:5453)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:1473)
01-14 15:59:36.322272: E/DevicePolicyManager(930): at android.os.Binder.execTransact(Binder.java:731)
01-14 15:59:36.322789: E/DevicePolicyManager(9493): Error generating key via DevicePolicyManagerService.

From the sys_log, I see keychain killed by DuraSpeed during running the cts case:
01-14 15:59:36.149369 930 973 D DuraSpeed: CPU total released about: 13.9%
01-14 15:59:36.149369 930 973 D DuraSpeed: Release com.android.vending, type: kill, CPU: 9.0%
01-14 15:59:36.149369 930 973 D DuraSpeed: Release com.google.android.apps.maps, type: kill, CPU: 4.1%
01-14 15:59:36.149369 930 973 D DuraSpeed: Release com.android.keychain, type: kill, CPU: 0.8%

请申请Patch id:
ALPS04271768 alps-mp-p0.mp3
ALPS04271316 alps-mp-p0.mp7
ALPS04271305 alps-mp-p0.mp6
ALPS04268907 alps-mp-p0.mp1

ALPS04271767 alps-mp-p0.mp2

作者: RESSRC

个人资源站

发表评论

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

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