Page MenuHomeGitPull.it

Build 686
PassedPublic

Properties

Drydock: Publish Builded APK

When
Completed at Sep 24 2023, 13:07 · 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 3024 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Current directory:
2 /var/drydock/workingcopy-79/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 24 13:07 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
7Cleaning old builds
8Update checksums
9Published here:
10https://lab.reyboz.it/builds/libre-busto/D138-libre-busto.apk
11Adding bipbop Comment to D138
12Cleaning
13Done
14

Drydock: Run Command APK sign

When
Completed at Sep 24 2023, 13:07 · 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 3022 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1192 7069433 res/x1.xml (OK - compressed)
1193 7069716 res/x5.9.png (OK)
1194 7070104 res/xB.png (OK)
1195 7071400 res/xC.png (OK)
1196 7071556 res/xD.png (OK)
1197 7072219 res/xF.xml (OK - compressed)
1198 7072556 res/xH.png (OK)
1199 7088920 res/xM.png (OK)
1200 7092788 res/xR.png (OK)
1201 7093651 res/xT.xml (OK - compressed)
1202 7094228 res/xW.png (OK)
1203 7094652 res/xc.xml (OK - compressed)
1204 7095245 res/xd.xml (OK - compressed)
1205 7095540 res/xp.png (OK)
1206 7102235 res/xs.xml (OK - compressed)
1207 7102664 res/xw.xml (OK - compressed)
1208 7103086 res/xy.xml (OK - compressed)
1209 7103636 res/yC.xml (OK - compressed)
1210 7104704 res/yO.9.png (OK)
1211 7104965 res/yP.xml (OK - compressed)
1212 7105556 res/yR.xml (OK - compressed)
1213 7106560 res/yX.png (OK)
1214 7110910 res/ya.xml (OK - compressed)
1215 7111985 res/yf.xml (OK - compressed)
1216 7112320 res/yg.webp (OK)
1217 7153660 res/yq.png (OK)
1218 7154872 res/yw.png (OK)
1219 7156676 res/yx.xml (OK - compressed)
1220 7157196 res/z1.xml (OK - compressed)
1221 7157437 res/z11.xml (OK - compressed)
1222 7157792 res/z12.xml (OK - compressed)
1223 7158119 res/z3.xml (OK - compressed)
1224 7158388 res/z6.png (OK)
1225 7159292 res/z61.png (OK)
1226 7160476 res/zB.xml (OK - compressed)
1227 7160838 res/zH.xml (OK - compressed)
1228 7161402 res/zL.xml (OK - compressed)
1229 7161725 res/zN.xml (OK - compressed)
1230 7162080 res/zZ.png (OK)
1231 7162437 res/z_.xml (OK - compressed)
1232 7162688 res/zq.xml (OK - compressed)
1233 7163151 res/zs.ttf (OK - compressed)
1234 7211552 res/zt.png (OK)
1235 7216028 res/zw.png (OK)
1236 7216536 res/zy.png (OK)
1237 7216780 resources.arsc (OK)
1238Verification succesful
1239Signing APK
1240Sign concluded with exit status 0
1241

Drydock: Assemble debug APK

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

138 at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
139 at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
140 at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
141 at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
142 at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
143 at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
144 at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
145 at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
146 at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
147 at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
148 at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
149 at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
150 at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
151 at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
152 at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:205)
153 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
154 at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187)
155 at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120)
156 at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162)
157 at org.gradle.internal.Factories$1.create(Factories.java:31)
158 at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249)
159 at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109)
160 at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:114)
161 at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157)
162 at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126)
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-79/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 3020 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

57w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoPatternsDownloadWorker.kt:58:13 Variable 'notificationManager' is never used
58w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoTripsDownloadWorker.kt:96:13 Variable 'notificationManager' is never used
59w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:114:66 Parameter 'maxDpToScale' is never used
60w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:128:16 Condition 'fragmentListener == null' is always 'false'
61w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:148:63 Parameter 'stopName' is never used, could be renamed to _
62w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:262:23 Unnecessary safe call on a non-null receiver of type MapView
63w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:499:36 Condition 'map == null' is always 'false'
64w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:567:66 Parameter 'polyline' is never used, could be renamed to _
65w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:567:76 Parameter 'mapView' is never used, could be renamed to _
66w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:567:85 Parameter 'eventPos' is never used, could be renamed to _
67w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:589:13 Variable 'numStops' is never used
68w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:651:35 Variable 'marker' initializer is redundant
69w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:700:21 Condition 'busPositionsOverlay != null' is always 'true'
70w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:755:46 'getter for zoomLevel: Int' is deprecated. Deprecated in Java
71w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesGridShowingFragment.kt:203:13 Variable 'durArrow' is never used
72w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/TestRealtimeGtfsFragment.kt:84:27 Parameter 'cont' is never used, could be renamed to _
73w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:36 Parameter 'view' is never used, could be renamed to _
74w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:42 Parameter 'motionEvent' is never used, could be renamed to _
75w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:88:17 Variable 'layPars' is never used
76w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:27 'LocationProvider' is deprecated. Deprecated in Java
77w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:44 'OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java
78w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:182:72 'LocationProvider' is deprecated. Deprecated in Java
79w: file:///var/drydock/workingcopy-79/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-79/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-79/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
89> Task :app:lintVitalAnalyzeGitpull
90
91> Task :app:mergeGitpullJavaResource
92> Task :app:mergeDexGitpull
93> Task :app:compileGitpullArtProfile
94> Task :app:packageGitpull
95> Task :app:createGitpullApkListingFileRedirect
96Daemon will be stopped at the end of the build after running out of JVM memory
97
98> Task :app:lintVitalReportGitpull
99
100> Task :app:lintVitalGitpull
101
102> Task :app:assembleGitpull
103
104BUILD SUCCESSFUL in 2m 12s
10540 actionable tasks: 40 executed
106

Drydock: Clean Gradle

When
Completed at Sep 24 2023, 13:05 · Built for 17 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 3018 (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 16s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Sep 24 2023, 13:05 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Sep 24 2023, 13:05 · Built instantly
Status
Passed

Event Timeline