MainlineModule

问题描述

GtsOsTestCases
com.google.android.os.gts.MainlineModulePreloadTest
com.google.android.os.gts com.google.android.os.gts.MainlineConfigurationTest#testMainlineApprovedTrain

解决方案

Q1: Mainline release 是什麼? What is Mainline release?Ans: Google 列進 Mainline scope 的 module 會由 Google 出 prebuilt binary 並 release 給有 GMS license 的廠商, Android 10 要過 Google GMS 認證需要 preload Mainline release, 也就是要用 Google build 的 binary, 不能用客戶修改過、客戶自己用 AOSP build 出的 binary。

From Android 10, we need to preload Mainline release into our SW load to pass xTS to obtain GMS certification. It means Google will release prebuilt binary for modules in Mainline scope to Android partners who have GMS lincense and Android partners must use Google Mainline release and cannot use binaries built by Android partners.

继续阅读“MainlineModule”

SystemVendorTest#ServedHwbinderHalsAreInManifest fail

问题描述

[VTS][cts-on-gsi]
CtsOnGsiTrebleFrameworkVintfTest
SystemVendorTest#ServedHwbinderHalsAreInManifest fail
Fail:
test/vts-testcase/hal/treble/vintf/SystemVendorTest.cpp:78: Failure                                                                                                        Expected: (manifest_hwbinder_hals_.find(name)) != (manifest_hwbinder_hals_.end()), actual: 8-byte object <68-C8 6A-DD 7F-00 00-00> vs 8-byte object <68-C8 6A-DD 7F-00 00-00>

[VTS10R4]VtsKernelNetTest#testKernelNetworking fail

问题描述

VtsKernelNetTest
VtsKernelNetTest#testKernelNetworking
Fail:
testAddDelSa (pf_key_test.PfKeyTest) ... FAIL

FAIL: testAddDelSa (pf_key_test.PfKeyTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/nativetest64/kernel_net_tests/kernel_net_tests/pf_key_test.py", line 52, in testAddDelSa
    self.assertEquals(2, len(sainfos))
AssertionError: 2 != 12

[CTS9.0R13]CtsCameraTestCases fail

问题描述

CtsCameraTestCases
android.hardware.camera2.cts.RecordingTest#testBasicRecording
android.hardware.camera2.cts.RecordingTest#testRecordingFramerateLowToHigh
android.hardware.camera2.cts.RecordingTest#testBurstVideoSnapshot
android.hardware.camera2.cts.BurstCaptureTest#testYuvBurst
合入7月安全补丁导致 fail
Fail:
junit.framework.AssertionFailedError: Camera 0: Video duration doesn't match: recorded 3613.000000ms, expected [3003.000000,3003.000000]ms.
junit.framework.AssertionFailedError: Camera 0: Video frame drop rate too high: 9.859155%, tolerance 5.000000%. Video size: 3840x2160, expectedDuration [2666.666504,2666.666504], expectedFrameDuration 33.333332, frameDropCnt 7, frameCount 71
 junit.framework.AssertionFailedError: Camera 0: Video frame drop rate too high: 6.024096%, tolerance 5.000000%. Video size: 3840x2160, expectedDuration [2733.333252,2733.333252], expectedFrameDuration 33.333332, frameDropCnt 5, frameCount 83
junit.framework.AssertionFailedError: Cam 3: Burst frame duration mean 62401588.0 ns is larger than acceptable, expecting below 50000000 ns, allowing below 55000000
Line 77985: 01-01 02:17:56.552341   738 20835 W MDP     : DpIsp: 0xfb26a6c0, src 220 ms, 0, 0, 0, 0

解决方案

[CTS10R4]android.security.cts.StagefrightTest#testBug_67737022 fail

问题描述

CtsSecurityTestCases
android.security.cts.StagefrightTest#testBug_67737022
Fail:
Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Process crashed.''. Check device logcat for details

[CTS10R4]android.security.cts.StagefrightTest#testStagefright_cve_2016_2454 fail

问题描述

CtsSecurityTestCases
android.security.cts.StagefrightTest#testStagefright_cve_2016_2454
Fail:
org.junit.runners.model.TestTimedOutException: test timed out after 900000 milliseconds

[STS10-06]android.security.cts.StagefrightTest#testStagefright_cve_2019_2334

问题描述

CtsSecurityTestCases
android.security.cts.StagefrightTest#testStagefright_cve_2019_2334
Fail:
org.junit.runners.model.TestTimedOutException: test timed out after 900000 milliseconds

CTS10R3/VTS 10R3][Q GO]android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstances fail

问题描述

[CTS/VTS 10R3][QGO/512M]
[CTS][cts-on-gsi]
CtsMediaTestCases
android.media.cts.MediaCodecCapabilitiesTest#testGetMaxSupportedInstance
junit.framework.AssertionFailedError: In order to pass the test, please publish following codecs' concurrent instances limit in /etc/media_codecs.xml:
<MediaCodec name="OMX.MTK.AUDIO.DECODER.MP3" type="audio/mpeg" >
    <Limit name="concurrent-instances" max="16" />
</MediaCodec>