[Qa-jenkins-scm] Build failed in Jenkins: reproducible_setup_fdroid_build_environment #373

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Sep 1 17:48:44 BST 2022


See <https://jenkins.debian.net/job/reproducible_setup_fdroid_build_environment/373/display/redirect>

Changes:


------------------------------------------
[...truncated 649.95 KB...]
2022-09-01 16:48:09,225 INFO: ...getting exit status
2022-09-01 16:48:09,225 DEBUG: virtualbox is the sole installed and supported vagrant provider, selecting 'virtualbox'
2022-09-01 16:48:09,226 DEBUG: vm uuid: 23e0e472-b040-4715-9deb-884153e65a46
2022-09-01 16:48:09,226 INFO: destroying buildserver after build
2022-09-01 16:48:09,226 INFO: destroying vm 'builder_default'
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...
2022-09-01 16:48:29,130 DEBUG: vagrant destroy completed
2022-09-01 16:48:29,131 DEBUG: deleted vagrant dir: /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroiddata/builder/.vagrant
2022-09-01 16:48:29,132 DEBUG: vagrant global-status --prune
id       name    provider   state    directory                                                                                         
---------------------------------------------------------------------------------------------------------------------------------------
5af02d5  default virtualbox poweroff /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver 
 
The above shows information about all known Vagrant environments
on this machine. This data is cached and may not be completely
up-to-date (use "vagrant global-status --prune" to prune invalid
entries). To interact with any of the machines, you can go to that
directory and run Vagrant, or you can use the ID directly with
Vagrant commands from any directory. For example:
"vagrant destroy 1a2b3c4d"
2022-09-01 16:48:30,582 DEBUG: skip deploying full build logs: not enabled in config
Thu 01 Sep 2022 04:48:30 PM UTC - cleanup in progress...
root         870  0.0  0.0      0     0 ?        I<   Aug25   0:00 [iprt-VBoxWQueue]
root         874  0.0  0.0      0     0 ?        S    Aug25   0:00 [iprt-VBoxTscThr]
jenkins  1345528  0.5  0.0  66720 13960 ?        S    16:35   0:04 /usr/lib/virtualbox/VBoxXPCOMIPCD
jenkins  1345534 46.5  0.0 751208 27712 ?        Sl   16:35   5:57 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
jenkins  1347363  0.0  0.0   6248   652 ?        S    16:48   0:00 grep -e VBox -e qemu
total 2.4G
-rwxr-xr-x 1 root root 1.3G Feb  1  2019 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.1.img
-rwxr-xr-x 1 root root 1.2G Jan 19  2019 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.img
2022-09-01 16:48:30,584 ERROR: Could not build app org.fdroid.fdroid: Build.py failed on server for org.fdroid.fdroid:1.15.2
==== detail begin ====
== Installed Android Tools ==

