[VTS10R3]android.hardware.neuralnetworks@1.1::IDevice not available

问题描述

VtsTrebleVendorVintfTes
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.HalsAreServed/0_64bit fail:
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
Failed
android.hardware.neuralnetworks@1.1::IDevice not available.
04-14 14:59:03.504 ERROR 1 disallowed dependencies:
/vendor/bin/hw/android.hardware.neuralnetworks@1.1-service-gpunn: libcompiler_rt.so
04-14 14:59:03.505 ERROR 1 != 0 Total number of errors: 1
04-14 14:59:03.506 ERROR [Test Case] 1/1 testElfDependency FAIL

解决方案

继续阅读“[VTS10R3]android.hardware.neuralnetworks@1.1::IDevice not available”

[VTS-Q]刷GSI提示空间不足

问题描述

 烧录GSI,执行fastboot flash system system.img时,提示Resizing 'system' FAILED (remote: 'Not enough space to resize partition')。
在项目的BoardConfig.mk里定义了BOARD_MTK_SUPER_SIZE_KB:=2560000 , BOARD_MTK_SYSTEM_SIZE_KB:=1258292,但实际system.img只有600多M。
adb shell lpdump -j ,打印如下:
...
{
"name": "system",
"group_name": "main",
"is_dynamic": true,
"size": "630095872",
"fs_size": "619220992",
"fs_used": "619220992"
},
...
"block_devices": [
{
"name": "super",
"size": "2625634304",
"block_size": "4096",
"alignment": "1048576"
}
]
super空间充足,无法烧录gsi

解决方案

继续阅读“[VTS-Q]刷GSI提示空间不足”

[VTS10R3]VtsHalDrmV1_2Target

问题描述

VtsHalDrmV1_2Target
VtsHalDrmV1_2Target#DrmHalTestVendor/DrmHalTest.DoProvisioning/0_64bit
VtsHalDrmV1_2Target#DrmHalTestVendor/DrmHalTest.DoProvisioning/0_32bit
 VtsHalDrmV1_2Target#DrmHalTestVendor/DrmHalTest.DoProvisioning fail on widevine L1
 hardware/interfaces/drm/1.2/vts/functional/drm_hal_common.cpp:238

Expected equality of these values:

StatusV1_0::OK

Which is: 4-byte object <00-00 00-00>

status

Which is: 4-byte object <03-00 00-00>

[  FAILED  ] DrmHalTestVendor/DrmHalTest.DoProvisioning/0, where GetParam() = "/data/local/tmp/64/lib/libvtswidevine.so" (3498 ms)

解决方案

继续阅读“[VTS10R3]VtsHalDrmV1_2Target”

[VTSR3]vendor.mediatek.hardware.presence@1.0::IPresence not available.

问题描述

04-03 12:55:16 I/ModuleListener: [9/9] VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.InterfacesAreReleased/0_32bit fail:
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
Failed
vendor.mediatek.hardware.presence@1.0::IPresence not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
Failed
vendor.mediatek.hardware.presence@1.0::IPresence not available.

解决方案

继续阅读“[VTSR3]vendor.mediatek.hardware.presence@1.0::IPresence not available.”

[VTS10R3]VtsFastbootVerification

问题描述

VtsFastbootVerification
VtsFastbootVerification#testFastbootReboot fail:
VtsFastbootVerification#testFastbootdSlotOperations
VtsFastbootVerification#testLogicalPartitionCommands
VtsFastbootVerification#testLogicalPartitionFlashing
Unknown error: test case requested but not executed.

解决方案

继续阅读“[VTS10R3]VtsFastbootVerification”

[VTS10R3]VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit fail

问题描述

VtsHalMediaOmxV1_0Host
VtsHalMediaOmxV1_0Host#VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit
Fail:
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:749
Value of: false
  Actual: false
Expected: true
hardware/interfaces/media/omx/1.0/vts/functional/video/VtsHalMediaOmxV1_0TargetVideoEncTest.cpp:1446
Expected: testEOS(omxNode, observer, &iBuffer, &oBuffer, false, eosFlag) doesn't generate new fatal failures in the current thread.
  Actual: it does.

解决方案

继续阅读“[VTS10R3]VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit fail”

[VTS10R3][kernel3.18]VtsKernelNetTest failed

问题描述

VtsKernelNetTest failed
VtsKernelNetTest#testKernelNetworking
failed traceback :

