nareshkamboju

vts run with deps installed list

Mar 14th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.64 KB | None | 0 0
  1. naresh@linaro:~/Downloads/2017/march/android-vts$ source venv/bin/activate
  2. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ pip install -r requirements.txt
  3. Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
  4.  
  5. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$
  6. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ pip install encoding
  7. Collecting encoding
  8. Downloading encoding-1.0.0.zip
  9. Building wheels for collected packages: encoding
  10. Running setup.py bdist_wheel for encoding ... done
  11. Stored in directory: /home/naresh/.cache/pip/wheels/27/82/75/cb1c18c5d099d13acdf0ad766a987988bad25a750fe885ac61
  12. Successfully built encoding
  13. Installing collected packages: encoding
  14. Successfully installed encoding-1.0.0
  15. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ which pip
  16. /home/naresh/Downloads/2017/march/android-vts/venv/bin/pip
  17. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ export PATH=/home/naresh/Downloads/2017/march/android-vts/venv/bin/pip:$PATH
  18. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ ln -sf /home/naresh/Downloads/2017/march/android-vts/venv/bin/pip /usr/bin/pip
  19. ln: cannot remove '/usr/bin/pip': Permission denied
  20. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ sudo ln -sf /home/naresh/Downloads/2017/march/android-vts/venv/bin/pip /usr/bin/pip
  21. [sudo] password for naresh:
  22. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ cd tools/
  23. (venv) naresh@linaro:~/Downloads/2017/march/android-vts/tools$ ls
  24. compatibility-host-util.jar README.md vts-tradefed.jar
  25. external tradefed-prebuilt.jar
  26. hosttestlib.jar vts-tradefed
  27. (venv) naresh@linaro:~/Downloads/2017/march/android-vts/tools$ sudo ./vts-tradefed
  28. Android Vendor Test Suite 1.0 (eng.vishal.20170308.112715)
  29. 03-14 20:49:10 I/DeviceManager: Detected new device 0123456789
  30. vts-tf >
  31. vts-tf >
  32. vts-tf >
  33. vts-tf >
  34. vts-tf >
  35. vts-tf >
  36. vts-tf >
  37. vts-tf >
  38. vts-tf >
  39. vts-tf >
  40. vts-tf > run vts
  41. 03-14 20:49:15 I/TestInvocation: Starting invocation for 'vts' on build 'eng.vishal.20170308.112715' vts Vendor Test Suite eng.vishal.20170308.112715 VTS 1489504755187 /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.14_20.49.15 on device 0123456789
  42. 03-14 20:49:15 I/ResultReporter: Initializing result directory
  43. 03-14 20:49:15 I/ResultReporter: Results Directory: /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/results/2017.03.14_20.49.15
  44. 03-14 20:49:15 I/ResultReporter: Created log dir /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.14_20.49.15
  45. 03-14 20:49:16 I/ModuleRepo: 0123456789 running 14 modules, expected to complete in 2h 12m 0s
  46. 03-14 20:49:16 I/CompatibilityTest: Starting 14 modules on 0123456789
  47. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/app/VtsAgentApp/VtsAgentApp.apk
  48. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/fuzzer32
  49. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/fuzzer64
  50. 03-14 20:49:16 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/bin/fuzzer64->/data/local/tmp/64/fuzzer64
  51. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_hal_agent32
  52. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_hal_agent64
  53. 03-14 20:49:16 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
  54. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_shell_driver32
  55. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_shell_driver64
  56. 03-14 20:49:16 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
  57. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libprotobuf-cpp-full.so
  58. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_codecoverage.so
  59. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_common.so
  60. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_datatype.so
  61. 03-14 20:49:16 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_drivercomm.so
  62. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_interfacespecification.so
  63. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_measurement.so
  64. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_multidevice_proto.so
  65. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libprotobuf-cpp-full.so
  66. 03-14 20:49:17 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
  67. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_codecoverage.so
  68. 03-14 20:49:17 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
  69. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_common.so
  70. 03-14 20:49:17 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
  71. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_datatype.so
  72. 03-14 20:49:17 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
  73. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_drivercomm.so
  74. 03-14 20:49:17 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
  75. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_interfacespecification.so
  76. 03-14 20:49:17 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
  77. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_measurement.so
  78. 03-14 20:49:17 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
  79. 03-14 20:49:17 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_multidevice_proto.so
  80. 03-14 20:49:17 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
  81. 03-14 20:49:17 E/RunUtil: Exception occurred when executing runnable
  82. 03-14 20:49:17 E/RunUtil: Cannot run program "/tmp/vts-virtualenv2726334085308282411/bin/pip" (in directory "/tmp/vts-virtualenv2726334085308282411/bin"): error=2, No such file or directory
  83. java.io.IOException: Cannot run program "/tmp/vts-virtualenv2726334085308282411/bin/pip" (in directory "/tmp/vts-virtualenv2726334085308282411/bin"): error=2, No such file or directory
  84. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  85. at com.android.tradefed.util.RunUtil$RunnableResult.run(RunUtil.java:587)
  86. at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:512)
  87. Caused by: java.io.IOException: error=2, No such file or directory
  88. at java.lang.UNIXProcess.forkAndExec(Native Method)
  89. at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
  90. at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  91. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  92. ... 2 more
  93.  
  94. 03-14 20:49:17 E/VtsPythonVirtualenvPreparer: Installing enum failed.
  95. 03-14 20:49:17 E/RunUtil: Exception occurred when executing runnable
  96. 03-14 20:49:17 E/RunUtil: Cannot run program "/tmp/vts-virtualenv2726334085308282411/bin/pip" (in directory "/tmp/vts-virtualenv2726334085308282411/bin"): error=2, No such file or directory
  97. java.io.IOException: Cannot run program "/tmp/vts-virtualenv2726334085308282411/bin/pip" (in directory "/tmp/vts-virtualenv2726334085308282411/bin"): error=2, No such file or directory
  98. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  99. at com.android.tradefed.util.RunUtil$RunnableResult.run(RunUtil.java:587)
  100. at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:512)
  101. Caused by: java.io.IOException: error=2, No such file or directory
  102. at java.lang.UNIXProcess.forkAndExec(Native Method)
  103. at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
  104. at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  105. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  106. ... 2 more
  107.  
  108. 03-14 20:49:17 E/ModuleDef: TargetSetupError in preparer: com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer
  109. 03-14 20:49:17 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
  110. 03-14 20:49:17 E/TestInvocation: 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. 03-14 20:49:17 W/ResultReporter: Invocation failed: java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  127. 03-14 20:49:17 I/ResultReporter: Saved logs for device_logcat in /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.14_20.49.15/device_logcat_1051820612225554759.zip
  128. 03-14 20:49:17 I/ResultReporter: Saved logs for host_log in /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.14_20.49.15/host_log_2798704498312117188.zip
  129. 03-14 20:49:17 I/ResultReporter: Invocation finished in 2s. PASSED: 0, FAILED: 0, NOT EXECUTED: 0, MODULES: 0 of 14
  130. 03-14 20:49:17 I/ResultReporter: Test Result: /home/naresh/Downloads/2017/march/android-vts/results/2017.03.14_20.49.15/test_result_failures.html
  131. 03-14 20:49:17 I/ResultReporter: Full Result: /home/naresh/Downloads/2017/march/android-vts/results/2017.03.14_20.49.15.zip
  132. 03-14 20:49:17 E/CommandScheduler: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  133. java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  134. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:304)
  135. at com.android.compatibility.common.tradefed.testtype.ModuleDef.run(ModuleDef.java:230)
  136. at com.android.compatibility.common.tradefed.testtype.CompatibilityTest.run(CompatibilityTest.java:439)
  137. at com.android.tradefed.invoker.TestInvocation.runTests(TestInvocation.java:716)
  138. at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:491)
  139. at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:386)
  140. at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:166)
  141. at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:471)
  142. Caused by: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  143. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.installDeps(VtsPythonVirtualenvPreparer.java:133)
  144. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.setUp(VtsPythonVirtualenvPreparer.java:81)
  145. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:294)
  146. ... 7 more
  147.  
  148. vts-tf >
  149. vts-tf >
  150. vts-tf >
  151. vts-tf >
  152. vts-tf >
  153. vts-tf >
  154. vts-tf >
  155. vts-tf >
  156. vts-tf >
  157. vts-tf >
  158. vts-tf >
  159. vts-tf >
  160. vts-tf >
  161. vts-tf >
  162. vts-tf >
  163. vts-tf >
  164. vts-tf >
  165. vts-tf >
  166. vts-tf >
  167. vts-tf >
  168. vts-tf >
  169. vts-tf >
  170. vts-tf >
  171. vts-tf >
  172. vts-tf >
  173. vts-tf >
  174. vts-tf > run vts
  175. 03-14 20:49:37 I/TestInvocation: Starting invocation for 'vts' on build 'eng.vishal.20170308.112715' vts Vendor Test Suite eng.vishal.20170308.112715 VTS 1489504777860 /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.14_20.49.37 on device 0123456789
  176. 03-14 20:49:37 I/ResultReporter: Initializing result directory
  177. 03-14 20:49:37 I/ResultReporter: Results Directory: /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/results/2017.03.14_20.49.37
  178. 03-14 20:49:37 I/ResultReporter: Created log dir /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.14_20.49.37
  179. 03-14 20:49:38 I/ModuleRepo: 0123456789 running 14 modules, expected to complete in 2h 12m 0s
  180. 03-14 20:49:38 I/CompatibilityTest: Starting 14 modules on 0123456789
  181. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/app/VtsAgentApp/VtsAgentApp.apk
  182. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/fuzzer32
  183. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/fuzzer64
  184. 03-14 20:49:38 W/VtsFilePusher: Skipping push spec in push group whose source does not exist: DATA/bin/fuzzer64->/data/local/tmp/64/fuzzer64
  185. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_hal_agent32
  186. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_hal_agent64
  187. 03-14 20:49:38 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
  188. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_shell_driver32
  189. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/bin/vts_shell_driver64
  190. 03-14 20:49:38 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
  191. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libprotobuf-cpp-full.so
  192. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_codecoverage.so
  193. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_common.so
  194. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_datatype.so
  195. 03-14 20:49:38 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_drivercomm.so
  196. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_interfacespecification.so
  197. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_measurement.so
  198. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib/libvts_multidevice_proto.so
  199. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libprotobuf-cpp-full.so
  200. 03-14 20:49:39 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
  201. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_codecoverage.so
  202. 03-14 20:49:39 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
  203. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_common.so
  204. 03-14 20:49:39 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
  205. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_datatype.so
  206. 03-14 20:49:39 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
  207. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_drivercomm.so
  208. 03-14 20:49:39 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
  209. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_interfacespecification.so
  210. 03-14 20:49:39 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
  211. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_measurement.so
  212. 03-14 20:49:39 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
  213. 03-14 20:49:39 I/FilePusher: Copying from /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/testcases/DATA/lib64/libvts_multidevice_proto.so
  214. 03-14 20:49:39 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
  215. 03-14 20:49:39 E/RunUtil: Exception occurred when executing runnable
  216. 03-14 20:49:39 E/RunUtil: Cannot run program "/tmp/vts-virtualenv3645129288325009960/bin/pip" (in directory "/tmp/vts-virtualenv3645129288325009960/bin"): error=2, No such file or directory
  217. java.io.IOException: Cannot run program "/tmp/vts-virtualenv3645129288325009960/bin/pip" (in directory "/tmp/vts-virtualenv3645129288325009960/bin"): error=2, No such file or directory
  218. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  219. at com.android.tradefed.util.RunUtil$RunnableResult.run(RunUtil.java:587)
  220. at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:512)
  221. Caused by: java.io.IOException: error=2, No such file or directory
  222. at java.lang.UNIXProcess.forkAndExec(Native Method)
  223. at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
  224. at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  225. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  226. ... 2 more
  227.  
  228. 03-14 20:49:39 E/VtsPythonVirtualenvPreparer: Installing enum failed.
  229. 03-14 20:49:39 E/RunUtil: Exception occurred when executing runnable
  230. 03-14 20:49:39 E/RunUtil: Cannot run program "/tmp/vts-virtualenv3645129288325009960/bin/pip" (in directory "/tmp/vts-virtualenv3645129288325009960/bin"): error=2, No such file or directory
  231. java.io.IOException: Cannot run program "/tmp/vts-virtualenv3645129288325009960/bin/pip" (in directory "/tmp/vts-virtualenv3645129288325009960/bin"): error=2, No such file or directory
  232. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  233. at com.android.tradefed.util.RunUtil$RunnableResult.run(RunUtil.java:587)
  234. at com.android.tradefed.util.RunUtil$RunnableNotifier.run(RunUtil.java:512)
  235. Caused by: java.io.IOException: error=2, No such file or directory
  236. at java.lang.UNIXProcess.forkAndExec(Native Method)
  237. at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
  238. at java.lang.ProcessImpl.start(ProcessImpl.java:134)
  239. at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
  240. ... 2 more
  241.  
  242. 03-14 20:49:39 E/ModuleDef: TargetSetupError in preparer: com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer
  243. 03-14 20:49:39 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
  244. 03-14 20:49:39 E/TestInvocation: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  245. java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  246. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:304)
  247. at com.android.compatibility.common.tradefed.testtype.ModuleDef.run(ModuleDef.java:230)
  248. at com.android.compatibility.common.tradefed.testtype.CompatibilityTest.run(CompatibilityTest.java:439)
  249. at com.android.tradefed.invoker.TestInvocation.runTests(TestInvocation.java:716)
  250. at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:491)
  251. at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:386)
  252. at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:166)
  253. at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:471)
  254. Caused by: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  255. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.installDeps(VtsPythonVirtualenvPreparer.java:133)
  256. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.setUp(VtsPythonVirtualenvPreparer.java:81)
  257. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:294)
  258. ... 7 more
  259.  
  260. 03-14 20:49:39 W/ResultReporter: Invocation failed: java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  261. 03-14 20:49:39 I/ResultReporter: Saved logs for device_logcat in /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.14_20.49.37/device_logcat_1812923063918228207.zip
  262. 03-14 20:49:39 I/ResultReporter: Saved logs for host_log in /home/naresh/Downloads/2017/march/android-vts/testcases/./../../android-vts/logs/2017.03.14_20.49.37/host_log_7897748248751044991.zip
  263. 03-14 20:49:39 I/ResultReporter: Invocation finished in 1s. PASSED: 0, FAILED: 0, NOT EXECUTED: 0, MODULES: 0 of 14
  264. 03-14 20:49:39 I/ResultReporter: Test Result: /home/naresh/Downloads/2017/march/android-vts/results/2017.03.14_20.49.37/test_result_failures.html
  265. 03-14 20:49:39 I/ResultReporter: Full Result: /home/naresh/Downloads/2017/march/android-vts/results/2017.03.14_20.49.37.zip
  266. 03-14 20:49:39 E/CommandScheduler: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  267. java.lang.RuntimeException: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  268. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:304)
  269. at com.android.compatibility.common.tradefed.testtype.ModuleDef.run(ModuleDef.java:230)
  270. at com.android.compatibility.common.tradefed.testtype.CompatibilityTest.run(CompatibilityTest.java:439)
  271. at com.android.tradefed.invoker.TestInvocation.runTests(TestInvocation.java:716)
  272. at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:491)
  273. at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:386)
  274. at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:166)
  275. at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:471)
  276. Caused by: com.android.tradefed.targetprep.TargetSetupError: Failed to install dependencies with pip. Result EXCEPTION. stdout: null, stderr: null
  277. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.installDeps(VtsPythonVirtualenvPreparer.java:133)
  278. at com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer.setUp(VtsPythonVirtualenvPreparer.java:81)
  279. at com.android.compatibility.common.tradefed.testtype.ModuleDef.runPreparerSetup(ModuleDef.java:294)
  280. ... 7 more
  281.  
  282. vts-tf >
  283. Received EOF; quitting...
  284. Saved log to /tmp/tradefed_global_log_6801023045978441322.txt
  285. 03-14 20:50:11 I/CommandScheduler: All done
  286. (venv) naresh@linaro:~/Downloads/2017/march/android-vts/tools$ ls
  287. compatibility-host-util.jar external hosttestlib.jar README.md tradefed-prebuilt.jar vts-tradefed vts-tradefed.jar
  288. (venv) naresh@linaro:~/Downloads/2017/march/android-vts/tools$ cd ..
  289. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ ls
  290. logs results testcases tools venv
  291. (venv) naresh@linaro:~/Downloads/2017/march/android-vts$ cd ..
  292. (venv) naresh@linaro:~/Downloads/2017/march$ cd vts/
  293. (venv) naresh@linaro:~/Downloads/2017/march/vts$ ls
  294. agents Android.mk doc hals __init__.py proto runners setup.py specification tools vts.mk
  295. Android.bp compilation_tools drivers harnesses __init__.pyc README.md script setup.pyc testcases utils web
  296. (venv) naresh@linaro:~/Downloads/2017/march/vts$ cat script/
  297. cat: script/: Is a directory
  298. (venv) naresh@linaro:~/Downloads/2017/march/vts$ cat script/
  299. build-java.sh create-test-project.py monitor-runner-output.pyc run-unittest.sh setup.sh
  300. build-python.sh create-test-project.pyc run-gce.sh setup-gce.sh start-agent.sh
  301. create-image.sh monitor-runner-output.py run-local.sh setup-local.sh
  302. (venv) naresh@linaro:~/Downloads/2017/march/vts$ cat script/setup.sh
  303. #!/bin/bash
  304. #
  305. # Copyright 2016 Google Inc. All Rights Reserved.
  306. #
  307. # Licensed under the Apache License, Version 2.0 (the "License");
  308. # you may not use this file except in compliance with the License.
  309. # You may obtain a copy of the License at
  310. #
  311. # http://www.apache.org/licenses/LICENSE-2.0
  312. #
  313. # Unless required by applicable law or agreed to in writing, software
  314. # distributed under the License is distributed on an "AS IS" BASIS,
  315. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  316. # See the License for the specific language governing permissions and
  317. # limitations under the License.
  318.  
  319. # Only tested on linux so far
  320. echo "Install Python SDK"
  321. sudo apt-get -y install python-dev
  322.  
  323. echo "Install Protocol Buffer packages"
  324. sudo apt-get -y install python-protobuf
  325. sudo apt-get -y install protobuf-compiler
  326.  
  327. echo "Install Python virtualenv and pip tools for VTS TradeFed and Runner"
  328. sudo apt-get -y install python-setuptools
  329. sudo apt-get -y install python-pip
  330. sudo apt-get -y install python3-pip
  331. sudo apt-get -y install python-virtualenv
  332.  
  333. echo "Install Python modules for VTS Runner"
  334. sudo pip install future
  335. sudo pip install futures
  336. sudo pip install enum
  337. #sudo pip install concurrent
  338. sudo pip install protobuf
  339. sudo pip install setuptools
  340. sudo pip install requests
  341. sudo pip install httplib2
  342. sudo pip install google-api-python-client
  343. sudo pip install google-cloud-pubsub
  344.  
  345. echo "Install packages for Camera ITS tests"
  346. sudo apt-get -y install python-tk
  347. sudo pip install numpy
  348. sudo pip install scipy
  349. sudo pip install matplotlib
  350. sudo apt-get -y install libjpeg-dev
  351. sudo apt-get -y install libtiff-dev
  352. sudo pip install Pillow
  353. (venv) naresh@linaro:~/Downloads/2017/march/vts$ sudo script/setup.sh
  354. Install Python SDK
  355. Reading package lists... Done
  356. Building dependency tree
  357. Reading state information... Done
  358. python-dev is already the newest version (2.7.11-1).
  359. The following packages were automatically installed and are no longer required:
  360. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  361. Use 'sudo apt autoremove' to remove them.
  362. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  363. Install Protocol Buffer packages
  364. Reading package lists... Done
  365. Building dependency tree
  366. Reading state information... Done
  367. python-protobuf is already the newest version (2.6.1-1.3).
  368. The following packages were automatically installed and are no longer required:
  369. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  370. Use 'sudo apt autoremove' to remove them.
  371. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  372. Reading package lists... Done
  373. Building dependency tree
  374. Reading state information... Done
  375. protobuf-compiler is already the newest version (2.6.1-1.3).
  376. The following packages were automatically installed and are no longer required:
  377. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  378. Use 'sudo apt autoremove' to remove them.
  379. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  380. Install Python virtualenv and pip tools for VTS TradeFed and Runner
  381. Reading package lists... Done
  382. Building dependency tree
  383. Reading state information... Done
  384. python-setuptools is already the newest version (20.7.0-1).
  385. The following packages were automatically installed and are no longer required:
  386. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  387. Use 'sudo apt autoremove' to remove them.
  388. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  389. Reading package lists... Done
  390. Building dependency tree
  391. Reading state information... Done
  392. python-pip is already the newest version (8.1.1-2ubuntu0.4).
  393. The following packages were automatically installed and are no longer required:
  394. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  395. Use 'sudo apt autoremove' to remove them.
  396. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  397. Reading package lists... Done
  398. Building dependency tree
  399. Reading state information... Done
  400. python3-pip is already the newest version (8.1.1-2ubuntu0.4).
  401. The following packages were automatically installed and are no longer required:
  402. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  403. Use 'sudo apt autoremove' to remove them.
  404. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  405. Reading package lists... Done
  406. Building dependency tree
  407. Reading state information... Done
  408. python-virtualenv is already the newest version (15.0.1+ds-3ubuntu1).
  409. The following packages were automatically installed and are no longer required:
  410. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  411. Use 'sudo apt autoremove' to remove them.
  412. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  413. Install Python modules for VTS Runner
  414. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  415. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  416. Collecting future
  417. Downloading future-0.16.0.tar.gz (824kB)
  418. 100% |████████████████████████████████| 829kB 115kB/s
  419. Installing collected packages: future
  420. Running setup.py install for future ... done
  421. Successfully installed future-0.16.0
  422. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  423. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  424. Collecting futures
  425. Downloading futures-3.0.5.tar.gz
  426. Installing collected packages: futures
  427. Running setup.py install for futures ... done
  428. Successfully installed futures-3.0.5
  429. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  430. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  431. Collecting enum
  432. Downloading enum-0.4.6.tar.gz
  433. Complete output from command python setup.py egg_info:
  434. Traceback (most recent call last):
  435. File "<string>", line 1, in <module>
  436. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/setuptools/__init__.py", line 12, in <module>
  437. import setuptools.version
  438. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/setuptools/version.py", line 1, in <module>
  439. import pkg_resources
  440. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 32, in <module>
  441. import platform
  442. File "/usr/lib/python3.5/platform.py", line 117, in <module>
  443. import sys, os, re, subprocess
  444. File "/usr/lib/python3.5/subprocess.py", line 364, in <module>
  445. import signal
  446. File "/usr/lib/python3.5/signal.py", line 4, in <module>
  447. from enum import IntEnum as _IntEnum
  448. ImportError: cannot import name 'IntEnum'
  449.  
  450. ----------------------------------------
  451. Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-uknerzsl/enum/
  452. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  453. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  454. Collecting protobuf
  455. Downloading protobuf-3.2.0-cp35-cp35m-manylinux1_x86_64.whl (5.6MB)
  456. 100% |████████████████████████████████| 5.6MB 171kB/s
  457. Requirement already satisfied: six>=1.9 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from protobuf)
  458. Requirement already satisfied: setuptools in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from protobuf)
  459. Requirement already satisfied: packaging>=16.8 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools->protobuf)
  460. Requirement already satisfied: appdirs>=1.4.0 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools->protobuf)
  461. Requirement already satisfied: pyparsing in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from packaging>=16.8->setuptools->protobuf)
  462. Installing collected packages: protobuf
  463. Successfully installed protobuf-3.2.0
  464. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  465. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  466. Requirement already satisfied: setuptools in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages
  467. Requirement already satisfied: appdirs>=1.4.0 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools)
  468. Requirement already satisfied: six>=1.6.0 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools)
  469. Requirement already satisfied: packaging>=16.8 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools)
  470. Requirement already satisfied: pyparsing in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from packaging>=16.8->setuptools)
  471. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  472. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  473. Collecting requests
  474. Downloading requests-2.13.0-py2.py3-none-any.whl (584kB)
  475. 100% |████████████████████████████████| 593kB 167kB/s
  476. Installing collected packages: requests
  477. Successfully installed requests-2.13.0
  478. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  479. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  480. Collecting httplib2
  481. Downloading httplib2-0.10.3.tar.gz (204kB)
  482. 100% |████████████████████████████████| 204kB 134kB/s
  483. Installing collected packages: httplib2
  484. Running setup.py install for httplib2 ... done
  485. Successfully installed httplib2-0.10.3
  486. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  487. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  488. Collecting google-api-python-client
  489. Downloading google_api_python_client-1.6.2-py2.py3-none-any.whl (52kB)
  490. 100% |████████████████████████████████| 61kB 203kB/s
  491. Requirement already satisfied: six<2dev,>=1.6.1 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-api-python-client)
  492. Collecting oauth2client<5.0.0dev,>=1.5.0 (from google-api-python-client)
  493. Downloading oauth2client-4.0.0-py2.py3-none-any.whl (184kB)
  494. 100% |████████████████████████████████| 194kB 144kB/s
  495. Collecting uritemplate<4dev,>=3.0.0 (from google-api-python-client)
  496. Downloading uritemplate-3.0.0-py2.py3-none-any.whl
  497. Requirement already satisfied: httplib2<1dev,>=0.9.2 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-api-python-client)
  498. Collecting pyasn1>=0.1.7 (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client)
  499. Downloading pyasn1-0.2.3-py2.py3-none-any.whl (53kB)
  500. 100% |████████████████████████████████| 61kB 199kB/s
  501. Collecting rsa>=3.1.4 (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client)
  502. Downloading rsa-3.4.2-py2.py3-none-any.whl (46kB)
  503. 100% |████████████████████████████████| 51kB 202kB/s
  504. Collecting pyasn1-modules>=0.0.5 (from oauth2client<5.0.0dev,>=1.5.0->google-api-python-client)
  505. Downloading pyasn1_modules-0.0.8-py2.py3-none-any.whl
  506. Installing collected packages: pyasn1, rsa, pyasn1-modules, oauth2client, uritemplate, google-api-python-client
  507. Successfully installed google-api-python-client-1.6.2 oauth2client-4.0.0 pyasn1-0.2.3 pyasn1-modules-0.0.8 rsa-3.4.2 uritemplate-3.0.0
  508. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  509. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  510. Collecting google-cloud-pubsub
  511. Downloading google_cloud_pubsub-0.23.0-py2.py3-none-any.whl (55kB)
  512. 100% |████████████████████████████████| 61kB 118kB/s
  513. Collecting google-cloud-core<0.24dev,>=0.23.1 (from google-cloud-pubsub)
  514. Downloading google_cloud_core-0.23.1-py2.py3-none-any.whl (85kB)
  515. 100% |████████████████████████████████| 92kB 168kB/s
  516. Collecting gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0 (from google-cloud-pubsub)
  517. Downloading gapic-google-cloud-pubsub-v1-0.15.3.tar.gz
  518. Collecting grpcio<2.0dev,>=1.0.2 (from google-cloud-pubsub)
  519. Downloading grpcio-1.1.3-cp35-cp35m-manylinux1_x86_64.whl (5.0MB)
  520. 100% |████████████████████████████████| 5.0MB 122kB/s
  521. Requirement already satisfied: httplib2>=0.9.1 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  522. Collecting googleapis-common-protos>=1.3.4 (from google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  523. Downloading googleapis-common-protos-1.5.2.tar.gz
  524. Collecting google-auth-httplib2 (from google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  525. Downloading google_auth_httplib2-0.0.2-py2.py3-none-any.whl
  526. Requirement already satisfied: protobuf>=3.0.0 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  527. Collecting google-auth<2.0.0dev,>=0.4.0 (from google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  528. Downloading google_auth-0.8.0-py2.py3-none-any.whl (79kB)
  529. 100% |████████████████████████████████| 81kB 211kB/s
  530. Requirement already satisfied: six in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  531. Collecting google-gax<0.16dev,>=0.15.7 (from gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  532. Downloading google-gax-0.15.8.tar.gz (106kB)
  533. 100% |████████████████████████████████| 112kB 290kB/s
  534. Collecting oauth2client<4.0dev,>=2.0.0 (from gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  535. Downloading oauth2client-3.0.0.tar.gz (77kB)
  536. 100% |████████████████████████████████| 81kB 178kB/s
  537. Collecting proto-google-cloud-pubsub-v1[grpc]<0.16dev,>=0.15.3 (from gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  538. Downloading proto-google-cloud-pubsub-v1-0.15.3.tar.gz
  539. Collecting grpc-google-iam-v1<0.12dev,>=0.11.1 (from gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  540. Downloading grpc-google-iam-v1-0.11.1.tar.gz
  541. Collecting enum34>=1.0.4 (from grpcio<2.0dev,>=1.0.2->google-cloud-pubsub)
  542. Downloading enum34-1.1.6-py3-none-any.whl
  543. Requirement already satisfied: pyasn1-modules>=0.0.5 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-auth-httplib2->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  544. Requirement already satisfied: rsa>=3.1.4 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-auth-httplib2->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  545. Requirement already satisfied: pyasn1>=0.1.7 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-auth-httplib2->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  546. Requirement already satisfied: setuptools in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from protobuf>=3.0.0->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  547. Collecting dill<0.3dev,>=0.2.5 (from google-gax<0.16dev,>=0.15.7->gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  548. Downloading dill-0.2.6.zip (83kB)
  549. 100% |████████████████████████████████| 92kB 226kB/s
  550. Requirement already satisfied: future<0.17dev,>=0.16.0 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from google-gax<0.16dev,>=0.15.7->gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  551. Collecting ply==3.8 (from google-gax<0.16dev,>=0.15.7->gapic-google-cloud-pubsub-v1<0.16dev,>=0.15.0->google-cloud-pubsub)
  552. Downloading ply-3.8.tar.gz (157kB)
  553. 100% |████████████████████████████████| 163kB 221kB/s
  554. Requirement already satisfied: packaging>=16.8 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools->protobuf>=3.0.0->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  555. Requirement already satisfied: appdirs>=1.4.0 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from setuptools->protobuf>=3.0.0->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  556. Requirement already satisfied: pyparsing in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from packaging>=16.8->setuptools->protobuf>=3.0.0->google-cloud-core<0.24dev,>=0.23.1->google-cloud-pubsub)
  557. Installing collected packages: googleapis-common-protos, google-auth, google-auth-httplib2, google-cloud-core, dill, enum34, grpcio, oauth2client, ply, google-gax, proto-google-cloud-pubsub-v1, grpc-google-iam-v1, gapic-google-cloud-pubsub-v1, google-cloud-pubsub
  558. Running setup.py install for googleapis-common-protos ... done
  559. Running setup.py install for dill ... done
  560. Found existing installation: oauth2client 4.0.0
  561. Uninstalling oauth2client-4.0.0:
  562. Successfully uninstalled oauth2client-4.0.0
  563. Running setup.py install for oauth2client ... done
  564. Running setup.py install for ply ... done
  565. Running setup.py install for google-gax ... error
  566. Complete output from command /home/naresh/Downloads/2017/march/android-vts/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gwg3ldq9/google-gax/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xw0fou01-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/naresh/Downloads/2017/march/android-vts/venv/include/site/python3.5/google-gax:
  567. Traceback (most recent call last):
  568. File "<string>", line 1, in <module>
  569. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/setuptools/__init__.py", line 12, in <module>
  570. import setuptools.version
  571. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/setuptools/version.py", line 1, in <module>
  572. import pkg_resources
  573. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2927, in <module>
  574. @_call_aside
  575. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
  576. f(*args, **kwargs)
  577. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2952, in _initialize_master_working_set
  578. add_activation_listener(lambda dist: dist.activate())
  579. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 956, in subscribe
  580. callback(dist)
  581. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2952, in <lambda>
  582. add_activation_listener(lambda dist: dist.activate())
  583. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2515, in activate
  584. declare_namespace(pkg)
  585. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2097, in declare_namespace
  586. _handle_ns(packageName, path_item)
  587. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2047, in _handle_ns
  588. _rebuild_mod_path(path, packageName, module)
  589. File "/home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2066, in _rebuild_mod_path
  590. orig_path.sort(key=position_in_sys_path)
  591. AttributeError: '_NamespacePath' object has no attribute 'sort'
  592.  
  593. ----------------------------------------
  594. Command "/home/naresh/Downloads/2017/march/android-vts/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-gwg3ldq9/google-gax/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xw0fou01-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/naresh/Downloads/2017/march/android-vts/venv/include/site/python3.5/google-gax" failed with error code 1 in /tmp/pip-build-gwg3ldq9/google-gax/
  595. Install packages for Camera ITS tests
  596. Reading package lists... Done
  597. Building dependency tree
  598. Reading state information... Done
  599. python-tk is already the newest version (2.7.11-2).
  600. The following packages were automatically installed and are no longer required:
  601. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  602. Use 'sudo apt autoremove' to remove them.
  603. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  604. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  605. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  606. Collecting numpy
  607. Downloading numpy-1.12.0-cp35-cp35m-manylinux1_x86_64.whl (16.8MB)
  608. 100% |████████████████████████████████| 16.8MB 60kB/s
  609. Installing collected packages: numpy
  610. Successfully installed numpy-1.12.0
  611. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  612. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  613. Collecting scipy
  614. Downloading scipy-0.19.0-cp35-cp35m-manylinux1_x86_64.whl (47.9MB)
  615. 100% |████████████████████████████████| 47.9MB 26kB/s
  616. Requirement already satisfied: numpy>=1.8.2 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from scipy)
  617. Installing collected packages: scipy
  618. Successfully installed scipy-0.19.0
  619. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  620. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  621. Collecting matplotlib
  622. Downloading matplotlib-2.0.0-1-cp35-cp35m-manylinux1_x86_64.whl (14.7MB)
  623. 100% |████████████████████████████████| 14.7MB 69kB/s
  624. Requirement already satisfied: six>=1.10 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from matplotlib)
  625. Collecting cycler>=0.10 (from matplotlib)
  626. Downloading cycler-0.10.0-py2.py3-none-any.whl
  627. Collecting pytz (from matplotlib)
  628. Downloading pytz-2016.10-py2.py3-none-any.whl (483kB)
  629. 100% |████████████████████████████████| 491kB 119kB/s
  630. Requirement already satisfied: numpy>=1.7.1 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from matplotlib)
  631. Requirement already satisfied: pyparsing!=2.0.0,!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in /home/naresh/Downloads/2017/march/android-vts/venv/lib/python3.5/site-packages (from matplotlib)
  632. Collecting python-dateutil (from matplotlib)
  633. Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)
  634. 100% |████████████████████████████████| 194kB 120kB/s
  635. Installing collected packages: cycler, pytz, python-dateutil, matplotlib
  636. Successfully installed cycler-0.10.0 matplotlib-2.0.0 python-dateutil-2.6.0 pytz-2016.10
  637. Reading package lists... Done
  638. Building dependency tree
  639. Reading state information... Done
  640. libjpeg-dev is already the newest version (8c-2ubuntu8).
  641. The following packages were automatically installed and are no longer required:
  642. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  643. Use 'sudo apt autoremove' to remove them.
  644. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  645. Reading package lists... Done
  646. Building dependency tree
  647. Reading state information... Done
  648. Note, selecting 'libtiff5-dev' instead of 'libtiff-dev'
  649. libtiff5-dev is already the newest version (4.0.6-1ubuntu0.1).
  650. The following packages were automatically installed and are no longer required:
  651. android-libadb python-cffi-backend python-enum34 python-ipaddress python-pyasn1
  652. Use 'sudo apt autoremove' to remove them.
  653. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  654. The directory '/home/naresh/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  655. The directory '/home/naresh/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
  656. Collecting Pillow
  657. Downloading Pillow-4.0.0-cp35-cp35m-manylinux1_x86_64.whl (5.6MB)
  658. 100% |████████████████████████████████| 5.6MB 99kB/s
  659. Collecting olefile (from Pillow)
  660. Downloading olefile-0.44.zip (74kB)
  661. 100% |████████████████████████████████| 81kB 115kB/s
  662. Installing collected packages: olefile, Pillow
  663. Running setup.py install for olefile ... done
  664. Successfully installed Pillow-4.0.0 olefile-0.44
  665. (venv) naresh@linaro:~/Downloads/2017/march/vts$
Add Comment
Please, Sign In to add comment