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:
| 3 | at java.base/java.io.RandomAccessFile.open0(Native Method) |
|---|---|
| 4 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
| 5 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 6 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 7 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:199) |
| 8 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395) |
| 9 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92) |
| 10 | PHP Warning: copy(https://lab.reyboz.it/builds/libre-busto//D191-app-armeabi-v7a-gitpull-unsigned.apk): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121 |
| 11 | Unable to open 'https://lab.reyboz.it/builds/libre-busto//D191-app-armeabi-v7a-gitpull-unsigned.apk' as zip archive |
| 12 | Exception in thread "main" java.io.FileNotFoundException: https:/lab.reyboz.it/builds/libre-busto/D191-app-armeabi-v7a-gitpull-unsigned-aligned..apk (No such file or directory) |
| 13 | at java.base/java.io.RandomAccessFile.open0(Native Method) |
| 14 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
| 15 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 16 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 17 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:199) |
| 18 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395) |
| 19 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92) |
| 20 | PHP Warning: copy(https://lab.reyboz.it/builds/libre-busto//D191-app-universal-gitpull-unsigned.apk): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121 |
| 21 | Unable to open 'https://lab.reyboz.it/builds/libre-busto//D191-app-universal-gitpull-unsigned.apk' as zip archive |
| 22 | Exception in thread "main" java.io.FileNotFoundException: https:/lab.reyboz.it/builds/libre-busto/D191-app-universal-gitpull-unsigned-aligned..apk (No such file or directory) |
| 23 | at java.base/java.io.RandomAccessFile.open0(Native Method) |
| 24 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
| 25 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 26 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 27 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:199) |
| 28 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395) |
| 29 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92) |
| 30 | PHP Warning: copy(https://lab.reyboz.it/builds/libre-busto//D191-app-x86-gitpull-unsigned.apk): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121 |
| 31 | Unable to open 'https://lab.reyboz.it/builds/libre-busto//D191-app-x86-gitpull-unsigned.apk' as zip archive |
| 32 | Exception in thread "main" java.io.FileNotFoundException: https:/lab.reyboz.it/builds/libre-busto/D191-app-x86-gitpull-unsigned-aligned..apk (No such file or directory) |
| 33 | at java.base/java.io.RandomAccessFile.open0(Native Method) |
| 34 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
| 35 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 36 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 37 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:199) |
| 38 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395) |
| 39 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92) |
| 40 | PHP Warning: copy(https://lab.reyboz.it/builds/libre-busto//D191-app-x86_64-gitpull-unsigned.apk): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121 |
| 41 | Unable to open 'https://lab.reyboz.it/builds/libre-busto//D191-app-x86_64-gitpull-unsigned.apk' as zip archive |
| 42 | Exception in thread "main" java.io.FileNotFoundException: https:/lab.reyboz.it/builds/libre-busto/D191-app-x86_64-gitpull-unsigned-aligned..apk (No such file or directory) |
| 43 | at java.base/java.io.RandomAccessFile.open0(Native Method) |
| 44 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
| 45 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 46 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 47 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:199) |
| 48 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395) |
| 49 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92) |
| 50 | PHP Warning: file_put_contents(https://lab.reyboz.it/builds/libre-busto//D191-git-show.txt): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 156 |
| 51 | find: ‘https://lab.reyboz.it/builds/libre-busto/’: No such file or directory |
| 52 |
| 50 | APK destination path: https://lab.reyboz.it/builds/libre-busto//D191-app-x86-gitpull-unsigned.apk |
|---|---|
| 51 | APK destination URL: /home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-x86-gitpull-unsigned.apk |
| 52 | [INFO][2025-05-14 22:57:01] APK app-x86-gitpull-unsigned.apk: copying to HTTP deploy destination |
| 53 | |
| 54 | Warning: copy(https://lab.reyboz.it/builds/libre-busto//D191-app-x86-gitpull-unsigned.apk): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121 |
| 55 | [INFO][2025-05-14 22:57:01] APK app-x86-gitpull-unsigned.apk: published in /home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-x86-gitpull-unsigned.apk |
| 56 | [INFO][2025-05-14 22:57:01] APK app-x86-gitpull-unsigned.apk: running zipalign |
| 57 | [INFO][2025-05-14 22:57:01] APK app-x86-gitpull-unsigned.apk: signing creating https://lab.reyboz.it/builds/libre-busto/D191-app-x86-gitpull-unsigned-signed..apk... |
| 58 | [INFO][2025-05-14 22:57:02] APK app-x86-gitpull-unsigned.apk: signing creating https://lab.reyboz.it/builds/libre-busto/D191-app-x86-gitpull-unsigned-signed..apk... signed! |
| 59 | [INFO][2025-05-14 22:57:02] APK app-x86_64-gitpull-unsigned.apk: calculating sha256sum... |
| 60 | [INFO][2025-05-14 22:57:02] APK app-x86_64-gitpull-unsigned.apk: calculating sha256sum... completed. Info: |
| 61 | APK original: ./app/build/outputs/apk/gitpull/app-x86_64-gitpull-unsigned.apk |
| 62 | APK sha256: da916a969642aafc89f77c478b2c55c75ec5c61ac5d8d3d16715074a53cfbcb9 |
| 63 | APK destination name: D191-app-x86_64-gitpull-unsigned.apk |
| 64 | APK destination path: https://lab.reyboz.it/builds/libre-busto//D191-app-x86_64-gitpull-unsigned.apk |
| 65 | APK destination URL: /home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-x86_64-gitpull-unsigned.apk |
| 66 | [INFO][2025-05-14 22:57:02] APK app-x86_64-gitpull-unsigned.apk: copying to HTTP deploy destination |
| 67 | |
| 68 | Warning: copy(https://lab.reyboz.it/builds/libre-busto//D191-app-x86_64-gitpull-unsigned.apk): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121 |
| 69 | [INFO][2025-05-14 22:57:02] APK app-x86_64-gitpull-unsigned.apk: published in /home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-x86_64-gitpull-unsigned.apk |
| 70 | [INFO][2025-05-14 22:57:02] APK app-x86_64-gitpull-unsigned.apk: running zipalign |
| 71 | [INFO][2025-05-14 22:57:02] APK app-x86_64-gitpull-unsigned.apk: signing creating https://lab.reyboz.it/builds/libre-busto/D191-app-x86_64-gitpull-unsigned-signed..apk... |
| 72 | [INFO][2025-05-14 22:57:03] APK app-x86_64-gitpull-unsigned.apk: signing creating https://lab.reyboz.it/builds/libre-busto/D191-app-x86_64-gitpull-unsigned-signed..apk... signed! |
| 73 | |
| 74 | Warning: file_put_contents(https://lab.reyboz.it/builds/libre-busto//D191-git-show.txt): failed to open stream: HTTP wrapper does not support writeable connections in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 156 |
| 75 | DEBUG TELEGRAM CONTENT |
| 76 | ⚙ Dear Android hackers, please review this promising patch: |
| 77 | https://gitpull.it/'D191' |
| 78 | |
| 79 | Here the related fresh test builds: |
| 80 | |
| 81 | [Download D191-app-arm64-v8a-gitpull-unsigned.apk](/home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-arm64-v8a-gitpull-unsigned.apk) |
| 82 | |
| 83 | APK sha256: `b6711137a611ae08a50de130dc805ca8ee3f519a64406b2f7bb2161854824cee` |
| 84 | [Download D191-app-armeabi-v7a-gitpull-unsigned.apk](/home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-armeabi-v7a-gitpull-unsigned.apk) |
| 85 | |
| 86 | APK sha256: `1ef73451003ed88d441461817bcf906742d3b1a7951126994563170dad53d408` |
| 87 | [Download D191-app-universal-gitpull-unsigned.apk](/home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-universal-gitpull-unsigned.apk) |
| 88 | |
| 89 | APK sha256: `7b7a1a18948725dd5032e10ca91cdf2733b5a4724255dd5324fd26afd2da298b` |
| 90 | [Download D191-app-x86-gitpull-unsigned.apk](/home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-x86-gitpull-unsigned.apk) |
| 91 | |
| 92 | APK sha256: `499acd2c40532d9c63649e4579c40ac2c74585ca59d08ebdd5a94b48a1277254` |
| 93 | [Download D191-app-x86_64-gitpull-unsigned.apk](/home/www-data/reyboz.it/lab/builds/libre-bustoD191-app-x86_64-gitpull-unsigned.apk) |
| 94 | |
| 95 | APK sha256: `da916a969642aafc89f77c478b2c55c75ec5c61ac5d8d3d16715074a53cfbcb9` |
| 96 | Adding bipbop Comment to D191 |
| 97 | [INFO][2025-05-14 22:57:03] Cleaning old artifacts |
| 98 | [INFO][2025-05-14 22:57:03] Done |
| 99 |
| 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 |
| 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:mergeGitpullGlobalSynthetics |
| 97 | > Task :app:processGitpullJavaRes |
| 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 1m 25s |
| 111 | 55 actionable tasks: 54 executed, 1 up-to-date |
| 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 2s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |