Advertisement
Guest User

Untitled

a guest
Sep 8th, 2017
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.48 KB | None | 0 0
  1. Started by upstream project "android_sdk" build number 30
  2. originally caused by:
  3. Started by an SCM change
  4. [EnvInject] - Loading node environment variables.
  5. Building in workspace /Users/Shared/Jenkins/Home/workspace/android_traveller_dev
  6. [WS-CLEANUP] Deleting project workspace...
  7. [WS-CLEANUP] Done
  8. Cloning the remote Git repository
  9. Cloning repository git@github.com:karhoo/Karhoo-Android-Traveller.git
  10. > git init /Users/Shared/Jenkins/Home/workspace/android_traveller_dev # timeout=10
  11. Fetching upstream changes from git@github.com:karhoo/Karhoo-Android-Traveller.git
  12. > git --version # timeout=10
  13. using GIT_SSH to set credentials
  14. > git fetch --tags --progress git@github.com:karhoo/Karhoo-Android-Traveller.git +refs/heads/*:refs/remotes/origin/*
  15. > git config remote.origin.url git@github.com:karhoo/Karhoo-Android-Traveller.git # timeout=10
  16. > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  17. > git config remote.origin.url git@github.com:karhoo/Karhoo-Android-Traveller.git # timeout=10
  18. Fetching upstream changes from git@github.com:karhoo/Karhoo-Android-Traveller.git
  19. using GIT_SSH to set credentials
  20. > git fetch --tags --progress git@github.com:karhoo/Karhoo-Android-Traveller.git +refs/heads/*:refs/remotes/origin/*
  21. > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
  22. > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
  23. Checking out Revision bec94716d2cc95764eb570543efaf82aaeae16ab (refs/remotes/origin/develop)
  24. Commit message: "Fixed stupid tests"
  25. > git config core.sparsecheckout # timeout=10
  26. > git checkout -f bec94716d2cc95764eb570543efaf82aaeae16ab
  27. > git rev-list bec94716d2cc95764eb570543efaf82aaeae16ab # timeout=10
  28. [android_traveller_dev] $ /bin/sh -xe /Users/Shared/Jenkins/tmp/jenkins7614460907487190021.sh
  29. + export ANDROID_HOME=/Users/Shared/Jenkins/Library/Android/sdk
  30. + ANDROID_HOME=/Users/Shared/Jenkins/Library/Android/sdk
  31. + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/Library/Android/sdk/tools
  32. + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/Library/Android/sdk/tools
  33. + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/Library/Android/sdk/tools:/Users/Shared/Jenkins/Library/Android/sdk/platform-tools
  34. + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/Library/Android/sdk/tools:/Users/Shared/Jenkins/Library/Android/sdk/platform-tools
  35. + export GRADLE_HOME=/usr/local/Cellar/gradle/4.1
  36. + GRADLE_HOME=/usr/local/Cellar/gradle/4.1
  37. + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/Library/Android/sdk/tools:/Users/Shared/Jenkins/Library/Android/sdk/platform-tools:/usr/local/Cellar/gradle/4.1/bin
  38. + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/Shared/Jenkins/Library/Android/sdk/tools:/Users/Shared/Jenkins/Library/Android/sdk/platform-tools:/usr/local/Cellar/gradle/4.1/bin
  39. + cd KarhooTraveller
  40. + gradle clean
  41. Starting a Gradle Daemon (subsequent builds will be faster)
  42. NDK is missing a "platforms" directory.
  43. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/Shared/Jenkins/Library/Android/sdk/ndk-bundle.
  44. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  45.  
  46. The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
  47. The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
  48. The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
  49. :clean UP-TO-DATE
  50. :app:clean
  51.  
  52. BUILD SUCCESSFUL in 19s
  53. 2 actionable tasks: 1 executed, 1 up-to-date
  54. + gradle assemble
  55. NDK is missing a "platforms" directory.
  56. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/Shared/Jenkins/Library/Android/sdk/ndk-bundle.
  57. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  58.  
  59. The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
  60. The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
  61. The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
  62. :app:preBuild UP-TO-DATE
  63. :app:preDebugBuild UP-TO-DATE
  64. :app:checkDebugManifest
  65. :app:preReleaseBuild UP-TO-DATE
  66. :app:preStagingBuild UP-TO-DATE
  67. :app:prepareComAndroidSupportAnimatedVectorDrawable2531Library
  68. :app:prepareComAndroidSupportAppcompatV72531Library
  69. :app:prepareComAndroidSupportCardviewV72531Library
  70. :app:prepareComAndroidSupportConstraintConstraintLayout102Library
  71. :app:prepareComAndroidSupportDesign2531Library
  72. :app:preDebugAndroidTestBuild UP-TO-DATE
  73. :app:prepareComAndroidSupportMultidex101Library
  74. :app:prepareComAndroidSupportRecyclerviewV72531Library
  75. :app:prepareComAndroidSupportSupportCompat2531Library
  76. :app:prepareComAndroidSupportSupportCoreUi2531Library
  77. :app:prepareComAndroidSupportSupportCoreUtils2531Library
  78. :app:prepareComAndroidSupportSupportFragment2531Library
  79. :app:prepareComAndroidSupportSupportMediaCompat2531Library
  80. :app:prepareComAndroidSupportSupportV42531Library
  81. :app:prepareComAndroidSupportSupportVectorDrawable2531Library
  82. :app:prepareComAndroidSupportTransition2531Library
  83. :app:prepareComAuth0AndroidAuth0180Library
  84. :app:prepareComAuth0AndroidJwtdecode110Library
  85. :app:prepareComBraintreepaymentsApiBraintree243Library
  86. :app:prepareComBraintreepaymentsApiCore243Library
  87. :app:prepareComBraintreepaymentsApiDropIn308Library
  88. :app:prepareComBraintreepaymentsCardForm305Library
  89. :app:prepareComCrashlyticsSdkAndroidAnswers1313Library
  90. :app:prepareComCrashlyticsSdkAndroidBeta125Library
  91. :app:prepareComCrashlyticsSdkAndroidCrashlytics268Library
  92. :app:prepareComCrashlyticsSdkAndroidCrashlyticsCore2317Library
  93. :app:prepareComGoogleAndroidGmsPlayServicesBase1026Library
  94. :app:prepareComGoogleAndroidGmsPlayServicesBasement1026Library
  95. :app:prepareComGoogleAndroidGmsPlayServicesLocation1026Library
  96. :app:prepareComGoogleAndroidGmsPlayServicesMaps1026Library
  97. :app:prepareComGoogleAndroidGmsPlayServicesTasks1026Library
  98. :app:prepareComKarhooSdk10Library
  99. :app:prepareComKarumiDexter410Library
  100. :app:prepareComPaypalAndroidSdkPaypalOneTouch243Library
  101. :app:prepareIoFabricSdkAndroidFabric1317Library
  102. :app:prepareIoReactivexRxjava2Rxandroid201Library
  103. :app:prepareNetDanlewAndroidJoda2931Library
  104. :app:prepareDebugDependencies
  105. :app:compileDebugAidl
  106. :app:compileDebugRenderscript
  107. :app:generateDebugBuildConfig
  108. :app:mergeDebugShaders
  109. :app:compileDebugShaders
  110. :app:generateDebugAssets
  111. :app:mergeDebugAssets
  112. :app:processDebugManifest
  113. :app:fabricGenerateResourcesDebug
  114. :app:generateDebugResValues
  115. :app:generateDebugResources
  116. :app:mergeDebugResources
  117. :app:processDebugResources
  118. :app:generateDebugSources
  119. :app:incrementalDebugJavaCompilationSafeguard
  120. :app:javaPreCompileDebug
  121. :app:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.
  122. Note: Recompile with -Xlint:deprecation for details.
  123.  
  124. :app:compileDebugNdk NO-SOURCE
  125. :app:compileDebugSources
  126. :app:unzipJacocoAgent
  127. :app:transformClassesWithJacocoForDebug
  128. :app:transformClassesWithJarMergingForDebug
  129. :app:transformClassesWithMultidexlistForDebug
  130. :app:transformClassesWithDexForDebug
  131. :app:mergeDebugJniLibFolders
  132. :app:transformNativeLibsWithMergeJniLibsForDebug
  133. :app:processDebugJavaRes NO-SOURCE
  134. :app:transformResourcesWithMergeJavaResForDebug
  135. :app:validateSigningDebug
  136. :app:packageDebug
  137. :app:assembleDebug
  138. :app:checkReleaseManifest
  139. :app:prepareReleaseDependencies
  140. :app:compileReleaseAidl
  141. :app:compileReleaseRenderscript
  142. :app:generateReleaseBuildConfig
  143. :app:mergeReleaseShaders
  144. :app:compileReleaseShaders
  145. :app:generateReleaseAssets
  146. :app:mergeReleaseAssets
  147. :app:processReleaseManifest
  148. :app:fabricGenerateResourcesRelease
  149. :app:generateReleaseResValues
  150. :app:generateReleaseResources
  151. :app:mergeReleaseResources
  152. :app:processReleaseResources
  153. :app:generateReleaseSources
  154. :app:incrementalReleaseJavaCompilationSafeguard
  155. :app:javaPreCompileRelease
  156. :app:compileReleaseJavaWithJavacNote: Some input files use or override a deprecated API.
  157. Note: Recompile with -Xlint:deprecation for details.
  158.  
  159. :app:compileReleaseNdk NO-SOURCE
  160. :app:compileReleaseSources
  161. :app:lintVitalRelease
  162. :app:transformClassesWithJarMergingForRelease
  163. :app:transformClassesWithMultidexlistForRelease
  164. :app:transformClassesWithDexForRelease
  165. :app:mergeReleaseJniLibFolders
  166. :app:transformNativeLibsWithMergeJniLibsForRelease
  167. :app:processReleaseJavaRes NO-SOURCE
  168. :app:transformResourcesWithMergeJavaResForRelease
  169. :app:packageRelease
  170. :app:assembleRelease
  171. :app:checkStagingManifest
  172. :app:prepareStagingDependencies
  173. :app:compileStagingAidl
  174. :app:compileStagingRenderscript
  175. :app:generateStagingBuildConfig
  176. :app:mergeStagingShaders
  177. :app:compileStagingShaders
  178. :app:generateStagingAssets
  179. :app:mergeStagingAssets
  180. :app:processStagingManifest
  181. :app:fabricGenerateResourcesStaging
  182. :app:generateStagingResValues
  183. :app:generateStagingResources
  184. :app:mergeStagingResources
  185. :app:processStagingResources
  186. :app:generateStagingSources
  187. :app:incrementalStagingJavaCompilationSafeguard
  188. :app:javaPreCompileStaging
  189. :app:compileStagingJavaWithJavacNote: Some input files use or override a deprecated API.
  190. Note: Recompile with -Xlint:deprecation for details.
  191.  
  192. :app:compileStagingNdk NO-SOURCE
  193. :app:compileStagingSources
  194. :app:transformClassesWithJacocoForStaging
  195. :app:transformClassesWithJarMergingForStaging
  196. :app:transformClassesWithMultidexlistForStaging
  197. :app:transformClassesWithDexForStaging
  198. :app:mergeStagingJniLibFolders
  199. :app:transformNativeLibsWithMergeJniLibsForStaging
  200. :app:processStagingJavaRes NO-SOURCE
  201. :app:transformResourcesWithMergeJavaResForStaging
  202. :app:validateSigningStaging
  203. :app:packageStaging
  204. :app:assembleStaging
  205. :app:assemble
  206.  
  207. BUILD SUCCESSFUL in 4m 57s
  208. 111 actionable tasks: 111 executed
  209. + gradle testDebugUnitTest
  210. NDK is missing a "platforms" directory.
  211. If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/Shared/Jenkins/Library/Android/sdk/ndk-bundle.
  212. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  213.  
  214. The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
  215. The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
  216. The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.
  217. :app:preBuild UP-TO-DATE
  218. :app:preDebugBuild UP-TO-DATE
  219. :app:checkDebugManifest
  220. :app:preReleaseBuild UP-TO-DATE
  221. :app:preStagingBuild UP-TO-DATE
  222. :app:prepareComAndroidSupportAnimatedVectorDrawable2531Library
  223. :app:prepareComAndroidSupportAppcompatV72531Library
  224. :app:prepareComAndroidSupportCardviewV72531Library
  225. :app:prepareComAndroidSupportConstraintConstraintLayout102Library
  226. :app:prepareComAndroidSupportDesign2531Library
  227. :app:preDebugAndroidTestBuild UP-TO-DATE
  228. :app:prepareComAndroidSupportMultidex101Library
  229. :app:prepareComAndroidSupportRecyclerviewV72531Library
  230. :app:prepareComAndroidSupportSupportCompat2531Library
  231. :app:prepareComAndroidSupportSupportCoreUi2531Library
  232. :app:prepareComAndroidSupportSupportCoreUtils2531Library
  233. :app:prepareComAndroidSupportSupportFragment2531Library
  234. :app:prepareComAndroidSupportSupportMediaCompat2531Library
  235. :app:prepareComAndroidSupportSupportV42531Library
  236. :app:prepareComAndroidSupportSupportVectorDrawable2531Library
  237. :app:prepareComAndroidSupportTransition2531Library
  238. :app:prepareComAuth0AndroidAuth0180Library
  239. :app:prepareComAuth0AndroidJwtdecode110Library
  240. :app:prepareComBraintreepaymentsApiBraintree243Library
  241. :app:prepareComBraintreepaymentsApiCore243Library
  242. :app:prepareComBraintreepaymentsApiDropIn308Library
  243. :app:prepareComBraintreepaymentsCardForm305Library
  244. :app:prepareComCrashlyticsSdkAndroidAnswers1313Library
  245. :app:prepareComCrashlyticsSdkAndroidBeta125Library
  246. :app:prepareComCrashlyticsSdkAndroidCrashlytics268Library
  247. :app:prepareComCrashlyticsSdkAndroidCrashlyticsCore2317Library
  248. :app:prepareComGoogleAndroidGmsPlayServicesBase1026Library
  249. :app:prepareComGoogleAndroidGmsPlayServicesBasement1026Library
  250. :app:prepareComGoogleAndroidGmsPlayServicesLocation1026Library
  251. :app:prepareComGoogleAndroidGmsPlayServicesMaps1026Library
  252. :app:prepareComGoogleAndroidGmsPlayServicesTasks1026Library
  253. :app:prepareComKarhooSdk10Library
  254. :app:prepareComKarumiDexter410Library
  255. :app:prepareComPaypalAndroidSdkPaypalOneTouch243Library
  256. :app:prepareIoFabricSdkAndroidFabric1317Library
  257. :app:prepareIoReactivexRxjava2Rxandroid201Library
  258. :app:prepareNetDanlewAndroidJoda2931Library
  259. :app:prepareDebugDependencies
  260. :app:compileDebugAidl UP-TO-DATE
  261. :app:compileDebugRenderscript UP-TO-DATE
  262. :app:generateDebugBuildConfig UP-TO-DATE
  263. :app:mergeDebugShaders UP-TO-DATE
  264. :app:compileDebugShaders UP-TO-DATE
  265. :app:generateDebugAssets UP-TO-DATE
  266. :app:mergeDebugAssets UP-TO-DATE
  267. :app:processDebugManifest UP-TO-DATE
  268. :app:fabricGenerateResourcesDebug
  269. :app:generateDebugResValues UP-TO-DATE
  270. :app:generateDebugResources
  271. :app:mergeDebugResources
  272. :app:processDebugResources
  273. :app:generateDebugSources
  274. :app:incrementalDebugJavaCompilationSafeguard
  275. :app:javaPreCompileDebug
  276. :app:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.
  277. Note: Recompile with -Xlint:deprecation for details.
  278.  
  279. :app:incrementalDebugUnitTestJavaCompilationSafeguard NO-SOURCE
  280. :app:javaPreCompileDebugUnitTest
  281. :app:preDebugUnitTestBuild UP-TO-DATE
  282. :app:prepareDebugUnitTestDependencies
  283. :app:compileDebugUnitTestJavaWithJavacNote: Some input files use unchecked or unsafe operations.
  284. Note: Recompile with -Xlint:unchecked for details.
  285.  
  286. :app:processDebugJavaRes NO-SOURCE
  287. :app:processDebugUnitTestJavaRes NO-SOURCE
  288. :app:compileDebugUnitTestSources
  289. :app:mockableAndroidJar
  290. :app:assembleDebugUnitTest
  291. :app:testDebugUnitTestobjc[19075]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/bin/java (0x10bce34c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10cd524e0). One of the two will be used. Which one is undefined.
  292.  
  293.  
  294. com.karhoo.karhootraveller.presentation.booking.domain.supplier.ETASortTest > duplicateETAs FAILED
  295. java.lang.AssertionError at ETASortTest.java:144
  296.  
  297. 76 tests completed, 1 failed
  298. :app:testDebugUnitTest FAILED
  299.  
  300. FAILURE: Build failed with an exception.
  301.  
  302. * What went wrong:
  303. Execution failed for task ':app:testDebugUnitTest'.
  304. > There were failing tests. See the report at: file:///Users/Shared/Jenkins/Home/workspace/android_traveller_dev/KarhooTraveller/app/build/reports/tests/testDebugUnitTest/index.html
  305.  
  306. * Try:
  307. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  308.  
  309. * Get more help at https://help.gradle.org
  310.  
  311. BUILD FAILED in 25s
  312. 57 actionable tasks: 49 executed, 8 up-to-date
  313. Build step 'Execute shell' marked build as failure
  314. Skipped archiving because build is not successful
  315. Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement