我已经多次在基于R4的Aurora4.2版本上运行过Android4.2MSMCTS Suite :全套( run cts --plan CTS )或单独的软件包( run cts -p android.acceleration )。这是在Ubuntu12.04LTS64位(使用VMWare融合v6虚拟化)上的
测试套件执行,有时会通过,有时会失败,但随后无法写入日志或生成报告数据:
cts-tf > run cts -p android.acceleration
04-02 13:42:20 I/TestInvocation: Starting invocation for 'cts' on build '4.2_r4' on device e05e1f79
04-02 13:42:20 I/e05e1f79: Created result dir 2014.04.02_13.42.20
04-02 13:42:33 I/e05e1f79: Collecting device info
04-02 13:42:34 I/e05e1f79: -----------------------------------------
04-02 13:42:34 I/e05e1f79: Test package android.acceleration started
04-02 13:42:34 I/e05e1f79: -----------------------------------------
04-02 13:42:37 I/e05e1f79: android.acceleration.cts.HardwareAccelerationTest#testIsHardwareAccelerated PASS
04-02 13:42:37 I/e05e1f79: android.acceleration.cts.HardwareAccelerationTest#testNotAttachedView PASS
04-02 13:42:38 I/e05e1f79: android.acceleration.cts.SoftwareAccelerationTest#testIsHardwareAccelerated PASS
04-02 13:42:38 I/e05e1f79: android.acceleration.cts.SoftwareAccelerationTest#testNotAttachedView PASS
04-02 13:42:38 I/e05e1f79: android.acceleration.cts.WindowFlagHardwareAccelerationTest#testIsHardwareAccelerated PASS
04-02 13:42:39 I/e05e1f79: android.acceleration.cts.WindowFlagHardwareAccelerationTest#testNotAttachedView PASS
04-02 13:42:41 E/CtsXmlResultReporter: Failed to write log for device_logcat
04-02 13:42:41 E/CtsXmlResultReporter: Failed to write log for host_log
04-02 13:42:41 I/e05e1f79: android.acceleration package complete: Passed 6, Failed 0, Not Executed 0
04-02 13:42:41 I/e05e1f79: Created xml report file at file:///opt/android-cts/cts4.2/android-cts/tools/./../../android-cts/repository/results/2014.04.02_13.42.20/testResult.xml
04-02 13:42:41 E/CtsXmlResultReporter: Failed to generate report data在CTS /repository/logs & /repository/results目录中,没有新的日志或结果条目。令人惊讶的是,关于CtsXmlResultReporter的信息很少,所以我转向good There‘SO。有人能帮上忙吗?谢谢
发布于 2014-04-03 05:45:45
这只是一个chmod问题。我需要运行多个版本的CTS ( 4.2,4.3,4.4),并且我在根目录下创建了4.2目录结构。
https://stackoverflow.com/questions/22822788
复制相似问题