Page MenuHomeGitPull.it

Build 593
PassedPublic

Drydock: Publish Builded APK

When
Completed at Jun 16 2023, 09:03 · 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/

1 empty log is hidden Show all logs.

Build Log 2588 (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 7295648 Jun 16 09:03 ./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 Jun 16 2023, 09:03 · 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 2586 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1113 6096918 res/y9.xml (OK - compressed)
1114 6097294 res/yC.xml (OK - compressed)
1115 6098276 res/yO.9.png (OK)
1116 6098537 res/yP.xml (OK - compressed)
1117 6099128 res/yR.xml (OK - compressed)
1118 6100128 res/yX.png (OK)
1119 6104478 res/ya.xml (OK - compressed)
1120 6105453 res/yf.xml (OK - compressed)
1121 6105788 res/yw.png (OK)
1122 6107592 res/yx.xml (OK - compressed)
1123 6108058 res/z1.xml (OK - compressed)
1124 6108297 res/z3.xml (OK - compressed)
1125 6108568 res/z6.png (OK)
1126 6109472 res/z61.png (OK)
1127 6110656 res/zH.xml (OK - compressed)
1128 6111179 res/zH1.xml (OK - compressed)
1129 6111727 res/zH2.xml (OK - compressed)
1130 6112191 res/zL.xml (OK - compressed)
1131 6112511 res/zq.xml (OK - compressed)
1132 6112936 res/zt.png (OK)
1133 6117416 resources.arsc (OK)
1134Verification succesful
1135Signing APK
1136Sign concluded with exit status 0
1137

Drydock: Assemble debug APK

When
Completed at Jun 16 2023, 09:03 · Built for 2 m, 27 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 2585 (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-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]
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 2584 (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 2m 27s
7639 actionable tasks: 39 executed
77

Drydock: Clean Gradle

When
Completed at Jun 16 2023, 09:01 · Built for 19 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 2582 (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, 2 stopped Daemons could not be reused, use --status for details
4> Task :app:clean
5
6BUILD SUCCESSFUL in 17s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Jun 16 2023, 09:00 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Jun 16 2023, 09:00 · Built for 5 m, 36 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Event Timeline