GTS4.0常见fail(一)

来源:互联网 发布:python reversed函数 编辑:程序博客网 时间:2024/05/29 06:38

GMS version:7.0 r_3


1、com.google.android.search.gts.GoogleSearchWidgetTest#testWidgetPresence fail

  junit.framework.AssertionFailedError: Did not find default launcher.Possible bug in a test.


分析:属于Google Issue。Google 虽然有反馈要解这个case issue,但是暂时还没有release,考虑到D-day已过,做Google issue not fix处理.


2、com.google.android.net.gts.policy.DataSaverTest#testRequiredWhitelist fail

junit.framework.AssertionFailedError:

分析:Google GTS issue, Google bug id: 30388064


3、com.google.android.os.gts.SysConfigTest#testAllowInDataUsageSaveApplied fail

 java.lang.AssertionError: Missing allow-in-data-usage-save package: com.google.android.gms  
 

失敗原因: GTS陸續都有測試包和gms共用uid然後被移除, 所以相同uid白名單會被清掉
目前RD分析為Google GTS issue, Google bug id: 30388064


4、com.google.android.os.gts.RequiredComponentsTest#testServicesLibHostAppSignedCorrectly   fail

org.junit.ComparisonFailure: Services lib host app signed with an invalid certificate expected:<[DC:76:26:3A:5A:12:73:F8:2F:BB:0E:37:5C:C3:BE:51:9A:1A:

3D:4D:FD:73:15:96:C8:29:E2:32:F7:77:73:4C]> but was:<[3A:44:8F:6B:D4:16:FF:B5:E5:FA:C2:91:03:A8:C1:23:13:1B:A8:63:47:42:0C:88:1D:C3:2F:21:58:60:AD:53]>

分析:此问题需要build 一个ro.build.tags=release-keys的load .然后再来测试,即可pass.


5、com.google.android.os.gts.RequiredComponentsTest#testSharedLibHostAppSignedCorrectly   fail

org.junit.ComparisonFailure: Shared lib host app signed with an invalid certificate expected:<[84:EB:19:12:4C:AA:A7:EE:84:9A:FC:67:86:01:62:EA:D0

:1D:7A:47:D0:8C:EB:BA:3D:6B:10:31:35:02:B1:34]> but was:<[D1:4A:5A:7C:EA:1E:26:B8:8A:1E:F0:73:1C:9B:EA:61:D0:CF:6C:F3:07:48:AF:31:ED:D2:2E:C8:76:27:02:C6]>  

分析:此问题需要build 一个ro.build.tags=release-keys的load .然后再来测试,即可pass.


6、com.google.android.gts.devicepolicy.DeviceOwnerUserRestrictionTest#testDisallowShareLocation 

fail: junit.framework.AssertionFailedError: testDisallowShareLocation failed.

分析:此为Google Issue,Bugnizer ID: 30491154
测试时额外加入network跟gps這兩個provider导致fail,
申请waive 即可


0 0
原创粉丝点击