在CTS测试过程中,测试Performance时全部fail,提示如下;
start test plan Performance
==============================================================
Test package: android.performance2
android.performance2.cts.AppStartup#testStartup...(fail)
Permission Denial: starting instrumentation ComponentInfo{com.android.cts.performance2/android.test.InstrumentationTestRunner} from pid=1850, uid=1850 not allowed because package com.android.cts.performance2 does not have a signature matching the target com.android.music==============================================================
==============================================================
Test package: android.performance3
android.performance3.cts.AppStartup#testStartup...(fail)
Permission Denial: starting instrumentation ComponentInfo{com.android.cts.performance3/android.test.InstrumentationTestRunner} from pid=1900, uid=1900 not allowed because package com.android.cts.performance3 does not have a signature matching the target com.android.browser==============================================================
==============================================================
Test package: android.performance4
android.performance4.cts.AppStartup#testStartup...(fail)
Permission Denial: starting instrumentation ComponentInfo{com.android.cts.performance4/android.test.InstrumentationTestRunner} from pid=1950, uid=1950 not allowed because package com.android.cts.performance4 does not have a signature matching the target com.android.mms==============================================================
==============================================================
Test package: android.performance5
android.performance5.cts.AppStartup#testStartup...(fail)
Permission Denial: starting instrumentation ComponentInfo{com.android.cts.performance5/android.test.InstrumentationTestRunner} from pid=2000, uid=2000 not allowed because package com.android.cts.performance5 does not have a signature matching the target com.android.alarmclock==============================================================
==============================================================
Test package: android.performance
android.performance.cts.MultiAppStartupTest#testMultipleApps...(fail)
Permission Denial: starting instrumentation ComponentInfo{com.android.cts.performance/android.test.InstrumentationTestRunner} from pid=2050, uid=2050 not allowed because package com.android.cts.performance does not have a signature matching the target com.android.calculator2==============================================================
Test summary:   pass=0   fail=5   timeOut=0   notExecuted=0   Total=5
Time: 194.386s
到测试用例里面看,没个包名也都是正确的,为什么提示not have a signature matching the target包呢?
那为高人知道什么原因,请指点一下,急.......