ERROR: testUpdateActiveSaMarks (xfrm_test.XfrmOutputMarkTest)

Test that the OUTPUT_MARK can be updated on an ACTIVE SA.

----------------------------------------------------------------------

Traceback (most recent call last):

File "/data/nativetest64/kernel_net_tests/kernel_net_tests/xfrm_test.py", line 833, in testUpdateActiveSaMarks

outNoStateCount = self.getXfrmStat(XFRM_STATS_OUT_NO_STATES);

File "/data/nativetest64/kernel_net_tests/kernel_net_tests/xfrm_test.py", line 806, in getXfrmStat

with open(XFRM_STATS_PROCFILE, 'r') as f:

IOError: [Errno 2] No such file or directory: '/proc/net/xfrm_stat'

解决方案

继续阅读“[VTS10R3][kernel3.18]VtsKernelNetTest failed”

[VTS10R3]VtsHalKeymasterV4_0Target

问题描述

VtsHalKeymasterV4_0Target
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.Success(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.SuccessMasked(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.WrongMask(default)_32bit
Fail1:
java.security.KeyStoreException: Failed to import wrapped key. Keystore error code: -13
Fail2:
hardware/interfaces/keymaster/4.0/vts/functional/keymaster_hidl_hal_test.cpp:2313
Expected equality of these values:
  ErrorCode::VERIFICATION_FAILED
    Which is: 4-byte object <E2-FF FF-FF>
  ImportWrappedKey( wrapped_key_masked, wrapping_key, wrapping_key_desc, zero_masking_key, AuthorizationSetBuilder() .Digest(Digest::SHA_2_256) .Padding(PaddingMode::RSA_OAEP))
    Which is: 4-byte object <F3-FF FF-FF>

解决方案

继续阅读“[VTS10R3]VtsHalKeymasterV4_0Target”

[VTS10R3]VtsHalGraphicsMapperV2_1Target

问题描述

VtsHalGraphicsMapperV2_1Target
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBasic(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBadBuffer(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBadValue(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.GetTransportSizeBasic(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.GetTransportSizeBadBuffer(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.CreateDescriptor_2_1Basic(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.CreateDescriptor_2_1Negative(default,default)_32bit
VtsHalGraphicsMapperV2_1Target#GraphicsMapperHidlTest.ValidateBufferSizeBadValue(default,default)_64bit
Fail1:
hardware/interfaces/graphics/mapper/2.1/vts/functional/VtsHalGraphicsMapperV2_1TargetTest.cpp:132
Expected equality of these values:
  Error::BAD_VALUE
    Which is: 4-byte object <03-00 00-00>
  ret
    Which is: 4-byte object <FF-FF FF-FF>
validateBufferSize with bad width did not fail with BAD_VALUE

继续阅读“[VTS10R3]VtsHalGraphicsMapperV2_1Target”

[VTS10R3][Vsim]VtsTrebleVendorVintfTest

问题描述

VtsTrebleVendorVintfTest
VtsTrebleVendorVintfTest#DeviceManifest/SingleManifestTest.HalsAreServed/0_64bit fail:
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
android.hardware.radio@1.2::IRadio not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
android.hardware.radio@1.2::ISap not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
android.hardware.radio@1.4::IRadio not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51
vendor.mediatek.hardware.mtkradioex@1.5::IMtkRadioEx not available.
test/vts-testcase/hal/treble/vintf/SingleManifestTest.cpp:51

解决方案

继续阅读“[VTS10R3][Vsim]VtsTrebleVendorVintfTest”

[VTS10.0_r3]VtsHalMediaOmxV1_0Host

问题描述

VtsHalMediaOmxV1_0Host

VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_M_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_M_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortModeConfig_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortModeConfig_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.StateTransitions_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.StateTransitions_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Idle_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Idle_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Execute_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Execute_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
Fail:
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:359
Expected equality of these values:
  status
    Which is: 4-byte object <EA-FF FF-FF>
  ::android::hardware::media::omx::V1_0::Status::OK
    Which is: 4-byte object <00-00 00-00>
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:399
Expected: allocateBuffer(omxNode, &buffer, portIndex, portDef.nBufferSize, portMode) doesn't generate new fatal failures in the current thread.
  Actual: it does.
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:457
Expected: allocatePortBuffers( omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap) doesn't generate new fatal failures in the current thread.
  Actual: it does.
hardware/interfaces/media/omx/1.0/vts/functional/component/VtsHalMediaOmxV1_0TargetComponentTest.cpp:527
Expected: changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput, kPortIndexOutput, portMode) doesn't generate new fatal failures in the current thread.
  Actual: it does.

从log可以看出沒有divx license:

Line 22818: 03-12 07:45:10.007   706   814 E VPUD    : DivX license so is missed

[VTS10.0R3]VtsHalSensorsV2_0Target

问题描述

VtsHalSensorsV2_0Target
VtsHalSensorsV2_0Target#SensorsHidlTest.AccelerometerBatchingOperation(default)_64bit
VtsHalSensorsV2_0Target#SensorsHidlTest.MagnetometerBatchingOperation(default)_64bit
VtsHalSensorsV2_0Target#SensorsHidlTest.AccelerometerBatchingOperation(default)_32bit
VtsHalSensorsV2_0Target#SensorsHidlTest.MagnetometerBatchingOperation(default)_32bit
Fail:
hardware/interfaces/sensors/common/vts/utils/SensorsHidlTestBase.cpp:583 Expected: (nEvent) > ((size_t)(minFifoCount * 9 / 10)), actual: 2700 vs 2700 03-16 15:16:25 I/TestFailureListener: FailureListener.testFailed
Fail:
hardware/interfaces/sensors/common/vts/utils/SensorsHidlTestBase.cpp:583 Expected: (nEvent) > ((size_t)(minFifoCount * 9 / 10)), actual: 540 vs 540 03-16 15:16:25 I/TestFailureListener: FailureListener.testFailed

[VTS10R2]VtsHalWifiSupplicantV1_2Host

问题描述

VtsHalWifiSupplicantV1_2Host
VtsHalWifiSupplicantV1_2Host#SupplicantStaIfaceHidlTest.StartDppEnrolleeInitiator(default,default,default,default,default)_64bit
VtsHalWifiSupplicantV1_2Host#SupplicantStaIfaceHidlTest.StartDppConfiguratorInitiator(default,default,default,default,default)_64bit
VtsHalWifiSupplicantV1_2Host#SupplicantStaNetworkHidlTest.SetGetGroupMgmtCipher(default,default,default,default,default)_64bit
Fail:
hardware/interfaces/wifi/supplicant/1.2/vts/functional/supplicant_sta_iface_hidl_test.cpp:407
Expected equality of these values:
  std::cv_status::no_timeout
    Which is: 4-byte object <00-00 00-00>
  wait(SupplicantStaIfaceHidlTest::DppCallbackType::EVENT_FAILURE)
    Which is: 4-byte object <01-00 00-00>

解决方案

继续阅读“[VTS10R2]VtsHalWifiSupplicantV1_2Host”

[VTSR10R2]CtsStatsdHostTestCases

问题描述

CtsStatsdHostTestCases
android.cts.statsd.atom.UidAtomTests#testDeviceCalculatedPowerBlameUid
android.cts.statsd.validation.BatteryStatsValidationTests#testPowerBlameUid
Fail:
junit.framework.AssertionFailedError: No power value for uid 10149
junit.framework.AssertionFailedError: No power value for uid 10146
junit.framework.AssertionFailedError: Statsd: No power value for uid 10151

解决方案

继续阅读“[VTSR10R2]CtsStatsdHostTestCases”

[VTS10R2]CtsMediaTestCases-android.media.cts.AudioRecordTest#testTimestamp

问题描述

CtsMediaTestCases
CtsMediaTestCases-android.media.cts.AudioRecordTest#testTimestamp
Fail:
java.lang.AssertionError: timestamp frames should be increasing

解决方案

继续阅读“[VTS10R2]CtsMediaTestCases-android.media.cts.AudioRecordTest#testTimestamp”

[VTS10R2]VtsHalGraphicsComposerV2_1Target

问题描述

VtsHalGraphicsComposerV2_1Target
VtsHalGraphicsComposerV2_1Target#GraphicsComposerHidlCommandTest.SET_COLOR_TRANSFORM(default)_64bit fail
VtsHalGraphicsComposerV2_1Target#GraphicsComposerHidlCommandTest.SET_COLOR_TRANSFORM(default)_32bit 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

解决方案

继续阅读“[VTS10R2]VtsHalGraphicsComposerV2_1Target”

[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”