Page MenuHomeGitPull.it

Build 586
PassedPublic

Properties

History

Drydock: Publish Builded APK

When
Completed at Jun 15 2023, 08:35 · 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/

1 empty log is hidden Show all logs.

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

1Current directory:
2/var/drydock/workingcopy-79/repo/libre-busto
3Published here:
4https://lab.reyboz.it/builds/libre-busto/D119-libre-busto.apk
5

Drydock: Run Command

When
Completed at Jun 15 2023, 08:35 · 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 2522 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1113 6096454 res/y9.xml (OK - compressed)
1114 6096829 res/yC.xml (OK - compressed)
1115 6097808 res/yO.9.png (OK)
1116 6098069 res/yP.xml (OK - compressed)
1117 6098660 res/yR.xml (OK - compressed)
1118 6099660 res/yX.png (OK)
1119 6104010 res/ya.xml (OK - compressed)
1120 6104986 res/yf.xml (OK - compressed)
1121 6105324 res/yw.png (OK)
1122 6107128 res/yx.xml (OK - compressed)
1123 6107594 res/z1.xml (OK - compressed)
1124 6107833 res/z3.xml (OK - compressed)
1125 6108104 res/z6.png (OK)
1126 6109008 res/z61.png (OK)
1127 6110192 res/zH.xml (OK - compressed)
1128 6110715 res/zH1.xml (OK - compressed)
1129 6111263 res/zH2.xml (OK - compressed)
1130 6111727 res/zL.xml (OK - compressed)
1131 6112047 res/zq.xml (OK - compressed)
1132 6112472 res/zt.png (OK)
1133 6116952 resources.arsc (OK)
1134Verification succesful
1135Signing APK
1136Sign concluded with exit status 0
1137

Drydock: Assemble debug APK

When
Completed at Jun 15 2023, 08:35 · Built for 1 m, 58 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 2521 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

3 <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
6 Explanation for issues of type "MockLocation":
7 Using a mock location provider (by requiring the permission
8 android.permission.ACCESS_MOCK_LOCATION) should only be done in debug
9 builds (or from tests). In Gradle projects, that means you should only
10 request this permission in a test or debug source set specific manifest
11 file.
12
13 To fix this, create a new manifest file in the debug folder and move the
14 <uses-permission> element there. A typical path to a debug manifest
15 override file in a Gradle project is src/debug/AndroidManifest.xml.
16
17/var/drydock/workingcopy-79/repo/libre-busto/app/src/main/res/layout/fragment_arrivals.xml:117: Error: @id/noArrivalsRecyclerView is not a sibling in the same ConstraintLayout [NotSibling]
18 app:layout_constraintTop_toBottomOf="@id/noArrivalsRecyclerView"
19 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
21 Explanation for issues of type "NotSibling":
22 Layout constraints in a given ConstraintLayout or RelativeLayout should
23 reference other views within the same relative layout (but not itself!)
24
252 errors, 0 warnings
26
27

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

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

Drydock: Clean Gradle

When
Completed at Jun 15 2023, 08:33 · Built for 17 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 2518 (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 Jun 15 2023, 08:33 · Built for 4 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Jun 15 2023, 08:32 · Built instantly
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.