【求助】使用rk3566平台测试AllocSocketFd模块,出现SUB_DSoftbus_IPC_API_MessageSequence_0070失败情况,查看日志好像aa test有错误,请教大家指导一下

xiaowangyaoqiang 显示全部楼层 发表于 2024-9-3 16:31:52

【问题描述】

  1. 最近在使用rk3566测试AllocSocketFd模块,多次测试后发现测试模块因为SUB_DSoftbus_IPC_API_MessageSequence_0070用例失败导致后面用例测试失败,具体分享该用例地址在好像在aa test时出现错误,不太确定是什么导致测试失败,一下是具体执行日志。

  2. 执行日志:

    [2024-09-03 15:25:32,038] [24896] [Request] [INFO] [Report path: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32]
    [2024-09-03 15:25:32,073] [24896] [TestSource] [DEBUG] [Testcases directories: ['E:\\hos\\tool\\32_823\\acts\\acts\\testcases', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\libuvdata', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\libuvdata\\test', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\libuvdata\\test\\fixtures', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gl30', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gl33', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gl42', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gl42-compat', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gl44', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles2', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles3', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles32', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\internal', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles2\\data', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles2\\shaders', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles2\\data\\etc1', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles3\\data', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles3\\shaders', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles3\\data\\etc1', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\compressed_texture', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\data', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\shaders', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\data\\tessellation', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\shaders\\es31', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\shaders\\es32', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles31\\shaders\\gl45', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\gles32\\compressed_texture', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\internal\\data', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\internal\\data\\imagecompare', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\internal\\data\\imageio', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\waivers', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.3.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.4.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.5.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.6.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\master', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.3.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.4.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.5.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\3.2.6.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\egl\\aosp_mustpass\\master\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\aosp_mustpass', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_single', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\aosp_mustpass\\4.6.1.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\aosp_mustpass\\4.6.1.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass\\4.6.0.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass\\4.6.1.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass\\4.6.0.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass\\4.6.1.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx\\4.5.5.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx\\4.6.0.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx\\4.6.1.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx\\4.5.5.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx\\4.6.0.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_noctx\\4.6.1.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_single\\4.6.1.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gl\\khronos_mustpass_single\\4.6.1.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_single', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.2.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.3.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.4.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.5.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.6.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\master', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.2.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.3.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.4.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.5.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\3.2.6.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\aosp_mustpass\\master\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.2.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.3.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.4.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.5.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.6.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\master', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.2.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.3.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.4.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.5.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\3.2.6.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass\\master\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\3.2.4.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\3.2.5.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\3.2.6.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\master', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\3.2.4.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\3.2.5.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\3.2.6.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_noctx\\master\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_single\\3.2.6.x', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_single\\master', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_single\\3.2.6.x\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\mustpass\\gles\\khronos_mustpass_single\\master\\src', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\glsl_to_spirv_builtin_functions', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\glsl_to_spirv_specialization_constants', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\modules_error_verification', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\modules_positive', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\modules_state_queries', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\spirv_modules_shader_binary_multiple_shader_objects', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\spirv_validation_builtin_variable_decorations', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases\\vkgldata\\data\\spirv\\spirv_validation_capabilities', 'C:\\Users\\86136\\AppData\\Roaming\\Python\\Python38\\testcases', 'E:\\hos\\tool\\32_823\\acts\\acts', 'C:\\Users\\86136\\AppData\\Roaming\\Python\\Python38']]
    [2024-09-03 15:25:32,079] [24896] [TestSource] [DEBUG] [Test sources: ['ActsRpcHapTest']]
    [2024-09-03 15:25:32,080] [24896] [Scheduler] [DEBUG] [Assign device options and it's length is 1]
    [2024-09-03 15:25:32,080] [24896] [Scheduler] [DEBUG] [Run command: run -l ActsRpcHapTest -ta class:ActsRpcClientJsTest#SUB_DSoftbus_IPC_API_MessageSequence_0070]
    [2024-09-03 15:25:32,081] [1124] [Concurrent] [DEBUG] [Queue monitor thread start]
    [2024-09-03 15:25:32,081] [24896] [Scheduler] [DEBUG] [Assign device options and it's length is 1]
    [2024-09-03 15:25:32,081] [24896] [ManagerEnv] [DEBUG] [Visit options to find device]
    [2024-09-03 15:25:32,081] [24896] [ManagerEnv] [DEBUG] [Apply device from managers:{'ManagerLite': <ohos.managers.manager_lite.ManagerLite object at 0x0000026B9240DD60>, 'ManagerDevice': <ohos.managers.manager_device.ManagerDevice object at 0x0000026B923B4D00>}]
    [2024-09-03 15:25:32,082] [24896] [ManagerDevice] [DEBUG] [Apply device: apply lock con lock]
    [2024-09-03 15:25:32,082] [24896] [ManagerDevice] [DEBUG] [Allocate device option: apply list con lock]
    [2024-09-03 15:25:32,082] [24896] [ManagerDevice] [DEBUG] [Require device label is: None]
    [2024-09-03 15:25:32,082] [24896] [ManagerEnv] [DEBUG] [Do matches, device:{state:Available, sn:ea010e5350************38c3d16a00, label:phone}, selection option:{device sn:[], label:None}]
    [2024-09-03 15:25:32,082] [24896] [ManagerDevice] [DEBUG] [Allocate device sn: ea010e5350654d4d43100038c3d16a00, type: <class 'ohos.environment.device.Device'>]
    [2024-09-03 15:25:32,082] [24896] [ManagerDevice] [DEBUG] [Allocate device option: release list con lock]
    [2024-09-03 15:25:32,082] [24896] [ManagerDevice] [DEBUG] [Apply device: release lock con lock]
    [2024-09-03 15:25:32,082] [24896] [ManagerEnv] [DEBUG] [add_device, sn: ea010e5350654d4d43100038c3d16a00, id: Phone1]
    [2024-09-03 15:25:32,082] [24896] [ManagerEnv] [DEBUG] [Device ea010e5350************38c3d16a00: extend value: {}]
    [2024-09-03 15:25:32,082] [24896] [Utils] [DEBUG] [Input name:testcases/queryStandard, paths:None, alt dir:None]
    [2024-09-03 15:25:32,083] [24896] [Device] [INFO] [ea010e5350************38c3d16a00 execute command: hdc file send "E:\hos\tool\32_823\acts\acts\testcases\queryStandard" to "/data/local/tmp"]
    [2024-09-03 15:25:32,168] [24896] [Hdc] [DEBUG] [result b'FileTransfer finish, Size:10144, File count = 1, time:19ms rate:533.89kB/s\r\n']
    [2024-09-03 15:25:32,169] [24896] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell ls "/data/local/tmp" with timeout 300.0s]
    [2024-09-03 15:25:32,242] [24896] [Hdc] [DEBUG] [ea010e5350************38c3d16a00 execute command: hdc shell cd /data/local/tmp && chmod +x queryStandard && ./queryStandard with timeout 300.0s]
    [2024-09-03 15:25:32,402] [24896] [Device] [INFO] [Error relocating ./queryStandard: _ZN4OHOS9DevAttest15DevAttestClientC1Ev: symbol not found
    Error relocating ./queryStandard: _ZN4OHOS9DevAttest15DevAttestClientD1Ev: symbol not found]
    [2024-09-03 15:25:32,403] [24896] [Scheduler] [INFO] [[1 / 1] Executing: E:\hos\tool\32_823\acts\acts\testcases\ActsRpcHapTest.json, Device: ea010e5350************38c3d16a00, Driver: OHJSUnitTest]
    [2024-09-03 15:25:32,405] [21328] [Concurrent] [DEBUG] [Thread id: 2024-09-03-15-25-32-404868 start]
    [2024-09-03 15:25:32,406] [21328] [Concurrent] [DEBUG] [Thread id 2024-09-03-15-25-32-404868, listener <_core.executor.listener.LogListener object at 0x0000026B92538880>]
    [2024-09-03 15:25:32,407] [21328] [Concurrent] [DEBUG] [Thread id 2024-09-03-15-25-32-404868, listener <_core.executor.listener.ReportListener object at 0x0000026B92538FA0>]
    [2024-09-03 15:25:32,407] [21328] [Concurrent] [DEBUG] [Thread id 2024-09-03-15-25-32-404868, listener <_core.executor.listener.UploadListener object at 0x0000026B9244AB20>]
    [2024-09-03 15:25:32,407] [21328] [Concurrent] [DEBUG] [Set device <ohos.environment.device.Device object at 0x0000026B92423AC0> need kit setup to false]
    [2024-09-03 15:25:32,407] [21328] [OpenHarmony] [DEBUG] [Start execute OpenHarmony JSUnitTest]
    [2024-09-03 15:25:32,407] [21328] [OpenHarmony] [DEBUG] [Test case file path: E:\hos\tool\32_823\acts\acts\testcases\ActsRpcHapTest.json]
    [2024-09-03 15:25:32,411] [21328] [Utils] [INFO] [Generate device log file: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\log\device_hilog_ea010e5350654d4d43100038c3d16a00_ActsRpcHapTest.log]
    [2024-09-03 15:25:32,414] [21328] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell hilog -r with timeout 300.0s]
    [2024-09-03 15:25:32,527] [21328] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell date '2024-09-03 15:25:32' with timeout 300.0s]
    [2024-09-03 15:25:32,628] [21328] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell hilog -b INFO with timeout 300.0s]
    [2024-09-03 15:25:32,717] [21328] [Device] [INFO] [execute command: hdc -t ea010e5350************38c3d16a00 hilog]
    [2024-09-03 15:25:32,724] [21328] [Device] [DEBUG] [ea010e5350************38c3d16a00 execute command hdc target mount]
    [2024-09-03 15:25:32,834] [21328] [Device] [DEBUG] [Mount finish]
    [2024-09-03 15:25:32,834] [21328] [Utils] [DEBUG] [Do kit:AppInstallKit setup]
    [2024-09-03 15:25:32,834] [21328] [Kit] [DEBUG] [AppInstallKit setup, device:ea010e5350654d4d43100038c3d16a00]
    [2024-09-03 15:25:32,834] [21328] [Utils] [DEBUG] [Input name:ActsRpcHapTest.hap, paths:['E:\\hos\\tool\\32_823\\acts\\acts\\resource', 'E:\\hos\\tool\\32_823\\acts\\acts\\testcases'], alt dir:None]
    [2024-09-03 15:25:32,835] [21328] [Device] [DEBUG] [ea010e5350************38c3d16a00 execute command hdc install "E:\hos\tool\32_823\acts\acts\testcases\ActsRpcHapTest.hap"]
    [2024-09-03 15:25:33,740] [21328] [Device] [DEBUG] [[Info]App install path:E:\hos\tool\32_823\acts\acts\testcases\ActsRpcHapTest.hap, queuesize:0, msg:install bundle successfully.]
    [2024-09-03 15:25:33,740] [21328] [Device] [DEBUG] [AppMod finish]
    [2024-09-03 15:25:33,741] [21328] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell aa test -p com.ohos.rpctest -b com.ohos.rpctest -s unittest OpenHarmonyTestRunner  -w 600000  -s timeout 60000  -s class ActsRpcClientJsTest#SUB_DSoftbus_IPC_API_MessageSequence_0070  -s dryRun true with timeout 600.0s]
    [2024-09-03 15:25:35,015] [21328] [ParserLite] [DEBUG] [Result code is: ]
    [2024-09-03 15:25:35,015] [21328] [Parser] [DEBUG] [OHJSUnitTestListParser data:]
    [2024-09-03 15:25:35,015] [21328] [Parser] [DEBUG] [start ability successfully.{"suites":[{"ActsRpcClientJsTest":[{"itName":"SUB_DSoftbus_IPC_API_MessageSequence_0070"}]}]}TestFinished-ResultCode: 0TestFinished-ResultMsg: dry run finished!!!user test finished.]
    [2024-09-03 15:25:35,016] [21328] [OpenHarmony] [INFO] [Collected suite count is: 1, test count is: 1]
    [2024-09-03 15:25:35,016] [21328] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell aa test -p com.ohos.rpctest -b com.ohos.rpctest -s unittest OpenHarmonyTestRunner  -w 600000  -s timeout 60000  -s class ActsRpcClientJsTest#SUB_DSoftbus_IPC_API_MessageSequence_0070  with timeout 600.0s]
    [2024-09-03 15:25:35,513] [21328] [Parser] [DEBUG] [start ability successfully.]
    [2024-09-03 15:25:35,850] [21328] [Parser] [DEBUG] 
    [2024-09-03 15:25:35,850] [21328] [Parser] [DEBUG] [OHOS_REPORT_SUM: 1]
    [2024-09-03 15:25:35,850] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: class=ActsRpcClientJsTest]
    [2024-09-03 15:25:35,850] [21328] [Listener] [DEBUG] [Start test suite [ActsRpcClientJsTest] with 1 tests]
    [2024-09-03 15:25:35,850] [21328] [Parser] [DEBUG] 
    [2024-09-03 15:25:35,865] [21328] [Parser] [DEBUG] 
    [2024-09-03 15:25:35,865] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: class=ActsRpcClientJsTest]
    [2024-09-03 15:25:35,865] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: current=1]
    [2024-09-03 15:25:35,865] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: id=JS]
    [2024-09-03 15:25:35,865] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: numtests=1]
    [2024-09-03 15:25:35,866] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: stream=]
    [2024-09-03 15:25:35,866] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS: test=SUB_DSoftbus_IPC_API_MessageSequence_0070]
    [2024-09-03 15:25:35,866] [21328] [Parser] [DEBUG] [OHOS_REPORT_STATUS_CODE: 1]
    [2024-09-03 15:25:35,866] [21328] [Listener] [DEBUG] [TestStarted(ActsRpcClientJsTest#SUB_DSoftbus_IPC_API_MessageSequence_0070)]
    [2024-09-03 15:25:35,866] [21328] [Parser] [DEBUG] 
    [2024-09-03 15:25:38,658] [21328] [Parser] [DEBUG] [TestFinished-ResultCode: -1]
    [2024-09-03 15:25:38,659] [21328] [Parser] [DEBUG] [TestFinished-ResultMsg: App died]
    [2024-09-03 15:25:38,659] [21328] [Listener] [DEBUG] [TestStarted(ActsRpcClientJsTest#SUB_DSoftbus_IPC_API_MessageSequence_0070)]
    [2024-09-03 15:25:38,660] [21328] [Listener] [DEBUG] [End test suite cost 2809.457ms.]
    [2024-09-03 15:25:38,661] [21328] [Listener] [INFO] [End test suite [ActsRpcClientJsTest].]
    [2024-09-03 15:25:39,202] [21328] [Parser] [DEBUG] [user test finished.]
    [2024-09-03 15:25:39,228] [21328] [ParserLite] [DEBUG] [Result code is: ]
    [2024-09-03 15:25:39,229] [21328] [ReporterHelper] [INFO] [Generate data report: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\result\ActsRpcHapTest.xml]
    [2024-09-03 15:25:39,230] [21328] [Utils] [DEBUG] [Do kit:AppInstallKit teardown]
    [2024-09-03 15:25:39,230] [21328] [Kit] [DEBUG] [AppInstallKit teardown: device:ea010e5350654d4d43100038c3d16a00]
    [2024-09-03 15:25:39,237] [21328] [Kit] [INFO] [Obtain the app name com.ohos.rpctest from json successfully]
    [2024-09-03 15:25:39,238] [21328] [Device] [INFO] [ea010e5350************38c3d16a00 bm uninstall -n com.ohos.rpctest ]
    [2024-09-03 15:25:39,238] [21328] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell bm uninstall -n com.ohos.rpctest  with timeout 120.0s]
    [2024-09-03 15:25:39,563] [21328] [Kit] [DEBUG] [uninstalling package Success. result is uninstall bundle successfully.
    ]
    [2024-09-03 15:25:39,564] [21328] [Device] [DEBUG] [Stop catch device hilog.]
    [2024-09-03 15:25:39,564] [21328] [Concurrent] [INFO] [Executed: E:\hos\tool\32_823\acts\acts\testcases\ActsRpcHapTest.json, Execution Time: 7 seconds]
    [2024-09-03 15:25:39,565] [21328] [Hdc] [DEBUG] [ea010e5350************38c3d16a00 execute command: hdc shell param get const.product.model with timeout 5.0s]
    [2024-09-03 15:25:39,625] [21328] [Device] [DEBUG] [LDT-EA-1000]
    [2024-09-03 15:25:39,627] [21328] [Hdc] [DEBUG] [ea010e5350************38c3d16a00 execute command: hdc shell param get const.product.devicetype with timeout 5.0s]
    [2024-09-03 15:25:39,713] [21328] [Device] [DEBUG] [default]
    [2024-09-03 15:25:39,714] [21328] [Hdc] [DEBUG] [ea010e5350************38c3d16a00 execute command: hdc shell param get const.product.software.version with timeout 5.0s]
    [2024-09-03 15:25:39,773] [21328] [Device] [DEBUG] [1.0.0.0]
    [2024-09-03 15:25:39,774] [21328] [Concurrent] [DEBUG] [Execute result: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\result\ActsRpcHapTest.xml]
    [2024-09-03 15:25:39,774] [21328] [Concurrent] [DEBUG] [Thread 2024-09-03-15-25-32-404868 free environment]
    [2024-09-03 15:25:39,775] [21328] [ManagerDevice] [DEBUG] [Release device: apply list con lock]
    [2024-09-03 15:25:39,775] [21328] [ManagerDevice] [DEBUG] [Handle device event apply lock con]
    [2024-09-03 15:25:39,775] [21328] [ManagerDevice] [DEBUG] [Find available device]
    [2024-09-03 15:25:39,775] [21328] [ManagerDevice] [DEBUG] [Handle device event release lock con]
    [2024-09-03 15:25:39,775] [21328] [ManagerDevice] [DEBUG] [Free device sn: ea010e5350654d4d43100038c3d16a00, type: Device]
    [2024-09-03 15:25:39,775] [21328] [ManagerDevice] [DEBUG] [Release_device: release list con lock]
    [2024-09-03 15:25:39,775] [21328] [Concurrent] [DEBUG] [Put thread 2024-09-03-15-25-32-404868 result]
    [2024-09-03 15:25:39,775] [1124] [Concurrent] [DEBUG] [Thread id: 2024-09-03-15-25-32-404868 execute finished]
    [2024-09-03 15:25:39,775] [21328] [Concurrent] [INFO] 
    [2024-09-03 15:25:39,775] [1124] [Concurrent] [DEBUG] [Queue monitor thread end]
    [2024-09-03 15:25:41,419] [24896] [Device] [DEBUG] [start reset device...]
    [2024-09-03 15:25:41,422] [24896] [Hdc] [INFO] [ea010e5350************38c3d16a00 execute command: hdc shell ps -ef | grep -E 'com.ohos.devicetest|uitest|singleness' with timeout 300.0s]
    [2024-09-03 15:25:41,619] [24896] [Device] [DEBUG] 
    [2024-09-03 15:25:41,621] [24896] [ResultReporter] [INFO] 
    [2024-09-03 15:25:41,622] [24896] [ResultReporter] [INFO] [**************************************************]
    [2024-09-03 15:25:41,622] [24896] [ResultReporter] [INFO] [************** Start generate reports ************]
    [2024-09-03 15:25:41,624] [24896] [ResultReporter] [INFO] [**************************************************]
    [2024-09-03 15:25:41,625] [24896] [ResultReporter] [INFO] 
    [2024-09-03 15:25:41,630] [24896] [ReporterHelper] [INFO] [Generate data report: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\summary_report.xml]
    [2024-09-03 15:25:41,634] [24896] [ResultReporter] [INFO] [Summary result: modules: 1, run modules: 1, total: 1, passed: 0, failed: 1, blocked: 0, ignored: 0, unavailable: 0]
    [2024-09-03 15:25:41,634] [24896] [ResultReporter] [INFO] [Log path: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\log]
    [2024-09-03 15:25:41,639] [24896] [ReporterHelper] [INFO] [Generate vision report: file:///E:/hos/tool/32_823/acts/acts/reports/2024-09-03-15-25-32/summary_report.html]
    [2024-09-03 15:25:41,642] [24896] [ReporterHelper] [INFO] [Generate vision report: file:///E:/hos/tool/32_823/acts/acts/reports/2024-09-03-15-25-32/details_report.html]
    [2024-09-03 15:25:41,646] [24896] [ReporterHelper] [INFO] [Generate vision report: file:///E:/hos/tool/32_823/acts/acts/reports/2024-09-03-15-25-32/failures_report.html]
    [2024-09-03 15:25:41,649] [24896] [ResultReporter] [INFO] [Generate record file: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\task_info.record]
    [2024-09-03 15:25:41,650] [24896] [ResultReporter] [INFO] [Generate summary ini: E:\hos\tool\32_823\acts\acts\reports\2024-09-03-15-25-32\summary.ini]
    [2024-09-03 15:25:41,654] [24896] [ResultReporter] [INFO] [Copy summary files to C:\Users\86136\AppData\Local\Temp\xdevice_data\latest]
    [2024-09-03 15:25:41,659] [24896] [ResultReporter] [INFO] 
    [2024-09-03 15:25:41,659] [24896] [ResultReporter] [INFO] [**************************************************]
    [2024-09-03 15:25:41,659] [24896] [ResultReporter] [INFO] [************** Ended generate reports ************]
    [2024-09-03 15:25:41,660] [24896] [ResultReporter] [INFO] [**************************************************]
    [2024-09-03 15:25:41,660] [24896] [ResultReporter] [INFO] 
    
  3. 我尝试过修改运存大小,但是为其作用

  4. 我想要达到的结果:可以测试通过

【运行环境】

硬件:rk3566 SDK版本:4.1

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论10

深开鸿_王石

沙发 发表于 2024-9-4 09:43:52
xts的用例,可以通过对应report里的log进行分析,比如hilog,modulelog等,

xiaowangyaoqiang

发表于 2024-9-4 13:56  IP属地: 山东省

回复 深开鸿_王石: 您好,请教一下,上述中为hilog日志,你能帮忙分析下是什么导致失败的吗

【1 条回复】

深开鸿_王石

板凳 发表于 2024-9-4 17:22:40

【求助】使用rk3566平台测试AllocSocketFd模块,出现SUB_DSoftbus_IPC_API_MessageSequence_0070失败情况,查看日志好像aa test有错误,请教大家指导一下

没看到hilog啊,hilog长这样 image.png

xiaowangyaoqiang

发表于 2024-9-5 10:54  IP属地: 山东省青岛市

回复 深开鸿_王石: 您好,我上传了测试结果麻烦大佬给看看

【1 条回复】

xiaowangyaoqiang

地板 发表于 2024-9-5 09:19:51
明白了,以下是hilog麻烦大佬给看看

2024-09-04-15-19-18.rar

77.84 KB, 下载次数: 1

测试模块输出结果

深开鸿_王石

5# 发表于 2024-9-9 11:36:50

【求助】使用rk3566平台测试AllocSocketFd模块,出现SUB_DSoftbus_IPC_API_MessageSequence_0070失败情况,查看日志好像aa test有错误,请教大家指导一下

看log没啥问题,只是一堆打印信息没找到出处,下面的打印信息打了几秒钟,

image.png

然后框架忍不了杀进程了

image.png

错误原因就是app死了,然后fail

image.png

xiaowangyaoqiang

发表于 2024-9-10 09:54  IP属地: 山东省青岛市

回复 深开鸿_王石: 您好,老师这个是什么引起的呢,有没有办法让其通过测试

深开鸿_王石

发表于 2024-9-14 16:23  IP属地: 江苏省

回复 xiaowangyaoqiang: 猜啊,你先找我说的打印信息,全去掉,不要有太多打印,然后确认/data/log/faultlog/faultlogger里没别的信息,如果有就是根因

【2 条回复】

fengyunrenwu

6# 发表于 2024-9-11 17:19:32
测试AllocSocketFd模块,需要测试该模块的测试用例。

SUB_DSoftbus_IPC_API_MessageSequence_0070这个是在rpc的两个测试套件中的用例,不影响其他模块的测试套,日志当中没有看到这条用例执行上失败,看着像是app ided了,这个可以看下当时有没有发生crash或者freeze啥的,还有测试的时候保持设备常量的状态。

用每日构建中的2024-09-10 01:03:00 版本验证是无问题的rpc模块的测试,用例都是pass的。

xiaowangyaoqiang

发表于 2024-9-18 14:55  IP属地: 山东省青岛市

回复 fengyunrenwu: 我使用的rk3566测试的,发现使用free查看 shared只有6.1M,而之前测试rk3568通过的 shared为83M,这个是不是影响失败的原因

【1 条回复】
共10 条回复,点击查看

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部