[VTS_10.0_R2]VtsTrebleSysProp#VtsTrebleSysProp#testVendorPropertyNamespace

问题描述

VtsTrebleSysProp
VtsTrebleSysProp#testVendorPropertyNamespace
Fail Details:
6 != 0 vendor propertes (ro.custom.build.version ro.internal.build.version ro.tcustom.build.version ro.tinno.scc ro.tinno.scc.tlc ro.tinternal.build.version) have wrong namespace

 解决方案

继续阅读“[VTS_10.0_R2]VtsTrebleSysProp#VtsTrebleSysProp#testVendorPropertyNamespace”

[VTS10.0r1]VtsKernelNetdTest#NetdSELinuxTest.CheckProperMTULabels_32bit fail

问题描述

VtsKernelNetdTest#NetdSELinuxTest.CheckProperMTULabels_32bit fail
VtsKernelNetdTest#NetdSELinuxTest.CheckProperMTULabels_64bit fail
system/netd/tests/netd_test.cpp:34
Expected equality of these values:
((1) << 8 | (0))
Which is: 256
system("ls -Z /sys/class/net/*/mtu | egrep -q -v " "'^u:object_r:sysfs_net:s0 /sys/class/net/'")
Which is: 0

[CTS10.0_r2]CtsSecureElementAccessControlTestCases

问题描述

CtsSecureElementAccessControlTestCases1[instant]
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAPDUAID40
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAPDUAID41
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorizedAID
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorisedAPDUAID40
android.omapi.accesscontrol1.cts.AccessControlTest#testUnauthorisedAPDUAID41
android.omapi.accesscontrol1.cts.AccessControlTest#testAuthorizedAID
fail
java.lang.AssertionError

[VTS_10.0_R2]GraphicsComposerHidlCommandTest.SET_COLOR_TRANSFOR

问题描述

tsHalGraphicsComposerV2_1Target VtsHalGraphicsComposerV2_1Target#GraphicsComposerHidlCommandTest.SET_COLOR_TRANSFORM(default)
Fail:
hardware/interfaces/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerV2_1TargetTest.cpp:681
Expected equality of these values:
  0
  mReader->mErrors.size()
    Which is: 1

这个测试项是做SET_COLOR_TRANSFORM,但是driver层没有相关代码,导致了失败

解决方案

继续阅读“[VTS_10.0_R2]GraphicsComposerHidlCommandTest.SET_COLOR_TRANSFOR”

[CTS10.0r1]CtsVideoTestCases testH263Goog0Qual0176x0144 & testMpeg4Goog0Qual0176x0144 fail

问题描述

CtsVideoTestCases:

android.video.cts.VideoEncoderDecoderTest#testH263Goog0Qual0176x0144  fail

android.video.cts.VideoEncoderDecoderTest#testMpeg4Goog0Qual0176x0144 fail

junit.framework.AssertionFailedError: rms error is bigger than the limit [71.65898971874873, 72.06630322857461, 71.38896848896059, 71.42307884557219, 71.03807465917168, 71.37617246481136, 69.86188898540244, 70.35844353087238, 69.4291330573414, 69.75561629197684, 71.67132049724061, 71.77830903362988, 68.71918203523552, 69.03982221168019, 68.68988023179618, 68.91085089264462, 72.53627389555753, 72.84800599200705, 70.51591117877537, 71.07855750248216] vs 20.0

解决方案 继续阅读“[CTS10.0r1]CtsVideoTestCases testH263Goog0Qual0176x0144 & testMpeg4Goog0Qual0176x0144 fail”

Q版本刷GSI注意事项

问题描述

 Q版本要跑cts-on-gsi和跑VTS的机器刷GSI方式有差异,请参考下表。
 前提条件:
 adb和fastboot需要升级到最新版本,否则执行fastboot reboot fastboot会出现unknown command的错误。
 Google官网最新platform tools下载路径如下:

[CTS10.0r2]CtsIncidentHostTestCases com.android.server.cts.ErrorsTest#testANR failed

问题描述

com.android.server.cts.ErrorsTest#testANR fail:
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at com.android.server.cts.errors.ErrorsTests.testANR(ErrorsTests.java:99)

解决方案

继续阅读“[CTS10.0r2]CtsIncidentHostTestCases com.android.server.cts.ErrorsTest#testANR failed”

[CTS-10.0_r1]android.appsecurity.cts.AdoptableHostTest#testEjected

问题描述

android.appsecurity.cts.AdoptableHostTest#testEjected
Fail:
com.android.tradefed.device.DeviceUnresponsiveException: Attempted shell sm partition disk:7,9 public multiple times on device px5222222222 without communication success. Aborting.
注意:kernel 4.14 才会发生

解决方案

继续阅读“[CTS-10.0_r1]android.appsecurity.cts.AdoptableHostTest#testEjected”

[CTS10.0]CtsTelephonyTestCases--android.telephony.cts.VisualVoicemailServiceTest#testGetVisualVoicemailPackageName_isSelf failed

问题描述

CtsTelephonyTestCases
android.telephony.cts.VisualVoicemailServiceTest#testGetVisualVoicemailPackageName_isSelf failed:
12-09 09:50:43.140  2910  2932 E TestRunner: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.telephony.TelephonyManager.getVisualVoicemailPackageName()' on a null object reference
12-09 09:50:43.140  2910  2932 E TestRunner:     at android.telephony.cts.VisualVoicemailServiceTest.testGetVisualVoicemailPackageName_isSelf(VisualVoicemailServiceTest.java:486)

解决方案

继续阅读“[CTS10.0]CtsTelephonyTestCases--android.telephony.cts.VisualVoicemailServiceTest#testGetVisualVoicemailPackageName_isSelf failed”

[VTS 10.0-R2]VtsTrebleFrameworkVintfTest VtsTrebleFrameworkVintfTest#SystemVendorTest.ServedHwbinderHalsAreInManifest_32bit fail

问题描述

VtsTrebleFrameworkVintfTest VtsTrebleFrameworkVintfTest#SystemVendorTest.ServedHwbinderHalsAreInManifest_32bit fail
VtsTrebleFrameworkVintfTest#SystemVendorTest.ServedHwbinderHalsAreInManifest_64bit fail
test/vts-testcase/hal/treble/vintf/SystemVendorTest.cpp:131
Expected: (manifest_hwbinder_hals.find(name)) != (manifest_hwbinder_hals.end()), actual: 8-byte object <98-F6 9A-D4 7F-00 00-00> vs 8-byte object <98-F6 9A-D4 7F-00 00-00>

[CTS10.0r2]CtsWindowManagerDeviceTestCases testDeviceConfig & testDeviceConfigWithSecondaryDisplay fail

问题描述

android.server.wm.ActivityManagerGetConfigTests#testDeviceConfig fail:
java.lang.AssertionError: Expected number of locales does not match expected:<1> but was:<0>
android.server.wm.ActivityManagerGetConfigTests#testDeviceConfigWithSecondaryDisplay fail:
java.lang.AssertionError: Expected number of locales does not match expected:<1> but was:<0>

解决方案

继续阅读“[CTS10.0r2]CtsWindowManagerDeviceTestCases testDeviceConfig & testDeviceConfigWithSecondaryDisplay fail”

[CTS10.0r1]CtsAlarmManagerTestCases android.alarmmanager.cts.AppStandbyTests#testNeverDelay single run fail

问题描述

CtsAlarmManagerTestCases
android.alarmmanager.cts.AppStandbyTests#testNeverDelay failed when single run.
java.lang.AssertionError: Alarm received when app was in never bucket
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at android.alarmmanager.cts.AppStandbyTests.testNeverDelay(AppStandbyTests.java:257)
However it can pass in full run with following command:
run cts -m CtsAlarmManagerTestCases -t android.alarmmanager.cts.AppStandbyTests

[CTS10.0R1]CtsMediaTestCases android.media.cts.VideoEncoderTest#testOtherH264FlexNearMaxMax fail

问题描述

CtsMediaTestCases
android.media.cts.VideoEncoderTest#testOtherH264FlexNearMaxMax fail:
java.nio.BufferOverflowException
at java.nio.ByteBuffer.put(ByteBuffer.java:611)
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:256)
at android.media.cts.VideoEncoderTest$VideoStorage$1.onInputBufferAvailable(VideoEncoderTest.java:116)

[CTS10.0r1]CtsPermissionTestCases android.permission.cts.ProviderPermissionTest#testManageDocuments fail

问题描述

CtsPermissionTestCases  android.permission.cts.ProviderPermissionTest#testManageDocuments fail:
junit.framework.AssertionFailedError: Exactly one package (must be com.google.android.documentsui) can request the MANAGE_DOCUMENTS permission; found package com.mediatek.dataprotection which must be revoked for security reasons

[CTS10.0R1]CtsLibcoreTestCases模块4项fail

问题描述

org.apache.harmony.tests.java.nio.charset.CharsetEncoder2Test#testUtf8Encoding fail:
junit.framework.AssertionFailedError: expected:<3> but was:<1>
org.apache.harmony.tests.javax.security.auth.x500.X500PrincipalTest#testValidDN fail:
junit.framework.AssertionFailedError:
RFC2253: 139 parm: 'CN="\E0\90\AF"' expected: 'CN=���' returned: 'CN=Я'
RFC1779: 139 parm: 'CN="\E0\90\AF"' expected: 'CN=���' returned: 'CN=Я'
Unexpected encoding for: 139, dn= 'CN="\E0\90\AF"'
RFC2253: 140 parm: 'CN="\F0\80\90\AF"' expected: 'CN=����' returned: 'CN=Я'
RFC1779: 140 parm: 'CN="\F0\80\90\AF"' expected: 'CN=����' returned: 'CN=Я'
Unexpected encoding for: 140, dn= 'CN="\F0\80\90\AF"'
libcore.java.lang.StringTest#testFastPathString_illFormedUtf8Sequence fail:
junit.framework.ComparisonFailure: Fast-path UTF-8 decoder decodes sequence [c0 b1] into unexpected String expected:<[��]> but was:<[1]>
libcore.java.lang.StringTest#test_69599767 fail:
junit.framework.ComparisonFailure: expected:<��[�]!> but was:<��[]!>

解决方案

继续阅读“[CTS10.0R1]CtsLibcoreTestCases模块4项fail”

[CTS10.0r1]android.carrierapi.cts.CarrierApiTest#testAddSubscriptionToExistingGroupForMultipleSims fail

问题描述

双卡项目android.carrierapi.cts.CarrierApiTest#testAddSubscriptionToExistingGroupForMultipleSims 测试fail:
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:48)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at android.carrierapi.cts.CarrierApiTest.testAddSubscriptionToExistingGroupForMultipleSims(CarrierApiTest.java:970)