log for org.glpi.inventory.agent:39383
== Installed Android Tools ==
2023-09-09 10:00:45,006 DEBUG: Reading 'config.yml'
2023-09-09 10:00:45,025 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2023-09-09 10:00:45,026 INFO: Creating log directory
2023-09-09 10:00:45,026 INFO: Creating temporary directory
2023-09-09 10:00:45,026 INFO: Creating output directory
2023-09-09 10:00:45,037 DEBUG: Getting git vcs interface for https://github.com/glpi-project/android-inventory-agent.git
2023-09-09 10:00:45,038 DEBUG: Checking org.glpi.inventory.agent:39383
2023-09-09 10:00:45,038 INFO: Building version 1.3.0 (39383) of org.glpi.inventory.agent
2023-09-09 10:00:45,038 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2023-09-09 10:00:45,555 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 36748 files and directories currently installed.)
Removing sudo (1.9.5p2-3+deb11u1) ...
Purging configuration files for sudo (1.9.5p2-3+deb11u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
2023-09-09 10:00:56,699 INFO: Getting source for revision 5fcbd138168f59b68c8f1b9d3a3776206ef80e53
2023-09-09 10:00:56,700 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:56,700 DEBUG: > git rev-parse --show-toplevel
2023-09-09 10:00:56,911 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:56,912 DEBUG: > git submodule foreach --recursive git reset --hard
2023-09-09 10:00:57,123 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:57,124 DEBUG: > git reset --hard
2023-09-09 10:00:57,335 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:57,336 DEBUG: > git submodule foreach --recursive git clean -dffx
2023-09-09 10:00:57,447 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:57,447 DEBUG: > git clean -dffx
2023-09-09 10:00:57,558 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:57,559 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch origin
2023-09-09 10:00:58,372 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:58,372 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org remote prune origin
2023-09-09 10:00:58,985 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:58,985 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --tags --force origin
2023-09-09 10:00:59,598 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:00:59,599 DEBUG: > git remote set-head origin --auto
2023-09-09 10:01:00,212 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:01:00,212 DEBUG: > git checkout -f 5fcbd138168f59b68c8f1b9d3a3776206ef80e53
2023-09-09 10:01:00,423 DEBUG: Directory: build/org.glpi.inventory.agent
2023-09-09 10:01:00,424 DEBUG: > git clean -dffx
2023-09-09 10:01:00,535 INFO: Creating local.properties file at build/org.glpi.inventory.agent/local.properties
2023-09-09 10:01:00,536 INFO: Creating local.properties file at build/org.glpi.inventory.agent/app/local.properties
2023-09-09 10:01:00,537 DEBUG: Removing debuggable flags from build/org.glpi.inventory.agent/app
2023-09-09 10:01:00,545 INFO: Removing specified files
2023-09-09 10:01:00,546 INFO: Removing app/libs/inventory-release.aar
2023-09-09 10:01:00,564 INFO: Running 'prebuild' commands in build/org.glpi.inventory.agent/app
2023-09-09 10:01:00,565 DEBUG: Directory: build/org.glpi.inventory.agent/app
2023-09-09 10:01:00,565 DEBUG: > bash -e -u -o pipefail -x -c -- sed -i -e '/firebase/d' -e '/gms/d' build.gradle ../build.gradle; sed -i -e '/dependencies {/a implementation "com.github.flyve-mdm:android-inventory-library:5d28aee9bc@aar"' build.gradle; sed -i -e 's|maven.fabric.io/public|jitpack.io|' -e '/repositories {/a maven{ url "https://jitpack.io" }' ../build.gradle; sed -i -e 's/android:versionName=\"/android:versionName=\"1.3.0/' src/main/AndroidManifest.xml
/etc/bash.bashrc: line 7: PS1: unbound variable
+ sed -i -e /firebase/d -e /gms/d build.gradle ../build.gradle
+ sed -i -e '/dependencies {/a implementation "com.github.flyve-mdm:android-inventory-library:5d28aee9bc@aar"' build.gradle
+ sed -i -e 's|maven.fabric.io/public|jitpack.io|' -e '/repositories {/a maven{ url "https://jitpack.io" }' ../build.gradle
+ sed -i -e 's/android:versionName=\"/android:versionName=\"1.3.0/' src/main/AndroidManifest.xml
2023-09-09 10:01:00,777 INFO: Cleaning Gradle project...
2023-09-09 10:01:00,778 DEBUG: Directory: build/org.glpi.inventory.agent/app
2023-09-09 10:01:00,778 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 7.4 via distributionUrl
Downloading missing gradle version 7.4
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-7.4-bin.zip: OK
Running /opt/gradle/versions/7.4/bin/gradle clean
Welcome to Gradle 7.4!
Here are the highlights of this release:
- Aggregated test and JaCoCo reports
- Marking additional test source directories as tests in IntelliJ
- Support for Adoptium JDKs in Java toolchains
For more details see https://docs.gradle.org/7.4/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :app
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
> Task :app:clean UP-TO-DATE
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 58s
1 actionable task: 1 up-to-date
2023-09-09 10:02:05,275 INFO: Scanning source for common problems...
2023-09-09 10:02:05,300 DEBUG: scanner is configured to use signature data from: 'suss'
2023-09-09 10:02:05,368 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2023-09-09 10:02:05,369 INFO: Creating source tarball...
2023-09-09 10:02:05,605 INFO: Building Gradle project...
2023-09-09 10:02:05,606 DEBUG: Directory: build/org.glpi.inventory.agent/app
2023-09-09 10:02:05,606 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 7.4 via distributionUrl
Running /opt/gradle/versions/7.4/bin/gradle assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Configure project :app
WARNING:DSL element 'dexOptions' is obsolete and should be removed.
It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:generateReleaseResValues
> Task :app:checkReleaseAarMetadata
> Task :app:mapReleaseSourceSetPaths
> Task :app:generateReleaseResources
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:mergeReleaseResources
> Task :app:processReleaseMainManifest
> Task :app:processReleaseManifest
> Task :app:extractProguardFiles
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseNativeLibs NO-SOURCE
> Task :app:stripReleaseDebugSymbols NO-SOURCE
> Task :app:extractReleaseNativeSymbolTables NO-SOURCE
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:checkReleaseDuplicateClasses
> Task :app:desugarReleaseFileDependencies
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:compressReleaseAssets
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :app:mergeReleaseArtProfile
> Task :app:processReleaseManifestForPackage
> Task :app:mergeReleaseJavaResource
note: generating drawable/ic_launcher_round with config "anydpi-v26" for round icon compatibility.
> Task :app:processReleaseResources
> Task :app:compileReleaseJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/vagrant/build/org.glpi.inventory.agent/app/src/main/java/org/glpi/inventory/agent/ui/ActivityDetailServer.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :app:dexBuilderRelease
> Task :app:lintVitalAnalyzeRelease
> Task :app:mergeDexRelease
> Task :app:lintVitalReportRelease
> Task :app:lintVitalRelease
/home/vagrant/build/org.glpi.inventory.agent/app/src/main/AndroidManifest.xml:10: Error: Mock locations should only be requested in a test or debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation]
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Explanation for issues of type "MockLocation":
Using a mock location provider (by requiring the permission
android.permission.ACCESS_MOCK_LOCATION) should only be done in debug
builds (or from tests). In Gradle projects, that means you should only
request this permission in a test or debug source set specific manifest
file.
To fix this, create a new manifest file in the debug folder and move the
<uses-permission> element there. A typical path to a debug manifest
override file in a Gradle project is src/debug/AndroidManifest.xml.
1 errors, 0 warnings
> Task :app:optimizeReleaseResources
> Task :app:compileReleaseArtProfile
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:assembleRelease
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 2m 6s
35 actionable tasks: 35 executed
2023-09-09 10:04:13,369 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/org.glpi.inventory.agent, universal_newlines=False, shell=None, istream=<valid stream>)
2023-09-09 10:04:13,384 INFO: Successfully built version 1.3.0 of org.glpi.inventory.agent from 5fcbd138168f59b68c8f1b9d3a3776206ef80e53
2023-09-09 10:04:13,978 DEBUG: AXML contains a RESOURCE MAP
2023-09-09 10:04:13,978 DEBUG: Start of Namespace mapping: prefix 39: 'android' --> uri 90: 'http://schemas.android.com/apk/res/android'
2023-09-09 10:04:13,982 DEBUG: Checking build/org.glpi.inventory.agent/app/build/outputs/apk/release/app-release-unsigned.apk
2023-09-09 10:04:14,000 DEBUG: AXML contains a RESOURCE MAP
2023-09-09 10:04:14,000 DEBUG: Start of Namespace mapping: prefix 39: 'android' --> uri 90: 'http://schemas.android.com/apk/res/android'
2023-09-09 10:04:14,031 INFO: success: org.glpi.inventory.agent
2023-09-09 10:04:14,031 INFO: Finished
2023-09-09 10:04:14,031 INFO: 1 build succeeded