[Issue while running CTS] [on arm64-v8a CtsAppSecurityHostTestCases]

247 views
Skip to first unread message

Kapil Gupta

unread,
Mar 26, 2020, 11:33:24 AM3/26/20
to android-platform
Hi All,
I am trying to run CTS on arm64-v8a CtsAppSecurityHostTestCases for Android P. But one particular error is coming in many test cases of this module.
Below is the log. If anyone has faced it earlier or has any suggestion, please let me know.

03-25 09:08:01 I/ModuleListener: [2/24] android.appsecurity.cts.AdoptableHostTest#testFeatureConsistent fail:
com.android.tradefed.device.DeviceRuntimeException: 'cmd: Can't find service: package
' in not a valid output for 'pm list users'
at com.android.tradefed.device.TestDevice.tokenizeListUsers(TestDevice.java:822)
at com.android.tradefed.device.TestDevice.getPrimaryUserId(TestDevice.java:995)
at android.appsecurity.cts.Utils.getAllUsers(Utils.java:160)
at android.appsecurity.cts.Utils.prepareMultipleUsers(Utils.java:142)
at android.appsecurity.cts.AdoptableHostTest.setUp(AdoptableHostTest.java:53)
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.RunBefores.evaluate(RunBefores.java:24)
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.compatibility.common.tradefed.testtype.retry.RetryFactoryTest.run(RetryFactoryTest.java:177)
at com.android.tradefed.invoker.InvocationExecution.runTests(InvocationExecution.java:384)
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)

Thanks.
Regards:
Kapil Gupta
Reply all
Reply to author
Forward
0 new messages