Page MenuHomeGitPull.it

Build 712
PassedPublic

Drydock: Publish Builded APK

When
Completed at Dec 21 2023, 10:48 · 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 3160 (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 8545178 Dec 21 10:47 ./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

When
Completed at Dec 21 2023, 10:47 · 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 3158 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1142 6996206 res/uF.xml (OK - compressed)
1143 6996468 res/uO.xml (OK - compressed)
1144 6996728 res/uP.9.png (OK)
1145 6997724 res/uP.xml (OK - compressed)
1146 6998092 res/ue.xml (OK - compressed)
1147 6998411 res/ug.xml (OK - compressed)
1148 6998638 res/uo.xml (OK - compressed)
1149 6999000 res/uu.png (OK)
1150 6999358 res/uv.xml (OK - compressed)
1151 6999733 res/uw.xml (OK - compressed)
1152 7000220 res/v2.png (OK)
1153 7025975 res/v2.xml (OK - compressed)
1154 7026392 res/v3.xml (OK - compressed)
1155 7026752 res/v6.9.png (OK)
1156 7026986 res/v8.xml (OK - compressed)
1157 7027253 res/vD.xml (OK - compressed)
1158 7027877 res/vH.xml (OK - compressed)
1159 7028514 res/vM.xml (OK - compressed)
1160 7029167 res/vO.xml (OK - compressed)
1161 7029626 res/vP.xml (OK - compressed)
1162 7030136 res/vX.png (OK)
1163 7033208 res/va.png (OK)
1164 7033570 res/va.xml (OK - compressed)
1165 7034020 res/vc.xml (OK - compressed)
1166 7034496 res/vd.png (OK)
1167 7034803 res/vl.xml (OK - compressed)
1168 7035168 res/vn.png (OK)
1169 7038510 res/vp.xml (OK - compressed)
1170 7038766 res/vt.xml (OK - compressed)
1171 7039168 res/vy.9.png (OK)
1172 7039434 res/vz.xml (OK - compressed)
1173 7039908 res/w0.png (OK)
1174 7042603 res/w2.xml (OK - compressed)
1175 7042926 res/w7.xml (OK - compressed)
1176 7043632 res/wF.png (OK)
1177 7046738 res/wG.xml (OK - compressed)
1178 7047108 res/wK.9.png (OK)
1179 7047360 res/wL.9.png (OK)
1180 7047592 res/wN.png (OK)
1181 7047856 res/wT.png (OK)
1182 7048164 res/wW.png (OK)
1183 7048363 res/wW.xml (OK - compressed)
1184 7048692 res/wW1.png (OK)
1185 7049049 res/wY.xml (OK - compressed)
1186 7049416 res/wi.9.png (OK)
1187 7051188 res/wi.png (OK)
1188 7051364 res/wi1.9.png (OK)
1189 7052647 res/wn.xml (OK - compressed)
1190 7053099 res/wo.xml (OK - compressed)
1191 7053472 res/wz.xml (OK - compressed)
1192 7053897 res/x1.xml (OK - compressed)
1193 7054180 res/x5.9.png (OK)
1194 7054568 res/xB.png (OK)
1195 7055864 res/xC.png (OK)
1196 7056020 res/xD.png (OK)
1197 7056683 res/xF.xml (OK - compressed)
1198 7057020 res/xH.png (OK)
1199 7073384 res/xM.png (OK)
1200 7077252 res/xR.png (OK)
1201 7078115 res/xT.xml (OK - compressed)
1202 7078692 res/xW.png (OK)
1203 7079116 res/xc.xml (OK - compressed)
1204 7079709 res/xd.xml (OK - compressed)
1205 7080004 res/xp.png (OK)
1206 7086699 res/xs.xml (OK - compressed)
1207 7087128 res/xw.xml (OK - compressed)
1208 7087550 res/xy.xml (OK - compressed)
1209 7088100 res/yC.xml (OK - compressed)
1210 7089168 res/yO.9.png (OK)
1211 7089429 res/yP.xml (OK - compressed)
1212 7090020 res/yR.xml (OK - compressed)
1213 7091020 res/yX.png (OK)
1214 7095370 res/ya.xml (OK - compressed)
1215 7096445 res/yf.xml (OK - compressed)
1216 7096780 res/yg.webp (OK)
1217 7138120 res/yq.png (OK)
1218 7139332 res/yw.png (OK)
1219 7141136 res/yx.xml (OK - compressed)
1220 7141656 res/z1.xml (OK - compressed)
1221 7141897 res/z11.xml (OK - compressed)
1222 7142252 res/z12.xml (OK - compressed)
1223 7142579 res/z3.xml (OK - compressed)
1224 7142848 res/z6.png (OK)
1225 7143752 res/z61.png (OK)
1226 7144936 res/zB.xml (OK - compressed)
1227 7145298 res/zH.xml (OK - compressed)
1228 7145862 res/zL.xml (OK - compressed)
1229 7146185 res/zN.xml (OK - compressed)
1230 7146540 res/zZ.png (OK)
1231 7146897 res/z_.xml (OK - compressed)
1232 7147148 res/zq.xml (OK - compressed)
1233 7147611 res/zs.ttf (OK - compressed)
1234 7196012 res/zt.png (OK)
1235 7200488 res/zw.png (OK)
1236 7200996 res/zy.png (OK)
1237 7201240 resources.arsc (OK)
1238Verification succesful
1239Signing APK
1240Sign concluded with exit status 0
1241

Drydock: Assemble debug APK

When
Completed at Dec 21 2023, 10:47 · Built for 1 m, 52 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 3157 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1Note: Some input files use or override a deprecated API.
2Note: Recompile with -Xlint:deprecation for details.
3e: /home/phabricator-android-builder/.gradle/caches/transforms-3/3233d6ddde389e715b15b715970cb3ed/transformed/paho.mqtt.android-4.1/jars/classes.jar!/META-INF/serviceLibrary_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
4/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]
5 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
6 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7
8 Explanation for issues of type "MockLocation":
9 Using a mock location provider (by requiring the permission
10 android.permission.ACCESS_MOCK_LOCATION) should only be done in debug
11 builds (or from tests). In Gradle projects, that means you should only
12 request this permission in a test or debug source set specific manifest
13 file.
14
15 To fix this, create a new manifest file in the debug folder and move the
16 <uses-permission> element there. A typical path to a debug manifest
17 override file in a Gradle project is src/debug/AndroidManifest.xml.
18
191 errors, 0 warnings
20
21

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

3> Task :app:preBuild UP-TO-DATE
4> Task :app:preGitpullBuild UP-TO-DATE
5> Task :app:compileGitpullAidl NO-SOURCE
6> Task :app:compileGitpullRenderscript NO-SOURCE
7> Task :app:generateGitpullBuildConfig
8> Task :app:generateGitpullResValues
9> Task :app:checkGitpullAarMetadata
10> Task :app:mapGitpullSourceSetPaths
11> Task :app:generateGitpullResources
12> Task :app:createGitpullCompatibleScreenManifests
13> Task :app:extractDeepLinksGitpull
14
15> Task :app:processGitpullMainManifest
16/var/drydock/workingcopy-79/repo/libre-busto/app/src/gitpull/AndroidManifest.xml:39:9-45:51 Warning:
17 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
18
19> Task :app:mergeGitpullResources
20> Task :app:processGitpullManifest
21> Task :app:processGitpullManifestForPackage
22> Task :app:javaPreCompileGitpull
23> Task :app:extractProguardFiles
24> Task :app:mergeGitpullJniLibFolders
25> Task :app:mergeGitpullNativeLibs NO-SOURCE
26> Task :app:stripGitpullDebugSymbols NO-SOURCE
27> Task :app:extractGitpullNativeSymbolTables NO-SOURCE
28> Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE
29> Task :app:desugarGitpullFileDependencies
30> Task :app:checkGitpullDuplicateClasses
31> Task :app:mergeGitpullShaders
32> Task :app:compileGitpullShaders NO-SOURCE
33> Task :app:generateGitpullAssets UP-TO-DATE
34> Task :app:mergeGitpullAssets
35> Task :app:compressGitpullAssets
36> Task :app:processGitpullJavaRes NO-SOURCE
37> Task :app:collectGitpullDependencies
38> Task :app:sdkGitpullDependencyData
39> Task :app:writeGitpullAppMetadata
40> Task :app:writeGitpullSigningConfigVersions
41> Task :app:mergeGitpullArtProfile
42> Task :app:processGitpullResources
43> Task :app:optimizeGitpullResources
44> Task :app:mergeExtDexGitpull
45> Task :app:kaptGenerateStubsGitpullKotlin
46
47> Task :app:kaptGitpullKotlin
48/var/drydock/workingcopy-79/repo/libre-busto/app/build/tmp/kapt3/stubs/gitpull/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:24: warning: Primary key constraint on gtfsId is ignored when being merged into it.reyboz.bustorino.data.gtfs.GtfsAgency
49 private it.reyboz.bustorino.data.gtfs.GtfsFeed feed;
50 ^
51
52> Task :app:compileGitpullKotlin
53w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/ActivityIntro.kt:51:75 Parameter 'tab' is never used, could be renamed to _
54w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/adapters/RouteOnlyLineAdapter.kt:34:33 Parameter 'showOnlyEmpty' is never used
55w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/backend/mato/MQTTMatoClient.kt:223:62 No cast needed
56w: file:///var/drydock/workingcopy-79/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/backend/mato/MQTTMatoClient.kt:263:17 Variable 'valid' is assigned but never accessed
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:129: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:149: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:269: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:506: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:575: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:575: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:575: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:597: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:659: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:708: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:763: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> Task :app:mergeGitpullJavaResource
89> Task :app:mergeDexGitpull
90> Task :app:compileGitpullArtProfile
91> Task :app:packageGitpull
92> Task :app:createGitpullApkListingFileRedirect
93> Task :app:lintVitalReportGitpull
94
95> Task :app:lintVitalGitpull
96
97> Task :app:assembleGitpull
98
99BUILD SUCCESSFUL in 1m 52s
10040 actionable tasks: 40 executed
101Daemon will be stopped at the end of the build after running out of JVM memory
102

Drydock: Clean Gradle

When
Completed at Dec 21 2023, 10:46 · Built for 13 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 3154 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

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

Lease BusTO Working Copy

When
Completed at Dec 21 2023, 10:45 · Built for 2 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Dec 21 2023, 10:45 · Built instantly
Status
Passed

Event Timeline