Page MenuHomeGitPull.it

Build 893
PassedPublic

Drydock: Publish Builded APK

When
Completed at Apr 18 2025, 01:48 · Built for 1 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 4325 (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 1304 100 915 100 389 7204 3062 --:--:-- --:--:-- --:--:-- 10267
6

Build Log 4324 (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 25133611 Apr 18 01:48 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
8Cleaning old builds
9Update checksums
10Published here:
11https://lab.reyboz.it/builds/libre-busto/maplibre-libre-busto.apk
12DEBUG TELEGRAM CONTENT
13🌚 New commit: *Show buses on the map*
14https://gitpull\.it/R4:1a3acab947335ed26785b4b7e17c884a0425fa10
15
16Try this fresh test APK:
17[Download maplibre\-libre\-busto\.apk](https:\/\/lab\.reyboz\.it\/builds\/libre\-busto\/maplibre\-libre\-busto\.apk)
18
19APK fingerprint sha256:
20`78cf0af867cf327199ab23b241df06421318a5043e13b912d1d8adbeec6dd3f7`
21{"ok":true,"result":{"message_id":7894,"from":{"id":7507357656,"is_bot":true,"first_name":"GitPull.it Phorge bot","username":"gitpullit_phorge_bot"},"chat":{"id":-1001282771908,"title":"Libre BusTO dev community ediscion","username":"librebusto_dev","type":"supergroup"},"date":1744933707,"text":"\ud83c\udf1a New commit: Show buses on the map\nhttps://gitpull.it/R4:1a3acab947335ed26785b4b7e17c884a0425fa10\n\nTry this fresh test APK:\nDownload maplibre-libre-busto.apk\n\nAPK fingerprint sha256:\n78cf0af867cf327199ab23b241df06421318a5043e13b912d1d8adbeec6dd3f7","entities":[{"offset":15,"length":21,"type":"bold"},{"offset":37,"length":62,"type":"url"},{"offset":126,"length":33,"type":"text_link","url":"https://lab.reyboz.it/builds/libre-busto/maplibre-libre-busto.apk"},{"offset":185,"length":64,"type":"code"}],"link_preview_options":{"url":"https://gitpull.it/R4:1a3acab947335ed26785b4b7e17c884a0425fa10"}}}Cleaning
22Done
23

Drydock: Run Command APK sign

When
Completed at Apr 18 2025, 01:48 · Built for 3 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 4320 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

125923602824 res/xR.9.png (OK)
126023603060 res/xa.9.png (OK)
126123603321 res/xa.xml (OK - compressed)
126223603883 res/xd.xml (OK - compressed)
126323604595 res/xj.xml (OK - compressed)
126423604887 res/xo.xml (OK - compressed)
126523605174 res/xq.xml (OK - compressed)
126623605561 res/xz.xml (OK - compressed)
126723606751 res/y-.xml (OK - compressed)
126823607020 res/y3.png (OK)
126923614722 res/y4.xml (OK - compressed)
127023614978 res/y9.xml (OK - compressed)
127123615247 res/yE.xml (OK - compressed)
127223615504 res/yH.9.png (OK)
127323615728 res/yO.xml (OK - compressed)
127423615978 res/yT.xml (OK - compressed)
127523616297 res/yV.xml (OK - compressed)
127623616640 res/yY.9.png (OK)
127723616866 res/yY.xml (OK - compressed)
127823617152 res/ya.xml (OK - compressed)
127923617512 res/yd.png (OK)
128023629448 res/ye.png (OK)
128123630644 res/yg.9.png (OK)
128223631079 res/yj.xml (OK - compressed)
128323631476 res/yn.png (OK)
128423633960 res/z-.9.png (OK)
128523634224 res/z9.9.png (OK)
128623634684 res/zE.png (OK)
128723635048 res/zG.xml (OK - compressed)
128823635368 res/zL.png (OK)
128923635616 res/zP.png (OK)
129023653576 res/zR.png (OK)
129123656377 res/zR.xml (OK - compressed)
129223656868 res/zV.9.png (OK)
129323659372 res/zZ.png (OK)
129423666067 res/zc.xml (OK - compressed)
129523666516 res/ze.png (OK)
129623674871 res/zp.xml (OK - compressed)
129723675129 res/zq.xml (OK - compressed)
129823675440 res/zr.png (OK)
129923678259 res/zs.xml (OK - compressed)
130023678531 res/zu.xml (OK - compressed)
130123679561 res/zv.xml (OK - compressed)
130223680840 res/zz.png (OK)
130323681764 res/zz.xml (OK - compressed)
130423681956 resources.arsc (OK)
1305Verification succesful
1306Signing APK
1307Sign concluded with exit status 0
1308

Drydock: Assemble debug APK

When
Completed at Apr 18 2025, 01:48 · Built for 3 m, 10 s
Status
Passed
Description

This step will build an .apk using Gradle using this fantastic Docker image:

https://gitlab.com/fabmazz/android-fdroid-build-container/-/tree/ubuntu

The mentioned script is just a wrapper doing this:

/home/phabricator-android-builder/bin/docker_launch_build_fabio_asd.sh
#!/bin/bash
set -euo pipefail

if [ -z "$1" ]; then
    echo "Uso: $0 <cartella-sorgente>"
    exit 1
fi

SOURCE_DIR="$(realpath "$1")"
#CONTAINER_NAME="${CONTAINER_NAME:-fabmazza/android-build-fdroid:ubuntu}"
CONTAINER_NAME="${CONTAINER_NAME:-fdroid-asder}"

# Eat the first argument.
# So we pass all the other shit to gradle.
shift

if [ ! -d "$SOURCE_DIR" ]; then
    echo "Errore: '$SOURCE_DIR' non è una cartella valida"
    exit 1
fi

if [[ "$UID" = 0 ]]; then
        echo "Do not run as root."
        exit 2
fi

GID=$(id -g)

echo "[INFO] User info: $(id)"
echo "[INFO] UID=$UID"
echo "[INFO] GID=$GID"
echo "[INFO] CONTAINER_NAME=$CONTAINER_NAME"
echo "[INFO] SOURCE_DIR=$SOURCE_DIR"

## From this point, say what we are doing.
set -x

docker run \
  -e DESIRED_UID="$UID" \
  -e DESIRED_GID="$GID" \
  --rm \
  -v "$SOURCE_DIR":/home/vagrant/appbuild:Z \
   "$CONTAINER_NAME" \
  launch_build_local $@

Build Log 4317 (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 4316 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

128w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:640:21 Unnecessary non-null assertion (!!) on a non-null receiver of type MapView
129w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:647:12 Unnecessary non-null assertion (!!) on a non-null receiver of type MapView
130w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:674:63 Parameter 'mapView' is never used, could be renamed to _
131w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapFragmentKt.kt:686:20 Unnecessary non-null assertion (!!) on a non-null receiver of type MapView
132w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:334:25 Variable 'name' is never used
133w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:701:29 'requestSingleUpdate(String, LocationListener, Looper?): Unit' is deprecated. Deprecated in Java
134w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:830:42 Parameter 'view' is never used
135w: 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 _
136w: 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 _
137w: 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 _
138w: 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
139w: 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
140w: 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
141w: 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
142w: 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
143w: 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
144w: 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
145w: 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
146w: 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
147w: 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>?
148w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:71:51 No cast needed
149w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:73:49 No cast needed
150w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:75:46 No cast needed
151w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:77:48 No cast needed
152w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:79:48 No cast needed
153w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:81:42 No cast needed
154w: 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?>
155w: file:///var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:272:29 Parameter 'req' is never used, could be renamed to _
156
157> Task :app:compileGitpullJavaWithJavac
158
159> Task :app:generateGitpullLintVitalReportModel
160> Task :app:dexBuilderGitpull
161> Task :app:mergeGitpullGlobalSynthetics
162> Task :app:processGitpullJavaRes
163> Task :app:mergeGitpullJavaResource
164> Task :app:mergeDexGitpull
165> Task :app:compileGitpullArtProfile
166> Task :app:lintVitalAnalyzeGitpull
167> Task :app:packageGitpull
168> Task :app:createGitpullApkListingFileRedirect
169> Task :app:lintVitalReportGitpull
170
171> Task :app:lintVitalGitpull
172
173> Task :app:assembleGitpull
174
175BUILD SUCCESSFUL in 3m 9s
17650 actionable tasks: 49 executed, 1 up-to-date
177

Drydock: Clean Gradle

When
Completed at Apr 18 2025, 01:45 · Built for 21 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 4314 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 8.7 via distributionUrl
2Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean
3Starting a Gradle Daemon (subsequent builds will be faster)
4
5> Configure project :app
6WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
7The current default is 'false'.
8It will be removed in version 9.0 of the Android Gradle plugin.
9You can resolve this warning in Android Studio via `Refactor` > `Migrate BuildConfig to Gradle Build Files`
10
11> Task :app:clean
12
13BUILD SUCCESSFUL in 20s
141 actionable task: 1 executed
15

Lease BusTO Working Copy

When
Completed at Apr 18 2025, 01:44 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Apr 18 2025, 01:44 · Built instantly
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline