cts测试之host_config.xml

本文介绍了一种在CTS测试过程中避免频繁重启设备的方法,通过调整host_config.xml文件中的特定值来实现。这种方法虽然有助于减少重启次数,但在进行多个testcase测试时可能会带来不便。
部署运行你感兴趣的模型镜像

在做cts测试的时候,往往会遇到机器要求重启的情况,这时候可以通过修改host_config.xml避免重启

将上方的value值改为小于或等于0的数即可,但是这样的话在cts_host终端中只能进行一次测试,在做多个testcase测试的时候会很不方便

所以在修改fail为pass的过程中还是改为原先的200


您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

vts-tf > run vts --module vts_ltp_test_arm_64 --test syscalls.close_range01_64bit#syscalls.close_range01_64bit --abi arm64-v8a 09-18 15:51:38 D/CommandScheduler: No available device matching all the config's requirements for cmd id 12. Command will be rescheduled: [vts, --module, vts_ltp_test_arm_64, --test, syscalls.close_range01_64bit#syscalls.close_range01_64bit, --abi, arm64-v8a] 09-18 15:53:53 I/ModuleListener: [1/1] 964560032701488385 syscalls.close_range01_64bit#syscalls.close_range01_64bit IGNORED 09-18 15:53:57 W/NativeDeviceStateMonitor: stat command return value should be a number. output: stat: '/sdcard': Transport endpoint is not connected 09-18 15:53:57 W/NativeDeviceStateMonitor: Failed to get the fileSystem of '/sdcard' 09-18 15:53:58 W/NativeDeviceStateMonitor: stat command return value should be a number. output: stat: '/sdcard': Transport endpoint is not connected 09-18 15:53:58 W/NativeDeviceStateMonitor: Failed to get the fileSystem of '/sdcard' 09-18 15:54:00 W/NativeDevice: Attempting to stop logcat when not capturing for 964560032701488385 09-18 15:54:00 I/SuiteResultReporter: ============================================ ================= Results ================== =============== Consumed Time ============== arm64-v8a vts_ltp_test_arm_64: 1s Total aggregated tests run time: 1s =============== Summary =============== Total Run time: 5m 26s 1/1 modules completed Total Tests : 1 PASSED : 0 FAILED : 0 IGNORED : 1 ============== End of Results ============== ============================================ 09-18 15:54:00 I/TestInvocation: Starting invocation for 'vts' with '[ DeviceBuildInfo{bid=13729711, serial=964560032701488385} on device '964560032701488385'] 09-18 15:54:00 D/ProtoResultReporter: process final logs: /tmp/13729711/vts/inv_9765644844282223882/inv_2475175551658986110/end_host_log_12993452208641720771.txt 09-18 15:54:00 I/CommandScheduler: Updating command 10 with elapsed time 326320 ms 09-18 15:54:00 I/CommandScheduler: Finalizing the logger and invocation. 09-18 15:54:00 D/ActiveTrace: Finalizing trace: /tmp/invocation-trace9076808873191653225.perfetto-trace 09-18 15:54:01 D/ProtoResultReporter: process final logs: /tmp/13729711/vts/inv_9765644844282223882/inv_2475175551658986110/invocation-trace_15249515504594418550.perfetto-trace.gz 09-18 15:54:01 D/ProtoResultReporter: process final logs: /tmp/13729711/vts/inv_9765644844282223882/inv_2475175551658986110/invoc_complete_host_log_12021254142715991772.txt 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm/tests/apm_config_with_vx_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm/tests/apm_config_b_204314749_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm/tests/apm_config_no_vx_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm/tests/apm_config_b_205808571_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm64/tests/apm_config_with_vx_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm64/tests/apm_config_b_204314749_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm64/tests/apm_config_no_vx_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV7_0GeneratorTest/arm64/tests/apm_config_b_205808571_7_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV6_0GeneratorTest/arm/tests/apm_config_with_vx.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV6_0GeneratorTest/arm/tests/apm_config_no_vx.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV6_0GeneratorTest/arm/tests/apm_config_b_205808571_6_0.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV6_0GeneratorTest/arm64/tests/apm_config_with_vx.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV6_0GeneratorTest/arm64/tests/apm_config_no_vx.xml doesn't look like a test configuration. 09-18 15:54:10 E/ConfigurationUtil: /home/hs/tools/android-vts/tools/../../android-vts/testcases/HalAudioV6_0GeneratorTest/arm64/tests/apm_config_b_205808571_6_0.xml doesn't look like a test configuration. 09-18 15:54:13 D/ITestSuite: [Total Unique Modules = 2] 09-18 15:54:13 I/ITestSuite: 964560032701488385 running 2 modules: [arm64-v8a vts_ltp_test_arm_64, armeabi-v7a vts_ltp_test_arm_64] 09-18 15:54:16 D/ModuleDefinition: Running module arm64-v8a vts_ltp_test_arm_64 09-18 15:54:16 W/SearchArtifactUtil: Failed to find test file vts_kernel_tests from directory /home/hs/tools/android-vts/tools/../../android-vts/testcases/vts_ltp_test_arm_64
最新发布
09-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值