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, 11:03 · Built for 5 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 5132 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

51 at java.base/java.io.RandomAccessFile.open0(Native Method)
52 at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
53 at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
54 at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
55 at com.android.apksig.ApkSigner.sign(ApkSigner.java:199)
56 at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395)
57 at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92)
58PHP Notice: Undefined variable: apk_aligned_signed in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 146
59PHP Warning: hash_file(): Filename cannot be empty in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 146
60PHP Notice: Undefined variable: apk_aligned_path_signed in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 111
61PHP Notice: Undefined variable: apk_aligned in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 130
62Unable to open '' as zip archive
63PHP Notice: Undefined variable: apk_aligned_signed in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 139
64PHP Notice: Undefined variable: apk_aligned in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 141
65Exception in thread "main" java.io.FileNotFoundException: (No such file or directory)
66 at java.base/java.io.RandomAccessFile.open0(Native Method)
67 at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
68 at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
69 at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
70 at com.android.apksig.ApkSigner.sign(ApkSigner.java:199)
71 at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:395)
72 at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92)
73PHP Notice: Undefined variable: apk_aligned_signed in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 146
74PHP Warning: hash_file(): Filename cannot be empty in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 146
75

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

99
100[Download ](https://lab.reyboz.it/builds/libre-busto/)
101
102APK sha256 ``
103
104[Download ](https://lab.reyboz.it/builds/libre-busto/)
105
106APK sha256 ``
107
108[Download ](https://lab.reyboz.it/builds/libre-busto/)
109
110APK sha256 ``
111
112[Download ](https://lab.reyboz.it/builds/libre-busto/)
113
114APK sha256 ``
115
116[Download ](https://lab.reyboz.it/builds/libre-busto/)
117
118APK sha256 ``
119
120Adding bipbop Comment to D192
121[INFO][2025-05-15 11:03:38] Cleaning old artifacts
122[INFO][2025-05-15 11:03:38] Done
123

Drydock: Assemble debug APK

When
Completed at May 15 2025, 11:03 · Built for 1 m, 4 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 5130 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

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
362 errors, 0 warnings
37
38

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

88w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:124:17 Condition is always 'false'.
89w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:143:13 Condition is always 'true'.
90w: 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: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
110BUILD SUCCESSFUL in 1m 3s
11155 actionable tasks: 54 executed, 1 up-to-date
112

Drydock: Clean Gradle

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

Clean Gradle directory to avoid nasty errors like:

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

1 empty logs are hidden. Show all logs.

Build Log 5127 (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, 11:02 · Built for 4 s
Status
Passed

Abort Older Builds

When
Completed at May 15 2025, 11:02 · Built instantly
Status
Passed