Page MenuHomeGitPull.it

Build 874
PassedPublic

Drydock: Publish Builded APK

When
Completed at Jan 12 2025, 12:58 · 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/

Build Log 4199 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1 % Total % Received % Xferd Average Speed Time Time Time Current
2 Dload Upload Total Spent Left Speed
3
4 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
5100 557 100 150 100 407 2631 7140 --:--:-- --:--:-- --:--:-- 9771
6

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

1[INFO] including .env file
2Current directory:
3 /var/drydock/workingcopy-112/repo/libre-busto
4Calculating sha256sum of:
5 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
6File info
7-rw-r--r-- 1 phabricator-android-builder phabricator-android-builder 9753442 Jan 12 12:58 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
8Cleaning old builds
9Update checksums
10Published here:
11https://lab.reyboz.it/builds/libre-busto/HEAD~1-libre-busto.apk
12DEBUG TELEGRAM CONTENT
13🌚 New commit: *Added translation using Weblate \(Spanish\)*
14https://gitpull\.it/R4:53fb3917ec0d8f15f7bb36ceae60a130b3ff2de6
15
16Try this fresh test APK:
17[Download HEAD~1\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/HEAD~1\-libre\-busto\.apk)
18
19APK fingerprint sha256:
20`e11140725f5cabc652e40d482c9e416789547ec848b234377e226341e23c4a2c`
21{"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Character ']' is reserved and must be escaped with the preceding '\\'"}Cleaning
22Done
23

Drydock: Run Command APK sign

When
Completed at Jan 12 2025, 12:58 · Built for 2 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.
1 empty log is hidden Show all logs.

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

1195 8195285 res/xM.ttf (OK - compressed)
1196 8254975 res/xN.xml (OK - compressed)
1197 8255807 res/xQ.xml (OK - compressed)
1198 8256292 res/xR.9.png (OK)
1199 8256528 res/xa.9.png (OK)
1200 8256789 res/xa.xml (OK - compressed)
1201 8257350 res/xd.xml (OK - compressed)
1202 8258065 res/xj.xml (OK - compressed)
1203 8258357 res/xo.xml (OK - compressed)
1204 8258643 res/xq.xml (OK - compressed)
1205 8259029 res/xz.xml (OK - compressed)
1206 8260218 res/y-.xml (OK - compressed)
1207 8260488 res/y3.png (OK)
1208 8268190 res/y4.xml (OK - compressed)
1209 8268446 res/y9.xml (OK - compressed)
1210 8268715 res/yE.xml (OK - compressed)
1211 8268972 res/yH.9.png (OK)
1212 8269196 res/yO.xml (OK - compressed)
1213 8269446 res/yT.xml (OK - compressed)
1214 8269768 res/yV.xml (OK - compressed)
1215 8270108 res/yY.9.png (OK)
1216 8270334 res/yY.xml (OK - compressed)
1217 8270619 res/ya.xml (OK - compressed)
1218 8270976 res/yd.png (OK)
1219 8282912 res/ye.png (OK)
1220 8284108 res/yg.9.png (OK)
1221 8284543 res/yj.xml (OK - compressed)
1222 8284940 res/yn.png (OK)
1223 8287424 res/z-.9.png (OK)
1224 8287688 res/z9.9.png (OK)
1225 8288148 res/zE.png (OK)
1226 8288512 res/zG.xml (OK - compressed)
1227 8288832 res/zL.png (OK)
1228 8289080 res/zP.png (OK)
1229 8307040 res/zR.png (OK)
1230 8309841 res/zR.xml (OK - compressed)
1231 8310332 res/zV.9.png (OK)
1232 8312836 res/zZ.png (OK)
1233 8319531 res/zc.xml (OK - compressed)
1234 8319980 res/zp.xml (OK - compressed)
1235 8320238 res/zq.xml (OK - compressed)
1236 8320548 res/zr.png (OK)
1237 8323367 res/zu.xml (OK - compressed)
1238 8324400 res/zz.png (OK)
1239 8325324 res/zz.xml (OK - compressed)
1240 8325516 resources.arsc (OK)
1241Verification succesful
1242Signing APK
1243Sign concluded with exit status 0
1244

Drydock: Assemble debug APK

When
Completed at Jan 12 2025, 12:58 · Built for 1 m, 23 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 4195 (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 4194 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

72w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:655:76 Parameter 'mapView' is never used, could be renamed to _
73w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:655:85 Parameter 'eventPos' is never used, could be renamed to _
74w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:677:13 Variable 'numStops' is never used
75w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:750:35 Variable 'marker' initializer is redundant
76w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:800:21 Condition 'busPositionsOverlay != null' is always 'true'
77w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:857:46 'getter for zoomLevel: Int' is deprecated. Deprecated in Java
78w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesGridShowingFragment.kt:194:17 Variable 'showProgress' is never used
79w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/LinesGridShowingFragment.kt:293:13 Variable 'durArrow' is never used
80w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/TestRealtimeGtfsFragment.kt:84:27 Parameter 'cont' is never used, could be renamed to _
81w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:36 Parameter 'view' is never used, could be renamed to _
82w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:45:42 Parameter 'motionEvent' is never used, could be renamed to _
83w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/map/BusInfoWindow.kt:88:17 Variable 'layPars' is never used
84w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:27 'LocationProvider' is deprecated. Deprecated in Java
85w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:44 'OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java
86w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:72 'LocationProvider' is deprecated. Deprecated in Java
87w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:185:89 'TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java
88w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:187:34 'LocationProvider' is deprecated. Deprecated in Java
89w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:187:51 'AVAILABLE: Int' is deprecated. Deprecated in Java
90w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:215:48 'Criteria' is deprecated. Deprecated in Java
91w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:50:43 Variable 'map' initializer is redundant
92w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:53:40 Unchecked cast: Any! to Map<String?, Any>?
93w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:71:51 No cast needed
94w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:73:49 No cast needed
95w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:75:46 No cast needed
96w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:77:48 No cast needed
97w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:79:48 No cast needed
98w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:81:42 No cast needed
99w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:83:56 Unchecked cast: Any to Set<String?>
100w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:271:29 Parameter 'req' is never used, could be renamed to _
101
102> Task :app:compileGitpullJavaWithJavac
103
104> Task :app:dexBuilderGitpull
105> Task :app:mergeGitpullGlobalSynthetics
106> Task :app:processGitpullJavaRes
107> Task :app:mergeGitpullJavaResource
108> Task :app:mergeDexGitpull
109> Task :app:compileGitpullArtProfile
110> Task :app:packageGitpull
111> Task :app:createGitpullApkListingFileRedirect
112> Task :app:lintVitalAnalyzeGitpull
113> Task :app:lintVitalReportGitpull
114
115> Task :app:lintVitalGitpull
116
117> Task :app:assembleGitpull
118
119BUILD SUCCESSFUL in 1m 22s
12042 actionable tasks: 42 executed
121

Drydock: Clean Gradle

When
Completed at Jan 12 2025, 12:57 · Built for 2 s
Status
Passed
Description

Clean Gradle directory to avoid nasty errors like:

https://gitpull.it/harbormaster/build/273/

1 empty log is hidden Show all logs.

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

1Found 8.1 via distributionUrl
2Running /home/phabricator-android-builder/versions/8.1/bin/gradle clean
3> Task :app:clean
4
5BUILD SUCCESSFUL in 2s
61 actionable task: 1 executed
7

Lease BusTO Working Copy

When
Completed at Jan 12 2025, 12:57 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Jan 12 2025, 12:57 · Built for 3 m, 28 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline