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 Fatal error: Uncaught HTTPFutureHTTPResponseStatus: [HTTP/403] |
|---|---|
| 2 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> |
| 3 | <html><head> |
| 4 | <title>403 Forbidden</title> |
| 5 | </head><body> |
| 6 | <h1>Forbidden</h1> |
| 7 | <p>You don't have permission to access this resource.</p> |
| 8 | <hr> |
| 9 | <address>Apache/2.4.59 (Debian) Server at gitpull.it Port 443</address> |
| 10 | </body></html> in /home/www-data/gitpull.it/arcanist/src/future/http/BaseHTTPFuture.php:384 |
| 11 | Stack trace: |
| 12 | #0 /home/www-data/gitpull.it/arcanist/src/future/http/HTTPSFuture.php(547): BaseHTTPFuture->parseRawHTTPResponse('HTTP/1.1 403 Fo...') |
| 13 | #1 /home/www-data/gitpull.it/arcanist/src/future/Future.php(63): HTTPSFuture->isReady() |
| 14 | #2 /home/www-data/gitpull.it/arcanist/src/future/FutureProxy.php(35): Future->updateFuture() |
| 15 | #3 /home/www-data/gitpull.it/arcanist/src/future/Future.php(63): FutureProxy->isReady() |
| 16 | #4 /home/www-data/gitpull.it/arcanist/src/future/FutureIterator.php(224): Future->updateFuture() |
| 17 | #5 /home/www-data/gitpull.it/arcanist/src/future/FutureIterator.php(190): FutureIterator->next() |
| 18 | #6 [inter in /home/www-data/gitpull.it/arcanist/src/future/http/BaseHTTPFuture.php on line 384 |
| 19 |
| 6097 | 12789420 res/z-.9.png (OK) |
|---|---|
| 6098 | 12789684 res/z9.9.png (OK) |
| 6099 | 12790144 res/zE.png (OK) |
| 6100 | 12790508 res/zG.xml (OK - compressed) |
| 6101 | 12790828 res/zR.png (OK) |
| 6102 | 12793629 res/zR.xml (OK - compressed) |
| 6103 | 12794120 res/zV.9.png (OK) |
| 6104 | 12796623 res/zc.xml (OK - compressed) |
| 6105 | 12797072 res/ze.png (OK) |
| 6106 | 12805427 res/zp.xml (OK - compressed) |
| 6107 | 12805685 res/zq.xml (OK - compressed) |
| 6108 | 12805996 res/zr.png (OK) |
| 6109 | 12808815 res/zs.xml (OK - compressed) |
| 6110 | 12809087 res/zu.xml (OK - compressed) |
| 6111 | 12810117 res/zv.xml (OK - compressed) |
| 6112 | 12811393 res/zz.xml (OK - compressed) |
| 6113 | 12811584 resources.arsc (OK) |
| 6114 | Verification succesful |
| 6115 | [INFO][2025-07-15 18:53:18] APK ALIGNED D196-x86_64-aligned.apk: apksigner... creating D196-x86_64-signed.apk |
| 6116 | [INFO][2025-07-15 18:53:19] APK ALIGNED SIGNED D196-x86_64-signed.apk: calculating sha256sum... |
| 6117 | DEBUG TELEGRAM CONTENT |
| 6118 | ⚙ Dear Android hackers, please review this promising patch: |
| 6119 | https://gitpull\.it/D196 |
| 6120 | |
| 6121 | Here the related fresh test builds: |
| 6122 | |
| 6123 | APK for **arm64\-v8a**: |
| 6124 | [Download D196\-arm64\-v8a\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D196-arm64-v8a-signed.apk) |
| 6125 | APK sha256: `9672ecff633a2a0b000f2c37c3ab14dcd97086185c60da5e4eceda5a7e1567d0` |
| 6126 | |
| 6127 | APK for **armeabi\-v7a**: |
| 6128 | [Download D196\-armeabi\-v7a\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D196-armeabi-v7a-signed.apk) |
| 6129 | APK sha256: `c73732340bafa4203b9ea8c42694b42065db590d1c6cc8f0564607b787c56159` |
| 6130 | |
| 6131 | APK for **universal**: |
| 6132 | [Download D196\-universal\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D196-universal-signed.apk) |
| 6133 | APK sha256: `0c548bcc228996bbc5f8d56ac57e8059501df95ef7b3357115649d86e1578ff7` |
| 6134 | |
| 6135 | APK for **x86**: |
| 6136 | [Download D196\-x86\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D196-x86-signed.apk) |
| 6137 | APK sha256: `43edb90b5624d43ec7234e3e4a519bc357b8538262697dc897ed62200e0ac474` |
| 6138 | |
| 6139 | APK for **x86\_64**: |
| 6140 | [Download D196\-x86\_64\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D196-x86_64-signed.apk) |
| 6141 | APK sha256: `7a5f8b8c2f635f1d7adbcb2c71a43e89bf267069f53d16425098cbe0e927c80d` |
| 6142 | |
| 6143 | Adding bipbop Comment to D196 |
| 6144 | [INFO][2025-07-15 18:53:20] Cleaning old artifacts |
| 6145 | [INFO][2025-07-15 18:53:20] 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 |
| 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:146: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:151: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:323: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:532:20 Condition is always 'true'. |
| 70 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:595:21 'val loaderManager: LoaderManager' is deprecated. Deprecated in Java. |
| 71 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:644:66 'fun execute(vararg p0: Stop!): AsyncTask<Stop!, Void!, Boolean!>!' is deprecated. Deprecated in Java. |
| 72 | 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. |
| 73 | 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. |
| 74 | 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'. |
| 75 | w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:992:25 'fun requestSingleUpdate(p0: String, p1: LocationListener, p2: Looper?): Unit' is deprecated. Deprecated in Java. |
| 76 | 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. |
| 77 | 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. |
| 78 | 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. |
| 79 | 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. |
| 80 | 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. |
| 81 | 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. |
| 82 | 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. |
| 83 | 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>?'. |
| 84 | 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?>'. |
| 85 | 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'. |
| 86 | 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'. |
| 87 | 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. |
| 88 | |
| 89 | > Task :app:compileGitpullJavaWithJavac |
| 90 | |
| 91 | > Task :app:generateGitpullLintVitalReportModel |
| 92 | > Task :app:dexBuilderGitpull |
| 93 | > Task :app:processGitpullJavaRes |
| 94 | > Task :app:mergeGitpullGlobalSynthetics |
| 95 | > Task :app:mergeGitpullJavaResource |
| 96 | > Task :app:mergeDexGitpull |
| 97 | > Task :app:compileGitpullArtProfile |
| 98 | > Task :app:packageGitpull |
| 99 | > Task :app:createGitpullApkListingFileRedirect |
| 100 | > Task :app:lintVitalAnalyzeGitpull |
| 101 | > Task :app:lintVitalReportGitpull |
| 102 | |
| 103 | > Task :app:lintVitalGitpull |
| 104 | |
| 105 | > Task :app:assembleGitpull |
| 106 | |
| 107 | BUILD SUCCESSFUL in 1m 33s |
| 108 | 55 actionable tasks: 54 executed, 1 up-to-date |
| 109 |
| 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 2s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |