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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Jan 14 00:45:51 GMT 2019


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

------------------------------------------
[...truncated 35.94 KB...]
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.1-bin.zip
Starting new HTTPS connection (1): services.gradle.org
https://services.gradle.org:443 "HEAD /distributions/gradle-4.2-bin.zip HTTP/1.1" 301 0
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.2-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.2-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.2.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.2.1-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.3-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.3-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.3.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.3.1-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.4-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.4-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.4.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.4.1-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.5-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.5-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.5.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.5.1-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.6-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.6-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.7-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.7-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.8-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.8-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.8.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.8.1-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.9-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.9-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.10-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.10-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.10.1-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.10.1-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.10.2-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.10.2-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-4.10.3-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-4.10.3-bin.zip
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "HEAD /distributions/gradle-5.0-bin.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/gradle-5.0-bin.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/ndk/android-ndk-r10e-linux-x86_64.bin HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r10e-linux-x86_64.bin
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r11c-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r11c-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r12b-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r12b-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r13b-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r13b-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r14b-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r14b-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r15c-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r15c-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r16b-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r16b-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r17b-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r17b-linux-x86_64.zip
Starting new HTTPS connection (1): dl.google.com
https://dl.google.com:443 "HEAD /android/repository/android-ndk-r18b-linux-x86_64.zip HTTP/1.1" 200 0
	...shasum verified for /var/lib/jenkins/.cache/fdroidserver/android-ndk-r18b-linux-x86_64.zip
found 'vmx' or 'svm' in /proc/cpuinfo -> hwvirtex = 'on'
build vm provider 'libvirt' selected
vm uuid is None
destroying vm 'buildserver_default'
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.

Path: /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver/Vagrantfile
Line number: 0
Message: Errno::ENOENT: No such file or directory @ rb_sysopen - /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver/Vagrantfile.yaml
vagrant destroy failed: Command '['/usr/bin/vagrant', 'destroy', '--force']' returned non-zero exit status 1
Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroidserver/vmtools.py", line 237, in destroy
    self.vgrnt.destroy()
  File "/usr/lib/python3/dist-packages/vagrant/__init__.py", line 396, in destroy
    self._call_vagrant_command(['destroy', vm_name, '--force'])
  File "/usr/lib/python3/dist-packages/vagrant/__init__.py", line 932, in _call_vagrant_command
    stderr=err_fh, env=self.env)
  File "/usr/lib/python3.5/subprocess.py", line 271, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/vagrant', 'destroy', '--force']' returned non-zero exit status 1
deleted vagrant dir: /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver/.vagrant
vagrant global-status --prune
id       name   provider state  directory                           
--------------------------------------------------------------------
There are no active Vagrant environments on this computer! Or,
you haven't destroyed and recreated Vagrant environments that were
started with an older version of Vagrant.
virsh -c qemu:///system destroy buildserver_default
error: failed to get domain 'buildserver_default'
error: Domain not found: no domain with matching name 'buildserver_default'

could not force libvirt domain 'buildserver_default' off: Command '('virsh', '-c', 'qemu:///system', 'destroy', 'buildserver_default')' returned non-zero exit status 1
virsh -c qemu:///system undefine buildserver_default --nvram --managed-save --remove-all-storage --snapshots-metadata
error: failed to get domain 'buildserver_default'
error: Domain not found: no domain with matching name 'buildserver_default'

could not undefine libvirt domain 'buildserver_default': Command '('virsh', '-c', 'qemu:///system', 'undefine', 'buildserver_default', '--nvram', '--managed-save', '--remove-all-storage', '--snapshots-metadata')' returned non-zero exit status 1
No existing server - building from scratch
==> box: Loading metadata for box 'fdroid/basebox-stretch64'
    box: URL: https://vagrantcloud.com/fdroid/basebox-stretch64
==> box: Adding box 'fdroid/basebox-stretch64' (v0.5) for provider: libvirt
    box: Downloading: https://vagrantcloud.com/fdroid/boxes/basebox-stretch64/versions/0.5/providers/libvirt.box
    box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)    box: Progress: 2% (Rate: 7941k/s, Estimated time remaining: 0:01:46)    box: Progress: 11% (Rate: 21.1M/s, Estimated time remaining: 0:00:25)    box: Progress: 17% (Rate: 21.2M/s, Estimated time remaining: 0:00:20)    box: Progress: 23% (Rate: 22.2M/s, Estimated time remaining: 0:00:17)    box: Progress: 30% (Rate: 23.1M/s, Estimated time remaining: 0:00:14)    box: Progress: 37% (Rate: 24.4M/s, Estimated time remaining: 0:00:13)    box: Progress: 41% (Rate: 22.4M/s, Estimated time remaining: 0:00:12)    box: Progress: 48% (Rate: 23.5M/s, Estimated time remaining: 0:00:10)    box: Progress: 55% (Rate: 24.2M/s, Estimated time remaining: 0:00:08)    box: Progress: 63% (Rate: 24.6M/s, Estimated time remaining: 0:00:06)    box: Progress: 71% (Rate: 27.9M/s, Estimated time remaining: 0:00:05)    box: Progress: 78% (Rate: 28.4M/s, Estimated time remaining: 0:00:03)    box: Progress: 86% (Rate: 28.7M/s, Estimated time remaining: 0:00:02)    box: Progress: 94% (Rate: 28.9M/s, Estimated time remaining: 0:00:01)==> box: Successfully added box 'fdroid/basebox-stretch64' (v0.5) for 'libvirt'!
