[Qa-jenkins-scm] Build failed in Jenkins: reproducible_fdroid_build_apps #89

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sun Nov 26 21:53:51 UTC 2017


See <https://jenkins.debian.net/job/reproducible_fdroid_build_apps/89/display/redirect?page=changes>

Changes:

[hans] buildserver: use git from jessie-backports to get better workflow

[hans] build: stop git from waiting forever at username/password prompts

[hans] never wait for SSH prompts when running git commands

[bubuiic] common: use python instead of calling out to 'rm'

[bubuiic] build: rsync instead of sftp dirs to the buildserver

[michael.poehn] fix vm provider lookup flaw

[bubuiic] makebuildserver: add ndk r16

[hans] jenkins-test: force new repo setup for each build

------------------------------------------
[...truncated 28.44 KB...]
ext4                  585728  1
crc16                  16384  1 ext4
hid_generic            16384  0
jbd2                  106496  1 ext4
fscrypto               28672  1 ext4
ecb                    16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
mbcache                16384  2 ext4
btrfs                1060864  0
raid10                 49152  0
raid456               106496  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 async_xor,async_pq,raid456,async_memcpy,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              110592  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  1 raid456
crc32c_generic         16384  0
raid1                  36864  0
raid0                  20480  0
multipath              16384  0
linear                 16384  0
md_mod                131072  6 raid1,raid10,multipath,linear,raid0,raid456
ata_generic            16384  0
virtio_net             28672  0
virtio_blk             20480  3
crc32c_intel           24576  2
aesni_intel           167936  0
aes_x86_64             20480  1 aesni_intel
glue_helper            16384  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
ablk_helper            16384  1 aesni_intel
cryptd                 24576  3 ablk_helper,ghash_clmulni_intel,aesni_intel
uhci_hcd               45056  0
ehci_hcd               81920  0
psmouse               135168  0
ata_piix               36864  0
virtio_pci             24576  0
virtio_ring            24576  4 virtio_blk,virtio_net,virtio_balloon,virtio_pci
virtio                 16384  4 virtio_blk,virtio_net,virtio_balloon,virtio_pci
i2c_piix4              24576  0
libata                249856  2 ata_piix,ata_generic
usbcore               249856  3 usbhid,ehci_hcd,uhci_hcd
usb_common             16384  1 usbcore
scsi_mod              225280  1 libata
floppy                 69632  0
+ systemd-detect-virt -q
++ systemd-detect-virt
Virtualization is used: bochs
+ echo 'Virtualization is used:' bochs
+ sudo /bin/chmod -R a+rX /var/lib/libvirt/images
+ ulimit -n 2048
++ ulimit -n
maximum allowed number of open file descriptors:  2048
+ echo 'maximum allowed number of open file descriptors: ' 2048
+ ls -ld /var/lib/libvirt/images
drwxr-xr-x 2 root root 4096 Nov 24 12:45 /var/lib/libvirt/images
+ ls -l /var/lib/libvirt/images
total 86397724
-rw-r--r-- 1 libvirt-qemu libvirt-qemu 11598299136 Nov 26 21:53 builder_default.img
-rw-r--r-- 1 root         root         40187920384 Nov 23 16:46 buildserver_default.img
-rwxr-xr-x 1 libvirt-qemu libvirt-qemu 41431728128 Nov 23 19:55 buildserver_vagrant_box_image_0.img
-rwxr-xr-x 1 libvirt-qemu libvirt-qemu  2148663296 Mar 29  2017 jessie64_vagrant_box_image_0.img
+ ls -lR /var/lib/jenkins/.vagrant.d/
/var/lib/jenkins/.vagrant.d/:
total 28
drwxr-xr-x 2 jenkins jenkins 4096 Apr 11  2017 boxes
drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 21:16 data
drwxr-xr-x 2 jenkins jenkins 4096 Apr 11  2017 gems
-rw------- 1 jenkins jenkins 1675 Apr 11  2017 insecure_private_key
drwxr-xr-x 2 jenkins jenkins 4096 Apr 11  2017 rgloader
-rw-r--r-- 1 jenkins jenkins    3 Apr 11  2017 setup_version
drwxr-xr-x 2 jenkins jenkins 4096 Apr 11  2017 tmp

/var/lib/jenkins/.vagrant.d/boxes:
total 0

/var/lib/jenkins/.vagrant.d/data:
total 4
-rw-r--r-- 1 jenkins jenkins    0 Oct 25 21:16 lock.dotlock.lock
-rw-r--r-- 1 jenkins jenkins    0 Apr 13  2017 lock.machine-action-2ac8d248e1fa19841e2a8bf51c5448af.lock
drwxr-xr-x 2 jenkins jenkins 4096 Apr 11  2017 machine-index

/var/lib/jenkins/.vagrant.d/data/machine-index:
total 0
-rw-r--r-- 1 jenkins jenkins 0 Nov 23 13:49 index.lock

/var/lib/jenkins/.vagrant.d/gems:
total 0

/var/lib/jenkins/.vagrant.d/rgloader:
total 4
-rw-r--r-- 1 jenkins jenkins 354 Apr 11  2017 loader.rb

/var/lib/jenkins/.vagrant.d/tmp:
total 0
+ virsh --connect qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 73    builder_default                running
 -     buildserver_default            shut off

+ cat /etc/issue
Debian GNU/Linux 9 \n \l

+ /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 157.97.110.83  netmask 255.255.255.255  broadcast 157.97.110.83
        inet6 fe80::1:12ff:fe6d:35e4  prefixlen 64  scopeid 0x20<link>
        ether 02:01:12:6d:35:e4  txqueuelen 1000  (Ethernet)
        RX packets 50710523  bytes 48219522545 (44.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 22961086  bytes 9296948514 (8.6 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 47308464  bytes 2379429544 (2.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 47308464  bytes 2379429544 (2.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.121.1  netmask 255.255.255.0  broadcast 192.168.121.255
        ether 52:54:00:00:74:6a  txqueuelen 1000  (Ethernet)
        RX packets 17422146  bytes 7758115733 (7.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28673757  bytes 119423311065 (111.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc54:ff:fee6:f400  prefixlen 64  scopeid 0x20<link>
        ether fe:54:00:e6:f4:00  txqueuelen 1000  (Ethernet)
        RX packets 312909  bytes 120880286 (115.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 554347  bytes 2048040090 (1.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

+ hostname
profitbricks-build7-amd64
++ dirname /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ export SETUP_WORKSPACE=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment
+ SETUP_WORKSPACE=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment
+ export XDG_CONFIG_HOME=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment
+ XDG_CONFIG_HOME=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment
+ export VBOX_USER_HOME=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/VirtualBox
+ VBOX_USER_HOME=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/VirtualBox
+ export VAGRANT_HOME=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/vagrant.d
+ VAGRANT_HOME=/var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/vagrant.d
+ vagrant global-status
+ grep reproducible_setup_fdroid_build_environment
30bbf57  default libvirt shutoff /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/buildserver 
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ export ANDROID_HOME=/usr/lib/android-sdk
+ ANDROID_HOME=/usr/lib/android-sdk
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ '[' -e fdroiddata ']'
+ cd fdroiddata
+ git remote update -p
Fetching origin
>From https://gitlab.com/fdroid/fdroiddata
   259aac72d..80d9e919a  master     -> origin/master
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 11 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 80d9e919a Update andOTP to 0.3.0 (11)
+ git clean -fdx --exclude build --exclude repo --exclude unsigned
Removing builder/
Removing cache/
Removing config.py
Removing keystore.jks
Removing logs/
Removing tmp/
+ echo 'build_server_always = True'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid build --verbose --latest --no-tarball --all
DEBUG: Reading 'config.py'
INFO: Creating log directory
INFO: Creating temporary directory
DEBUG: Getting git vcs interface for https://github.com/tejado/Authorizer
DEBUG: > git --version
git version 2.11.0
INFO: Using git version 2.11.0
DEBUG: Checking 0.2.4beta
INFO: Building version 0.2.4beta (204) of net.tjado.passwdsafe
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git -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 -c core.sshCommand="ssh -oBatchMode=yes -oStrictHostKeyChecking=yes" fetch origin
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git -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 -c core.sshCommand="ssh -oBatchMode=yes -oStrictHostKeyChecking=yes" fetch --prune --tags origin
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git checkout -f v0.2.4-beta
DEBUG: Directory: build/net.tjado.passwdsafe
DEBUG: > git clean -dffx
INFO: buildserver path does not exists, creating builder
DEBUG: which kvm
/usr/bin/kvm
DEBUG: which VBoxHeadless
DEBUG: libvirt is the sole installed and supported vagrant provider, selecting 'libvirt'
DEBUG: vm uuid is None
INFO: resetting buildserver, bceause vagrant vm is not okay.
INFO: destroying vm 'builder_default'
Name `builder_default` of domain about to create is already taken. Please try to run
`vagrant up` command again.
ERROR: 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_fdroid_build_apps/fdroidserver/vmtools.py", line 223, 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
DEBUG: deleted vagrant dir: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata/builder/.vagrant
DEBUG: vagrant global-status --prune
id       name    provider state   directory                                                                                         
------------------------------------------------------------------------------------------------------------------------------------
30bbf57  default libvirt shutoff /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"
DEBUG: virsh -c qemu:///system destroy builder_default
Domain builder_default destroyed

INFO: ...waiting a sec...
Connection to profitbricks-build7-amd64.debian.net closed by remote host.

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



More information about the Qa-jenkins-scm mailing list