VtsHalRadioV1_2Target包测试多条fail

问题描述

 VTS test request plug in SIMs in all SIM slots from Android P, but they doesn’t cover the VSIM case, there is no way to plug in SIM in the vsim only slot. So we enable modem VSIM at the VSIM only slot if there is no MTK framework.
VTS测试从Android P开始要求插卡测试,而Google没有考虑VSIM的情况,因为VSIM only的slot不能插实体卡,造成VTS测试fail。所以判断如果没有上层MTK framework的话,认为是GSI,在VSIM only的操作打开modem VSIM。

继续阅读“VtsHalRadioV1_2Target包测试多条fail”

Android O/P版本更新patch后刷GSI后无法开机问题

问题描述

     近期大量更新patch后,客户VTS 和 CTS-on-GSI测试,刷GSI无法开机问题,都是由于hidl的改动造成的。这个需要google出新的GSI来解决。
[Related Patch]
o1.mp1 ALPS04304953
o1.mp2 ALPS04308385
     上述两笔patch都有涉及hidl的修改,请客户确认是否上述两笔Patch导致的。

继续阅读“Android O/P版本更新patch后刷GSI后无法开机问题”

【VTS_P version】VtsTrebleVendorVintfTest 跟hash相关fail

问题描述

 VtsTrebleVendorVintfTest测试时可能会遭遇以下两种情况报hash的错误:
Case1:
01-05 12:25:53 D/ModuleListener: ModuleListener.testStarted(VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit)
01-05 12:25:53 D/ModuleListener: ModuleListener.testFailed(VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit, test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:57
Failed
vendor.sw.swfingerprint@1.0::ISwfingerprint has an empty hash. This is because it was compiled without being frozen in a corresponding current.txt file.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:57
Failed
Case2:

vendor.oppo.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint has an empty hash. This is because it was compiled without being frozen in a corresponding current.txt file.

继续阅读“【VTS_P version】VtsTrebleVendorVintfTest 跟hash相关fail”

【VTS 9.0 R4】VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest两个fail项

问题描述


VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.HalsAreServed/0_64bit
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_64bit
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.HalsAreServed/0_32bit
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit
fail
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:45

 

解决方案


继续阅读“【VTS 9.0 R4】VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest两个fail项”

Android 9.0 8.1 and 8.0 VTS 测试工具12月份下载更新

  • The December releases of the Vendor Test Suite (VTS) for Android 9.0, 8.1, and 8.0 have been released on the GMS help center; see the android-partners announcement for more details. These releases contain continuous improvements of tests and test infrastructure and include security patch support up to the January 2019 Public Security Bulletin.

继续阅读“Android 9.0 8.1 and 8.0 VTS 测试工具12月份下载更新”

【VTS 8.1_r6】CtsShortcutManagerTestCases android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher fail

问题描述


 VTS 8.1_r6,CtsShortcutManagerTestCases android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher fail

继续阅读“【VTS 8.1_r6】CtsShortcutManagerTestCases android.content.pm.cts.shortcutmanager.ShortcutManagerFakingPublisherTest#testSpoofingPublisher fail”

[VTS]VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail

[DESCRIPTION]

VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail

09-18 15:32:22 D/ModuleListener: ModuleListener.testFailed(VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit, test/vts-testcase/hal/treble/vintf/vts_treble_vintf_test.cpp:256
Failed
android.hardware.biometrics.fingerprint not available.
)
09-18 15:32:22 I/ConsoleReporter: [1/1 armeabi-v7a VtsTrebleVintfTest 331234567890123354] VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail: test/vts-testcase/hal/treble/vintf/vts_treble_vintf_test.cpp:256
Failed
android.hardware.biometrics.fingerprint not available.

[SOLUTION]

继续阅读“[VTS]VtsTrebleVintfTest#VtsTrebleVintfTest.InterfacesAreReleased_32bit fail”

[VTS 8.1-r5]CtsMediaTestCases–android.media.cts.StreamingMediaPlayerTest#testHlsWithHeadersCookies FAIL

[DESCRIPTION]
 android.media.cts.StreamingMediaPlayerTest#testHLS
fail

junit.framework.AssertionFailedError: Media player had error 100 playing video
android.media.cts.StreamingMediaPlayerTest#testHlsWithHeadersCookies
fail

junit.framework.AssertionFailedError: Media player had error 100 playing video

[SOLUTION]

继续阅读“[VTS 8.1-r5]CtsMediaTestCases–android.media.cts.StreamingMediaPlayerTest#testHlsWithHeadersCookies FAIL”

VTS Test suites required-use date

The November releases of the Vendor Test Suite (VTS) for Android 9.0, 8.1, and 8.0 are released on the GMS help center.

These releases contain continuous improvements of tests and test infrastructure and verify security patches up to November 2018.

These versions will be required for the GMS approvals as shown in the table below:

继续阅读“VTS Test suites required-use date”

[VTS 9.0_R3] fail项:VtsHalRadioV1_1Target

[DESCRIPTION]
 armeabi-v7a VtsHalRadioV1_1Target
Test Result Details
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setCarrierInfoForImsiEncryption(imsrild1)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setCarrierInfoForImsiEncryption(imsrild2)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setCarrierInfoForImsiEncryption(se1)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setCarrierInfoForImsiEncryption(se2)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setCarrierInfoForImsiEncryption(slot1)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setCarrierInfoForImsiEncryption(slot2)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(imsrild1)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(imsrild2)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(se1)_32bit fail hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
报错讯息如下:
09-27 10:08:35 D/ModuleListener: ModuleListener.testFailed(VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(se1)_32bit, hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
Expected equality of these values:
  CardState::PRESENT
    Which is: 4-byte object <01-00 00-00>
  cardStatus.cardState
    Which is: 4-byte object <00-00 00-00>)
09-27 10:08:35 I/ConsoleReporter: [8/42 armeabi-v7a VtsHalRadioV1_1Target 0123456789ABCDEF] VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(se1)_32bit fail: hardware/interfaces/radio/1.1/vts/functional/radio_hidl_hal_test.cpp:51
Expected equality of these values:
  CardState::PRESENT
    Which is: 4-byte object <01-00 00-00>  期望插卡
  cardStatus.cardState
    Which is: 4-byte object <00-00 00-00>  实际无卡
[SOLUTION]

继续阅读“[VTS 9.0_R3] fail项:VtsHalRadioV1_1Target”

Test suites GMS July release GMS Client ID update

These versions will be required for GMS approvals as described in the table below:

Release Release version Required-use date
CTS 8.1 R7, 8.0 R11, 7.1 R19, 7.0 R23, 6.0 R30 2018-8-21
VTS 8.1_r4 and 8.0_r8 w August SPLs 2018-8-21
GMS 8.1_201807, 8.0_201807 2018-9-18

GMS Client ID update
Updated H3G country list to include ITWe’ve updated the GMS Client ID mapping (direct link), effective for new devices only. Check with specific carriers to confirm which values to set. Here’s a summary of the changes:

  • Removed AT, BE, CH, FR from Vodafone list of countries
  • Added a row for Vodafone AU

VtsHalKeymasterV3_0Target模块Fail

[DESCRIPTION]
VtsHalKeymasterV3_0Target模块里面这2条case Fail

AttestationTest.EcAttestation ”“AttestationTest.RsaAttestation fail

GTS也有2条对应的case 会Fail
com.google.android.gts.security.AttestationRootHostTest#testEcAttestationChain
com.google.android.gts.security.AttestationRootHostTest#testRsaAttestationChain

[SOLUTION]

继续阅读“VtsHalKeymasterV3_0Target模块Fail”