Google认证fail项解决方案

来源:互联网 发布:sql 左联 编辑:程序博客网 时间:2024/04/25 23:16

需要保证网络可以访问谷歌资源。


【TestCase】【Root Cause】【Solutiion】testInputMethodSubtypesOfSystemImes输入法的res\xml\method.xml中没有声明subtype去掉该输入法,集成原生testAppFailAccessPrivateData补丁导致的流量统计问题https://android.googlesource.com/kernel/msm/+/14d533d17af0ab150440d6431414680b36105783%5E%21/#F0 testOwnerChangedBroadcastjunit.framework.AssertionFailedError: Failed to remove device owner. at junit.framework.Assert.fail(Assert.java:50)将设置->账号 里面的所有账号移除,不能移除的账号,直接将APK卸载掉testSilentPackageInstalljunit.framework.AssertionFailedError: Failed to remove device owner. at junit.framework.Assert.fail(Assert.java:50)将设置->账号 里面的所有账号移除,不能移除的账号,直接将APK卸载掉testViewDownloads无任何APK处理改intent,对比原生版本是有APK处理的,所以需要集成相应的APK
APK name: DownloadProviderUi.apk
包名:com.android.providers.downloads.uitestWebSearchNormalUrl无任何APK处理改intent,对比原生版本是有APK处理的,所以需要集成相应的APK
APK name: DownloadProviderUi.apk
包名:com.android.providers.downloads.uitest_isReachableLjava_net_NetworkInterfaceII很可能是DNS被绑架了,在做CTS测试时,建议将dns server配为8.8.8.8和8.8.8.4,避免运营商劫持,请参考:http://fanli7.net/a/bianchengyuyan/C__/20120920/226927.htmltestReceiveTextMessage未将本机号码写入SIM中,建议使用中国联通的SIM(UIM)卡测试testPrimaryStorageAdoptableHostTest#testPrimaryStorage预期从内置存储卡拷贝数据到到外置存储卡要在1分钟完成,
但如果外置存储卡的速率太低或者内置存储卡文件太多就无法在1分钟內拷贝完成。
https://android-review.googlesource.com/#/c/178060
Google 建议清空内外存储卡的文件单跑case pass即可。testAppFailAccessPrivateData需要申请Google patch
https://android.googlesource.com/kernel/msm/+/14d533d17af0ab150440d6431414680b36105783%5E%21/#F0testRemoteConnectionVideoCallbacks_CameraCapabilities可以向谷歌申请豁免:
https://buganizer.corp.google.com/issues/25167342testRemoteConnectionVideoCallbacks_PeerDimensions可以向谷歌申请豁免:
https://buganizer.corp.google.com/issues/25167342testGetMaxSupportedInstances修改media_codecs_mediatek_video.xml,把OMX.MTK.VIDEO.DECODER.VP9的Limit name="concurrent-instances" max="16"改成16 testVerifyMD2_chainplease used b/32780006 as the waiver before fix in the next CTS release testVerifyMD5_chainplease used b/32780006 as the waiver before fix in the next CTS releasetestStagefright_cve_2015_6608_b_23680780豁免项:https://android-review.googlesource.com/#/c/302309/testSensorFeatures不支持gyroscope,stepcount, stepdetector等sensor,所以讲相应的sensor xml文件不集成到软件中testLocationFeatures软件没有集成GMS包 test_isReachableLjava_net_NetworkInterfaceIIwifi网络问题,可以试下关闭wifi只用sim卡的4G网络是可以测试pass的。
很可能是DNS被绑架了,在做CTS测试时,建议将dns server配为8.8.8.8和8.8.8.4,避免运营商劫持,请参考:http://fanli7.net/a/bianchengyuyan/C__/20120920/226927.htmltestSingleCallBackup情况1:

带GMS的版本会概率性fail

android.calllog.cts.CallLogBackupTest#testSingleCallBackup FAIL

junit.framework.AssertionFailedError: expected:<1> but was:<0>



at android.calllog.cts.CallLogBackupTest.verifyCall(CallLogBackupTest.java:171)

at android.calllog.cts.CallLogBackupTest.testSingleCallBackup(CallLogBackupTest.java:160)

Waive link: https://b2.corp.google.com/issues/30132131

情况2:

fail java.io.IOException: read failed: EBADF (Bad file descriptor) at libcore.io.IoBridge.read(IoBridge.java:513)

https://android-review.googlesource.com/#/c/248241/
CTS case执行exec cmd 过程中Libcore.os.read fd失败,导致抛出IO异常,case failed。

0 0
原创粉丝点击