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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Jul 30 20:46:35 BST 2018


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

------------------------------------------
[...truncated 837.47 KB...]
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.0.1
==> default: + '[' '!' -d /opt/gradle/versions/4.0.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.0.1-bin.zip
==> default: + mv gradle-4.0.1 /opt/gradle/versions/4.0.1
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.0.2-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.0.2
==> default: + '[' '!' -d /opt/gradle/versions/4.0.2 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.0.2-bin.zip
==> default: + mv gradle-4.0.2 /opt/gradle/versions/4.0.2
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: ++ echo /vagrant/cache/gradle-4.0-bin.zip
==> default: + ver=4.0
==> default: + '[' '!' -d /opt/gradle/versions/4.0 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.0-bin.zip
==> default: + mv gradle-4.0 /opt/gradle/versions/4.0
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.1-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.1
==> default: + '[' '!' -d /opt/gradle/versions/4.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.1-bin.zip
==> default: + mv gradle-4.1 /opt/gradle/versions/4.1
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: ++ echo /vagrant/cache/gradle-4.2.1-bin.zip
==> default: + ver=4.2.1
==> default: + '[' '!' -d /opt/gradle/versions/4.2.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.2.1-bin.zip
==> default: + mv gradle-4.2.1 /opt/gradle/versions/4.2.1
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: ++ echo /vagrant/cache/gradle-4.2-bin.zip
==> default: + ver=4.2
==> default: + '[' '!' -d /opt/gradle/versions/4.2 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.2-bin.zip
==> default: + mv gradle-4.2 /opt/gradle/versions/4.2
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.3.1-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.3.1
==> default: + '[' '!' -d /opt/gradle/versions/4.3.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.3.1-bin.zip
==> default: + mv gradle-4.3.1 /opt/gradle/versions/4.3.1
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.3-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.3
==> default: + '[' '!' -d /opt/gradle/versions/4.3 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.3-bin.zip
==> default: + mv gradle-4.3 /opt/gradle/versions/4.3
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.4.1-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.4.1
==> default: + '[' '!' -d /opt/gradle/versions/4.4.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.4.1-bin.zip
==> default: + mv gradle-4.4.1 /opt/gradle/versions/4.4.1
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.4-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.4
==> default: + '[' '!' -d /opt/gradle/versions/4.4 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.4-bin.zip
==> default: + mv gradle-4.4 /opt/gradle/versions/4.4
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.5.1-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.5.1
==> default: + '[' '!' -d /opt/gradle/versions/4.5.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.5.1-bin.zip
==> default: + mv gradle-4.5.1 /opt/gradle/versions/4.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-4.5-bin.zip
==> default: + ver=4.5
==> default: + '[' '!' -d /opt/gradle/versions/4.5 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.5-bin.zip
==> default: + mv gradle-4.5 /opt/gradle/versions/4.5
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.6-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.6
==> default: + '[' '!' -d /opt/gradle/versions/4.6 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.6-bin.zip
==> default: + mv gradle-4.6 /opt/gradle/versions/4.6
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.7-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.7
==> default: + '[' '!' -d /opt/gradle/versions/4.7 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.7-bin.zip
==> default: + mv gradle-4.7 /opt/gradle/versions/4.7
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ echo /vagrant/cache/gradle-4.8.1-bin.zip
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: + ver=4.8.1
==> default: + '[' '!' -d /opt/gradle/versions/4.8.1 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.8.1-bin.zip
==> default: + mv gradle-4.8.1 /opt/gradle/versions/4.8.1
==> default: + for f in '/vagrant/cache/gradle-*.zip'
==> default: ++ sed 's,.*gradle-\([0-9][0-9.]*\).*\.zip,\1,'
==> default: ++ echo /vagrant/cache/gradle-4.8-bin.zip
==> default: + ver=4.8
==> default: + '[' '!' -d /opt/gradle/versions/4.8 ']'
==> default: + unzip -qq /vagrant/cache/gradle-4.8-bin.zip
==> default: + mv gradle-4.8 /opt/gradle/versions/4.8
==> 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: Halting domain...
++ vagrant box list
++ egrep '^buildserver\s+\((libvirt|virtualbox), [0-9]+\)$'
+ '[' -z 'buildserver (libvirt, 0)' ']'
+ '[' -e fdroiddata ']'
+ cd fdroiddata
+ git fetch origin --tags --prune
>From https://gitlab.com/fdroid/fdroiddata
   7ac109051..eac4d09c6  master     -> origin/master
+ git remote update -p
Fetching origin
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 125 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at eac4d09c6 Stats, etc
+ git clean -fdx
Removing build/.fdroidvcs-org.adaway
Removing build/.fdroidvcs-org.fdroid.fdroid
Skipping repository build/info.guardianproject.checkey/
Skipping repository build/org.adaway/
Skipping repository build/org.fdroid.fdroid.privileged.ota/
Skipping repository build/org.fdroid.fdroid/
Skipping repository build/srclib/fdroidclient
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.3
INFO: Building version 1.3 (1003050) 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.3
ERROR: VCS error while building app org.fdroid.fdroid: Git checkout of '1.3' failed
DEBUG: Error encoutered, stopping by user request.
ERROR: Force halting build after 7200 sec timeout!
DEBUG: libvirt is the sole installed and supported vagrant provider, selecting 'libvirt'
DEBUG: vm uuid is None
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 1180, in run
    self.function(*self.args, **self.kwargs)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroidserver/build.py", line 915, in force_halt_build
    vm = vmtools.get_build_vm('builder')
  File "/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroidserver/vmtools.py", line 130, in get_build_vm
    return LibvirtBuildVm(abssrvdir)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroidserver/vmtools.py", line 331, in __init__
    super().__init__(srvdir)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroidserver/vmtools.py", line 177, in __init__
    raise FDroidBuildVmException("Can not init vagrant, directory %s not present" % (srvdir))
fdroidserver.vmtools.FDroidBuildVmException: Can not init vagrant, directory /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroiddata/builder not present

+ cleanup_all
+ set +e
++ date -u
Mon Jul 30 19:46:23 UTC 2018 - cleanup in progress...
+ echo 'Mon Jul 30 19:46:23 UTC 2018 - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
libvirt+ 13537  3.4  0.0 7845704  972 ?        Sl   01:06  38:10 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-31-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 fe70f169-ca7c-4614-94d4-1b2f7e614db5 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-31-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=462,id=hostnet0,vhost=on,vhostfd=464 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:e3:09:2c,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  35784  0.0  0.0  12860   980 ?        S    19:46   0:00 grep -e VBox -e qemu
+ virsh --connect qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 31    builder_default                paused
 -     buildserver_default            shut off

+ ls -hl /var/lib/libvirt/images
total 38G
-rw-r--r-- 1 root         root          36G Jul 30 15:05 buildserver_default.img
-rwxr-xr-x 1 libvirt-qemu libvirt-qemu 2.1G Jul 30 13:31 jessie64_vagrant_box_image_0.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 Jul 30 19:46:34 UTC 2018 - cleanup done.
+ echo 'Mon Jul 30 19:46:34 UTC 2018 - cleanup done.'
+ cleanup_all
++ date -u
Mon Jul 30 19:46:34 UTC 2018 - cleanup in progress...
+ echo 'Mon Jul 30 19:46:34 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Mon Jul 30 19:46:34 UTC 2018 - /srv/jenkins/bin/reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-O78Bikuw, 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