GMS cts测试CtsAppSecurityHostTestCases

android.appsecurity.cts.AdoptableHostTest#testApps
fail
java.lang.AssertionError: Expected success string but found Failure [-6]

 

失败项

报错日志:

11-05 16:38:10 D/ModuleListener: ModuleListener.testStarted(android.appsecurity.cts.AdoptableHostTest#testFeatureConsistent)
11-05 16:38:11 D/TestDevice: Uninstalling com.android.cts.splitapp
11-05 16:38:13 D/TestDevice: Uninstalling com.android.cts.splitapp
11-05 16:38:13 D/PrettyTestEventLogger: ==================== android.appsecurity.cts.AdoptableHostTest#testFeatureConsistent ENDED: Tue Nov 05 16:38:13 CST 2019 ====================
11-05 16:38:14 I/ModuleListener: [1/267] android.appsecurity.cts.AdoptableHostTest#testFeatureConsistent pass
11-05 16:38:14 D/PrettyTestEventLogger: ==================== android.appsecurity.cts.AdoptableHostTest#testApps STARTED: Tue Nov 05 16:38:14 CST 2019 ====================
11-05 16:38:14 D/ModuleListener: ModuleListener.testStarted(android.appsecurity.cts.AdoptableHostTest#testApps)
11-05 16:38:14 D/TestDevice: Uninstalling com.android.cts.splitapp
11-05 16:38:16 D/ddms: Reading file permision of /home/emdoor/GMS/VTS/9.0_r10/android-vts/tools/../../android-vts/testcases/CtsSplitApp.apk as: rw-r--r--
11-05 16:38:16 D/ddms: Reading file permision of /home/emdoor/GMS/VTS/9.0_r10/android-vts/tools/../../android-vts/testcases/CtsSplitApp_arm64-v8a.apk as: rw-r--r--
11-05 16:38:17 I/RemoteAndroidTest: Running am instrument -w -r --abi arm64-v8a  -e timeout_msec 600000 -e class 'com.android.cts.splitapp.SplitAppTest#testDataInternal' com.android.cts.splitapp/androidx.test.runner.AndroidJUnitRunner on unknown-aosp_on_arm_arm64_emulator-609b901e
11-05 16:38:18 I/BaseHostJUnit4Test: Test com.android.cts.splitapp.SplitAppTest#testDataInternal: PASSED
11-05 16:38:18 I/RemoteAndroidTest: Running am instrument -w -r --abi arm64-v8a  -e timeout_msec 600000 -e class 'com.android.cts.splitapp.SplitAppTest#testDataWrite' com.android.cts.splitapp/androidx.test.runner.AndroidJUnitRunner on unknown-aosp_on_arm_arm64_emulator-609b901e
11-05 16:38:19 I/BaseHostJUnit4Test: Test com.android.cts.splitapp.SplitAppTest#testDataWrite: PASSED
11-05 16:38:19 I/RemoteAndroidTest: Running am instrument -w -r --abi arm64-v8a  -e timeout_msec 600000 -e class 'com.android.cts.splitapp.SplitAppTest#testDataRead' com.android.cts.splitapp/androidx.test.runner.AndroidJUnitRunner on unknown-aosp_on_arm_arm64_emulator-609b901e
11-05 16:38:20 I/BaseHostJUnit4Test: Test com.android.cts.splitapp.SplitAppTest#testDataRead: PASSED
11-05 16:38:20 I/RemoteAndroidTest: Running am instrument -w -r --abi arm64-v8a  -e timeout_msec 600000 -e class 'com.android.cts.splitapp.SplitAppTest#testNative' com.android.cts.splitapp/androidx.test.runner.AndroidJUnitRunner on unknown-aosp_on_arm_arm64_emulator-609b901e
11-05 16:38:20 I/BaseHostJUnit4Test: Test com.android.cts.splitapp.SplitAppTest#testNative: PASSED
11-05 16:38:32 D/TestDevice: Uninstalling com.android.cts.splitapp
11-05 16:38:33 I/ModuleListener: [2/267] android.appsecurity.cts.AdoptableHostTest#testApps fail:
java.lang.AssertionError: Expected success string but found Failure [-6]

    at android.appsecurity.cts.AdoptableHostTest.assertSuccess(AdoptableHostTest.java:385)
    at android.appsecurity.cts.AdoptableHostTest.testApps(AdoptableHostTest.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    at com.android.tradefed.testtype.HostTest.runJUnit4Tests(HostTest.java:562)
    at com.android.tradefed.testtype.HostTest.runTestClasses(HostTest.java:481)
    at com.android.tradefed.testtype.HostTest.run(HostTest.java:455)
    at com.android.compatibility.common.tradefed.testtype.JarHostTest.run(JarHostTest.java:53)
    at com.android.tradefed.testtype.suite.GranularRetriableTestWrapper.intraModuleRun(GranularRetriableTestWrapper.java:276)
    at com.android.tradefed.testtype.suite.GranularRetriableTestWrapper.run(GranularRetriableTestWrapper.java:222)
    at com.android.tradefed.testtype.suite.ModuleDefinition.run(ModuleDefinition.java:397)
    at com.android.tradefed.testtype.suite.ITestSuite.runSingleModule(ITestSuite.java:519)
    at com.android.tradefed.testtype.suite.ITestSuite.run(ITestSuite.java:448)
    at com.android.tradefed.invoker.InvocationExecution.runTests(InvocationExecution.java:376)
    at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:358)
    at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:205)
    at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:667)
    at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:566)

 

 

记录一下,因为找不到方法解决,过不了gms可咋整,Android 9.0 ,如果后续有答案,我就更新

 

 

你可能感兴趣的:(GMS cts测试CtsAppSecurityHostTestCases)