* build-tools/debian (29.0.3)
* platform-tools (28.0.2)
* tools (25.0.0)
2022-09-01 16:47:04,963 DEBUG: Reading 'config.yml'
2022-09-01 16:47:04,985 DEBUG: Local Android SDK only has outdated apksigner versions
2022-09-01 16:47:04,985 WARNING: apksigner not found! Cannot sign or verify modern APKs
2022-09-01 16:47:04,994 INFO: Creating log directory
2022-09-01 16:47:04,994 INFO: Creating temporary directory
2022-09-01 16:47:04,997 INFO: Creating output directory
2022-09-01 16:47:05,047 DEBUG: Getting git vcs interface for https://gitlab.com/fdroid/fdroidclient.git
2022-09-01 16:47:05,048 DEBUG: > git --version
git version 2.11.0
2022-09-01 16:47:05,318 INFO: Using git version 2.11.0
2022-09-01 16:47:05,319 DEBUG: Checking 1.15.2
2022-09-01 16:47:05,320 INFO: Building version 1.15.2 (1015052) of org.fdroid.fdroid
2022-09-01 16:47:05,322 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2022-09-01 16:47:05,572 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 65038 files and directories currently installed.)
Removing sudo (1.8.19p1-2.1+deb9u3) ...
Purging configuration files for sudo (1.8.19p1-2.1+deb9u3) ...
Processing triggers for systemd (232-25+deb9u14) ...
2022-09-01 16:47:12,951 INFO: Getting source for revision 1.15.2
2022-09-01 16:47:12,952 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:12,952 DEBUG: > git rev-parse --show-toplevel
2022-09-01 16:47:13,161 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:13,162 DEBUG: > git submodule foreach --recursive git reset --hard
2022-09-01 16:47:13,272 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:13,273 DEBUG: > git reset --hard
2022-09-01 16:47:13,797 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:13,798 DEBUG: > git submodule foreach --recursive git clean -dffx
2022-09-01 16:47:13,908 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:13,909 DEBUG: > git clean -dffx
2022-09-01 16:47:14,019 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:14,020 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 fetch origin
2022-09-01 16:47:14,750 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:14,751 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 remote prune origin
2022-09-01 16:47:15,265 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:15,266 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 fetch --prune --tags --force origin
2022-09-01 16:47:15,924 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:15,925 DEBUG: > git remote set-head origin --auto
2022-09-01 16:47:16,501 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:16,502 DEBUG: > git checkout -f 1.15.2
2022-09-01 16:47:16,950 DEBUG: Directory: build/org.fdroid.fdroid
2022-09-01 16:47:16,951 DEBUG: > git clean -dffx
2022-09-01 16:47:17,060 INFO: Creating local.properties file at build/org.fdroid.fdroid/local.properties
2022-09-01 16:47:17,066 INFO: Creating local.properties file at build/org.fdroid.fdroid/app/local.properties
2022-09-01 16:47:17,068 DEBUG: Removing debuggable flags from build/org.fdroid.fdroid/app
2022-09-01 16:47:17,148 INFO: Cleaning Gradle project...
2022-09-01 16:47:17,149 DEBUG: Directory: build/org.fdroid.fdroid/app
2022-09-01 16:47:17,149 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 6.9.2 via distributionUrl
Downloading missing gradle version 6.9.2
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-6.9.2-bin.zip: OK
Running /opt/gradle/versions/6.9.2/bin/gradle clean

Welcome to Gradle 6.9.2!

Here are the highlights of this release:
 - This is a small backport release.
 - Java 16 can be used to compile when used with Java toolchains
 - Dynamic versions can be used within plugin declarations
 - Native support for Apple Silicon processors

For more details see https://docs.gradle.org/6.9.2/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.9.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Dependency verification is an incubating feature.

> Configure project :app
buildTypes.debug defaultConfig.versionCode 1015052

The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=c87c4882-af58-41f0-96af-1107e7770dc9, currentDir=/home/vagrant/build/org.fdroid.fdroid/app}
Attempting to read last messages from the daemon log...
Daemon pid: 801
  log file: /home/vagrant/.gradle/daemon/6.9.2/daemon-801.out.log
