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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Apr 22 03:13:51 BST 2019


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

------------------------------------------
[...truncated 565.95 KB...]
    default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
    default: ++ echo /vagrant/cache/gradle-5.1-bin.zip
    default: + ver=5.1
    default: + vergte 5.1 2.2.1
    default: + sort -C -V -r
    default: + printf '%s\n%s' 5.1 2.2.1
    default: + '[' '!' -d /opt/gradle/versions/5.1 ']'
    default: + unzip -qq /vagrant/cache/gradle-5.1-bin.zip
    default: + mv gradle-5.1 /opt/gradle/versions/5.1
    default: + for f in /vagrant/cache/gradle-*.zip
    default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
    default: ++ echo /vagrant/cache/gradle-5.2.1-bin.zip
    default: + ver=5.2.1
    default: + vergte 5.2.1 2.2.1
    default: + sort -C -V -r
    default: + printf '%s\n%s' 5.2.1 2.2.1
    default: + '[' '!' -d /opt/gradle/versions/5.2.1 ']'
    default: + unzip -qq /vagrant/cache/gradle-5.2.1-bin.zip
    default: + mv gradle-5.2.1 /opt/gradle/versions/5.2.1
    default: + for f in /vagrant/cache/gradle-*.zip
INFO: Writing buildserver ID ...ID is 9045e2854a7cb8dd7892defcfdb4fa97ba4898ce
INFO: Stopping build server VM
INFO: Packaging
==> default: Clearing any previously set forwarded ports...
==> default: Exporting VM...
==> default: Compressing package to: /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver.box
INFO: Adding box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'buildserver' (v0) for provider: 
    box: Unpacking necessary files from: file:///var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver.box
    box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    box: Progress: 3% (Rate: 892M/s, Estimated time remaining: 0:00:17)    box: Progress: 9% (Rate: 885M/s, Estimated time remaining: 0:00:16)    box: Progress: 15% (Rate: 884M/s, Estimated time remaining: 0:00:15)    box: Progress: 20% (Rate: 881M/s, Estimated time remaining: 0:00:14)    box: Progress: 26% (Rate: 883M/s, Estimated time remaining: 0:00:13)    box: Progress: 32% (Rate: 886M/s, Estimated time remaining: 0:00:12)    box: Progress: 37% (Rate: 888M/s, Estimated time remaining: 0:00:11)    box: Progress: 43% (Rate: 890M/s, Estimated time remaining: 0:00:10)    box: Progress: 49% (Rate: 893M/s, Estimated time remaining: 0:00:09)    box: Progress: 55% (Rate: 894M/s, Estimated time remaining: 0:00:08)    box: Progress: 60% (Rate: 893M/s, Estimated time remaining: 0:00:07)    box: Progress: 66% (Rate: 891M/s, Estimated time remaining: 0:00:06)    box: Progress: 72% (Rate: 889M/s, Estimated time remaining: 0:00:05)    box: Progress: 77% (Rate: 890M/s, Estimated time remaining: 0:00:04)    box: Progress: 83% (Rate: 890M/s, Estimated time remaining: 0:00:03)    box: Progress: 89% (Rate: 892M/s, Estimated time remaining: 0:00:02)    box: Progress: 90% (Rate: 727M/s, Estimated time remaining: 0:00:02)    box: Progress: 95% (Rate: 724M/s, Estimated time remaining: 0:00:01)==> box: Successfully added box 'buildserver' (v0) for 'virtualbox'!
DEBUG: box added to vagrant, removing generated box file '/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver.box'
    default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
    default: ++ echo /vagrant/cache/gradle-5.3.1-bin.zip
    default: + ver=5.3.1
    default: + vergte 5.3.1 2.2.1
    default: + sort -C -V -r
    default: + printf '%s\n%s' 5.3.1 2.2.1
    default: + '[' '!' -d /opt/gradle/versions/5.3.1 ']'
    default: + unzip -qq /vagrant/cache/gradle-5.3.1-bin.zip
    default: + mv gradle-5.3.1 /opt/gradle/versions/5.3.1
    default: + chmod -R a+rX /opt/gradle
    default: + test -e /opt/gradle/bin
    default: + mkdir -p /opt/gradle/bin
    default: + ln -fs /home/vagrant/fdroidserver/gradlew-fdroid /opt/gradle/bin/gradle
    default: + chown -h vagrant.vagrant /opt/gradle/bin/gradle
    default: + chown vagrant.vagrant /opt/gradle/versions
    default: + chmod 0755 /opt/gradle/versions
==> default: Attempting graceful shutdown of VM...
verify_host_key: false is deprecated, use :never
++ vagrant box list
++ egrep '^buildserver\s+\((libvirt|virtualbox), [0-9]+\)$'
+ '[' -z 'buildserver              (virtualbox, 0)' ']'
+ '[' -e fdroiddata ']'
+ cd fdroiddata
+ git fetch origin --tags --prune
>From https://gitlab.com/fdroid/fdroiddata
   73f3c0a703..f2cb73bbab  master     -> origin/master
+ git remote update -p
Fetching origin
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 54 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at f2cb73bbab Stats, etc
+ git clean -fdx
Removing build/.fdroidvcs-org.adaway
Removing build/.fdroidvcs-org.fdroid.fdroid
Skipping repository build/org.adaway/
Skipping repository build/org.fdroid.fdroid/
Removing builder/
Removing cache/
Removing config.py
Removing logs/
Removing tmp/
Removing unsigned/
+ cd ..
+ cd fdroiddata
+ echo 'build_server_always = True'
+ '[' -z /usr/lib/android-sdk ']'
+ ../fdroid build --verbose --stop --latest org.fdroid.fdroid
DEBUG: Reading 'config.py'
INFO: Creating log directory
INFO: Creating temporary directory
INFO: Creating output directory
DEBUG: Getting git vcs interface for https://gitlab.com/fdroid/fdroidclient.git
INFO: Repository details for build/org.fdroid.fdroid missing - deleting
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 clone -- https://gitlab.com/fdroid/fdroidclient.git build/org.fdroid.fdroid
Cloning into 'build/org.fdroid.fdroid'...
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git checkout -f HEAD
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git clean -dffx
DEBUG: Setting 7200 sec timeout for this build
DEBUG: Getting git vcs interface for https://gitlab.com/fdroid/fdroidclient.git
DEBUG: > git --version
git version 2.11.0
INFO: Using git version 2.11.0
DEBUG: Checking 1.6
INFO: Building version 1.6 (1006050) of org.fdroid.fdroid
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/org.fdroid.fdroid
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
DEBUG: Directory: build/org.fdroid.fdroid
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 origin
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git checkout -f 1.6
DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: > git clean -dffx
INFO: buildserver path does not exists, creating builder
DEBUG: virtualbox is the sole installed and supported vagrant provider, selecting 'virtualbox'
DEBUG: vm uuid is None
INFO: resetting buildserver, because vagrant vm is not okay.
INFO: destroying vm 'builder_default'
==> default: VM not created. Moving on...
DEBUG: vagrant destroy completed
DEBUG: deleted vagrant dir: /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroiddata/builder/.vagrant
DEBUG: vagrant global-status --prune
id       name    provider   state    directory                                                                                         
---------------------------------------------------------------------------------------------------------------------------------------
435c8d5  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. 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"
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'buildserver'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 60%Progress: 70%Progress: 80%Progress: 90%==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: builder_default_1555898890788_28409
==> default: Fixed port collision for 22 => 2222. Now on port 2201.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2201 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2201
    default: SSH username: vagrant
    default: SSH auth method: private key
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
DEBUG: vm uuid: 688ddd04-5175-4968-8df3-3a5d0380c517
INFO: suspending buildserver
==> default: Saving VM state and suspending execution...
INFO: buildserver recreated: taking a clean snapshot
INFO: creating snapshot 'fdroidclean' for vm 'builder_default'
DEBUG: VBoxManage snapshot 688ddd04-5175-4968-8df3-3a5d0380c517 take fdroidclean
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Snapshot taken. UUID: 4e4d9d89-147d-45ba-ab32-ca55dca6368c
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Resuming suspended VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2201
    default: SSH username: vagrant
    default: SSH auth method: private key
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
verify_host_key: false is deprecated, use :never
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
ERROR: Could not build app org.fdroid.fdroid: could not bring up vm 'builder_default'
DEBUG: Error encoutered, stopping by user request.
+ cleanup_all
+ set +e
++ date -u
Mon Apr 22 02:13:38 UTC 2019 - cleanup in progress...
+ echo 'Mon Apr 22 02:13:38 UTC 2019 - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
root       919  0.0  0.0      0     0 ?        S<   Apr18   0:00 [iprt-VBoxWQueue]
root       925  0.0  0.0      0     0 ?        S    Apr18   0:00 [iprt-VBoxTscThr]
jenkins   3551  100  0.0 1683156 135384 ?      Sl   02:08   5:05 /usr/lib/virtualbox/VBoxHeadless --comment builder_default_1555898890788_28409 --startvm 688ddd04-5175-4968-8df3-3a5d0380c517 --vrde config
jenkins   8192  0.0  0.0  12716   928 ?        S    02:13   0:00 grep -e VBox -e qemu
jenkins  11002  100  0.0 2760404 135740 ?      Sl   00:11 122:36 /usr/lib/virtualbox/VBoxHeadless --comment builder_default_1555832976806_13522 --startvm 806d26f2-51f6-4299-ac46-1b13f09cad32 --vrde config
jenkins  15698  2.3  0.0 807416 35000 ?        Sl   Apr19  72:31 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
jenkins  19708  600  0.0 1943524 136044 ?      Sl   Apr19 18681:21 /usr/lib/virtualbox/VBoxHeadless --comment builder_default_1555660226792_86780 --startvm 0460568e-2dc4-4177-9015-31bba880325a --vrde config
jenkins  26771  0.3  0.0 163016 13172 ?        S    Apr19  11:55 /usr/lib/virtualbox/VBoxXPCOMIPCD
total 2.4G
-rwxr-xr-x 1 root root 1.3G Feb  1 00:51 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.1.img
-rwxr-xr-x 1 root root 1.2G Jan 19 16:54 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.img
+ ls -hl /var/lib/libvirt/images
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver
+ vagrant halt
+ sleep 5
+ killall VBoxHeadless
+ sleep 5
+ killall -9 VBoxHeadless
VBoxHeadless: no process found
++ date -u
Mon Apr 22 02:13:50 UTC 2019 - cleanup done.
+ echo 'Mon Apr 22 02:13:50 UTC 2019 - cleanup done.'
+ cleanup_all
++ date -u
Mon Apr 22 02:13:50 UTC 2019 - cleanup in progress...
+ echo 'Mon Apr 22 02:13:50 UTC 2019 - cleanup in progress...'
+ killall adb
adb: no process found
Mon Apr 22 02:13:50 UTC 2019 - /srv/jenkins/bin/reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-dKn9bU6w, which will now be removed.

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



More information about the Qa-jenkins-scm mailing list