Android11 GMS GTS 测试错误

下面是关于Android 11 平台GMS GTS测试所遇到的问题在此记录下:

1. 需要向Google提白名单后配置APE_API_KEY测试
1.1 case

arm64-v8a armeabi-v7a GtsAssistIntentTestCases
com.google.android.assist.gts.AssistIntentConditionalTest#testSoundTriggerModuleMinimumVersion com.google.android.assist.gts.AssistIntentConditionalTest#testDefaultAssistantComponentNameSetting com.google.android.assist.gts.AssistIntentConditionalTest#testDefaultVoiceInteractionService com.google.android.assist.gts.KeyphraseModelManagerTest#verifyRecoveryOfBadModel com.google.android.assist.gts.KeyphraseModelManagerTest#testDownloadModelMap
arm64-v8a armeabi-v7a GtsAssistantWorkProfileHostTestCases
com.google.android.assist.gts.host.workprofile.AssistHostConditionalTest#testDefaultVoiceInteractionService
arm64-v8a armeabi-v7a GtsDialerAudioTestCases
com.google.android.dialer.helper.DialerAudioTest#testDialerAudioFeature
arm64-v8a armeabi-v7a GtsDuoReadyTestCases
com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastBitrateVP8 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastBitrateVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastEncoderQualityVP8 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastEncoderQualityVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicFrameRateVP8 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicFrameRateVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicBitrateH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicBitrateHEVC com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecEncoderQualityVP8 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecEncoderQualityVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastEncoderQualityH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastEncoderQualityHEVC com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecRequestSyncFrameH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecRequestSyncFrameHEVC com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicFrameRateH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicFrameRateHEVC com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDelayVP8
com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDelayVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecRequestSyncFrameVP8 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecRequestSyncFrameVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicBitrateVP8 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDynamicBitrateVP9 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastBitrateH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecSimulcastBitrateHEVC. com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecEncoderQualityH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecEncoderQualityHEVC com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDelayH264 com.google.android.duo.gts.DuoReadyTest#testDuoReadyCodecDelayHEVC
arm64-v8a armeabi-v7a GtsJniUncompressHostTestCases
com.google.android.gts.jniuncompress.GtsJniUncompressHostTest#testJniLibsUncompresse
arm64-v8a armeabi-v7a GtsMbaPrivilegedPermissionTestCases
com.google.android.mbaprivilegedpermission.gts.GtsAccessibilityUiAutomationTest#testMbaPrivilegedPermission com.google.android.mbaprivilegedpermission.gts.GtsAppDownloaderInstallerTest#testMbaPrivilegedPermission com.google.android.mbaprivilegedpermission.gts.GtsAppNetworkUsageStatisticsTest#testMbaPrivilegedPermission com.google.android.mbaprivilegedpermission.gts.GtsDebugCertificateTest#testMbaPrivilegedPermission com.google.android.mbaprivilegedpermission.gts.GtsForcedKeepEnabledAppsTest#testMbaPrivilegedPermission com.google.android.mbaprivilegedpermission.gts.GtsNotificationAccessListenersTest#testMbaPrivilegedPermission
arm64-v8a armeabi-v7a GtsNmgiarcTestCases
com.google.android.comms.DialerTests#testDialerInstalledCorrectly. com.google.android.comms.DialerTests#testDialerMinVersion. com.google.android.comms.DialerTests#testDialerPreloadStatus com.google.android.comms.MessagesTests#testMessagesVersionCheck com.google.android.comms.MessagesTests#testMessagesInstalledCorrectly
com.google.android.comms.MessagesTests#testAcsaRequirements
arm64-v8a armeabi-v7a GtsPermissionTestCases
com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testPreGrantsWithRemoteExceptions com.google.android.permission.gts.RequiredPregrantPermissionsTest#checkRequiredPregrantPermission
arm64-v8a armeabi-v7a GtsPlacementTestCases
com.google.android.placement.gts.CoreGmsAppsTest#testGoogleDuoPreloaded com.google.android.placement.gts.CoreGmsAppsVersionTest#testCoreGmsAppsVersions com.google.android.placement.gts.DefaultIntentTest#testDefaultIntentHandlers
com.google.android.placement.gts.HomescreenLayoutTest#testShortcutPlacement com.google.android.placement.gts.HomescreenPlacementTest#testAppPlacement com.google.android.placement.gts.InstalledAppsTest#testAppsInstalled com.google.android.placement.gts.InstalledAppsTest#testSystemAppsInstalled com.google.android.placement.gts.UiPlacementTest#testAppPresent com.google.android.placement.gts.UiPlacementTest#testRSACompliance com.google.android.placement.gts.UiPlacementTest#testEEAv2AppPlacement
arm64-v8a armeabi-v7a GtsRegulationComplianceTestCases
com.google.android.regulationcompliance.gts.EEAComplianceTest#testEEAv2Compliance. com.google.android.regulationcompliance.gts.RUComplianceTest#testRUCompliance
arm64-v8a armeabi-v7a GtsSettingsTestCases
com.google.android.settings.gts.HomepageDisplayTest#launchGoogleSettings_shouldInvokeGmsSettings com.google.android.settings.gts.MADAComplianceTest#testMADACompliance
arm64-v8a armeabi-v7a GtsSmsCallLogTestCases
com.google.android.smscalllog.gts.GtsSmsCallLogTest#testSmsCallLogAgainstAllowlist

