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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Dec 31 00:47:14 GMT 2018


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

------------------------------------------
[...truncated 36.04 KB...]
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: 33214/s, Estimated time remaining: 3:17:32)    box: Progress: 3% (Rate: 13.9M/s, Estimated time remaining: 0:01:21)    box: Progress: 12% (Rate: 23.4M/s, Estimated time remaining: 0:00:28)    box: Progress: 20% (Rate: 26.4M/s, Estimated time remaining: 0:00:19)    box: Progress: 29% (Rate: 28.2M/s, Estimated time remaining: 0:00:14)    box: Progress: 39% (Rate: 29.5M/s, Estimated time remaining: 0:00:10)    box: Progress: 48% (Rate: 33.6M/s, Estimated time remaining: 0:00:08)    box: Progress: 57% (Rate: 33.9M/s, Estimated time remaining: 0:00:06)    box: Progress: 66% (Rate: 34.2M/s, Estimated time remaining: 0:00:05)    box: Progress: 75% (Rate: 34.4M/s, Estimated time remaining: 0:00:03)    box: Progress: 84% (Rate: 34.1M/s, Estimated time remaining: 0:00:02)    box: Progress: 93% (Rate: 33.8M/s, Estimated time remaining: --:--:--)==> 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
----------------------------------------------------
 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
------------------------------------------------------------

'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: 25e40846-fde5-4516-bd3c-c085fce90e86
==> 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: 25e40846-fde5-4516-bd3c-c085fce90e86
==> 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-31T00:46:57.672521Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory
+ cleanup_all
+ set +e
++ date -u
Mon Dec 31 00:47:01 UTC 2018 - cleanup in progress...
+ echo 'Mon Dec 31 00:47:01 UTC 2018 - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
libvirt+ 19727  0.6 28.5 7845824 2336184 ?     Sl   Dec25  54:23 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
jenkins  21215  0.0  0.0  12720   940 ?        S    00:47   0:00 grep -e VBox -e qemu
+ 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 31 00:46 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 Dec 31 00:47:13 UTC 2018 - cleanup done.
+ echo 'Mon Dec 31 00:47:13 UTC 2018 - cleanup done.'
+ cleanup_all
++ date -u
Mon Dec 31 00:47:13 UTC 2018 - cleanup in progress...
+ echo 'Mon Dec 31 00:47:13 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Mon Dec 31 00:47:13 UTC 2018 - /srv/jenkins/bin/reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-ib72pgxh, 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