Page MenuHomeGitPull.it

Build 677
PassedPublic

Drydock: Publish Builded APK

When
Completed at Sep 21 2023, 16:20 · Built for 2 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/

1 empty logs are hidden. Show all logs.

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

1Current directory:
2 /var/drydock/workingcopy-112/repo/libre-busto
3Calculating sha256sum of:
4 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
5File info
6-rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 8561562 Sep 21 16:20 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
7Cleaning old builds
8Update checksums
9Published here:
10https://lab.reyboz.it/builds/libre-busto/HEAD-libre-busto.apk
11Cleaning
12Done
13

Drydock: Run Command APK sign

This build step has since been deleted on the build plan. Some information may be omitted.
When
Completed at Sep 21 2023, 16:20 · Built for 1 s
Status
Passed
1 empty logs are hidden. Show all logs.

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

1217 7153436 res/yq.png (OK)
1218 7154648 res/yw.png (OK)
1219 7156452 res/yx.xml (OK - compressed)
1220 7156972 res/z1.xml (OK - compressed)
1221 7157213 res/z11.xml (OK - compressed)
1222 7157568 res/z12.xml (OK - compressed)
1223 7157895 res/z3.xml (OK - compressed)
1224 7158164 res/z6.png (OK)
1225 7159068 res/z61.png (OK)
1226 7160252 res/zB.xml (OK - compressed)
1227 7160614 res/zH.xml (OK - compressed)
1228 7161178 res/zL.xml (OK - compressed)
1229 7161501 res/zN.xml (OK - compressed)
1230 7161856 res/zZ.png (OK)
1231 7162213 res/z_.xml (OK - compressed)
1232 7162464 res/zq.xml (OK - compressed)
1233 7162927 res/zs.ttf (OK - compressed)
1234 7211328 res/zt.png (OK)
1235 7215804 res/zw.png (OK)
1236 7216312 res/zy.png (OK)
1237 7216556 resources.arsc (OK)
1238Verification succesful
1239Signing APK
1240Sign concluded with exit status 0
1241

Drydock: Assemble debug APK

When
Completed at Sep 21 2023, 16:20 · Built for 2 m, 1 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 2981 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

163 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
164 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
165 at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
166 at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
167 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
168 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
169 at java.base/java.lang.Thread.run(Thread.java:829)
170/var/drydock/workingcopy-112/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]
171 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
172 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173
174 Explanation for issues of type "MockLocation":
175 Using a mock location provider (by requiring the permission
176 android.permission.ACCESS_MOCK_LOCATION) should only be done in debug
177 builds (or from tests). In Gradle projects, that means you should only
178 request this permission in a test or debug source set specific manifest
179 file.
180
181 To fix this, create a new manifest file in the debug folder and move the
182 <uses-permission> element there. A typical path to a debug manifest
183 override file in a Gradle project is src/debug/AndroidManifest.xml.
184
1851 errors, 0 warnings
186
187

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

79w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:89 'TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java
80w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:34 'LocationProvider' is deprecated. Deprecated in Java
81w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:184:51 'AVAILABLE: Int' is deprecated. Deprecated in Java
82
83> Task :app:compileGitpullJavaWithJavac
84
85> Task :app:lintVitalAnalyzeGitpull
86
87> Task :app:dexBuilderGitpull
88> Task :app:mergeGitpullJavaResource
89> Task :app:mergeDexGitpull
90> Task :app:compileGitpullArtProfile
91> Task :app:packageGitpull
92> Task :app:createGitpullApkListingFileRedirect
93Daemon will be stopped at the end of the build after running out of JVM memory
94
95> Task :app:lintVitalReportGitpull
96
97> Task :app:lintVitalGitpull
98
99> Task :app:assembleGitpull
100
101BUILD SUCCESSFUL in 1m 59s
10240 actionable tasks: 40 executed
103

Drydock: Clean Gradle

When
Completed at Sep 21 2023, 16:18 · Built for 15 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 2978 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 7.5.1 via distributionUrl
2Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle clean
3Starting a Gradle Daemon (subsequent builds will be faster)
4> Task :app:clean
5
6BUILD SUCCESSFUL in 14s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Sep 21 2023, 16:17 · Built for 2 s
Status
Passed

Wait for Previous Commits to Build

This build step has since been deleted on the build plan. Some information may be omitted.
When
Completed at Sep 21 2023, 16:17 · Built instantly
Status
Passed

Event Timeline