1.2 fail logs
java.lang.RuntimeException: Test failed due to unrecognized service account for this product, please submit an initial GTS report for this product with full EDI (run gts -m GtsEdiHostTestCases) at https://partner.android.com/approvals/upload-report and try again.
2. 需要Google key
2.1 case

arm64-v8a GtsGmscoreHostTestCases
com.google.android.gts.security.AttestationRootHostTest#testEcAttestationChain com.google.android.gts.security.AttestationRootHostTest#testRsaAttestationChain
armeabi-v7a GtsGmscoreHostTestCases
com.google.android.gts.security.AttestationRootHostTest#testEcAttestationChain com.google.android.gts.security.AttestationRootHostTest#testRsaAttestationChain

2.2 fail logs

  • junit.framework.AssertionFailedError:
    com.google.android.gts.security.AttestationRootTest.testRsaAttestationChain
    failed.
  • junit.framework.AssertionFailedError:
    com.google.android.gts.security.AttestationRootTest.testEcAttestationChain
    failed.

3. 需要白卡测试
3.1 case

arm64-v8a GtsSimAppDialogTestCases
com.google.android.simappdialog.gts.InstallCarrierAppActivityTest#testNotificationOnlyDuringSetupWizard com.google.android.simappdialog.gts.InstallCarrierAppActivityTest#testActivityAndNotificationShown_notNowPressed com.google.android.simappdialog.gts.InstallCarrierAppActivityTest#testActivityAndNotificationShown_downloadPressed
armeabi-v7a GtsSimAppDialogTestCases
com.google.android.simappdialog.gts.InstallCarrierAppActivityTest#testNotificationOnlyDuringSetupWizard com.google.android.simappdialog.gts.InstallCarrierAppActivityTest#testActivityAndNotificationShown_notNowPressed com.google.android.simappdialog.gts.InstallCarrierAppActivityTest#testActivityAndNotificationShown_downloadPressed

3.2 fail logs

  • java.lang.AssertionError: Carrier install notification failed to
    show.
  • java.lang.AssertionError: Dialog not shown. Is the test SIM
    inserted?

4. 需要GPS信号很好的地方测试
4.1 case

