openharmony5.0适配ls3a6000后跑xts,Crossplatform_Singlehap_LifeCycleTest_0800测试失败
openharmony5.0.0适配了ls3a6000板子,在跑xts测试用例的时候:
Crossplatform_Singlehap_LifeCycleTest_0800报了错误:
具体错误如下:
ActsLifeCycleEtsTest#LifeCycleTest#Crossplatform_Singlehap_LifeCycleTest_0800
failed Error in Crossplatform_Singlehap_LifeCycleTest_0800, Cannot read property push of undefined
怀疑点1.缺kms_swrast_dri.so库
07-26 17:02:02.280 2350 2374 E C01400/OpenGLWrapper: invalid display pointer.
07-26 17:02:02.280 2350 2374 E C01400/OpenGLWrapper: EGLDislay is invalid.
07-26 17:02:02.280 2350 2374 W C01400/OpenGLWrapper: ThreadPrivateDataCtl::SetError error = 12296.
07-26 17:02:02.281 2350 2374 I C01400/MESADISP: [ohos_open_device@platform_ohos.c:1197] vendor_name (null)
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Open absolute_path library: check ns accessible failed, pathname /system/lib64/tls/loongson_dri.so namespace ndk.
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Error loading header /system/lib64/tls/loongson_dri.so, namespace ndk has no inherits, errno=2
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Error loading header: can't find library /system/lib64/tls/loongson_dri.so in namespace: default
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: dlopen_impl load library header failed for /system/lib64/tls/loongson_dri.so
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Open absolute_path library: check ns accessible failed, pathname /system/lib64/loongson_dri.so namespace ndk.
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Error loading header /system/lib64/loongson_dri.so, namespace ndk has no inherits, errno=2
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Error loading header: can't find library /system/lib64/loongson_dri.so in namespace: default
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: dlopen_impl load library header failed for /system/lib64/loongson_dri.so
07-26 17:02:02.281 2350 2374 I C01400/MESADISP: [ohos_open_device@platform_ohos.c:1219]
07-26 17:02:02.281 2350 2374 I C01400/MESADISP: [ohos_open_device@platform_ohos.c:1225]
07-26 17:02:02.281 2350 2374 I C01400/MESADISP: [ohos_open_device@platform_ohos.c:1227]
07-26 17:02:02.281 2350 2374 I C01400/MESADISP: [ohos_open_device@platform_ohos.c:1197] vendor_name (null)
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Open absolute_path library: check ns accessible failed, pathname /system/lib64/tls/kms_swrast_dri.so namespace ndk.
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Error loading header /system/lib64/tls/kms_swrast_dri.so, namespace ndk has no inherits, errno=2
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: Error loading header: can't find library /system/lib64/tls/kms_swrast_dri.so in namespace: default
07-26 17:02:02.281 2350 2374 E C03f00/MUSL-LDSO: dlopen_impl load library header failed for /system/lib64/tls/kms_swrast_dri.so
07-26 17:02:02.285 2350 2350 I C03900/Ace: [root_pattern.h(63)-(100000:100000:scope)] root node OnAttachToFrameNode, id:0
07-26 17:02:02.285 2350 2350 I C03900/Ace: [rosen_window.cpp(210)-(100000:100000:scope)] Rosenwindow set root frame node
怀疑点2:MemMgr
07-26 17:46:56.160 728 803 E C01799/MemMgr: MemMgrClient::GetMemMgrService get service failed
07-26 17:46:56.160 728 803 E C01799/MemMgr: MemMgrClient::OnWindowVisibilityChanged MemMgrService is null
查看更多
您需要先 登录 才能评论/回答
全部评论(2)
看你给的报告是单独运行Crossplatform_Singlehap_LifeCycleTest_0800这个测试用例,需要注意的是如果整体运行能PASS,就不需要单独运行测试用例,有一些测试用例比较特殊,它依赖前面测试用例运行的环境和结果,Crossplatform_Singlehap_LifeCycleTest_0800这个测试用例刚好就是这种情况,执行
run -l ActsLifeCycleEtsTest -ta class:LifeCycleTest 测试LifeCycleTest模块,可以全部PASS,包括Crossplatform_Singlehap_LifeCycleTest_0800
2025-07-28 17:16:06
2025-07-26 18:59:55