com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail
2017-01-11 12:34
716 查看
GTS 4.0运行时会报如下错误:
com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail junit.framework.AssertionFailedError: Mandatory core GMS packages not found as system apps:
从报错信息看出系统未检测到Hangout导致测试fail.但这是Google要求,将强制预置App Hangout更换为Duo,所以可以去申请waive
具体分析如下:
testCoreGmsAppsPreloaded case test preloaded mandatory core app list,
but Duo app has replaced hangouts app from GMS gms-oem-mnc-6.0.1-signed-r10-20161111 and gms-oem-N-7.0-signed-r4-20161111 version on Telephony devices, so case do not find com.google.android.talk app:
com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail: junit.framework.AssertionFailedError: Mandatory core GMS packages not found as system apps:
com.google.android.talk
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
com.google.android.gts.placement.CoreGmsAppsTest.checkGeneralCoreGmsAppsPreloaded(CoreGmsAppsTest.java:175)
at com.google.android.gts.placement.CoreGmsAppsTest.testCoreGmsAppsPreloaded(CoreGmsAppsTest.java:228)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77)
at junit.framework.TestResult.run(TestResult.java:118)
at android.support.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:55)
at junit.framework.TestCase.run(TestCase.java:124)
at android.support.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:63)
at android.support.test.internal.runner.junit3.AndroidTestSuite$1.run(AndroidTestSuite.java:97)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail junit.framework.AssertionFailedError: Mandatory core GMS packages not found as system apps:
从报错信息看出系统未检测到Hangout导致测试fail.但这是Google要求,将强制预置App Hangout更换为Duo,所以可以去申请waive
具体分析如下:
testCoreGmsAppsPreloaded case test preloaded mandatory core app list,
but Duo app has replaced hangouts app from GMS gms-oem-mnc-6.0.1-signed-r10-20161111 and gms-oem-N-7.0-signed-r4-20161111 version on Telephony devices, so case do not find com.google.android.talk app:
com.google.android.gts.placement.CoreGmsAppsTest#testCoreGmsAppsPreloaded fail: junit.framework.AssertionFailedError: Mandatory core GMS packages not found as system apps:
com.google.android.talk
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
com.google.android.gts.placement.CoreGmsAppsTest.checkGeneralCoreGmsAppsPreloaded(CoreGmsAppsTest.java:175)
at com.google.android.gts.placement.CoreGmsAppsTest.testCoreGmsAppsPreloaded(CoreGmsAppsTest.java:228)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at android.support.test.internal.runner.junit3.AndroidTestResult.runProtected(AndroidTestResult.java:77)
at junit.framework.TestResult.run(TestResult.java:118)
at android.support.test.internal.runner.junit3.AndroidTestResult.run(AndroidTestResult.java:55)
at junit.framework.TestCase.run(TestCase.java:124)
at android.support.test.internal.runner.junit3.NonLeakyTestSuite$NonLeakyTest.run(NonLeakyTestSuite.java:63)
at android.support.test.internal.runner.junit3.AndroidTestSuite$1.run(AndroidTestSuite.java:97)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
相关文章推荐
- android GTS-- com.google.android.xts.placement.UiPlacementTest fail
- GTS fail: com.google.android.gts.afw.AfwRequiredAppsOverlaysTest - testDialerRequiredManagedDeviceOv
- com.google.android.gts.afw.AfwRequiredAppsOverlaysTest - testDialerRequiredManagedDeviceOverlay fail
- com.google.android.xts.devicepolicy.DeviceOwnerTest#testFactoryResetProtection fail
- com.google.android.xts.location.LocationHostTest--testSetting fail
- com.google.android.xts.devicepolicy.DeviceOwnerTest--testUserManagement fail
- GTS:com.google.android.installpackageswhitelist.gts.GtsInstallPackagesWhitelistDeviceTest#testInstal
- GTS Fail修改集锦com.google.android.xts.afw.AfwRequiredAppsOverlaysTest
- GTS:com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrants
- com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrants
- com.google.android.gts.backup.BackupHostTest#testGmsBackupTransportIsDefault
- com.google.android.afw.gts.AfwSupportTest#testManagedProfileSupported
- 接入环信 easeUI 报错 fail to resolve 'com.google.android.gms:play-services-base:11.4.0'
- com.google.android.afwtest.nonsuwpoprovisioning.NonSuwPoProvisioningTest#testNonSuwPoProvisioning fa
- cts fail:com.android.cts.aadb.TestDeviceFuncTest
- cts fail: com.android.cts.numberblocking.hostside.NumberBlockingTest#testNumberBlocking
- Android上的GPS程序报错:Fail to find provider info for com.google.android.gsf.gservices
- gtx com.google.android.xts.permissions.DefaultPermissionGrantPolicyTest -- testDefaultGrants fail
- com.android.cts.appsecurity.AppSecurityTests#testAppFailAccessPrivateData fail
- com.android.cts.appsecurity.PermissionsHostTest等相关测项fail