Page MenuHomeGitPull.it

Build 667
PassedPublic

Properties

Drydock: Publish Builded APK

When
Completed at Sep 19 2023, 10:59 · Built for 1 s
Status
Passed
Description

The command is:

/opt/reyboz/android/bin/publish-latest-branch-build.sh ${buildable.revision}

Source code:

P23

This step will copy the built .apk to an indexed HTTP directory exposed by Apache:

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

1 empty logs are hidden. Show all logs.

Build Log 2936 (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 8541025 Sep 19 10:59 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
7Cleaning old builds
8Update checksums
9Published here:
10https://lab.reyboz.it/builds/libre-busto/D135-libre-busto.apk
11Adding bipbop Comment to D135
12Cleaning
13Done
14

Drydock: Run Command APK sign

When
Completed at Sep 19 2023, 10:59 · Built for 2 s
Status
Passed
Description

This script is available here on gargantua.reyboz.it accessible to the Unix user phabricator-android-builder:

/opt/reyboz/android/bin/align-sign-fabione.sh

In general it does that:

sign-fabione.sh
#!/bin/sh
# https://gitpull.it/harbormaster/step/view/16/

BASEDIR="app/build/outputs/apk/gitpull"
OUT="app-gitpull-signed.apk"
APK_UNSIGNED="app-gitpull-unsigned.apk"
APK_ALIGNED="app-gitpull-unsigned-aligned.apk"

KEYSTORE="/home/phabricator-android-builder/private-resources/gitpullkeystore-libre-busto.jks"
PASSPHRASE="<omissis>

echo "Entering in $BASEDIR"
cd "$BASEDIR"

echo "Aligning zip"
~/bin/zipalign -v -p 4 "$APK_UNSIGNED" "$APK_ALIGNED"

echo "Signing APK"
# NOTE: keep keystore unsescaped
~/bin/apksigner sign --ks "$KEYSTORE" --out "$OUT" --ks-pass pass:"$PASSPHRASE" "$APK_ALIGNED"

echo "Sign concluded with exit status $?"
1 empty logs are hidden. Show all logs.

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

1216 7136576 res/yq.png (OK)
1217 7137788 res/yw.png (OK)
1218 7139592 res/yx.xml (OK - compressed)
1219 7140113 res/z1.xml (OK - compressed)
1220 7140354 res/z11.xml (OK - compressed)
1221 7140709 res/z12.xml (OK - compressed)
1222 7141037 res/z3.xml (OK - compressed)
1223 7141308 res/z6.png (OK)
1224 7142212 res/z61.png (OK)
1225 7143396 res/zB.xml (OK - compressed)
1226 7143758 res/zH.xml (OK - compressed)
1227 7144322 res/zL.xml (OK - compressed)
1228 7144645 res/zN.xml (OK - compressed)
1229 7145000 res/zZ.png (OK)
1230 7145357 res/z_.xml (OK - compressed)
1231 7145608 res/zq.xml (OK - compressed)
1232 7146071 res/zs.ttf (OK - compressed)
1233 7194472 res/zt.png (OK)
1234 7198948 res/zw.png (OK)
1235 7199456 res/zy.png (OK)
1236 7199700 resources.arsc (OK)
1237Verification succesful
1238Signing APK
1239Sign concluded with exit status 0
1240

Drydock: Assemble debug APK

When
Completed at Sep 19 2023, 10:59 · Built for 1 m, 58 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 2933 (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 2932 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

83
84> Task :app:compileGitpullJavaWithJavac
85
86> Task :app:lintVitalAnalyzeGitpull
87
88> Task :app:dexBuilderGitpull
89
90> Task :app:lintVitalAnalyzeGitpull
91
92> Task :app:mergeGitpullJavaResource
93> Task :app:mergeDexGitpull
94> Task :app:compileGitpullArtProfile
95> Task :app:packageGitpull
96> Task :app:createGitpullApkListingFileRedirect
97
98> Task :app:lintVitalReportGitpull
99
100> Task :app:lintVitalGitpull
101
102> Task :app:assembleGitpull
103
104BUILD SUCCESSFUL in 1m 58s
10540 actionable tasks: 40 executed
106Daemon will be stopped at the end of the build after running out of JVM memory
107

Drydock: Clean Gradle

When
Completed at Sep 19 2023, 10:57 · Built for 14 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 2930 (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 13s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Sep 19 2023, 10:57 · Built for 3 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 19 2023, 10:57 · Built instantly
Status
Passed

Event Timeline