分类: CTS
Camera FOV Calibration failed
[cts-on-gsi 8.1_R6/CTS8.1 R10] CtsAutoFillServiceTestCases android.autofillservice.cts.SessionLifecycleTest#testDatasetAuthResponseWhileAutofilledAppIsLifecycled 测试 fail
问题描述
[CTS] android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules265
问题描述
android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules265
fail
junit.framework.AssertionFailedError: The following errors were encountered when validating the SELinuxneverallow rule:
[CTS9.0-R3]CtsUsageStatsTestCases包下,五条case测试fail
问题描述
ndroid.app.usage.cts.NetworkUsageStatsTest#testAppDetails
fail junit.framework.AssertionFailedError: No Rx bytes usage for uid 10903 tag null state STATE_ALL
android.app.usage.cts.NetworkUsageStatsTest#testAppSummary
fail junit.framework.AssertionFailedError: No Rx bytes usage for uid 10903
android.app.usage.cts.NetworkUsageStatsTest#testTagDetails
fail junit.framework.AssertionFailedError: No Rx bytes tagged with 0xf00d for uid 10903
android.app.usage.cts.NetworkUsageStatsTest#testUidDetails
fail junit.framework.AssertionFailedError: No Rx bytes usage for uid 10903
android.app.usage.cts.NetworkUsageStatsTest#testUidTagStateDetails
fail junit.framework.AssertionFailedError: No Rx bytes usage for uid 10903 tag 0xf00d state STATE_FOREGROUND
解决方案
[CTS-8.1R10] android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher
问题描述
[CTS-8.1R10] android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher
junit.framework.AssertionFailedError: Expected exception type java.lang.SecurityException was not thrown
解决方案
CTS/GTS 常见问题解答
1.android.security.cts.PackageSignatureTest测试fail(MTK平台)
原因:由于用的是google default key而导致的fail,需要自己定义release key,不仅可以满足CTS request,还可以满足工信部CATR TAF spec。
方案:在编译器执行如下命令:
CTS测试工具更新 November releases for Android 8.1, 8.0, 7.1, and 7.0
The CTS November releases for Android 8.1, 8.0, 7.1, and 7.0 are available on the Compatibility Test Suite Downloads page. These releases contain continuous improvements of tests and test infrastructure, and verify security patches up to the October 2018 Public Security Bulletin.
继续阅读“CTS测试工具更新 November releases for Android 8.1, 8.0, 7.1, and 7.0”
[Audio CTS]Audio Frequency Test Fail
问题描述
[Audio CTS]Audio Lookback Latency Test
问题描述
测试原理:
测试APK 产生一个脉冲,播放出来后Record下来再播放。
【CTS】android.carrierapi.cts.CarrierApiTest#testGetIccAuthentication fail
问题描述
android.carrierapi.cts.CarrierApiTest#testGetIccAuthentication fail junit.framework.AssertionFailedError: This test requires a SIM card with carrier privilege rule on it.
android.carrierapi.cts.CarrierApiTest#testHasCarrierPrivileges fail junit.framework.AssertionFailedError: This test requires a SIM card with carrier privilege rule on it.
android.carrierapi.cts.CarrierApiTest#testSendDialerSpecialCode fail junit.framework.AssertionFailedError: This test requires a SIM card with carrier privilege rule on it.
armeabi-v7a CtsContentTestCases
继续阅读“【CTS】android.carrierapi.cts.CarrierApiTest#testGetIccAuthentication fail”
【GSI 9.0 R3】android.appsecurity.cts.ExternalStorageHostTest#testSecondaryUsersInaccessible fail
问题描述
armeabi-v7a CtsAppSecurityHostTestCases
Test Result Details
android.appsecurity.cts.ExternalStorageHostTest#testSecondaryUsersInaccessible
fail
java.lang.AssertionError: /sdcard/../24
继续阅读“【GSI 9.0 R3】android.appsecurity.cts.ExternalStorageHostTest#testSecondaryUsersInaccessible fail”
【GSI:9.0_R3】android.server.am.ActivityManagerActivityVisibilityTests#testFinishActivityWithMoveTaskToBackAfterStop
问题描述
fail
java.lang.AssertionError: Window=android.server.am/android.server.am.MoveTaskToBackActivity must NOT be visible. expected:<false> but was:<true>
BTS::MALWARE_FINDER#/app/LovelyFonts/LovelyFonts.apk
问题描述
BTS::MALWARE_FINDER#/app/LovelyFonts/LovelyFonts.apk
继续阅读“BTS::MALWARE_FINDER#/app/LovelyFonts/LovelyFonts.apk”
[CTS] CTS Verifier 测试结果的迁移 | Sukha
有时候测试完大部分项目而由于测试机的硬件缺陷,无法通过某些项目,可以把测试结果进行迁移,备份恢复到另一台机器然后出报告。
adb backup -f com.android.cts.verifier.backup -apk com.android.cts.verifier # backup on one device
adb restore com.android.cts.verifier.backup # restore to the same or any other device
旧版本到新版本升级也是支持的。
以8.1r7为例:
[CTS] android.app.cts.SystemFeaturesTest#testSensorFeatures
android.app.cts.SystemFeaturesTest#testSensorFeatures fail
junit.framework.AssertionFailedError: PackageManager#hasSystemFeature(android.hardware.sensor.compass) returns true but SensorManager#getSensorList(2) shows sensors [] expected:<true> but was:<false>
解决方案
继续阅读“[CTS] android.app.cts.SystemFeaturesTest#testSensorFeatures”
[CTS] android.app.cts.SystemFeaturesTest#testCameraFeatures
run cts -m CtsAppTestCases -t android.app.cts.SystemFeaturesTest#testCameraFeatures --skip-preconditions --precondition-arg skip-media-download
android.app.cts.SystemFeaturesTest#testCameraFeatures fail junit.framework.AssertionFailedError: PackageManager#hasSystemFeature should NOT return true for android.hardware.camera.level.full
解决方案
继续阅读“[CTS] android.app.cts.SystemFeaturesTest#testCameraFeatures”
[CTS] CtsBluetoothTestCases fail
android.bluetooth.cts.BluetoothLeScanTest#testBasicBleScan fail junit.framework.AssertionFailedError: Scan results shouldn't be empty
android.bluetooth.cts.BluetoothLeScanTest#testOpportunisticScan fail junit.framework.AssertionFailedError: Scan results shouldn't be empty 打开Location到High accuracy, Scanning/bt scanning
android.bluetooth.cts.BluetoothLeScanTest#testScanFilter fail junit.framework.AssertionFailedError: Scan results shouldn't be empty
android.bluetooth.cts.BluetoothLeScanTest#testStartScanPendingIntent fail junit.framework.AssertionFailedError: Scan results shouldn't be empty
android.bluetooth.cts.BluetoothLeScanTest#testStartScanPendingIntent_nullnull fail junit.framework.AssertionFailedError: Scan results not received
解决方案
[CTS] CtsCarrierApiTestCases
android.carrierapi.cts.CarrierApiTest#testGetIccAuthentication
android.carrierapi.cts.CarrierApiTest#testHasCarrierPrivileges
android.carrierapi.cts.CarrierApiTest#testSendDialerSpecialCode