CTS,GTS,CTS Verifier失败项总结(持续更新)

Posted 宿罪

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CTS,GTS,CTS Verifier失败项总结(持续更新)相关的知识,希望对你有一定的参考价值。

在CTS,GTS,CTS Verifier测试中经常会遇到许多问题,需要寻找相应的解决方法以便通过测试,出来IP V6及Google 豁免项外不允许出现其他问题。那么其他问题通常又会是由以下一些原因导致的。

  1. 软件问题(软件人员配置或是定制Framework导致)
  2. 驱动问题(如Camera2问题)
  3. 测试方法问题
  4. 网络问题(有些项需要使用静态ip地址测试,有些需要使用动态ip)
  5. 签名问题(找软件帮忙)
  6. ip v6网络(豁免项)

总结表格点击下载

失败项所属平台失败原因处理结果以及方法失败log
CtsCameraTestCases android.hardware.camera2.cts.ImageReaderTest#testYuvAndJpeg6580picture size 和preview size 分辨率比率相差太大调整picture size 和preview size 分辨率比率Test failed to run to completion. Reason: ‘Instrumentation run failed due to ‘Process crashed.”. Check device logcat for details
CtsCameraTestCases android.hardware.camera2.cts.StillCaptureTest#testStillPreviewCombination6580picture size 和preview size 分辨率比率相差太大调整picture size 和preview size 分辨率比率Test failed to run to completion. Reason: ‘Instrumentation run failed due to ‘Process crashed.”. Check device logcat for details
CtsCarrierApiTestCases android.carrierapi.cts.CarrierApiTest#testHasCarrierPrivileges6580该测试项需要插入特殊的SIM卡测试(白卡)插入特殊的SIM测试(白卡)junit.framework.AssertionFailedError: This test requires a SIM card with carrier privilege rule on it.
CtsHostsideNetworkTests com.android.cts.net.HostsideVpnTests#testAppDisallowed6580此项需要IPV6网络,我公司暂时无此环境此项需要IPV6网络,我公司暂时无此环境java.lang.AssertionError: on-device tests failed:
CtsMediaTestCases android.media.cts.StreamingMediaPlayerTest#testHLS6580网络速度不好使用好的网络测试junit.framework.AssertionFailedError: Stream did not play successfully after all attempts
CtsNetTestCases android.net.cts.DnsTest#testDnsWorks6580此项需要IPV6网络,我公司暂时无此环境此项需要IPV6网络,我公司暂时无此环境junit.framework.AssertionFailedError: [RERUN] DNS could not resolve ipv6.google.com, check the network supports IPv6
CtsOsTestCases android.os.cts.BuildVersionTest#testBuildFingerprint6580未按照要求命名导致根据要求重新命名测试junit.framework.ComparisonFailure: expected: but was:
manualTests#com.android.cts.verifier.managedprovisioning.DeviceOwnerPositiveTestActivity6580概率性的失败后重新测试,多测几次
manualTests#com.android.cts.verifier.screenpinning.ScreenPinningTestActivity6580软件问题修改屏幕固定功能组合键
CtsAppTestCases android.app.cts.SystemFeaturesTest#testSensorFeatures6580不支持compass sentor移除/frameworks/native/data/etc/android.hardware.sensor.compass.xml和/frameworks/native/data/etc/handheld_core_hardware.xml中的compass语句junit.framework.AssertionFailedError: PackageManager#hasSystemFeature(android.hardware.sensor.compass) returns true but SensorManager#getSensorList(2) shows sensors [] expected: but was:
CtsHardwareTestCases android.hardware.cts.SensorTest#testSensorOperations6580不支持compass sentor移除/frameworks/native/data/etc/android.hardware.sensor.compass.xml和/frameworks/native/data/etc/handheld_core_hardware.xml中的compass语句java.lang.NullPointerException: Attempt to invoke virtual method ‘int android.hardware.Sensor.getType()’ on a null object reference
manualTests#com.android.cts.verifier.sensors.SensorTestActivity6580不支持compass sentor移除/frameworks/native/data/etc/android.hardware.sensor.compass.xml和/frameworks/native/data/etc/handheld_core_hardware.xml中的compass语句
CtsAccessibilityServiceTestCases android.accessibilityservice.cts.AccessibilityWindowQueryTest#testWindowDockAndUndock_dividerWindowAppearsAndDisappears6580不支持多窗口需要关闭多窗口支持,即:修改frameworks/base/core/res/res/values/config.xml中的false,为false则关闭多窗口支持。java.util.concurrent.TimeoutException: Expected event not received within: 5000 ms.
CtsDragAndDropHostTestCases android.wm.cts.CrossAppDragAndDropTests#testCancelSoon6580不支持多窗口需要关闭多窗口支持,即:修改frameworks/base/core/res/res/values/config.xml中的false,为false则关闭多窗口支持。junit.framework.AssertionFailedError: Missing DRAG_STARTED
CtsIcuTestCases android.icu.dev.test.format.TimeZoneFormatTest#TestTimeRoundTrip6580客户提供的时区文件导致的核对修改时区文件junit.framework.AssertionFailedError: Failure: TestTimeRoundTrip(android.icu.dev.test.format.TimeZoneFormatTest), due to 1 error(s)
CtsIcuTestCases android.icu.dev.test.lang.UCharacterTest#TestIteration6580客户提供的时区文件导致的核对修改时区文件junit.framework.AssertionFailedError: Failure: TestIteration(android.icu.dev.test.lang.UCharacterTest), due to 214 error(s)
CtsIcuTestCases android.icu.dev.test.lang.UCharacterTest#TestUnicodeData6580客户提供的时区文件导致的核对修改时区文件junit.framework.AssertionFailedError: Failure: TestUnicodeData(android.icu.dev.test.lang.UCharacterTest), due to 1 error(s)
CtsLibcoreTestCases libcore.java.io.FileInputStreamTest#testSkipOnLargeFiles6580需要高效能的SD卡需要高效能的SD卡Test failed to run to completion. Reason: ‘Instrumentation run failed due to ‘Process crashed.”. Check device logcat for details
CtsLibcoreTestCases libcore.java.util.TimeZoneTest#testPreHistoricOffsets6580客户提供的时区文件导致的核对修改时区文件junit.framework.AssertionFailedError: expected:<-3600> but was:<-3740>
CtsMediaTestCases android.media.cts.CamcorderProfileTest#testGet6580驱动问题找驱动人员修改相应文件junit.framework.AssertionFailedError
CtsMediaTestCases android.media.cts.CamcorderProfileTest#testGetWithId6580驱动问题找驱动人员修改相应文件junit.framework.AssertionFailedError
CtsServicesHostTestCases android.server.cts.ActivityManagerActivityVisiblityTests#testTranslucentActivityOverDockedStack6580不支持多窗口需要关闭多窗口支持,即:修改frameworks/base/core/res/res/values/config.xml中的false,为false则关闭多窗口支持。junit.framework.AssertionFailedError: Must contain docked stack
CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testConfigurationUpdatesWhenResizedFromDockedStack6580不支持多窗口需要关闭多窗口支持,即:修改frameworks/base/core/res/res/values/config.xml中的false,为false则关闭多窗口支持。junit.framework.AssertionFailedError: Must contain stack 3
GtsMediaTestCases com.google.android.media.gts.WidevineGenericOpsTests#testL36580网络不好使用static ip address,设置合适的ip地址
manualTests#com.android.cts.verifier.managedprovisioning.DeviceOwnerPositiveTestActivity6580数据漫游配置问题修改feature_roaming_mode = 1
manualTests#com.android.cts.verifier.streamquality.StreamingVideoActivity6580网络不好不要使用静态ip,改成动态ip地址测试

其中打…表示上一项的一系列问题,如不支持多窗口。

以上是关于CTS,GTS,CTS Verifier失败项总结(持续更新)的主要内容,如果未能解决你的问题,请参考以下文章

GMS测试常用命令CTS&GTS&VTS

软件测试cts和gts是啥意思

CTS问题分析6

CTS测试CtsWindowManagerDeviceTestCases模块的testShowWhenLockedImeActivityAndShowSoftInput测试fail项解决方法(代码片段

CTS和GMS是啥,平板电脑GMS认证介绍

Android认证包括啥?android认证只包括GMS认证吗?