Page MenuHomeGitPull.it

Build 603
PassedPublic

Properties

Drydock: Publish Builded APK

When
Completed at Jun 26 2023, 01:28 · Built for 1 s
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 2636 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1Current directory:
2 /var/drydock/workingcopy-112/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 7299744 Jun 26 01:28 ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk
7Cleaning old builds
8Update checksums
9Published here:
10https://lab.reyboz.it/builds/libre-busto/D122-libre-busto.apk
11Adding bipbop Comment to D122
12Cleaning
13Done
14

Drydock: Run Command APK sign

When
Completed at Jun 26 2023, 01:28 · Built for 2 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 2634 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1038 5994598 res/sh.xml (OK - compressed)
1039 5995372 res/si.xml (OK - compressed)
1040 5995648 res/st.9.png (OK)
1041 5996136 res/su.png (OK)
1042 5996973 res/t0.xml (OK - compressed)
1043 5997447 res/t7.xml (OK - compressed)
1044 5997954 res/t9.xml (OK - compressed)
1045 5998312 res/tM.9.png (OK)
1046 5998564 res/tQ.xml (OK - compressed)
1047 5998816 res/tW.xml (OK - compressed)
1048 5999624 res/tb.xml (OK - compressed)
1049 5999932 res/tf.png (OK)
1050 6004188 res/tj.9.png (OK)
1051 6006736 res/tr.9.png (OK)
1052 6007028 res/tv.xml (OK - compressed)
1053 6007444 res/u-.png (OK)
1054 6009372 res/u3.png (OK)
1055 6011242 res/u3.xml (OK - compressed)
1056 6011736 res/u6.xml (OK - compressed)
1057 6012004 res/u9.png (OK)
1058 6014588 res/uB.9.png (OK)
1059 6015594 res/uF.xml (OK - compressed)
1060 6015860 res/uP.9.png (OK)
1061 6016856 res/uP.xml (OK - compressed)
1062 6017222 res/ue.xml (OK - compressed)
1063 6017541 res/ug.xml (OK - compressed)
1064 6017768 res/uo.xml (OK - compressed)
1065 6018128 res/uu.png (OK)
1066 6018488 res/v2.png (OK)
1067 6044243 res/v2.xml (OK - compressed)
1068 6044664 res/v6.9.png (OK)
1069 6044898 res/v8.xml (OK - compressed)
1070 6045165 res/vD.xml (OK - compressed)
1071 6045769 res/vH.xml (OK - compressed)
1072 6046405 res/vM.xml (OK - compressed)
1073 6047012 res/vO.xml (OK - compressed)
1074 6047470 res/vP.xml (OK - compressed)
1075 6047920 res/vX.png (OK)
1076 6050992 res/va.png (OK)
1077 6051354 res/va.xml (OK - compressed)
1078 6051802 res/vc.xml (OK - compressed)
1079 6052252 res/vd.png (OK)
1080 6052559 res/vl.xml (OK - compressed)
1081 6052924 res/vn.png (OK)
1082 6056266 res/vp.xml (OK - compressed)
1083 6056522 res/vt.xml (OK - compressed)
1084 6056924 res/vy.9.png (OK)
1085 6057190 res/vz.xml (OK - compressed)
1086 6057668 res/w0.png (OK)
1087 6060363 res/wA.xml (OK - compressed)
1088 6060600 res/wF.png (OK)
1089 6063706 res/wG.xml (OK - compressed)
1090 6064076 res/wK.9.png (OK)
1091 6064328 res/wL.9.png (OK)
1092 6064560 res/wN.png (OK)
1093 6064824 res/wT.png (OK)
1094 6065132 res/wW.png (OK)
1095 6065331 res/wW.xml (OK - compressed)
1096 6065657 res/wY.xml (OK - compressed)
1097 6066024 res/wi.9.png (OK)
1098 6067796 res/wi.png (OK)
1099 6067972 res/wi1.9.png (OK)
1100 6069255 res/wn.xml (OK - compressed)
1101 6069705 res/wo.xml (OK - compressed)
1102 6070079 res/wz.xml (OK - compressed)
1103 6070504 res/x1.xml (OK - compressed)
1104 6070788 res/x5.9.png (OK)
1105 6071176 res/xB.png (OK)
1106 6072472 res/xC.png (OK)
1107 6072628 res/xH.png (OK)
1108 6088992 res/xM.png (OK)
1109 6092859 res/xT.xml (OK - compressed)
1110 6093436 res/xp.png (OK)
1111 6100131 res/xs.xml (OK - compressed)
1112 6100560 res/xy.xml (OK - compressed)
1113 6101110 res/y9.xml (OK - compressed)
1114 6101485 res/yC.xml (OK - compressed)
1115 6102464 res/yO.9.png (OK)
1116 6102725 res/yP.xml (OK - compressed)
1117 6103316 res/yR.xml (OK - compressed)
1118 6104316 res/yX.png (OK)
1119 6108666 res/ya.xml (OK - compressed)
1120 6109641 res/yf.xml (OK - compressed)
1121 6109976 res/yw.png (OK)
1122 6111780 res/yx.xml (OK - compressed)
1123 6112246 res/z1.xml (OK - compressed)
1124 6112485 res/z3.xml (OK - compressed)
1125 6112756 res/z6.png (OK)
1126 6113660 res/z61.png (OK)
1127 6114844 res/zH.xml (OK - compressed)
1128 6115367 res/zH1.xml (OK - compressed)
1129 6115915 res/zH2.xml (OK - compressed)
1130 6116379 res/zL.xml (OK - compressed)
1131 6116699 res/zq.xml (OK - compressed)
1132 6117124 res/zt.png (OK)
1133 6121604 resources.arsc (OK)
1134Verification succesful
1135Signing APK
1136Sign concluded with exit status 0
1137

Drydock: Assemble debug APK

When
Completed at Jun 26 2023, 01:28 · Built for 1 m, 48 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 2633 (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 2632 (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> Task :app:mergeGitpullResources
16
17> Task :app:processGitpullMainManifest
18/var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml:39:9-45:51 Warning:
19 provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:39 to replace other declarations but no other declaration present
20
21> Task :app:processGitpullManifest
22> Task :app:extractProguardFiles
23> Task :app:mergeGitpullJniLibFolders
24> Task :app:javaPreCompileGitpull
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:desugarGitpullFileDependencies
30> Task :app:checkGitpullDuplicateClasses
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:sdkGitpullDependencyData
39> Task :app:writeGitpullAppMetadata
40> Task :app:writeGitpullSigningConfigVersions
41> Task :app:processGitpullManifestForPackage
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/adapters/RouteOnlyLineAdapter.kt: (26, 33): Parameter 'showOnlyEmpty' is never used
54w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoPatternsDownloadWorker.kt: (58, 13): Variable 'notificationManager' is never used
55w: /var/drydock/workingcopy-112/repo/libre-busto/app/src/main/java/it/reyboz/bustorino/data/MatoTripsDownloadWorker.kt: (96, 13): Variable 'notificationManager' is never used
56w: /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
57w: /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 _
58w: /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 _
59
60> Task :app:compileGitpullJavaWithJavac
61
62> Task :app:dexBuilderGitpull
63> Task :app:mergeGitpullJavaResource
64> Task :app:mergeDexGitpull
65> Task :app:compileGitpullArtProfile
66> Task :app:packageGitpull
67> Task :app:createGitpullApkListingFileRedirect
68> Task :app:lintVitalAnalyzeGitpull
69
70Daemon will be stopped at the end of the build after running out of JVM memory
71
72> Task :app:lintVitalReportGitpull
73
74> Task :app:lintVitalGitpull
75
76> Task :app:assembleGitpull
77
78BUILD SUCCESSFUL in 1m 47s
7939 actionable tasks: 39 executed
80

Drydock: Clean Gradle

When
Completed at Jun 26 2023, 01:26 · Built for 15 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 2630 (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 14s
71 actionable task: 1 executed
8

Lease BusTO Working Copy

When
Completed at Jun 26 2023, 01:26 · Built for 4 s
Status
Passed

Wait for Previous Commits to Build

When
Completed at Jun 26 2023, 01:26 · Built instantly
Status
Passed

Event Timeline