Page MenuHomeGitPull.it

Build 1002
PassedPublic

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

Properties

Drydock: Publish Builded APK

When
Completed at May 14 2025, 15:08 · Built for 4 s
Status
Failed
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 4976 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1PHP Notice: Undefined variable: D191 in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
2PHP Notice: Undefined variable: app-arm64-v8a-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
3PHP Notice: Undefined variable: D191 in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
4PHP Notice: Undefined variable: app-armeabi-v7a-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
5PHP Notice: Undefined variable: D191 in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
6PHP Notice: Undefined variable: app-universal-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
7PHP Notice: Undefined variable: D191 in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
8PHP Notice: Undefined variable: app-x86-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
9PHP Notice: Undefined variable: D191 in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
10PHP Notice: Undefined variable: app-x86_64-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
11PHP Notice: Undefined variable: APK_NAME in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 150
12PHP Fatal error: Uncaught TypeError: escapeshellarg() expects parameter 1 to be string, null given in /opt/reyboz/android/bin/publish-latest-branch-build.php:150
13Stack trace:
14#0 /opt/reyboz/android/bin/publish-latest-branch-build.php(150): escapeshellarg(NULL)
15#1 {main}
16 thrown in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 150
17

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

30Notice: Undefined variable: app-x86-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
31[INFO] Calculating sha256sum of:
32[INFO] ./app/build/outputs/apk/gitpull/app-x86-gitpull-unsigned.apk
33File info
34-rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 14244474 May 14 15:07 ./app/build/outputs/apk/gitpull/app-x86-gitpull-unsigned.apk
35
36Notice: Undefined variable: D191 in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
37
38Notice: Undefined variable: app-x86_64-gitpull-unsigned.apk in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 98
39[INFO] Calculating sha256sum of:
40[INFO] ./app/build/outputs/apk/gitpull/app-x86_64-gitpull-unsigned.apk
41File info
42-rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 14182653 May 14 15:07 ./app/build/outputs/apk/gitpull/app-x86_64-gitpull-unsigned.apk
43Cleaning old builds
44Published here:
45https://lab.reyboz.it/builds/libre-busto/-
46
47Notice: Undefined variable: APK_NAME in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 150
48
49Fatal error: Uncaught TypeError: escapeshellarg() expects parameter 1 to be string, null given in /opt/reyboz/android/bin/publish-latest-branch-build.php:150
50Stack trace:
51#0 /opt/reyboz/android/bin/publish-latest-branch-build.php(150): escapeshellarg(NULL)
52#1 {main}
53 thrown in /opt/reyboz/android/bin/publish-latest-branch-build.php on line 150
54

Drydock: Run Command APK sign

This build step has since been deleted on the build plan. Some information may be omitted.
When
Completed at May 14 2025, 15:07 · Built for 1 s
Status
Passed

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

1Unable to open 'app-gitpull-unsigned.apk' as zip archive
2Exception in thread "main" java.io.FileNotFoundException: app-gitpull-unsigned-aligned.apk (No such file or directory)
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

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

1Entering in app/build/outputs/apk/gitpull
2Aligning zip
3Signing APK
4Sign concluded with exit status 1
5

Drydock: Assemble debug APK

When
Completed at May 14 2025, 15:07 · Built for 1 m, 44 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 4972 (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 4971 (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 43s
11155 actionable tasks: 54 executed, 1 up-to-date
112

Drydock: Clean Gradle

When
Completed at May 14 2025, 15:06 · Built for 5 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 4969 (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 4s
61 actionable task: 1 executed
7

Lease BusTO Working Copy

When
Completed at May 14 2025, 15:06 · Built for 5 s
Status
Passed

Abort Older Builds

When
Completed at May 14 2025, 15:06 · Built instantly
Status
Passed