Page MenuHomeGitPull.it

Build 583
PassedPublic

Properties

Drydock: Publish Builded APK

When
Completed at Jun 6 2023, 13:22 · Built for 2 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 2500 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Published here:
2https://lab.reyboz.it/builds/libre-busto/D118-libre-busto.apk
3

Drydock: Run Command

When
Completed at Jun 6 2023, 13:22 · 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 2498 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1110 6091462 res/y9.xml (OK - compressed)
1111 6091838 res/yC.xml (OK - compressed)
1112 6092816 res/yO.9.png (OK)
1113 6093077 res/yP.xml (OK - compressed)
1114 6093668 res/yR.xml (OK - compressed)
1115 6094668 res/yX.png (OK)
1116 6099018 res/ya.xml (OK - compressed)
1117 6099994 res/yf.xml (OK - compressed)
1118 6100332 res/yw.png (OK)
1119 6102136 res/yx.xml (OK - compressed)
1120 6102601 res/z1.xml (OK - compressed)
1121 6102840 res/z3.xml (OK - compressed)
1122 6103108 res/z6.png (OK)
1123 6104012 res/z61.png (OK)
1124 6105196 res/zH.xml (OK - compressed)
1125 6105718 res/zH1.xml (OK - compressed)
1126 6106266 res/zH2.xml (OK - compressed)
1127 6106730 res/zL.xml (OK - compressed)
1128 6107050 res/zq.xml (OK - compressed)
1129 6107476 res/zt.png (OK)
1130 6111956 resources.arsc (OK)
1131Verification succesful
1132Signing APK
1133Sign concluded with exit status 0
1134

Drydock: Assemble debug APK

When
Completed at Jun 6 2023, 13:21 · Built for 2 m, 24 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 2497 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1Note: Some input files use or override a deprecated API.
2Note: Recompile with -Xlint:deprecation for details.
3/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]
4 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
7 Explanation for issues of type "MockLocation":
8 Using a mock location provider (by requiring the permission
9 android.permission.ACCESS_MOCK_LOCATION) should only be done in debug
10 builds (or from tests). In Gradle projects, that means you should only
11 request this permission in a test or debug source set specific manifest
12 file.
13
14 To fix this, create a new manifest file in the debug folder and move the
15 <uses-permission> element there. A typical path to a debug manifest
16 override file in a Gradle project is src/debug/AndroidManifest.xml.
17
181 errors, 0 warnings
19
20

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

52w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt: (73, 13): Variable 'USGS_SAT' is never used
53w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 36): Parameter 'view' is never used, could be renamed to _
54w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt: (41, 42): Parameter 'motionEvent' is never used, could be renamed to _
55
56> Task :app:compileGitpullJavaWithJavac
57
58> Task :app:dexBuilderGitpull
59> Task :app:mergeGitpullJavaResource
60> Task :app:mergeDexGitpull
61> Task :app:compileGitpullArtProfile
62> Task :app:packageGitpull
63> Task :app:createGitpullApkListingFileRedirect
64> Task :app:lintVitalAnalyzeGitpull
65
66Daemon will be stopped at the end of the build after running out of JVM memory
67
68> Task :app:lintVitalReportGitpull
69
70> Task :app:lintVitalGitpull
71
72> Task :app:assembleGitpull
73
74BUILD SUCCESSFUL in 2m 23s
7539 actionable tasks: 39 executed
76

Drydock: Clean Gradle

When
Completed at Jun 6 2023, 13:19 · Built for 16 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 2494 (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, 6 stopped Daemons could not be reused, use --status for details
4> Task :app:clean
5
6BUILD SUCCESSFUL in 15s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Jun 6 2023, 13:19 · Built for 5 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Jun 6 2023, 13:19 · Built instantly
Status
Passed