arm64-v8a GtsLocationTestCases
com.google.android.location.gts.gnss.GnssLocationValuesTest#testAccuracyFields com.google.android.location.gts.gnss.GnssLocationValuesTest#testLocationRegularFields fail com.google.android.location.gts.gnss.GnssMeasurementValuesTest#testListenForGnssMeasurements com.google.android.location.gts.gnss.GnssPseudorangeVerificationTest#testPseudoPosition com.google.android.location.gts.gnss.GnssPseudorangeVerificationTest#testPseudorangeValue
armeabi-v7a GtsLocationTestCases
com.google.android.location.gts.gnss.GnssLocationValuesTest#testAccuracyFields com.google.android.location.gts.gnss.GnssLocationValuesTest#testLocationRegularFields com.google.android.location.gts.gnss.GnssMeasurementValuesTest#testListenForGnssMeasurements com.google.android.location.gts.gnss.GnssPseudorangeVerificationTest#testPseudoPosition com.google.android.location.gts.gnss.GnssPseudorangeVerificationTest#testPseudorangeValue

4.2 fail logs

  • junit.framework.AssertionFailedError: Time elapsed without getting
    enough location fixes. Possibly, the test has been run deep indoors.
    Consider retrying test outdoors.

5. 需要再开机向导连接外网登录Google账号
5.1 case

arm64-v8a GtsSetupWizardHostTestCases
com.google.android.gts.setupwizard.SetupWizardZeroTouchTest#testZeroTouch_zeroTouchWrapperLaunched

5.2 fail logs

  • junit.framework.AssertionFailedError: SetupWizard didn’t launch
    ZeroTouchWrapper.

6. 网络不好一般复测即可通过
6.1 Fail logs 如下基本都可以复测通过

  • java.lang.Exception: Failed components: < Network Connection
    Check: Could not ping
    yt-dash-mse-test.commondatastorage.googleapis.com because failed to
    connect to /243.185.187.39 (port 80) from /:: (port 44782): connect
    failed: ETIMEDOUT (Connection timed out) >
  • java.lang.Exception: Failed components: < Audio Reached Seconds:
    The video only played to 8777 ms instead of 20000 ms > <
    Continous Video Progress: Playback got stuck at 3666666 us > <
    No Exceptions: An exception occurred during playback (null) > <
    Video Reached Seconds: The video only played to 3666 ms instead of
    20000 ms >
  • java.lang.Exception: Failed components: < Audio Reached Seconds:
    The video only played to 8405 ms instead of 80000 ms > <
    Continous Video Progress: Playback got stuck at 3333000 us > <
    No Exceptions: An exception occurred during playback (null) > <
    Video Reached Seconds: The video only played to 3333 ms instead of
    80000 ms >
  • 0
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
Android 11 GMS代表的是Android 11版本中的Google Mobile Services,简称GMSGMS是谷歌为安卓系统开发的一套应用程序和服务集合。该套集合包括了一系列谷歌应用程序,如Gmail、Google Maps、Google Play商店等。GMS还提供了谷歌的云服务,如Google Drive、Google Photos等。 Android 11版本中的GMS相较于之前的版本有一些新的功能和改进。首先,Android 11 GMS在隐私和安全方面做出了一些增强。用户可以更好地控制应用程序对隐私信息的访问权限,并且可以更细粒度地管理应用程序的权限。此外,GMS还引入了一些新的API,用于加密和验证用户数据。 另外,Android 11 GMS还提供了更好的多任务处理能力和通知管理功能。它支持分屏显示多个应用程序,并且可以快速切换应用程序。同时,可以对通知进行分组和优先级排序,以便更好地管理和处理通知信息。 此外,Android 11 GMS还加强了数字化福利功能。它提供了更好的屏幕录制和截图功能,让用户更轻松地进行教育和工作任务。同时,它还加强了智能设备间的互动能力,可以更方便地连接和控制智能家居设备。 总的来说,Android 11 GMSAndroid系统中重要的一部分,它提供了丰富的谷歌应用和服务,以及一些新的功能和改进。用户可以通过更新到Android 11版本,享受到更好的隐私和安全保护,更高效的多任务处理,以及更出色的数字化福利功能。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值