Page MenuHomeGitPull.it

Build 584
PassedPublic

Drydock: Publish Builded APK

When
Completed at Jun 6 2023, 13:47 · Built instantly
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 2508 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Published here:
2https://lab.reyboz.it/builds/libre-busto/HEAD-libre-busto.apk
3

Drydock: Run Command

When
Completed at Jun 6 2023, 13:47 · Built for 3 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 2506 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1035 5984943 res/sh.xml (OK - compressed)
1036 5985717 res/si.xml (OK - compressed)
1037 5985996 res/st.9.png (OK)
1038 5986484 res/su.png (OK)
1039 5987321 res/t0.xml (OK - compressed)
1040 5987795 res/t7.xml (OK - compressed)
1041 5988302 res/t9.xml (OK - compressed)
1042 5988664 res/tM.9.png (OK)
1043 5988916 res/tQ.xml (OK - compressed)
1044 5989168 res/tW.xml (OK - compressed)
1045 5989976 res/tb.xml (OK - compressed)
1046 5990284 res/tf.png (OK)
1047 5994540 res/tj.9.png (OK)
1048 5997088 res/tr.9.png (OK)
1049 5997380 res/tv.xml (OK - compressed)
1050 5997796 res/u-.png (OK)
1051 5999724 res/u3.png (OK)
1052 6001594 res/u3.xml (OK - compressed)
1053 6002088 res/u6.xml (OK - compressed)
1054 6002356 res/u9.png (OK)
1055 6004940 res/uB.9.png (OK)
1056 6005946 res/uF.xml (OK - compressed)
1057 6006212 res/uP.9.png (OK)
1058 6007208 res/uP.xml (OK - compressed)
1059 6007574 res/ue.xml (OK - compressed)
1060 6007893 res/ug.xml (OK - compressed)
1061 6008120 res/uo.xml (OK - compressed)
1062 6008480 res/uu.png (OK)
1063 6008840 res/v2.png (OK)
1064 6034595 res/v2.xml (OK - compressed)
1065 6035016 res/v6.9.png (OK)
1066 6035250 res/v8.xml (OK - compressed)
1067 6035517 res/vD.xml (OK - compressed)
1068 6036120 res/vH.xml (OK - compressed)
1069 6036756 res/vM.xml (OK - compressed)
1070 6037363 res/vO.xml (OK - compressed)
1071 6037821 res/vP.xml (OK - compressed)
1072 6038272 res/vX.png (OK)
1073 6041344 res/va.png (OK)
1074 6041706 res/va.xml (OK - compressed)
1075 6042155 res/vc.xml (OK - compressed)
1076 6042604 res/vd.png (OK)
1077 6042911 res/vl.xml (OK - compressed)
1078 6043276 res/vn.png (OK)
1079 6046618 res/vp.xml (OK - compressed)
1080 6046874 res/vt.xml (OK - compressed)
1081 6047276 res/vy.9.png (OK)
1082 6047542 res/vz.xml (OK - compressed)
1083 6048020 res/w0.png (OK)
1084 6050715 res/wA.xml (OK - compressed)
1085 6050952 res/wF.png (OK)
1086 6054058 res/wG.xml (OK - compressed)
1087 6054428 res/wK.9.png (OK)
1088 6054680 res/wL.9.png (OK)
1089 6054912 res/wN.png (OK)
1090 6055176 res/wT.png (OK)
1091 6055484 res/wW.png (OK)
1092 6055683 res/wW.xml (OK - compressed)
1093 6056009 res/wY.xml (OK - compressed)
1094 6056376 res/wi.9.png (OK)
1095 6058148 res/wi.png (OK)
1096 6058324 res/wi1.9.png (OK)
1097 6059607 res/wn.xml (OK - compressed)
1098 6060057 res/wo.xml (OK - compressed)
1099 6060431 res/wz.xml (OK - compressed)
1100 6060856 res/x1.xml (OK - compressed)
1101 6061140 res/x5.9.png (OK)
1102 6061528 res/xB.png (OK)
1103 6062824 res/xC.png (OK)
1104 6062980 res/xH.png (OK)
1105 6079344 res/xM.png (OK)
1106 6083211 res/xT.xml (OK - compressed)
1107 6083788 res/xp.png (OK)
1108 6090483 res/xs.xml (OK - compressed)
1109 6090912 res/xy.xml (OK - compressed)
1110 6091462 res/y9.xml (OK - compressed)
1111 6091838 res/yC.xml (OK - compressed)
1112 6092816 res/yO.9.png (OK)
1113 6093077 res/yP.xml (OK - compressed)
1114 6093668 res/yR.xml (OK - compressed)
1115 6094668 res/yX.png (OK)
1116 6099018 res/ya.xml (OK - compressed)
1117 6099994 res/yf.xml (OK - compressed)
1118 6100332 res/yw.png (OK)
1119 6102136 res/yx.xml (OK - compressed)
1120 6102601 res/z1.xml (OK - compressed)
1121 6102840 res/z3.xml (OK - compressed)
1122 6103108 res/z6.png (OK)
1123 6104012 res/z61.png (OK)
1124 6105196 res/zH.xml (OK - compressed)
1125 6105718 res/zH1.xml (OK - compressed)
1126 6106266 res/zH2.xml (OK - compressed)
1127 6106730 res/zL.xml (OK - compressed)
1128 6107050 res/zq.xml (OK - compressed)
1129 6107476 res/zt.png (OK)
1130 6111956 resources.arsc (OK)
1131Verification succesful
1132Signing APK
1133Sign concluded with exit status 0
1134