sucessfully verifyed file '/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/vagrant.d/boxes/fdroid-VAGRANTSLASH-basebox-stretch64/0.5/libvirt/metadata.json' ('da79a5e2327dcf81a18a9d66a6e91205a20e440f23d3928e633fd39d60c641e5')
sucessfully verifyed file '/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/vagrant.d/boxes/fdroid-VAGRANTSLASH-basebox-stretch64/0.5/libvirt/Vagrantfile' ('cc7b8edb26481c158b2c28d15d32f7e146de892847c9308ac262678cf0ae8260')
sucessfully verifyed file '/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/vagrant.d/boxes/fdroid-VAGRANTSLASH-basebox-stretch64/0.5/libvirt/box.img' ('2ef5f1fdc98c24a4f67cecb526d21e1d73dedf5a0072ceff528a0e75da3ff452')
successfully verified: 'fdroid/basebox-stretch64' (libvirt, version 0.5)
Configuring build server VM
check /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver/.vagrant dir exists? -> True
> vagrant status
Current machine states:

default                   not created (libvirt)

The Libvirt domain is not created. Run `vagrant up` to create it.
> vagrant box list
fdroid/basebox-stretch64 (libvirt, 0.5)
> virsh -c qmeu:///system list --all
 Id    Name                           State
----------------------------------------------------

> virsh -c qemu:///system snapshot-list buildserver_default
error: failed to get domain 'buildserver_default'
error: Domain not found: no domain with matching name 'buildserver_default'

check /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver/.vagrant dir exists? -> True
> vagrant status
Current machine states:

default                   shutoff (libvirt)

The Libvirt domain is not running. Run `vagrant up` to start it.
> vagrant box list
fdroid/basebox-stretch64 (libvirt, 0.5)
> virsh -c qmeu:///system list --all
 Id    Name                           State
----------------------------------------------------
 -     buildserver_default            shut off

> virsh -c qemu:///system snapshot-list buildserver_default
 Name                 Creation Time             State
------------------------------------------------------------

'vagrant up' failed.
Bringing machine 'default' up with 'libvirt' provider...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default:  -- Name:              buildserver_default
==> default:  -- Domain type:       kvm
==> default:  -- Cpus:              2
==> default:  -- Memory:            6144M
==> default:  -- Management MAC:    
==> default:  -- Loader:            
==> default:  -- Base box:          fdroid/basebox-stretch64
==> default:  -- Storage pool:      default
==> default:  -- Image:             /var/lib/libvirt/images/buildserver_default.img (1000G)
==> default:  -- Volume Cache:      default
==> default:  -- Kernel:            
==> default:  -- Initrd:            
==> default:  -- Graphics Type:     vnc
==> default:  -- Graphics Port:     5900
==> default:  -- Graphics IP:       127.0.0.1
==> default:  -- Graphics Password: Not defined
==> default:  -- Video Type:        cirrus
==> default:  -- Video VRAM:        9216
==> default:  -- Keymap:            en-us
==> default:  -- TPM Path:          
==> default:  -- INPUT:             type=mouse, bus=ps2
==> default:  -- Command line : 
==> default: ================
==> default: Machine id: 5021c831-9cb1-44a0-8917-e06f3e75bc4d
==> default: Should be mounting folders
==> default:  /vagrant, opts: {:type=>:"9p", :nfs_version=>"4", :nfs_udp=>false, :guestpath=>"/vagrant", :hostpath=>"/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver", :disabled=>false, :__vagrantfile=>true, :target=>"/vagrant", :accessmode=>"passthrough", :mount=>true, :readonly=>nil, :mount_tag=>"482d645a3f8f41316bfbc77f6845b6c"}
==> default: ================
==> default: Machine id: 5021c831-9cb1-44a0-8917-e06f3e75bc4d
==> default: Should be mounting folders
==> default:  /vagrant/cache, opts: {:create=>true, :type=>:"9p", :guestpath=>"/vagrant/cache", :hostpath=>"/var/lib/jenkins/.cache/fdroidserver", :disabled=>false, :__vagrantfile=>true, :target=>"/vagrant/cache", :accessmode=>"passthrough", :mount=>true, :readonly=>nil, :mount_tag=>"3a30eb096dc8ff9eee4259846a9f559"}
==> default: Creating shared folders metadata...
==> default: Starting domain.
There was an error talking to Libvirt. The error message is shown
below:

Call to virDomainCreateWithFlags failed: internal error: Process exited prior to exec
+ cleanup_all
+ set +e
++ date -u
Mon Jan 14 00:45:35 UTC 2019 - cleanup in progress...
+ echo 'Mon Jan 14 00:45:35 UTC 2019 - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
jenkins  33630  0.0  0.0  12720   948 ?        S    00:45   0:00 grep -e VBox -e qemu
+ virsh --connect qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 -     buildserver_default            shut off

+ ls -hl /var/lib/libvirt/images
total 1.2G
-rw------- 1 root         root         208K Jan 14 00:45 buildserver_default.img
-rwxr-xr-x 1 libvirt-qemu libvirt-qemu 1.2G Oct 29 07:42 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.img
+ 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
Mon Jan 14 00:45:47 UTC 2019 - cleanup done.
+ echo 'Mon Jan 14 00:45:47 UTC 2019 - cleanup done.'
+ cleanup_all
++ date -u
Mon Jan 14 00:45:47 UTC 2019 - cleanup in progress...
+ echo 'Mon Jan 14 00:45:47 UTC 2019 - cleanup in progress...'
+ killall adb
adb: no process found
Mon Jan 14 00:45:47 UTC 2019 - /srv/jenkins/bin/reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-IKJ61rNa, 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