----- Last  20 lines from daemon log file - daemon-801.out.log -----
2022-09-01T16:47:27.694+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2022-09-01T16:47:27.696+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer
2022-09-01T16:47:27.697+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
2022-09-01T16:47:27.700+0000 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=c87c4882-af58-41f0-96af-1107e7770dc9, currentDir=/home/vagrant/build/org.fdroid.fdroid/app}. Dispatching build started information...
2022-09-01T16:47:27.701+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 18: dispatching org.gradle.launcher.daemon.protocol.BuildStarted at 3b7f27f1
2022-09-01T16:47:27.709+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: [PATH, CACHEDIR, JAVA8_HOME, TERM, LANG, ANDROID_HOME, GRADLE_VERSION_DIR, fdroidserver, NDK, MAIL, LOGNAME, PWD, home_vagrant, _, ANDROID_SDK, SHELL, ANDROID_NDK_HOME, SSH_TTY, SSH_CLIENT, OLDPWD, ANDROID_SDK_ROOT, USER, ANDROID_NDK, SSH_CONNECTION, DEBIAN_FRONTEND, HOME, SHLVL]
2022-09-01T16:47:27.711+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: received class org.gradle.launcher.daemon.protocol.CloseInput
2022-09-01T16:47:27.713+0000 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 16: Received IO message from client: org.gradle.launcher.daemon.protocol.CloseInput at 3cb77005
2022-09-01T16:47:27.728+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection.
2022-09-01T16:47:27.729+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 801). The daemon log file: /home/vagrant/.gradle/daemon/6.9.2/daemon-801.out.log
2022-09-01T16:47:27.733+0000 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] Closing daemon's stdin at end of input.
2022-09-01T16:47:27.734+0000 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] The daemon will no longer process any standard input.
2022-09-01T16:47:27.736+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon] Requesting daemon stop after processing Build{id=c87c4882-af58-41f0-96af-1107e7770dc9, currentDir=/home/vagrant/build/org.fdroid.fdroid/app}
2022-09-01T16:47:27.737+0000 [LIFECYCLE] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon will be stopped at the end of the build 
2022-09-01T16:47:27.738+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Stop as soon as idle requested. The daemon is busy: true
2022-09-01T16:47:27.739+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon stop has been requested. Sleeping until state changes.
2022-09-01T16:47:27.752+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
2022-09-01T16:47:27.754+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=ade4395f-94bd-45bc-880f-1160b4a11497,javaHome=/usr/lib/jvm/java-8-openjdk-amd64,daemonRegistryDir=/home/vagrant/.gradle/daemon,pid=801,idleTimeout=120000,priority=NORMAL,daemonOpts=-XX:MaxPermSize=2g,-Xms1g,-Xmx2g,-Dfile.encoding=UTF-8,-Duser.country=GB,-Duser.language=en,-Duser.variant]
Dependency verification is an incubating feature.
buildTypes.debug defaultConfig.versionCode 1015052
----- End of the daemon log -----

JVM crash log found: file:///home/vagrant/build/org.fdroid.fdroid/app/hs_err_pid801.log

FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
2022-09-01 16:48:07,462 ERROR: Could not build app org.fdroid.fdroid: Error cleaning org.fdroid.fdroid:1.15.2
==== detail begin ====
Found 6.9.2 via distributionUrl
Downloading missing gradle version 6.9.2
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-6.9.2-bin.zip: OK
Running /opt/gradle/versions/6.9.2/bin/gradle clean

Welcome to Gradle 6.9.2!

Here are the highlights of this release:
 - This is a small backport release.
 - Java 16 can be used to compile when used with Java toolchains
 - Dynamic versions can be used within plugin declarations
 - Native support for Apple Silicon processors

For more details see https://docs.gradle.org/6.9.2/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.9.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
Dependency verification is an incubating feature.

> Configure project :app
buildTypes.debug defaultConfig.versionCode 1015052

The message received from the daemon indicates that the daemon has disappeared.
Build request sent: Build{id=c87c4882-af58-41f0-96af-1107e7770dc9, currentDir=/home/vagrant/build/org.fdroid.fdroid/app}
Attempting to read last messages from the daemon log...
Daemon pid: 801
  log file: /home/vagrant/.gradle/daemon/6.9.2/daemon-801.out.log
----- Last  20 lines from daemon log file - daemon-801.out.log -----
2022-09-01T16:47:27.694+0000 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2022-09-01T16:47:27.696+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] resetting idle timer
2022-09-01T16:47:27.697+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon is running. Sleeping until state changes.
2022-09-01T16:47:27.700+0000 [INFO] [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy] Daemon is about to start building Build{id=c87c4882-af58-41f0-96af-1107e7770dc9, currentDir=/home/vagrant/build/org.fdroid.fdroid/app}. Dispatching build started information...
2022-09-01T16:47:27.701+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 18: dispatching org.gradle.launcher.daemon.protocol.BuildStarted at 3b7f27f1
2022-09-01T16:47:27.709+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment] Configuring env variables: [PATH, CACHEDIR, JAVA8_HOME, TERM, LANG, ANDROID_HOME, GRADLE_VERSION_DIR, fdroidserver, NDK, MAIL, LOGNAME, PWD, home_vagrant, _, ANDROID_SDK, SHELL, ANDROID_NDK_HOME, SSH_TTY, SSH_CLIENT, OLDPWD, ANDROID_SDK_ROOT, USER, ANDROID_NDK, SSH_CONNECTION, DEBIAN_FRONTEND, HOME, SHLVL]
2022-09-01T16:47:27.711+0000 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 16: received class org.gradle.launcher.daemon.protocol.CloseInput
2022-09-01T16:47:27.713+0000 [DEBUG] [org.gradle.launcher.daemon.server.DefaultDaemonConnection] thread 16: Received IO message from client: org.gradle.launcher.daemon.protocol.CloseInput at 3cb77005
2022-09-01T16:47:27.728+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.LogToClient] About to start relaying all logs to the client via the connection.
2022-09-01T16:47:27.729+0000 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 801). The daemon log file: /home/vagrant/.gradle/daemon/6.9.2/daemon-801.out.log
2022-09-01T16:47:27.733+0000 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] Closing daemon's stdin at end of input.
2022-09-01T16:47:27.734+0000 [INFO] [org.gradle.launcher.daemon.server.exec.ForwardClientInput] The daemon will no longer process any standard input.
2022-09-01T16:47:27.736+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon] Requesting daemon stop after processing Build{id=c87c4882-af58-41f0-96af-1107e7770dc9, currentDir=/home/vagrant/build/org.fdroid.fdroid/app}
2022-09-01T16:47:27.737+0000 [LIFECYCLE] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Daemon will be stopped at the end of the build 
2022-09-01T16:47:27.738+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] Stop as soon as idle requested. The daemon is busy: true
2022-09-01T16:47:27.739+0000 [DEBUG] [org.gradle.launcher.daemon.server.DaemonStateCoordinator] daemon stop has been requested. Sleeping until state changes.
2022-09-01T16:47:27.752+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
2022-09-01T16:47:27.754+0000 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=ade4395f-94bd-45bc-880f-1160b4a11497,javaHome=/usr/lib/jvm/java-8-openjdk-amd64,daemonRegistryDir=/home/vagrant/.gradle/daemon,pid=801,idleTimeout=120000,priority=NORMAL,daemonOpts=-XX:MaxPermSize=2g,-Xms1g,-Xmx2g,-Dfile.encoding=UTF-8,-Duser.country=GB,-Duser.language=en,-Duser.variant]
Dependency verification is an incubating feature.
buildTypes.debug defaultConfig.versionCode 1015052
----- End of the daemon log -----

JVM crash log found: file:///home/vagrant/build/org.fdroid.fdroid/app/hs_err_pid801.log

FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
==== detail end ====
2022-09-01 16:48:07,463 DEBUG: Error encoutered, stopping by user request.
==== detail end ====
2022-09-01 16:48:30,584 DEBUG: Error encoutered, stopping by user request.
+ cleanup_all
+ set +e
++ date -u
+ echo 'Thu 01 Sep 2022 04:48:30 PM UTC - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
+ ls -hl /var/lib/libvirt/images
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver
+ vagrant halt
+ sleep 5
+ killall VBoxHeadless
VBoxHeadless: no process found
+ sleep 5
+ killall -9 VBoxHeadless
VBoxHeadless: no process found
++ date -u
Thu 01 Sep 2022 04:48:44 PM UTC - cleanup done.
+ echo 'Thu 01 Sep 2022 04:48:44 PM UTC - cleanup done.'
+ cleanup_all
+ set +e
++ date -u
Thu 01 Sep 2022 04:48:44 PM UTC - cleanup in progress...
+ echo 'Thu 01 Sep 2022 04:48:44 PM UTC - cleanup in progress...'
+ killall adb
adb: no process found
+ killall gpg-agent
Thu 01 Sep 2022 04:48:44 PM UTC - cleanup done.
Thu 01 Sep 2022 04:48:44 PM UTC - reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-C102gYls, removing.
++ date -u
+ echo 'Thu 01 Sep 2022 04:48:44 PM UTC - cleanup done.'

SSH EXIT CODE: 1
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list