Drydock: Assemble debug APK

When
Completed at Jun 6 2023, 13:47 · Built for 2 m, 14 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 2505 (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 2504 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Found 7.5.1 via distributionUrl
2Running /home/phabricator-android-builder/versions/7.5.1/bin/gradle --stacktrace assembleGitpull
3> Task :app:buildKotlinToolingMetadata
4> Task :app:preBuild UP-TO-DATE
5> Task :app:preGitpullBuild UP-TO-DATE
6> Task :app:compileGitpullAidl NO-SOURCE
7> Task :app:compileGitpullRenderscript NO-SOURCE
8> Task :app:generateGitpullBuildConfig
9> Task :app:generateGitpullResValues
10> Task :app:checkGitpullAarMetadata
11> Task :app:mapGitpullSourceSetPaths
12> Task :app:generateGitpullResources
13> Task :app:createGitpullCompatibleScreenManifests
14> Task :app:extractDeepLinksGitpull
15
16> Task :app:processGitpullMainManifest
17/var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml:39:9-45:51 Warning:
18 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
19
20> Task :app:mergeGitpullResources
21> Task :app:processGitpullManifest
22> Task :app:extractProguardFiles
23> Task :app:javaPreCompileGitpull
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:checkGitpullDuplicateClasses
30> Task :app:desugarGitpullFileDependencies
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:processGitpullManifestForPackage
39> Task :app:sdkGitpullDependencyData
40> Task :app:writeGitpullAppMetadata
41> Task :app:writeGitpullSigningConfigVersions
42> Task :app:mergeGitpullArtProfile
43> Task :app:processGitpullResources
44> Task :app:optimizeGitpullResources
45> Task :app:kaptGenerateStubsGitpullKotlin
46
47> Task :app:kaptGitpullKotlin
48/var/drydock/workingcopy-112/repo/libre-busto/app/build/tmp/kapt3/stubs/gitpull/it/reyboz/bustorino/data/gtfs/GtfsAgency.java:26: 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: /var/drydock/workingcopy-112/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-112/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-112/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 13s
7639 actionable tasks: 39 executed
77

Drydock: Clean Gradle

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

Lease BusTO Working Copy

When
Completed at Jun 6 2023, 13:45 · Built for 3 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Jun 6 2023, 13:45 · Built instantly
Status
Passed

Event Timeline