Page MenuHomeGitPull.it

Build 1002
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 14 2025, 22:50 · Built for 6 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 4998 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

30PHP 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
31Unable to open 'https://lab.reyboz.it/builds/libre-busto//D191-app-x86-gitpull-unsigned.apk' as zip archive
32Exception 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)
40PHP 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
41Unable to open 'https://lab.reyboz.it/builds/libre-busto//D191-app-x86_64-gitpull-unsigned.apk' as zip archive
42Exception 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)
50PHP 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
51PHP Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180
52PHP Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180
53find: ‘https://lab.reyboz.it/builds/libre-busto/’: No such file or directory
54

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

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:50:24] APK app-x86_64-gitpull-unsigned.apk: copying to HTTP deploy destination
67
68Warning: 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:50:24] 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:50:24] APK app-x86_64-gitpull-unsigned.apk: running zipalign
71[INFO][2025-05-14 22:50:24] 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:50:25] 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
74Warning: 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
76Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180
77
78Notice: Array to string conversion in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 180
79DEBUG TELEGRAM CONTENT
80Array
81Array
82Adding bipbop Comment to D191
83[INFO][2025-05-14 22:50:26] Cleaning old artifacts
84[INFO][2025-05-14 22:50:26] Done
85

Drydock: Assemble debug APK

When
Completed at May 14 2025, 22:50 · Built for 1 m, 39 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 4996 (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 4995 (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: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 38s
11155 actionable tasks: 54 executed, 1 up-to-date
112

Drydock: Clean Gradle

When
Completed at May 14 2025, 22:48 · 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 4993 (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 14 2025, 22:48 · Built for 5 s
Status
Passed

Abort Older Builds

When
Completed at May 14 2025, 22:48 · Built instantly
Status
Passed