7.0 CTS fail 项分析之google Issue (一)

google.gmsversion=7.0_r3
cts测试工具:7.0_r1

1、
CtsAppTestCases - armeabi-v7a
android.app.cts.ActivityManagerTest#testTimeTrackingAPI_ChainedActivityExit       fail
junit.framework.AssertionFailedError: expected:<1> but was:<3>

分析:这是个已知的google issue,Google bug id: 30490655,
因前面case會造成此case fail,當full run fail時, Single run 需跑 module package即可pass
(run cts -m CtsAppTestCases -t android.app.cts.ActivityManagerTest)

2、
CtsLibcoreTestCases - armeabi-v7a
tests.targets.security.cert.CertificateTest#testVerifyMD2_chain    fail
java.security.cert.CertPathValidatorException: timestamp check failed

tests.targets.security.cert.CertificateTest#testVerifyMD5_chain    fail
java.security.cert.CertPathValidatorException: timestamp check failed

分析:这两项L1/M/N版本都可以申请豁免

3、
CtsMediaTestCases - armeabi-v7a
android.media.cts.ExifInterfaceTest#testReadExifDataFromExifByteOrderIIJpeg        fail
java.io.IOException: ExifInterface does not support saving attributes for the current input.

android.media.cts.ExifInterfaceTest#testReadExifDataFromExifByteOrderMMJpeg    fail
java.io.IOException: ExifInterface does not support saving attributes for the current input.

分析:这两项可以waive
java.io.IOException: ExifInterface does not support saving attributes for the current input.
waive link:https://android-review.googlesource.com/#/c/295391/

4、
android.theme.cts.ThemeHostTest#testThemes
junit.framework.AssertionFailedError: Failed to get resource: /hdpi.zip

详情:请用Google bug id:30546636申请豁免

5、
android.appsecurity.cts.AdoptableHostTest#testPackageInstaller

详情:java.lang.AssertionError: Devices that claim to support adoptable storage must have adoptable media inserted during CTS to verify correct behavior
请用Google bug id: 30752756申请豁免

6、
com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask

详情:junit.framework.AssertionFailedError: com.android.cts.deviceowner.LockTaskTest failed.
请用Google Bugid: 31293199申请豁免

7、
libcore.java.net.ConcurrentCloseTest#test_write

详情:Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Process crashed.''. Check device logcat for details
请用Google bug id: 30910016申请豁免

8、
android.security.cts.SELinuxHostTest#testSdcarddDomain

详情:junit.framework.AssertionFailedError: Expected one of "[/system/bin/sdcard]" in SELinux domain "u:r:sdcardd:s0" Found: "label: u:r:sdcardd:s0 user: media_rw pid: 1254 ppid: 272 cmd: [sdcard]"
请用Google bug id: 30752756申请豁免

9、
android.telecom.cts.OutgoingCallTest#testStartCallWithSpeakerphoneTrue_SpeakerphoneOnInCall

详情:junit.framework.AssertionFailedError: Phone's audio route should be: 8 expected:<8> but was:<1>
请用Google bug id:31257942申请豁免

你可能感兴趣的:(GMS)