分类: Android
[STS9.0-4月]android.security.cts.AssetManagerTest#testCloseThenFinalize fail
问题描述
Test failed to run to completion. Reason: 'Instrumentation run failed due to 'Process crashed.''. Check device logcat for details
Fail Details:Test failed to run to completion. Reason: 'Failed to receive adb shell test output within 990000 ms. Test may have timed out, or adb connection to device became unresponsive'. Check device logcat for details
[VTS10R3]android.hardware.neuralnetworks@1.1::IDevice not available
问题描述
/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”
[CTS10R3]CtsVideoTestCases fail
问题描述
fail
junit.framework.AssertionFailedError: Expected achievable frame rates forOMX.MTK.VIDEO.ENCODER.AVC video/avc 320x240: [161.0, 561.0].
fail
junit.framework.AssertionFailedError: Expected achievable frame rates for OMX.MTK.VIDEO.ENCODER.AVC video/avc 720x480: [67.0, 234.0].
fail
junit.framework.AssertionFailedError: Expected achievable frame rates for OMX.MTK.VIDEO.ENCODER.AVC video/avc 1280x720: [29.0, 102.0].
fail
junit.framework.AssertionFailedError: Expected achievable frame rates for OMX.MTK.VIDEO.ENCODER.AVC video/avc 1920x1080: [29.0, 102.0].android.media.cts.VideoDecoderPerfTest#testVp8Goog0Perf1920x1080
解决方案
[CTSV]Audio Frequency Voice Recognition Test fail
问题描述
[CTS10R3]android.media.cts.ImageReaderDecoderTest#testGoogH264Image
问题描述
android.media.cts.ImageReaderDecoderTest#testGoogH264Image
android.media.cts.ImageReaderDecoderTest#testGoogH264ImageReader
android.media.cts.ImageReaderDecoderTest#testGoogH265Image
android.media.cts.ImageReaderDecoderTest#testGoogH265ImageReader
java.lang.RuntimeException: while c2.android.avc.decoder decoding swirl_132x130_h264: {color-format=2135033992, track-id=1, level=256, mime=video/avc, frame-count=31, profile=65536, language=und, display-width=132, csd-1=java.nio.HeapByteBuffer[pos=0 lim=9 cap=9], durationUs=2583333, display-height=130, width=132, max-input-size=1597, frame-rate=12, height=130, csd-0=java.nio.HeapByteBuffer[pos=0 lim=28 cap=28]}
解决方案
继续阅读“[CTS10R3]android.media.cts.ImageReaderDecoderTest#testGoogH264Image”
[VTS-Q]刷GSI提示空间不足
问题描述
在项目的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
解决方案
[VTS10R3]VtsHalDrmV1_2Target
问题描述
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)
解决方案
ITS test_dng_noise_model 测试fail 处理办法
问题描述
[CTS10R3]android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testRecommendedStreamConfigurations fail
问题描述
解决方案
How to fix SELinuxHostTest#testNoBugreportDenials fail
问题描述
Module | Passed | Failed | Assumption Failure | Ignored | Total Tests | Done |
---|---|---|---|---|---|---|
armeabi-v7a CtsSecurityHostTestCases | 0 | 1 | 0 | 0 | 1 | true |
This test takes a bugreport on the device and ensures that it does not
generate any dumpstate-related denials.
954 // Take a bugreport and get its logcat output.
955 mDevice.executeAdbCommand("logcat", "-c");
956 mDevice.getBugreport();
957 String log = mDevice.executeAdbCommand("logcat", "-d");
958 // Find all the dumpstate-related types and make a regex that will match them.
959 Set types = sepolicyAnalyzeGetTypesAssociatedWithAttribute("hal_dumpstate_server");
960 types.add("dumpstate");
961 String typeRegex = types.stream().collect(Collectors.joining("|"));
962 Pattern p = Pattern.compile("avc: *denied.*scontext=u:(?:r|object_r):(?:" + typeRegex + "):s0.*");
963 // Fail if logcat contains such a denial.
964 Matcher m = p.matcher(log);
965 StringBuilder errorString = new StringBuilder();
966 while (m.find()) {
967 errorString.append(m.group());
968 errorString.append("\n");
969 }
970 assertTrue("Found illegal SELinux denial(s): " + errorString, errorString.length() == 0);
971 }
解决方案
继续阅读“How to fix SELinuxHostTest#testNoBugreportDenials fail”
[VTSR3]vendor.mediatek.hardware.presence@1.0::IPresence not available.
问题描述
解决方案
继续阅读“[VTSR3]vendor.mediatek.hardware.presence@1.0::IPresence not available.”
[VTS10R3]VtsFastbootVerification
问题描述
解决方案
[CTSVR3][its test][scene3][camera1]scene3/test_3a_consistency FAIL
问题描述
该题原因是AE init清空m_u4Hbinwidth、m_u4Hbinheight再赋值的过程中,上层下了setAEMeteringArea(),m_u4Hbinwidth、m_u4Hbinheight为0导致Area计算错误,最终AE收敛发生变化的问题。
Its LOG一般可以看到三次的曝光设定差异太大导致的fail:
继续阅读“[CTSVR3][its test][scene3][camera1]scene3/test_3a_consistency FAIL”
[CTSV10R1]USB Audio Peripheral Attributes Test fail
问题描述
03-23 11:51:37.274 516 1447 D modules.usbaudio.audio_hal: [USB_AUD] USB Name: 1 [VSL ]: USB-Audio - AudioBox 22 VSL, open path proc/asound/cards , isCTSDevice : 0, CTSkeyword:
解决方案
[VTS10R3]VideoEncHidlTest.EncodeTestBufferMetaModes_OMX.google.h264.encoder_video_encoder.avc(default)_32bit fail
问题描述
解决方案
[VTS10R3][kernel3.18]VtsKernelNetTest failed
问题描述
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'
解决方案
[CTS10.0r1]CtsTelephonySdk28TestCases android.telephony.sdk28.cts.CellInfoTest#testCellInfoSdk28 fail
问题描述
解决方案
[VTS10R3]VtsHalKeymasterV4_0Target
问题描述
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.SuccessMasked(default)_32bit
VtsHalKeymasterV4_0Target#ImportWrappedKeyTest.WrongMask(default)_32bit
解决方案
[VTS10R3]VtsHalGraphicsMapperV2_1Target
问题描述
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