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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Dec 25 22:36:52 GMT 2018


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

------------------------------------------
[...truncated 36.35 KB...]
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
Downloading gradle-4.10.3-bin.zip to cache
Starting new HTTPS connection (1): downloads.gradle.org
https://downloads.gradle.org:443 "GET /distributions/gradle-4.10.3-bin.zip HTTP/1.1" 200 78422006
	...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: 20198/s, Estimated time remaining: 5:24:52)    box: Progress: 0% (Rate: 473k/s, Estimated time remaining: 0:33:26)    box: Progress: 0% (Rate: 802k/s, Estimated time remaining: 0:14:28)    box: Progress: 1% (Rate: 1592k/s, Estimated time remaining: 0:06:12)    box: Progress: 2% (Rate: 2878k/s, Estimated time remaining: 0:03:05)    box: Progress: 8% (Rate: 6919k/s, Estimated time remaining: 0:01:08)    box: Progress: 17% (Rate: 13.5M/s, Estimated time remaining: 0:00:35)    box: Progress: 27% (Rate: 20.1M/s, Estimated time remaining: 0:00:23)    box: Progress: 28% (Rate: 20.5M/s, Estimated time remaining: 0:00:24)    box: Progress: 28% (Rate: 19.1M/s, Estimated time remaining: 0:00:27)    box: Progress: 29% (Rate: 15.2M/s, Estimated time remaining: 0:00:28)    box: Progress: 31% (Rate: 10.0M/s, Estimated time remaining: 0:00:28)    box: Progress: 36% (Rate: 6934k/s, Estimated time remaining: 0:00:24)    box: Progress: 43% (Rate: 11.0M/s, Estimated time remaining: 0:00:19)    box: Progress: 50% (Rate: 16.6M/s, Estimated time remaining: 0:00:15)    box: Progress: 58% (Rate: 21.6M/s, Estimated time remaining: 0:00:12)    box: Progress: 63% (Rate: 24.3M/s, Estimated time remaining: 0:00:10)    box: Progress: 68% (Rate: 24.0M/s, Estimated time remaining: 0:00:09)    box: Progress: 73% (Rate: 22.4M/s, Estimated time remaining: 0:00:07)    box: Progress: 77% (Rate: 19.9M/s, Estimated time remaining: 0:00:06)    box: Progress: 82% (Rate: 18.0M/s, Estimated time remaining: 0:00:05)    box: Progress: 87% (Rate: 17.6M/s, Estimated time remaining: 0:00:04)    box: Progress: 92% (Rate: 18.1M/s, Estimated time remaining: 0:00:02)    box: Progress: 97% (Rate: 18.6M/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/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')
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')
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
----------------------------------------------------
 47    builder_default                running

> 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
----------------------------------------------------
 47    builder_default                running
 -     buildserver_default            shut off

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

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: fbb79149-2b14-4230-8254-e15e6adda56c
==> 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: fbb79149-2b14-4230-8254-e15e6adda56c
==> 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 while connecting to monitor: warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
2018-12-25T22:36:36.493070Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory
'vagrant up' failed.
+ cleanup_all
+ set +e
++ date -u
Tue Dec 25 22:36:40 UTC 2018 - cleanup in progress...
+ echo 'Tue Dec 25 22:36:40 UTC 2018 - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
jenkins   6397  0.0  0.0  12720   980 ?        S    22:36   0:00 grep -e VBox -e qemu
libvirt+ 19727  2.9 49.5 7845824 4047256 ?     Sl   03:16  34:28 qemu-system-x86_64 -enable-kvm -name guest=builder_default,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-47-builder_default/master-key.aes -machine pc-i440fx-2.8,accel=kvm,usb=off,dump-guest-core=off -cpu qemu64,+vme,+pclmuldq,+ssse3,+sse4.1,+sse4.2,+popcnt,+aes,+xsave,+osxsave,+avx,+hypervisor,+mmxext,+pdpe1gb,+lahf_lm,+cmp_legacy,+abm,+sse4a,+misalignsse,+3dnowprefetch,+osvw,+xop,+fma4 -m 6144 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 15fc2405-9ceb-4760-8fcd-bfb69c4537de -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-47-builder_default/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/builder_default.img,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=1005,id=hostnet0,vhost=on,vhostfd=1007 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:01:10:61,bus=pci.0,addr=0x5 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -msg timestamp=on
+ virsh --connect qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 47    builder_default                running
 -     buildserver_default            shut off

+ ls -hl /var/lib/libvirt/images
total 1.2G
-rw------- 1 root         root         208K Dec 25 22:36 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
Tue Dec 25 22:36:51 UTC 2018 - cleanup done.
+ echo 'Tue Dec 25 22:36:51 UTC 2018 - cleanup done.'
+ cleanup_all
++ date -u
Tue Dec 25 22:36:51 UTC 2018 - cleanup in progress...
+ echo 'Tue Dec 25 22:36:51 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Tue Dec 25 22:36:51 UTC 2018 - /srv/jenkins/bin/reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-zqWt4oOE, 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