[cts-on-gsi 8.1_R6/CTS8.1 R10] CtsAutoFillServiceTestCases android.autofillservice.cts.SessionLifecycleTest#testDatasetAuthResponseWhileAutofilledAppIsLifecycled 测试 fail

问题描述


  cts-on-gsi 8.1_R6 CtsAutoFillServiceTestCases android.autofillservice.cts.SessionLifecycleTest#testDatasetAuthResponseWhileAutofilledAppIsLifecycled 测试 fail
11-13 15:36:50 D/ModuleListener: ModuleListener.testFailed(android.autofillservice.cts.SessionLifecycleTest#testDatasetAuthResponseWhileAutofilledAppIsLifecycled, android.autofillservice.cts.RetryableException: Timedout out after 2000 ms

 

[CTS] android.cts.security.SELinuxNeverallowRulesTest#testNeverallowRules265

问题描述


 CtsSecurityHostTestCases
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

解决方案

继续阅读“[CTS9.0-R3]CtsUsageStatsTestCases包下,五条case测试fail”

[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-8.1R10] android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher”

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”

【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

问题描述


 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>

继续阅读“【GSI:9.0_R3】android.server.am.ActivityManagerActivityVisibilityTests#testFinishActivityWithMoveTaskToBackAfterStop”

[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] CTS Verifier 测试结果的迁移 | Sukha”

[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] CtsBluetoothTestCases fail”