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 | PHP Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180 |
|---|---|
| 2 | PHP Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180 |
| 3 |
| 6047 | 12666124 res/u0.xml (OK - compressed) |
|---|---|
| 6048 | 12666778 res/u01.xml (OK - compressed) |
| 6049 | 12667216 res/u3.png (OK) |
| 6050 | 12667772 res/uE.webp (OK) |
| 6051 | 12682092 res/uI.xml (OK - compressed) |
| 6052 | 12683152 res/uJ.xml (OK - compressed) |
| 6053 | 12683632 res/uL.9.png (OK) |
| 6054 | 12684638 res/uR.xml (OK - compressed) |
| 6055 | 12685198 res/ua.xml (OK - compressed) |
| 6056 | 12685536 res/uj.9.png (OK) |
| 6057 | 12685776 res/ut.9.png (OK) |
| 6058 | 12686572 res/uu.9.png (OK) |
| 6059 | 12686816 res/uy.xml (OK - compressed) |
| 6060 | 12689093 res/v-.xml (OK - compressed) |
| 6061 | 12689608 res/v4.9.png (OK) |
| 6062 | 12689856 res/v5.xml (OK - compressed) |
| 6063 | 12690179 res/vF.xml (OK - compressed) |
| 6064 | 12690436 res/vG.xml (OK - compressed) |
| 6065 | 12691073 res/vH.xml (OK - compressed) |
| 6066 | 12691408 res/vJ.xml (OK - compressed) |
| 6067 | 12691736 res/vL.9.png (OK) |
| 6068 | 12691999 res/vR.xml (OK - compressed) |
| 6069 | 12692264 res/vT.xml (OK - compressed) |
| 6070 | 12692492 res/vZ.xml (OK - compressed) |
| 6071 | 12692749 res/vf.xml (OK - compressed) |
| 6072 | 12693077 res/vl.xml (OK - compressed) |
| 6073 | 12693651 res/vq.xml (OK - compressed) |
| 6074 | 12694227 res/vy.xml (OK - compressed) |
| 6075 | 12694716 res/vz.9.png (OK) |
| 6076 | 12694937 res/vz.xml (OK - compressed) |
| 6077 | 12695185 res/w7.xml (OK - compressed) |
| 6078 | 12695914 res/w9.xml (OK - compressed) |
| 6079 | 12696188 res/wL.9.png (OK) |
| 6080 | 12696668 res/wN.9.png (OK) |
| 6081 | 12696933 res/wP.xml (OK - compressed) |
| 6082 | 12697288 res/w_.png (OK) |
| 6083 | 12697544 res/wb.png (OK) |
| 6084 | 12703473 res/wi.xml (OK - compressed) |
| 6085 | 12703848 res/wy.png (OK) |
| 6086 | 12704316 res/x3.9.png (OK) |
| 6087 | 12704568 res/x4.xml (OK - compressed) |
| 6088 | 12705344 res/xH.png (OK) |
| 6089 | 12705570 res/xI.xml (OK - compressed) |
| 6090 | 12706271 res/xM.ttf (OK - compressed) |
| 6091 | 12765961 res/xN.xml (OK - compressed) |
| 6092 | 12766792 res/xQ.xml (OK - compressed) |
| 6093 | 12767280 res/xR.9.png (OK) |
| 6094 | 12767516 res/xa.9.png (OK) |
| 6095 | 12767777 res/xa.xml (OK - compressed) |
| 6096 | 12768339 res/xd.xml (OK - compressed) |
| 6097 | 12769053 res/xj.xml (OK - compressed) |
| 6098 | 12769345 res/xo.xml (OK - compressed) |
| 6099 | 12769631 res/xq.xml (OK - compressed) |
| 6100 | 12770018 res/xz.xml (OK - compressed) |
| 6101 | 12771208 res/y-.xml (OK - compressed) |
| 6102 | 12771476 res/y4.xml (OK - compressed) |
| 6103 | 12771732 res/y9.xml (OK - compressed) |
| 6104 | 12772000 res/yE.xml (OK - compressed) |
| 6105 | 12772256 res/yH.9.png (OK) |
| 6106 | 12772480 res/yO.xml (OK - compressed) |
| 6107 | 12772728 res/yT.xml (OK - compressed) |
| 6108 | 12773050 res/yV.xml (OK - compressed) |
| 6109 | 12773392 res/yY.9.png (OK) |
| 6110 | 12773618 res/yY.xml (OK - compressed) |
| 6111 | 12773903 res/ya.xml (OK - compressed) |
| 6112 | 12774264 res/yd.png (OK) |
| 6113 | 12786200 res/yg.9.png (OK) |
| 6114 | 12786635 res/yj.xml (OK - compressed) |
| 6115 | 12787032 res/yn.png (OK) |
| 6116 | 12789516 res/z-.9.png (OK) |
| 6117 | 12789780 res/z9.9.png (OK) |
| 6118 | 12790240 res/zE.png (OK) |
| 6119 | 12790604 res/zG.xml (OK - compressed) |
| 6120 | 12790924 res/zR.png (OK) |
| 6121 | 12793725 res/zR.xml (OK - compressed) |
| 6122 | 12794216 res/zV.9.png (OK) |
| 6123 | 12796719 res/zc.xml (OK - compressed) |
| 6124 | 12797168 res/ze.png (OK) |
| 6125 | 12805523 res/zp.xml (OK - compressed) |
| 6126 | 12805781 res/zq.xml (OK - compressed) |
| 6127 | 12806092 res/zr.png (OK) |
| 6128 | 12808911 res/zs.xml (OK - compressed) |
| 6129 | 12809183 res/zu.xml (OK - compressed) |
| 6130 | 12810213 res/zv.xml (OK - compressed) |
| 6131 | 12811489 res/zz.xml (OK - compressed) |
| 6132 | 12811680 resources.arsc (OK) |
| 6133 | Verification succesful |
| 6134 | [INFO][2025-05-14 22:17:26] APK app-x86_64-gitpull-unsigned.apk: signing creating /home/www-data/reyboz.it/lab/builds/libre-busto/D191-app-x86_64-gitpull-unsigned-signed..apk... |
| 6135 | [INFO][2025-05-14 22:17:28] APK app-x86_64-gitpull-unsigned.apk: signing creating /home/www-data/reyboz.it/lab/builds/libre-busto/D191-app-x86_64-gitpull-unsigned-signed..apk... signed! |
| 6136 | |
| 6137 | Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180 |
| 6138 | |
| 6139 | Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180 |
| 6140 | DEBUG TELEGRAM CONTENT |
| 6141 | Array |
| 6142 | Array |
| 6143 | Adding bipbop Comment to D191 |
| 6144 | [INFO][2025-05-14 22:17:28] Cleaning old artifacts |
| 6145 | [INFO][2025-05-14 22:17:28] Done |
| 6146 |
| 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-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 |
| 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-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:buildKotlinToolingMetadata |
| 26 | > Task :app:extractProguardFiles |
| 27 | > Task :app:javaPreCompileGitpull |
| 28 | > Task :app:mergeGitpullJniLibFolders |
| 29 | > Task :app:processGitpullManifestForPackage |
| 30 | > Task :app:mergeGitpullNativeLibs |
| 31 | |
| 32 | > Task :app:stripGitpullDebugSymbols |
| 33 | Unable to strip the following libraries, packaging them as they are: libmaplibre.so. |
| 34 | |
| 35 | > Task :app:checkGitpullDuplicateClasses |
| 36 | > Task :app:desugarGitpullFileDependencies |
| 37 | > Task :app:mergeGitpullStartupProfile UP-TO-DATE |
| 38 | > Task :app:extractGitpullNativeSymbolTables |
| 39 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 40 | > Task :app:mergeGitpullShaders |
| 41 | > Task :app:mergeGitpullArtProfile |
| 42 | > Task :app:compileGitpullShaders NO-SOURCE |
| 43 | > Task :app:generateGitpullAssets UP-TO-DATE |
| 44 | > Task :app:mergeGitpullAssets |
| 45 | > Task :app:compressGitpullAssets |
| 46 | > Task :app:extractGitpullVersionControlInfo |
| 47 | > Task :app:collectGitpullDependencies |
| 48 | > Task :app:sdkGitpullDependencyData |
| 49 | > Task :app:writeGitpullAppMetadata |
| 50 | > Task :app:writeGitpullSigningConfigVersions |
| 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-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 |
| 59 | private it.reyboz.bustorino.data.gtfs.GtfsFeed feed; |
| 60 | ^ |
| 61 | |
| 62 | > Task :app:compileGitpullKotlin |
| 63 | 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. |
| 64 | 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. |
| 65 | 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. |
| 66 | 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. |
| 67 | 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. |
| 68 | 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'. |
| 69 | 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'. |
| 70 | 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'. |
| 71 | 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. |
| 72 | 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. |
| 73 | 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'. |
| 74 | 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. |
| 75 | 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. |
| 76 | 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'. |
| 77 | 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. |
| 78 | 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. |
| 79 | 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. |
| 80 | 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. |
| 81 | 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. |
| 82 | 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. |
| 83 | 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. |
| 84 | 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. |
| 85 | 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>?'. |
| 86 | 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?>'. |
| 87 | 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'. |
| 88 | 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'. |
| 89 | 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. |
| 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 23s |
| 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 22s |
| 7 | 1 actionable task: 1 executed |
| 8 |
| Passed |
| Passed |