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:
| 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 | 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 |
| 52 | 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 |
| 53 | find: ‘https://lab.reyboz.it/builds/libre-busto/’: No such file or directory |
| 54 |
| 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:39:01] 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:39:01] 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:39:01] APK app-x86_64-gitpull-unsigned.apk: running zipalign |
| 71 | [INFO][2025-05-14 22:39:01] 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:39: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... 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 | |
| 76 | Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180 |
| 77 | |
| 78 | Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180 |
| 79 | DEBUG TELEGRAM CONTENT |
| 80 | Array |
| 81 | Array |
| 82 | Adding bipbop Comment to D191 |
| 83 | [INFO][2025-05-14 22:39:03] Cleaning old artifacts |
| 84 | [INFO][2025-05-14 22:39:03] Done |
| 85 |
| 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.
| 14 | <uses-permission> element there. A typical path to a debug manifest |
|---|---|
| 15 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 16 | |
| 17 | /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] |
| 18 | palinaLiveData.postValue(palina) |
| 19 | ~~~~~~ |
| 20 | |
| 21 | Explanation for issues of type "NullSafeMutableLiveData": |
| 22 | This check ensures that LiveData values are not null when explicitly |
| 23 | declared as non-nullable. |
| 24 | |
| 25 | Kotlin interoperability does not support enforcing explicit |
| 26 | null-safety when using generic Java type parameters. Since |
| 27 | LiveData is a Java class its value can always be null even |
| 28 | when its type is explicitly declared as non-nullable. This can lead |
| 29 | to runtime exceptions from reading a null LiveData value that is |
| 30 | assumed to be non-nullable. |
| 31 | |
| 32 | Vendor: Android Open Source Project |
| 33 | Identifier: androidx.lifecycle |
| 34 | Feedback: https://issuetracker.google.com/issues/new?component=413132 |
| 35 | |
| 36 | 2 errors, 0 warnings |
| 37 | |
| 38 |
| 88 | 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'. |
|---|---|
| 89 | 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'. |
| 90 | 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. |
| 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 1m 52s |
| 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 3s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |