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 1175 100 811 100 364 4634 2080 --:--:-- --:--:-- --:--:-- 6714 |
| 6 |
| 1 | [INFO] including .env file |
|---|---|
| 2 | Current directory: |
| 3 | /var/drydock/workingcopy-79/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 9 15:18 ./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 | `64a45dca7cbad5979e934ebf30f85a96b56bd021da887bd0ae877ca180dc339b` |
| 21 | {"ok":true,"result":{"message_id":8210,"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":1746796736,"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:\n64a45dca7cbad5979e934ebf30f85a96b56bd021da887bd0ae877ca180dc339b","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://gitpull.it/D190"}}}Adding bipbop Comment to D190 |
| 22 | Cleaning |
| 23 | Done |
| 24 |
| Passed |
| 1122 | 23304608 res/tU.9.png (OK) |
|---|---|
| 1123 | 23304860 res/tZ.9.png (OK) |
| 1124 | 23305100 res/te.png (OK) |
| 1125 | 23305418 res/te.xml (OK - compressed) |
| 1126 | 23305666 res/tf.xml (OK - compressed) |
| 1127 | 23306047 res/ti.xml (OK - compressed) |
| 1128 | 23307216 res/tk.xml (OK - compressed) |
| 1129 | 23307475 res/tp.xml (OK - compressed) |
| 1130 | 23307770 res/tt.xml (OK - compressed) |
| 1131 | 23308197 res/tv.xml (OK - compressed) |
| 1132 | 23309196 res/u0.xml (OK - compressed) |
| 1133 | 23309850 res/u01.xml (OK - compressed) |
| 1134 | 23310288 res/u3.png (OK) |
| 1135 | 23310844 res/uE.webp (OK) |
| 1136 | 23325164 res/uI.xml (OK - compressed) |
| 1137 | 23326224 res/uJ.xml (OK - compressed) |
| 1138 | 23326704 res/uL.9.png (OK) |
| 1139 | 23327710 res/uR.xml (OK - compressed) |
| 1140 | 23328270 res/ua.xml (OK - compressed) |
| 1141 | 23328608 res/uj.9.png (OK) |
| 1142 | 23328848 res/ut.9.png (OK) |
| 1143 | 23329644 res/uu.9.png (OK) |
| 1144 | 23329888 res/uy.xml (OK - compressed) |
| 1145 | 23332165 res/v-.xml (OK - compressed) |
| 1146 | 23332680 res/v4.9.png (OK) |
| 1147 | 23332928 res/v5.xml (OK - compressed) |
| 1148 | 23333251 res/vF.xml (OK - compressed) |
| 1149 | 23333508 res/vG.xml (OK - compressed) |
| 1150 | 23334145 res/vH.xml (OK - compressed) |
| 1151 | 23334480 res/vJ.xml (OK - compressed) |
| 1152 | 23334808 res/vL.9.png (OK) |
| 1153 | 23335071 res/vR.xml (OK - compressed) |
| 1154 | 23335336 res/vT.xml (OK - compressed) |
| 1155 | 23335564 res/vZ.xml (OK - compressed) |
| 1156 | 23335821 res/vf.xml (OK - compressed) |
| 1157 | 23336149 res/vl.xml (OK - compressed) |
| 1158 | 23336723 res/vq.xml (OK - compressed) |
| 1159 | 23337299 res/vy.xml (OK - compressed) |
| 1160 | 23337788 res/vz.9.png (OK) |
| 1161 | 23338009 res/vz.xml (OK - compressed) |
| 1162 | 23338257 res/w7.xml (OK - compressed) |
| 1163 | 23338986 res/w9.xml (OK - compressed) |
| 1164 | 23339260 res/wL.9.png (OK) |
| 1165 | 23339740 res/wN.9.png (OK) |
| 1166 | 23340005 res/wP.xml (OK - compressed) |
| 1167 | 23340360 res/w_.png (OK) |
| 1168 | 23340616 res/wb.png (OK) |
| 1169 | 23346545 res/wi.xml (OK - compressed) |
| 1170 | 23346920 res/wy.png (OK) |
| 1171 | 23347388 res/x3.9.png (OK) |
| 1172 | 23347640 res/x4.xml (OK - compressed) |
| 1173 | 23348416 res/xH.png (OK) |
| 1174 | 23348642 res/xI.xml (OK - compressed) |
| 1175 | 23349343 res/xM.ttf (OK - compressed) |
| 1176 | 23409033 res/xN.xml (OK - compressed) |
| 1177 | 23409866 res/xQ.xml (OK - compressed) |
| 1178 | 23410352 res/xR.9.png (OK) |
| 1179 | 23410588 res/xa.9.png (OK) |
| 1180 | 23410849 res/xa.xml (OK - compressed) |
| 1181 | 23411411 res/xd.xml (OK - compressed) |
| 1182 | 23412125 res/xj.xml (OK - compressed) |
| 1183 | 23412417 res/xo.xml (OK - compressed) |
| 1184 | 23412703 res/xq.xml (OK - compressed) |
| 1185 | 23413090 res/xz.xml (OK - compressed) |
| 1186 | 23414280 res/y-.xml (OK - compressed) |
| 1187 | 23414548 res/y4.xml (OK - compressed) |
| 1188 | 23414804 res/y9.xml (OK - compressed) |
| 1189 | 23415072 res/yE.xml (OK - compressed) |
| 1190 | 23415328 res/yH.9.png (OK) |
| 1191 | 23415552 res/yO.xml (OK - compressed) |
| 1192 | 23415800 res/yT.xml (OK - compressed) |
| 1193 | 23416122 res/yV.xml (OK - compressed) |
| 1194 | 23416464 res/yY.9.png (OK) |
| 1195 | 23416690 res/yY.xml (OK - compressed) |
| 1196 | 23416975 res/ya.xml (OK - compressed) |
| 1197 | 23417336 res/yd.png (OK) |
| 1198 | 23429272 res/yg.9.png (OK) |
| 1199 | 23429707 res/yj.xml (OK - compressed) |
| 1200 | 23430104 res/yn.png (OK) |
| 1201 | 23432588 res/z-.9.png (OK) |
| 1202 | 23432852 res/z9.9.png (OK) |
| 1203 | 23433312 res/zE.png (OK) |
| 1204 | 23433676 res/zG.xml (OK - compressed) |
| 1205 | 23433996 res/zR.png (OK) |
| 1206 | 23436797 res/zR.xml (OK - compressed) |
| 1207 | 23437288 res/zV.9.png (OK) |
| 1208 | 23439791 res/zc.xml (OK - compressed) |
| 1209 | 23440240 res/ze.png (OK) |
| 1210 | 23448595 res/zp.xml (OK - compressed) |
| 1211 | 23448853 res/zq.xml (OK - compressed) |
| 1212 | 23449164 res/zr.png (OK) |
| 1213 | 23451983 res/zs.xml (OK - compressed) |
| 1214 | 23452255 res/zu.xml (OK - compressed) |
| 1215 | 23453285 res/zv.xml (OK - compressed) |
| 1216 | 23454561 res/zz.xml (OK - compressed) |
| 1217 | 23454752 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
| 1 | Note: Some input files use or override a deprecated API. |
|---|---|
| 2 | Note: Recompile with -Xlint:deprecation for details. |
| 3 | /var/drydock/workingcopy-79/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-79/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 |
| 13 | > Task :app:extractGitpullSupportedLocales |
|---|---|
| 14 | > Task :app:generateGitpullResources |
| 15 | > Task :app:createGitpullCompatibleScreenManifests |
| 16 | > Task :app:generateGitpullLocaleConfig |
| 17 | > Task :app:extractDeepLinksGitpull |
| 18 | > Task :app:mergeGitpullResources |
| 19 | |
| 20 | > Task :app:processGitpullMainManifest |
| 21 | /var/drydock/workingcopy-79/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:processGitpullManifestForPackage |
| 26 | > Task :app:buildKotlinToolingMetadata |
| 27 | > Task :app:extractProguardFiles |
| 28 | > Task :app:javaPreCompileGitpull |
| 29 | > Task :app:mergeGitpullJniLibFolders |
| 30 | > Task :app:mergeGitpullNativeLibs |
| 31 | > Task :app:checkGitpullDuplicateClasses |
| 32 | |
| 33 | > Task :app:stripGitpullDebugSymbols |
| 34 | Unable to strip the following libraries, packaging them as they are: libmaplibre.so. |
| 35 | |
| 36 | > Task :app:desugarGitpullFileDependencies |
| 37 | > Task :app:mergeGitpullStartupProfile |
| 38 | > Task :app:extractGitpullNativeSymbolTables |
| 39 | > Task :app:processGitpullResources |
| 40 | > Task :app:mergeExtDexGitpull |
| 41 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 42 | > Task :app:mergeGitpullArtProfile |
| 43 | > Task :app:mergeGitpullShaders |
| 44 | > Task :app:compileGitpullShaders NO-SOURCE |
| 45 | > Task :app:generateGitpullAssets UP-TO-DATE |
| 46 | > Task :app:mergeGitpullAssets |
| 47 | > Task :app:compressGitpullAssets |
| 48 | > Task :app:extractGitpullVersionControlInfo |
| 49 | > Task :app:collectGitpullDependencies |
| 50 | > Task :app:sdkGitpullDependencyData |
| 51 | > Task :app:writeGitpullAppMetadata |
| 52 | > Task :app:writeGitpullSigningConfigVersions |
| 53 | > Task :app:optimizeGitpullResources |
| 54 | |
| 55 | > Task :app:kaptGenerateStubsGitpullKotlin |
| 56 | w: Support for language version 2.0+ in kapt is in Alpha and must be enabled explicitly. Falling back to 1.9. |
| 57 | |
| 58 | > Task :app:kaptGitpullKotlin |
| 59 | /var/drydock/workingcopy-79/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 |
| 60 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 61 | ^ |
| 62 | |
| 63 | > Task :app:compileGitpullKotlin |
| 64 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/ActivityAbout.kt:100:13 'fun onBackPressed(): Unit' is deprecated. Deprecated in Java. |
| 65 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:147:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 66 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:152:30 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 67 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:324:29 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 68 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:383:29 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 69 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:473:21 Condition is always 'true'. |
| 70 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:538:33 Condition is always 'true'. |
| 71 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:540:20 Condition is always 'true'. |
| 72 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:603:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 73 | w: file:///var/drydock/workingcopy-79/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. |
| 74 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:693:13 Condition is always 'false'. |
| 75 | w: file:///var/drydock/workingcopy-79/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. |
| 76 | w: file:///var/drydock/workingcopy-79/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. |
| 77 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:176:16 Condition is always 'false'. |
| 78 | w: file:///var/drydock/workingcopy-79/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. |
| 79 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:27 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 80 | w: file:///var/drydock/workingcopy-79/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. |
| 81 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:72 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 82 | w: file:///var/drydock/workingcopy-79/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. |
| 83 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:34 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 84 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:51 'static field AVAILABLE: Int' is deprecated. Deprecated in Java. |
| 85 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:216:48 'class Criteria : Any, Parcelable' is deprecated. Deprecated in Java. |
| 86 | w: file:///var/drydock/workingcopy-79/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>?'. |
| 87 | w: file:///var/drydock/workingcopy-79/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?>'. |
| 88 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'. |
| 89 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'. |
| 90 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:163:17 Expression under 'when' is never equal to null. |
| 91 | |
| 92 | > Task :app:compileGitpullJavaWithJavac |
| 93 | |
| 94 | > Task :app:generateGitpullLintVitalReportModel |
| 95 | > Task :app:dexBuilderGitpull |
| 96 | > Task :app:processGitpullJavaRes |
| 97 | > Task :app:mergeGitpullGlobalSynthetics |
| 98 | > Task :app:mergeGitpullJavaResource |
| 99 | > Task :app:mergeDexGitpull |
| 100 | > Task :app:compileGitpullArtProfile |
| 101 | > Task :app:packageGitpull |
| 102 | > Task :app:createGitpullApkListingFileRedirect |
| 103 | > Task :app:lintVitalAnalyzeGitpull |
| 104 | > Task :app:lintVitalReportGitpull |
| 105 | |
| 106 | > Task :app:lintVitalGitpull |
| 107 | |
| 108 | > Task :app:assembleGitpull |
| 109 | |
| 110 | BUILD SUCCESSFUL in 3m 18s |
| 111 | 55 actionable tasks: 55 executed |
| 112 |
| Passed |
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | > Task :app:clean |
| 4 | |
| 5 | BUILD SUCCESSFUL in 11s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |