Page MenuHomeGitPull.it

Build 1006
PassedPublic

You are viewing an older run of this build. View Current Build

Properties

Drydock: Sign and Publish Builded APK Files

When
Completed at May 15 2025, 10:52 · Built for 14 s
Status
Passed
Description

The command is:

/home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.sh ${buildable.revision}

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:

https://lab.reyboz.it/builds/libre-busto/

Build Log 5126 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1PHP Notice: Undefined variable: apk_path in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121
2PHP Notice: Undefined variable: apk_sha256 in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 122
3PHP Notice: Undefined variable: apk_destination_name in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 123
4PHP Notice: Undefined variable: apk_destination_file in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 124
5PHP Notice: Undefined variable: apk_destination_url in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 125
6PHP Notice: Undefined variable: apk_path in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121
7PHP Notice: Undefined variable: apk_sha256 in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 122
8PHP Notice: Undefined variable: apk_destination_name in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 123
9PHP Notice: Undefined variable: apk_destination_file in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 124
10PHP Notice: Undefined variable: apk_destination_url in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 125
11PHP Notice: Undefined variable: apk_path in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121
12PHP Notice: Undefined variable: apk_sha256 in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 122
13PHP Notice: Undefined variable: apk_destination_name in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 123
14PHP Notice: Undefined variable: apk_destination_file in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 124
15PHP Notice: Undefined variable: apk_destination_url in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 125
16PHP Notice: Undefined variable: apk_path in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121
17PHP Notice: Undefined variable: apk_sha256 in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 122
18PHP Notice: Undefined variable: apk_destination_name in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 123
19PHP Notice: Undefined variable: apk_destination_file in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 124
20PHP Notice: Undefined variable: apk_destination_url in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 125
21PHP Notice: Undefined variable: apk_path in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 121
22PHP Notice: Undefined variable: apk_sha256 in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 122
23PHP Notice: Undefined variable: apk_destination_name in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 123
24PHP Notice: Undefined variable: apk_destination_file in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 124
25PHP Notice: Undefined variable: apk_destination_url in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 125
26

Build Log 5125 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

618212790240 res/zE.png (OK)
618312790604 res/zG.xml (OK - compressed)
618412790924 res/zR.png (OK)
618512793725 res/zR.xml (OK - compressed)
618612794216 res/zV.9.png (OK)
618712796719 res/zc.xml (OK - compressed)
618812797168 res/ze.png (OK)
618912805523 res/zp.xml (OK - compressed)
619012805781 res/zq.xml (OK - compressed)
619112806092 res/zr.png (OK)
619212808911 res/zs.xml (OK - compressed)
619312809183 res/zu.xml (OK - compressed)
619412810213 res/zv.xml (OK - compressed)
619512811489 res/zz.xml (OK - compressed)
619612811680 resources.arsc (OK)
6197Verification succesful
6198[INFO][2025-05-15 10:52:26] APK app-x86_64-gitpull-unsigned.apk: signing creating /home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-x86_64-gitpull-unsigned-aligned-signed.apk...
6199[INFO][2025-05-15 10:52:28] APK app-x86_64-gitpull-unsigned.apk: signing creating /home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-x86_64-gitpull-unsigned-aligned-signed.apk... signed!
6200[INFO][2025-05-15 10:52:28] APK ALIGNED SIGNED /home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-x86_64-gitpull-unsigned-aligned-signed.apk: sha256sum: calculating...
6201[INFO][2025-05-15 10:52:28] APK ALIGNED SIGNED /home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-x86_64-gitpull-unsigned-aligned-signed.apk: sha256sum: calculated: ef19f794b0b6e552577b4e15d3976b4b40b64a546f8a47ff05371f6ac63db79f
6202DEBUG TELEGRAM CONTENT
6203⚙ Dear Android hackers, please review this promising patch:
6204https://gitpull\.it/D192
6205
6206Here the related fresh test builds:
6207
6208[Download D192\-app\-arm64\-v8a\-gitpull\-unsigned\.apk](https://lab.reyboz.it/builds/libre-busto//home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-arm64-v8a-gitpull-unsigned-aligned-signed.apk)
6209
6210APK sha256 `74755d9d699c9f33efb41bfae093df349fb74065826e03e352b206680160a987`
6211
6212[Download D192\-app\-armeabi\-v7a\-gitpull\-unsigned\.apk](https://lab.reyboz.it/builds/libre-busto//home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-armeabi-v7a-gitpull-unsigned-aligned-signed.apk)
6213
6214APK sha256 `a033b04af2b8acbac0740ca1fdf7dd3f29347a7c531f9d3ef9d6f113ce1e7f7f`
6215
6216[Download D192\-app\-universal\-gitpull\-unsigned\.apk](https://lab.reyboz.it/builds/libre-busto//home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-universal-gitpull-unsigned-aligned-signed.apk)
6217
6218APK sha256 `e0d845127a595c68adabf5623617380a1a7df10df1fca2929d9d6303c17d685d`
6219
6220[Download D192\-app\-x86\-gitpull\-unsigned\.apk](https://lab.reyboz.it/builds/libre-busto//home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-x86-gitpull-unsigned-aligned-signed.apk)
6221
6222APK sha256 `5eca4eb588214edd79450787d75ed9ed8b24417c3308d639adf81c47c1e1ce8a`
6223
6224[Download D192\-app\-x86\_64\-gitpull\-unsigned\.apk](https://lab.reyboz.it/builds/libre-busto//home/www-data/reyboz.it/lab/builds/libre-busto/D192-app-x86_64-gitpull-unsigned-aligned-signed.apk)
6225
6226APK sha256 `ef19f794b0b6e552577b4e15d3976b4b40b64a546f8a47ff05371f6ac63db79f`
6227
6228Adding bipbop Comment to D192
6229[INFO][2025-05-15 10:52:28] Cleaning old artifacts
6230[INFO][2025-05-15 10:52:28] Done
6231

Drydock: Assemble debug APK

When
Completed at May 15 2025, 10:52 · Built for 1 m, 5 s
Status
Passed
Description

This step will build an .apk using Gradle.

sudo apt install openjdk-11-jre-headless

Then aliased this gradle:

https://gitlab.com/fdroid/fdroidserver/-/blob/master/gradlew-fdroid

Build Log 5124 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1Note: Some input files use or override a deprecated API.
2Note: 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
372 errors, 0 warnings
38
39

Build Log 5123 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

63> Task :app:compileGitpullKotlin
64w: 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.
65w: 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.
66w: 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.
67w: 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.
68w: 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.
69w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:473:21 Condition is always 'true'.
70w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:538:33 Condition is always 'true'.
71w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:540:20 Condition is always 'true'.
72w: 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.
73w: 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.
74w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:693:13 Condition is always 'false'.
75w: 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.
76w: 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.
77w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:176:16 Condition is always 'false'.
78w: 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.
79w: 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.
80w: 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.
81w: 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.
82w: 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.
83w: 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.
84w: 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.
85w: 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.
86w: 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>?'.
87w: 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?>'.
88w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'.
89w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'.
90w: 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
110BUILD SUCCESSFUL in 1m 5s
11155 actionable tasks: 54 executed, 1 up-to-date
112

Drydock: Clean Gradle

When
Completed at May 15 2025, 10:51 · Built for 3 s
Status
Passed
Description

Clean Gradle directory to avoid nasty errors like:

https://gitpull.it/harbormaster/build/273/

1 empty log is hidden Show all logs.

Build Log 5121 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 8.7 via distributionUrl
2Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean
3> Task :app:clean
4
5BUILD SUCCESSFUL in 2s
61 actionable task: 1 executed
7

Lease BusTO Working Copy

When
Completed at May 15 2025, 10:51 · Built for 5 s
Status
Passed

Abort Older Builds

When
Completed at May 15 2025, 10:51 · Built instantly
Status
Passed