nareshkamboju

vts run with pip deps installed failed

Mar 16th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.10 KB | None | 0 0
  1. naresh@linaro:~/Downloads/2017/march/android-vts/tools$ ./vts-tradefed
  2. Android Vendor Test Suite 1.0 (eng.vishal.20170308.112715)
  3. 03-16 11:48:30 I/DeviceManager: Detected new device 0123456789
  4. vts-tf > run vts
  5. 03-16 11:49:02 I/TestInvocation: Starting invocation for 'vts' on build 'eng.vishal.20170308.112715' vts Vendor Test Suite eng.vishal.20170308.112715 VTS 1489645142564 /home/naresh/Downloads/2017/march/android-vts/testcases/./../.. 1.0 vts https://androidpartner.googleapis.com/v1/dynamicconfig/suites/VTS/modules/{module}/version/{version}?key=AIzaSyAbwX5JRlmsLeygY2WWihpIJPXFLueOQ3U 2017.03.16_11.49.02 on device 0123456789
  6. 03-16 11:49:02 E/FileSystemLogSaver: Unable to create unique directory in /tmp. Attempting to use tmp dir instead
  7. 03-16 11:49:02 E/FileSystemLogSaver: Permission denied
  8. java.io.IOException: Permission denied
  9. at java.io.UnixFileSystem.createFileExclusively(Native Method)
  10. at java.io.File.createTempFile(File.java:2024)
  11. at com.android.tradefed.util.FileUtil.createTempDir(FileUtil.java:267)
  12. at com.android.tradefed.result.FileSystemLogSaver.createLogReportDir(FileSystemLogSaver.java:172)
  13. at com.android.tradefed.result.FileSystemLogSaver.invocationStarted(FileSystemLogSaver.java:73)
  14. at com.android.tradefed.result.LogSaverResultForwarder.invocationStarted(LogSaverResultForwarder.java:49)
  15. at com.android.tradefed.invoker.TestInvocation.startInvocation(TestInvocation.java:568)
  16. at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:383)
  17. at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:166)
  18. at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:471)
  19.  
  20. 03-16 11:49:02 I/ResultReporter: Initializing result directory
  21. 03-16 11:49:02 I/ResultReporter: Results Directory: /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/results/2017.03.16_11.49.02
  22. 03-16 11:49:02 I/ResultReporter: Created log dir /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.16_11.49.02
  23. 03-16 11:49:03 I/ModuleRepo: 0123456789 running 14 modules, expected to complete in 2h 12m 0s
  24. 03-16 11:49:03 I/CompatibilityTest: Starting 14 modules on 0123456789
  25. 03-16 11:49:03 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/app/VtsAgentApp/VtsAgentApp.apk
  26. 03-16 11:49:03 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/fuzzer32
  27. 03-16 11:49:03 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/fuzzer64
  28. 03-16 11:49:03 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/bin/fuzzer64->/data/local/tmp/64/fuzzer64
  29. 03-16 11:49:03 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_hal_agent32
  30. 03-16 11:49:03 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_hal_agent64
  31. 03-16 11:49:03 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/bin/vts_hal_agent64->/data/local/tmp/64/vts_hal_agent64
  32. 03-16 11:49:03 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_shell_driver32
  33. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_shell_driver64
  34. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/bin/vts_shell_driver64->/data/local/tmp/64/vts_shell_driver64
  35. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libprotobuf-cpp-full.so
  36. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_codecoverage.so
  37. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_common.so
  38. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_datatype.so
  39. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_drivercomm.so
  40. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_interfacespecification.so
  41. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_measurement.so
  42. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_multidevice_proto.so
  43. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libprotobuf-cpp-full.so
  44. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libprotobuf-cpp-full.so->/data/local/tmp/64/libprotobuf-cpp-full.so
  45. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_codecoverage.so
  46. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_codecoverage.so->/data/local/tmp/64/libvts_codecoverage.so
  47. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_common.so
  48. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_common.so->/data/local/tmp/64/libvts_common.so
  49. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_datatype.so
  50. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_datatype.so->/data/local/tmp/64/libvts_datatype.so
  51. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_drivercomm.so
  52. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_drivercomm.so->/data/local/tmp/64/libvts_drivercomm.so
  53. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_interfacespecification.so
  54. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_interfacespecification.so->/data/local/tmp/64/libvts_interfacespecification.so
  55. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_measurement.so
  56. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_measurement.so->/data/local/tmp/64/libvts_measurement.so
  57. 03-16 11:49:04 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_multidevice_proto.so
  58. 03-16 11:49:04 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/lib64/libvts_multidevice_proto.so->/data/local/tmp/64/libvts_multidevice_proto.so
  59. 03-16 11:49:04 E/RunUtil: Exception occurred when executing runnable
  60. 03-16 11:49:04 E/RunUtil: Cannot run program "/tmp/vts-virtualenv659252913427459171/bin/pip" (in directory "/tmp/vts-virtualenv659252913427459171/bin"): error=2, No such file or directory
  61. java.io.IOException: Cannot run program "/tmp/vts-virtualenv659252913427459171/bin/pip" (in directory "/tmp/vts-virtualenv659252913427459171/bin"): error=2, No such file or directory
  62. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  63. at com.android.tradefed.util.RunUtil$RunnableResult.run(RunUtil.java:587)
  64. at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:512)
  65. Caused by: java.io.IOException: error=2, No such file or directory
  66. at java.lang.UNIXProcess.forkAndExec(Native Method)
  67. at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
  68. at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  69. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  70. ... 2 more
  71.  
  72. 03-16 11:49:04 E/VtsPythonVirtualenvPreparer: Installing enum failed.
  73. 03-16 11:49:04 E/RunUtil: Exception occurred when executing runnable
  74. 03-16 11:49:04 E/RunUtil: Cannot run program "/tmp/vts-virtualenv659252913427459171/bin/pip" (in directory "/tmp/vts-virtualenv659252913427459171/bin"): error=2, No such file or directory
  75. java.io.IOException: Cannot run program "/tmp/vts-virtualenv659252913427459171/bin/pip" (in directory "/tmp/vts-virtualenv659252913427459171/bin"): error=2, No such file or directory
  76. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  77. at com.android.tradefed.util.RunUtil$RunnableResult.run(RunUtil.java:587)
  78. at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:512)
  79. Caused by: java.io.IOException: error=2, No such file or directory
  80. at java.lang.UNIXProcess.forkAndExec(Native Method)
  81. at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
  82. at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  83. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  84. ... 2 more
  85.  
  86. 03-16 11:49:04 E/ModuleDef: TargetSetupError in preparer: com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer
  87. 03-16 11:49:04 E/TestInvocation: Unexpected exception when running invocation: java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  88. 03-16 11:49:04 E/TestInvocation: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  89. java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  90. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:304)
  91. at com.android.compatibility.common.tradefed.testtype.ModuleDef.run(ModuleDef.java:230)
  92. at com.android.compatibility.common.tradefed.testtype.CompatibilityTest.run(CompatibilityTest.java:439)
  93. at com.android.tradefed.invoker.TestInvocation.runTests(TestInvocation.java:716)
  94. at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:491)
  95. at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:386)
  96. at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:166)
  97. at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:471)
  98. Caused by: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  99. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.installDeps(VtsPythonVirtualenvPreparer.java:133)
  100. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.setUp(VtsPythonVirtualenvPreparer.java:81)
  101. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:294)
  102. ... 7 more
  103.  
  104. 03-16 11:49:04 W/ResultReporter: Invocation failed: java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  105. 03-16 11:49:04 I/ResultReporter: Saved logs for device_logcat in /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.16_11.49.02/device_logcat_4058600471981273500.zip
  106. 03-16 11:49:04 I/ResultReporter: Saved logs for host_log in /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.16_11.49.02/host_log_6235275397930697770.zip
  107. 03-16 11:49:04 I/ResultReporter: Invocation finished in 2s. PASSED: 0, FAILED: 0, NOT EXECUTED: 0, MODULES: 0 of 14
  108. 03-16 11:49:05 I/ResultReporter: Test Result: /home/naresh/Downloads/2017/march/android-vts/results/2017.03.16_11.49.02/test_result_failures.html
  109. 03-16 11:49:05 I/ResultReporter: Full Result: /home/naresh/Downloads/2017/march/android-vts/results/2017.03.16_11.49.02.zip
  110. 03-16 11:49:05 E/CommandScheduler: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  111. java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  112. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:304)
  113. at com.android.compatibility.common.tradefed.testtype.ModuleDef.run(ModuleDef.java:230)
  114. at com.android.compatibility.common.tradefed.testtype.CompatibilityTest.run(CompatibilityTest.java:439)
  115. at com.android.tradefed.invoker.TestInvocation.runTests(TestInvocation.java:716)
  116. at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:491)
  117. at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:386)
  118. at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:166)
  119. at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:471)
  120. Caused by: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  121. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.installDeps(VtsPythonVirtualenvPreparer.java:133)
  122. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.setUp(VtsPythonVirtualenvPreparer.java:81)
  123. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:294)
  124. ... 7 more
  125.  
  126. vts-tf >
Add Comment
Please, Sign In to add comment