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 | % Total % Received % Xferd Average Speed Time Time Time Current |
|---|---|
| 2 | Dload Upload Total Spent Left Speed |
| 3 | |
| 4 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 |
| 5 | 100 1213 100 849 100 364 4690 2011 --:--:-- --:--:-- --:--:-- 6701 |
| 6 |
| 1 | [INFO] including .env file |
|---|---|
| 2 | Current directory: |
| 3 | /var/drydock/workingcopy-112/repo/libre-busto |
| 4 | Calculating sha256sum of: |
| 5 | ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 6 | File info |
| 7 | -rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 24928502 May 12 13:40 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk |
| 8 | Cleaning old builds |
| 9 | Update checksums |
| 10 | Published here: |
| 11 | https://lab.reyboz.it/builds/libre-busto/D190-libre-busto.apk |
| 12 | DEBUG TELEGRAM CONTENT |
| 13 | ⚙️ Dear Android hackers, please review this promising patch: |
| 14 | https://gitpull\.it/D190 |
| 15 | |
| 16 | Here the related fresh test build: |
| 17 | [Download D190\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/D190\-libre\-busto\.apk) |
| 18 | |
| 19 | APK sha256: |
| 20 | `b77ec713926807a63693627faf266aced303532721a88b8c31820478afc4e643` |
| 21 | {"ok":true,"result":{"message_id":8238,"from":{"id":7507357656,"is_bot":true,"first_name":"GitPull.it Phorge bot","username":"gitpullit_phorge_bot"},"chat":{"id":-1001282771908,"title":"Libre BusTO dev community ediscion","username":"librebusto_dev","type":"supergroup"},"date":1747050023,"text":"\u2699\ufe0f Dear Android hackers, please review this promising patch:\nhttps://gitpull.it/D190\n\nHere the related fresh test build:\nDownload D190-libre-busto.apk\n\nAPK sha256:\nb77ec713926807a63693627faf266aced303532721a88b8c31820478afc4e643","entities":[{"offset":61,"length":23,"type":"url"},{"offset":121,"length":29,"type":"text_link","url":"https://lab.reyboz.it/builds/libre-busto/D190-libre-busto.apk"},{"offset":164,"length":64,"type":"code"}],"link_preview_options":{"url":"https://lab.reyboz.it/builds/libre-busto/D190-libre-busto.apk"}}}Adding bipbop Comment to D190 |
| 22 | Cleaning |
| 23 | Done |
| 24 |
| Passed |
| 1122 | 23304692 res/tU.9.png (OK) |
|---|---|
| 1123 | 23304944 res/tZ.9.png (OK) |
| 1124 | 23305184 res/te.png (OK) |
| 1125 | 23305502 res/te.xml (OK - compressed) |
| 1126 | 23305750 res/tf.xml (OK - compressed) |
| 1127 | 23306131 res/ti.xml (OK - compressed) |
| 1128 | 23307300 res/tk.xml (OK - compressed) |
| 1129 | 23307559 res/tp.xml (OK - compressed) |
| 1130 | 23307854 res/tt.xml (OK - compressed) |
| 1131 | 23308281 res/tv.xml (OK - compressed) |
| 1132 | 23309280 res/u0.xml (OK - compressed) |
| 1133 | 23309934 res/u01.xml (OK - compressed) |
| 1134 | 23310372 res/u3.png (OK) |
| 1135 | 23310928 res/uE.webp (OK) |
| 1136 | 23325248 res/uI.xml (OK - compressed) |
| 1137 | 23326308 res/uJ.xml (OK - compressed) |
| 1138 | 23326788 res/uL.9.png (OK) |
| 1139 | 23327794 res/uR.xml (OK - compressed) |
| 1140 | 23328354 res/ua.xml (OK - compressed) |
| 1141 | 23328692 res/uj.9.png (OK) |
| 1142 | 23328932 res/ut.9.png (OK) |
| 1143 | 23329728 res/uu.9.png (OK) |
| 1144 | 23329972 res/uy.xml (OK - compressed) |
| 1145 | 23332249 res/v-.xml (OK - compressed) |
| 1146 | 23332764 res/v4.9.png (OK) |
| 1147 | 23333012 res/v5.xml (OK - compressed) |
| 1148 | 23333335 res/vF.xml (OK - compressed) |
| 1149 | 23333592 res/vG.xml (OK - compressed) |
| 1150 | 23334229 res/vH.xml (OK - compressed) |
| 1151 | 23334564 res/vJ.xml (OK - compressed) |
| 1152 | 23334892 res/vL.9.png (OK) |
| 1153 | 23335155 res/vR.xml (OK - compressed) |
| 1154 | 23335420 res/vT.xml (OK - compressed) |
| 1155 | 23335648 res/vZ.xml (OK - compressed) |
| 1156 | 23335905 res/vf.xml (OK - compressed) |
| 1157 | 23336233 res/vl.xml (OK - compressed) |
| 1158 | 23336807 res/vq.xml (OK - compressed) |
| 1159 | 23337383 res/vy.xml (OK - compressed) |
| 1160 | 23337872 res/vz.9.png (OK) |
| 1161 | 23338093 res/vz.xml (OK - compressed) |
| 1162 | 23338341 res/w7.xml (OK - compressed) |
| 1163 | 23339070 res/w9.xml (OK - compressed) |
| 1164 | 23339344 res/wL.9.png (OK) |
| 1165 | 23339824 res/wN.9.png (OK) |
| 1166 | 23340089 res/wP.xml (OK - compressed) |
| 1167 | 23340444 res/w_.png (OK) |
| 1168 | 23340700 res/wb.png (OK) |
| 1169 | 23346629 res/wi.xml (OK - compressed) |
| 1170 | 23347004 res/wy.png (OK) |
| 1171 | 23347472 res/x3.9.png (OK) |
| 1172 | 23347724 res/x4.xml (OK - compressed) |
| 1173 | 23348500 res/xH.png (OK) |
| 1174 | 23348726 res/xI.xml (OK - compressed) |
| 1175 | 23349427 res/xM.ttf (OK - compressed) |
| 1176 | 23409117 res/xN.xml (OK - compressed) |
| 1177 | 23409948 res/xQ.xml (OK - compressed) |
| 1178 | 23410436 res/xR.9.png (OK) |
| 1179 | 23410672 res/xa.9.png (OK) |
| 1180 | 23410933 res/xa.xml (OK - compressed) |
| 1181 | 23411495 res/xd.xml (OK - compressed) |
| 1182 | 23412209 res/xj.xml (OK - compressed) |
| 1183 | 23412501 res/xo.xml (OK - compressed) |
| 1184 | 23412787 res/xq.xml (OK - compressed) |
| 1185 | 23413174 res/xz.xml (OK - compressed) |
| 1186 | 23414364 res/y-.xml (OK - compressed) |
| 1187 | 23414632 res/y4.xml (OK - compressed) |
| 1188 | 23414888 res/y9.xml (OK - compressed) |
| 1189 | 23415156 res/yE.xml (OK - compressed) |
| 1190 | 23415412 res/yH.9.png (OK) |
| 1191 | 23415636 res/yO.xml (OK - compressed) |
| 1192 | 23415884 res/yT.xml (OK - compressed) |
| 1193 | 23416206 res/yV.xml (OK - compressed) |
| 1194 | 23416548 res/yY.9.png (OK) |
| 1195 | 23416774 res/yY.xml (OK - compressed) |
| 1196 | 23417059 res/ya.xml (OK - compressed) |
| 1197 | 23417420 res/yd.png (OK) |
| 1198 | 23429356 res/yg.9.png (OK) |
| 1199 | 23429791 res/yj.xml (OK - compressed) |
| 1200 | 23430188 res/yn.png (OK) |
| 1201 | 23432672 res/z-.9.png (OK) |
| 1202 | 23432936 res/z9.9.png (OK) |
| 1203 | 23433396 res/zE.png (OK) |
| 1204 | 23433760 res/zG.xml (OK - compressed) |
| 1205 | 23434080 res/zR.png (OK) |
| 1206 | 23436881 res/zR.xml (OK - compressed) |
| 1207 | 23437372 res/zV.9.png (OK) |
| 1208 | 23439875 res/zc.xml (OK - compressed) |
| 1209 | 23440324 res/ze.png (OK) |
| 1210 | 23448679 res/zp.xml (OK - compressed) |
| 1211 | 23448937 res/zq.xml (OK - compressed) |
| 1212 | 23449248 res/zr.png (OK) |
| 1213 | 23452067 res/zs.xml (OK - compressed) |
| 1214 | 23452339 res/zu.xml (OK - compressed) |
| 1215 | 23453369 res/zv.xml (OK - compressed) |
| 1216 | 23454645 res/zz.xml (OK - compressed) |
| 1217 | 23454836 resources.arsc (OK) |
| 1218 | Verification succesful |
| 1219 | Signing APK |
| 1220 | Sign concluded with exit status 0 |
| 1221 |
| 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.
| 1 | Note: Some input files use or override a deprecated API. |
|---|---|
| 2 | Note: Recompile with -Xlint:deprecation for details. |
| 3 | /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] |
| 4 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 5 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 6 | |
| 7 | Explanation for issues of type "MockLocation": |
| 8 | Using a mock location provider (by requiring the permission |
| 9 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 10 | builds (or from tests). In Gradle projects, that means you should only |
| 11 | request this permission in a test or debug source set specific manifest |
| 12 | file. |
| 13 | |
| 14 | To fix this, create a new manifest file in the debug folder and move the |
| 15 | <uses-permission> element there. A typical path to a debug manifest |
| 16 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 17 | |
| 18 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:132: Error: Expected non-nullable value [NullSafeMutableLiveData from androidx.lifecycle] |
| 19 | palinaLiveData.postValue(palina) |
| 20 | ~~~~~~ |
| 21 | |
| 22 | Explanation for issues of type "NullSafeMutableLiveData": |
| 23 | This check ensures that LiveData values are not null when explicitly |
| 24 | declared as non-nullable. |
| 25 | |
| 26 | Kotlin interoperability does not support enforcing explicit |
| 27 | null-safety when using generic Java type parameters. Since |
| 28 | LiveData is a Java class its value can always be null even |
| 29 | when its type is explicitly declared as non-nullable. This can lead |
| 30 | to runtime exceptions from reading a null LiveData value that is |
| 31 | assumed to be non-nullable. |
| 32 | |
| 33 | Vendor: Android Open Source Project |
| 34 | Identifier: androidx.lifecycle |
| 35 | Feedback: https://issuetracker.google.com/issues/new?component=413132 |
| 36 | |
| 37 | 2 errors, 0 warnings |
| 38 | |
| 39 |
| 12 | > Task :app:mapGitpullSourceSetPaths |
|---|---|
| 13 | > Task :app:extractGitpullSupportedLocales |
| 14 | > Task :app:generateGitpullResources |
| 15 | > Task :app:generateGitpullLocaleConfig |
| 16 | > Task :app:createGitpullCompatibleScreenManifests |
| 17 | > Task :app:extractDeepLinksGitpull |
| 18 | > Task :app:mergeGitpullResources |
| 19 | |
| 20 | > Task :app:processGitpullMainManifest |
| 21 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml Warning: |
| 22 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present |
| 23 | |
| 24 | > Task :app:processGitpullManifest |
| 25 | > Task :app:buildKotlinToolingMetadata |
| 26 | > Task :app:extractProguardFiles |
| 27 | > Task :app:javaPreCompileGitpull |
| 28 | > Task :app:mergeGitpullJniLibFolders |
| 29 | > Task :app:checkGitpullDuplicateClasses |
| 30 | > Task :app:desugarGitpullFileDependencies |
| 31 | > Task :app:mergeGitpullStartupProfile UP-TO-DATE |
| 32 | > Task :app:mergeGitpullNativeLibs |
| 33 | > Task :app:mergeGitpullShaders |
| 34 | > Task :app:mergeGitpullArtProfile |
| 35 | > Task :app:compileGitpullShaders NO-SOURCE |
| 36 | > Task :app:generateGitpullAssets UP-TO-DATE |
| 37 | |
| 38 | > Task :app:stripGitpullDebugSymbols |
| 39 | Unable to strip the following libraries, packaging them as they are: libmaplibre.so. |
| 40 | |
| 41 | > Task :app:mergeGitpullAssets |
| 42 | > Task :app:extractGitpullNativeSymbolTables |
| 43 | > Task :app:compressGitpullAssets |
| 44 | > Task :app:extractGitpullVersionControlInfo |
| 45 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 46 | > Task :app:collectGitpullDependencies |
| 47 | > Task :app:sdkGitpullDependencyData |
| 48 | > Task :app:writeGitpullAppMetadata |
| 49 | > Task :app:writeGitpullSigningConfigVersions |
| 50 | > Task :app:processGitpullManifestForPackage |
| 51 | > Task :app:processGitpullResources |
| 52 | > Task :app:optimizeGitpullResources |
| 53 | > Task :app:mergeExtDexGitpull |
| 54 | > Task :app:kaptGenerateStubsGitpullKotlin |
| 55 | w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9. |
| 56 | |
| 57 | > Task :app:kaptGitpullKotlin |
| 58 | /var/drydock/workingcopy-112/repo/libre-busto/app/build/tmp/kapt3/stubs/gitpull/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:24: warning: Primary key constraint on gtfsId is ignored when being merged into it.reyboz.bustorino.data.gtfs.GtfsAgency |
| 59 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 60 | ^ |
| 61 | |
| 62 | > Task :app:compileGitpullKotlin |
| 63 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/ActivityAbout.kt:100:13 'fun onBackPressed(): Unit' is deprecated. Deprecated in Java. |
| 64 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:147:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 65 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:152:30 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 66 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:324:29 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 67 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:383:29 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 68 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:473:21 Condition is always 'true'. |
| 69 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:538:33 Condition is always 'true'. |
| 70 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:540:20 Condition is always 'true'. |
| 71 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:603:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 72 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:652:66 'fun execute(vararg p0: Stop!): AsyncTask<Stop!, Void!, Boolean!>!' is deprecated. Deprecated in Java. |
| 73 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:693:13 Condition is always 'false'. |
| 74 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:172:43 'fun setColorFilter(p0: Int, p1: PorterDuff.Mode): Unit' is deprecated. Deprecated in Java. |
| 75 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:213:24 'fun setColorFilter(p0: Int, p1: PorterDuff.Mode): Unit' is deprecated. Deprecated in Java. |
| 76 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:176:16 Condition is always 'false'. |
| 77 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:1011:25 'fun requestSingleUpdate(p0: String, p1: LocationListener, p2: Looper?): Unit' 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:186:27 'class LocationProvider : Any' 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:186:44 'static field OUT_OF_SERVICE: Int' 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:186:72 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 81 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:89 'static field TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java. |
| 82 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:34 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 83 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:51 'static field AVAILABLE: Int' is deprecated. Deprecated in Java. |
| 84 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:216:48 'class Criteria : Any, Parcelable' is deprecated. Deprecated in Java. |
| 85 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:53:40 Unchecked cast of 'kotlin.Any!' to 'kotlin.collections.Map<kotlin.String?, kotlin.Any>?'. |
| 86 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:83:56 Unchecked cast of 'kotlin.collections.Set<*>' to 'kotlin.collections.Set<kotlin.String?>'. |
| 87 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'. |
| 88 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'. |
| 89 | w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:163:17 Expression under 'when' is never equal to null. |
| 90 | |
| 91 | > Task :app:compileGitpullJavaWithJavac |
| 92 | |
| 93 | > Task :app:generateGitpullLintVitalReportModel |
| 94 | > Task :app:dexBuilderGitpull |
| 95 | > Task :app:processGitpullJavaRes |
| 96 | > Task :app:mergeGitpullGlobalSynthetics |
| 97 | > Task :app:mergeGitpullJavaResource |
| 98 | > Task :app:mergeDexGitpull |
| 99 | > Task :app:compileGitpullArtProfile |
| 100 | > Task :app:packageGitpull |
| 101 | > Task :app:createGitpullApkListingFileRedirect |
| 102 | > Task :app:lintVitalAnalyzeGitpull |
| 103 | > Task :app:lintVitalReportGitpull |
| 104 | |
| 105 | > Task :app:lintVitalGitpull |
| 106 | |
| 107 | > Task :app:assembleGitpull |
| 108 | |
| 109 | BUILD SUCCESSFUL in 3m 2s |
| 110 | 55 actionable tasks: 54 executed, 1 up-to-date |
| 111 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details |
| 4 | > Task :app:clean |
| 5 | |
| 6 | BUILD SUCCESSFUL in 24s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |