Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| Passed |
Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| 1 | Current directory: |
|---|---|
| 2 | /var/drydock/workingcopy-112/repo/libre-busto |
| 3 | Calculating sha256sum of: |
| 4 | ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 5 | File info |
| 6 | -rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 8035973 Aug 29 13:01 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 7 | Cleaning old builds |
| 8 | Update checksums |
| 9 | Published here: |
| 10 | https://lab.reyboz.it/builds/libre-busto/D131-libre-busto.apk |
| 11 | Adding bipbop Comment to D131 |
| 12 | Cleaning |
| 13 | Done |
| 14 |
| Passed |
| 1169 | 6653311 res/wo.xml (OK - compressed) |
|---|---|
| 1170 | 6653684 res/wz.xml (OK - compressed) |
| 1171 | 6654109 res/x1.xml (OK - compressed) |
| 1172 | 6654392 res/x5.9.png (OK) |
| 1173 | 6654780 res/xB.png (OK) |
| 1174 | 6656076 res/xC.png (OK) |
| 1175 | 6656232 res/xD.png (OK) |
| 1176 | 6656895 res/xF.xml (OK - compressed) |
| 1177 | 6657232 res/xH.png (OK) |
| 1178 | 6673596 res/xM.png (OK) |
| 1179 | 6677464 res/xR.png (OK) |
| 1180 | 6678327 res/xT.xml (OK - compressed) |
| 1181 | 6678904 res/xW.png (OK) |
| 1182 | 6679328 res/xc.xml (OK - compressed) |
| 1183 | 6679929 res/xd.xml (OK - compressed) |
| 1184 | 6680224 res/xp.png (OK) |
| 1185 | 6686919 res/xs.xml (OK - compressed) |
| 1186 | 6687348 res/xw.xml (OK - compressed) |
| 1187 | 6687770 res/xy.xml (OK - compressed) |
| 1188 | 6688320 res/yC.xml (OK - compressed) |
| 1189 | 6689384 res/yO.9.png (OK) |
| 1190 | 6689645 res/yP.xml (OK - compressed) |
| 1191 | 6690236 res/yR.xml (OK - compressed) |
| 1192 | 6691240 res/yX.png (OK) |
| 1193 | 6695590 res/ya.xml (OK - compressed) |
| 1194 | 6696666 res/yf.xml (OK - compressed) |
| 1195 | 6697004 res/yq.png (OK) |
| 1196 | 6698216 res/yw.png (OK) |
| 1197 | 6700020 res/yx.xml (OK - compressed) |
| 1198 | 6700540 res/z1.xml (OK - compressed) |
| 1199 | 6700781 res/z11.xml (OK - compressed) |
| 1200 | 6701138 res/z12.xml (OK - compressed) |
| 1201 | 6701466 res/z3.xml (OK - compressed) |
| 1202 | 6701736 res/z6.png (OK) |
| 1203 | 6702640 res/z61.png (OK) |
| 1204 | 6703824 res/zB.xml (OK - compressed) |
| 1205 | 6704186 res/zH.xml (OK - compressed) |
| 1206 | 6704750 res/zL.xml (OK - compressed) |
| 1207 | 6705073 res/zN.xml (OK - compressed) |
| 1208 | 6705424 res/zZ.png (OK) |
| 1209 | 6705781 res/z_.xml (OK - compressed) |
| 1210 | 6706032 res/zq.xml (OK - compressed) |
| 1211 | 6706496 res/zt.png (OK) |
| 1212 | 6710972 res/zw.png (OK) |
| 1213 | 6711480 res/zy.png (OK) |
| 1214 | 6711724 resources.arsc (OK) |
| 1215 | Verification succesful |
| 1216 | Signing APK |
| 1217 | Sign concluded with exit status 0 |
| 1218 |
| Passed |
This step will build an .apk using Gradle using this fantastic Docker image:
https://gitlab.com/fabmazz/android-fdroid-build-container/-/tree/ubuntu
Source code of this build step:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/fdroid-docker-builder.sh
TODO: Use the official image by Fabio Mazza, when the "DESIRED_UID" / "DESIRED_GID" features will be merged.
| 138 | at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100) |
|---|---|
| 139 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62) |
| 140 | at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44) |
| 141 | at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41) |
| 142 | at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) |
| 143 | at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) |
| 144 | at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) |
| 145 | at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) |
| 146 | at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) |
| 147 | at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) |
| 148 | at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53) |
| 149 | at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) |
| 150 | at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) |
| 151 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) |
| 152 | at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:205) |
| 153 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) |
| 154 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187) |
| 155 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120) |
| 156 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162) |
| 157 | at org.gradle.internal.Factories$1.create(Factories.java:31) |
| 158 | at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249) |
| 159 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109) |
| 160 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:114) |
| 161 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) |
| 162 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) |
| 163 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) |
| 164 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) |
| 165 | at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) |
| 166 | at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) |
| 167 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) |
| 168 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) |
| 169 | at java.base/java.lang.Thread.run(Thread.java:829) |
| 170 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml:4: Error: Mock locations should only be requested in a test or debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation] |
| 171 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 172 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 173 | |
| 174 | Explanation for issues of type "MockLocation": |
| 175 | Using a mock location provider (by requiring the permission |
| 176 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 177 | builds (or from tests). In Gradle projects, that means you should only |
| 178 | request this permission in a test or debug source set specific manifest |
| 179 | file. |
| 180 | |
| 181 | To fix this, create a new manifest file in the debug folder and move the |
| 182 | <uses-permission> element there. A typical path to a debug manifest |
| 183 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 184 | |
| 185 | 1 errors, 0 warnings |
| 186 | |
| 187 |
| 53 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/adapters/RouteOnlyLineAdapter.kt:26:33 Parameter 'showOnlyEmpty' is never used |
|---|---|
| 54 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/backend/mato/MQTTMatoClient.kt:197:62 No cast needed |
| 55 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/backend/mato/MQTTMatoClient.kt:237:17 Variable 'valid' is assigned but never accessed |
| 56 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoPatternsDownloadWorker.kt:58:13 Variable 'notificationManager' is never used |
| 57 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoTripsDownloadWorker.kt:96:13 Variable 'notificationManager' is never used |
| 58 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:100:33 Unnecessary safe call on a non-null receiver of type CommonFragmentListener |
| 59 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:105:16 Condition 'fragmentListener == null' is always 'false' |
| 60 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:125:63 Parameter 'stopName' is never used, could be renamed to _ |
| 61 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:210:23 Unnecessary safe call on a non-null receiver of type MapView |
| 62 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:439:36 Condition 'map == null' is always 'false' |
| 63 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:507:66 Parameter 'polyline' is never used, could be renamed to _ |
| 64 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:507:76 Parameter 'mapView' is never used, could be renamed to _ |
| 65 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:507:85 Parameter 'eventPos' is never used, could be renamed to _ |
| 66 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:529:13 Variable 'numStops' is never used |
| 67 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:591:35 Variable 'marker' initializer is redundant |
| 68 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:640:21 Condition 'busPositionsOverlay != null' is always 'true' |
| 69 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:686:46 'getter for zoomLevel: Int' is deprecated. Deprecated in Java |
| 70 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesGridShowingFragment.kt:162:13 Variable 'durArrow' is never used |
| 71 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/TestRealtimeGtfsFragment.kt:84:27 Parameter 'cont' is never used, could be renamed to _ |
| 72 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:36 Parameter 'view' is never used, could be renamed to _ |
| 73 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:42 Parameter 'motionEvent' is never used, could be renamed to _ |
| 74 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:87:17 Variable 'layPars' is never used |
| 75 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:27 'LocationProvider' is deprecated. Deprecated in Java |
| 76 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:44 'OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java |
| 77 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:72 'LocationProvider' is deprecated. Deprecated in Java |
| 78 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:89 'TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java |
| 79 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:34 'LocationProvider' is deprecated. Deprecated in Java |
| 80 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:51 'AVAILABLE: Int' is deprecated. Deprecated in Java |
| 81 | |
| 82 | > Task :app:compileGitpullJavaWithJavac |
| 83 | |
| 84 | > Task :app:lintVitalAnalyzeGitpull |
| 85 | |
| 86 | > Task :app:dexBuilderGitpull |
| 87 | > Task :app:mergeGitpullJavaResource |
| 88 | > Task :app:mergeDexGitpull |
| 89 | > Task :app:compileGitpullArtProfile |
| 90 | > Task :app:packageGitpull |
| 91 | > Task :app:createGitpullApkListingFileRedirect |
| 92 | Daemon will be stopped at the end of the build after running out of JVM memory |
| 93 | |
| 94 | > Task :app:lintVitalReportGitpull |
| 95 | |
| 96 | > Task :app:lintVitalGitpull |
| 97 | |
| 98 | > Task :app:assembleGitpull |
| 99 | |
| 100 | BUILD SUCCESSFUL in 2m 3s |
| 101 | 40 actionable tasks: 40 executed |
| 102 |
| Passed |
| 1 | Found 7.5.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean |
| 3 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 4 | > Task :app:clean |
| 5 | |
| 6 | BUILD SUCCESSFUL in 16s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |