Page MenuHomeGitPull.it

Build 583
PassedPublic

You are viewing an older run of this build. View Current Build

Properties

Drydock: Publish Builded APK

When
Completed at Jun 6 2023, 12:34 · Built instantly
Status
Failed
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 2463 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1sha256sum: ./app/build/outputs/apk/gitpull/app-gitpull-signed.apk: No such file or directory
2

Drydock: Run Command

When
Completed at Jun 6 2023, 12:34 · Built instantly
Status
Failed
This build step has since been deleted on the build plan. Some information may be omitted.

Build Log 2461 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1Failed to load signer "signer #1"
2java.io.FileNotFoundException: ~/private-resources/gitpullkeystore-libre-busto.jks (No such file or directory)
3 at java.base/java.io.FileInputStream.open0(Native Method)
4 at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
5 at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
6 at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
7 at com.android.apksigner.SignerParams.loadKeyStoreFromFile(SignerParams.java:361)
8 at com.android.apksigner.SignerParams.loadPrivateKeyAndCertsFromKeyStore(SignerParams.java:248)
9 at com.android.apksigner.SignerParams.loadPrivateKeyAndCerts(SignerParams.java:181)
10 at com.android.apksigner.ApkSignerTool.getSignerConfig(ApkSignerTool.java:419)
11 at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:336)
12 at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:92)
13

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

1Entering in app/build/outputs/apk/gitpull
2Signing APK
3

Drydock: Assemble debug APK

When
Completed at Jun 6 2023, 12:34 · Built for 2 m, 25 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 2459 (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 2458 (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 23s
7639 actionable tasks: 38 executed, 1 up-to-date
77

Drydock: Run Gradle Lint Command

When
Completed at Jun 6 2023, 12:32 · Built for 2 m, 46 s
Status
Passed
This build step has since been deleted on the build plan. Some information may be omitted.

Build Log 2457 (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

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

30> Task :app:kaptDebugKotlin
31/var/drydock/workingcopy-79/repo/libre-busto/app/build/tmp/kapt3/stubs/debug/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
32 private it.reyboz.bustorino.data.gtfs.GtfsFeed feed;
33 ^
34
35> Task :app:compileDebugKotlin
36w: /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
37w: /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 _
38w: /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 _
39
40> Task :app:compileDebugJavaWithJavac
41
42> Task :app:bundleDebugClassesToCompileJar
43> Task :app:lintAnalyzeDebug
44
45> Task :app:lintReportDebug
46Wrote HTML report to file:///var/drydock/workingcopy-79/repo/libre-busto/app/build/reports/lint-results-debug.html
47
48> Task :app:lintDebug
49> Task :app:lint
50
51BUILD SUCCESSFUL in 2m 44s
5223 actionable tasks: 23 executed
53Daemon will be stopped at the end of the build after running out of JVM memory
54

Drydock: Clean Gradle

When
Completed at Jun 6 2023, 12:29 · 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 2454 (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, 12:29 · Built for 5 s
Status
Passed

Wait for Previous Commits to Build

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