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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Aug 30 17:23:29 BST 2018


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

Changes:

[hans] replace unneeded eval() call and support negative versionCodes

[hans] use posixpath.join() for paths on the buildserver

[hans] checkupdates: remove magic number 99999999 from HTTP checks

[hans] mark all required usages of MD5 so bandit doesn't complain

[hans] mark all required permissions so bandit doesn't complain

[hans] mark manually sanitized input so bandit doesn't complain

[hans] use global constant for the 'xmlns:android' XML namespace

[hans] use defusedxml to avoid DoS attacks while loading XML

[hans] gitlab-ci: add 'bandit' security scanner to all runs

------------------------------------------
[...truncated 14.36 KB...]
nf_reject_ipv6         16384  1 ip6t_REJECT
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              16384  6
tun                    28672  4 vhost_net
bridge                135168  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
ebtable_filter         16384  0
ebtables               36864  1 ebtable_filter
ip6table_filter        16384  1
ip6_tables             28672  1 ip6table_filter
iptable_filter         16384  1
edac_mce_amd           28672  0
edac_core              57344  0
kvm_amd              2183168  4
kvm                   598016  1 kvm_amd
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
bochs_drm              20480  1
ttm                    98304  1 bochs_drm
pcspkr                 16384  0
joydev                 20480  0
drm_kms_helper        155648  1 bochs_drm
evdev                  24576  3
serio_raw              16384  0
drm                   360448  4 bochs_drm,ttm,drm_kms_helper
virtio_balloon         16384  0
binfmt_misc            20480  1
button                 16384  0
nfsd                  331776  13
auth_rpcgss            61440  1 nfsd
oid_registry           16384  1 auth_rpcgss
nfs_acl                16384  1 nfsd
lockd                  90112  1 nfsd
grace                  16384  2 nfsd,lockd
sunrpc                344064  18 auth_rpcgss,nfsd,nfs_acl,lockd
ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat
x_tables               36864  12 ipt_REJECT,iptable_mangle,ip_tables,ebtables,iptable_filter,xt_tcpudp,ipt_MASQUERADE,ip6t_REJECT,xt_CHECKSUM,ip6table_filter,xt_conntrack,ip6_tables
autofs4                40960  2
ext4                  585728  1
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
fscrypto               28672  1 ext4
ecb                    16384  0
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
hid_generic            16384  0
usbhid                 53248  0
hid                   122880  2 hid_generic,usbhid
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                135168  6 raid1,raid10,multipath,linear,raid0,raid456
ata_generic            16384  0
crc32c_intel           24576  2
virtio_net             32768  0
virtio_blk             20480  3
ata_piix               36864  0
uhci_hcd               45056  0
ehci_hcd               81920  0
libata                249856  2 ata_piix,ata_generic
aesni_intel           167936  0
usbcore               253952  3 usbhid,ehci_hcd,uhci_hcd
scsi_mod              225280  1 libata
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
usb_common             16384  1 usbcore
psmouse               135168  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
floppy                 69632  0
Virtualization is used: bochs
+ lsmod
+ systemd-detect-virt -q
++ systemd-detect-virt
+ echo 'Virtualization is used:' bochs
+ sudo /bin/chmod -R a+rX /var/lib/libvirt/images
maximum allowed number of open file descriptors:  1024
drwxr-xr-x 2 root root 4096 Aug 27 07:44 /var/lib/libvirt/images
total 80027880
-rw-r--r-- 1 libvirt-qemu libvirt-qemu 11719213056 Aug 28 01:15 builder_default.img
-rw-r--r-- 1 root         root         38039191552 Aug 27 02:08 buildserver_default.img
-rwxr-xr-x 1 libvirt-qemu libvirt-qemu 39486357504 Aug 27 04:57 buildserver_vagrant_box_image_0.img
-rwxr-xr-x 1 libvirt-qemu libvirt-qemu  2148663296 Aug 27 00:48 jessie64_vagrant_box_image_0.img
/var/lib/jenkins/.vagrant.d/:
total 28
drwxr-xr-x 2 jenkins jenkins 4096 Jan 17  2018 boxes
drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 15:16 data
drwxr-xr-x 2 jenkins jenkins 4096 Jan 17  2018 gems
-rw------- 1 jenkins jenkins 1675 Jan 17  2018 insecure_private_key
drwxr-xr-x 2 jenkins jenkins 4096 Jan 17  2018 rgloader
-rw-r--r-- 1 jenkins jenkins    3 Jan 17  2018 setup_version
drwxr-xr-x 2 jenkins jenkins 4096 Jan 17  2018 tmp

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

/var/lib/jenkins/.vagrant.d/data:
total 4
-rw-r--r-- 1 jenkins jenkins    0 Jun 26 15:16 lock.dotlock.lock
-rw-r--r-- 1 jenkins jenkins    0 Jun 26 15:16 lock.machine-action-abaf345aba99916789c31090ffc55b76.lock
drwxr-xr-x 2 jenkins jenkins 4096 Jan 17  2018 machine-index

/var/lib/jenkins/.vagrant.d/data/machine-index:
total 0
-rw-r--r-- 1 jenkins jenkins 0 Jun 26 15:16 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 Jan 17  2018 loader.rb

/var/lib/jenkins/.vagrant.d/tmp:
total 0
++ ulimit -n
+ echo 'maximum allowed number of open file descriptors: ' 1024
+ ls -ld /var/lib/libvirt/images
+ ls -l /var/lib/libvirt/images
+ ls -lR /var/lib/jenkins/.vagrant.d/
+ virsh --connect qemu:///system list --all
 Id    Name                           State
----------------------------------------------------
 11    builder_default                paused
 -     buildserver_default            shut off

Debian GNU/Linux 9 \n \l

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 11306251  bytes 12187773805 (11.3 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4194338  bytes 1243943228 (1.1 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 147160  bytes 53372462 (50.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 147160  bytes 53372462 (50.8 MiB)
        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 1973269  bytes 596702503 (569.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4863977  bytes 40824987515 (38.0 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:fe18:b2c9  prefixlen 64  scopeid 0x20<link>
        ether fe:54:00:18:b2:c9  txqueuelen 1000  (Ethernet)
        RX packets 32546  bytes 7177364 (6.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 57730  bytes 394786952 (376.4 MiB)
        TX errors 0  dropped 115560 overruns 0  carrier 0  collisions 0

+ cat /etc/issue
+ /sbin/ifconfig
+ 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 -F -e reproducible_setup_fdroid_build_environment -o -e fdroiddata/builder
reproducible_setup_fdroid_build_environment
reproducible_setup_fdroid_build_environment
fdroiddata/builder
fdroiddata/builder
+ 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 fetch origin --tags --prune
>From https://gitlab.com/fdroid/fdroiddata
   996dea226..5c87b33ad  master     -> origin/master
 * [new branch]          add-fi-bitrite-android-ws -> origin/add-fi-bitrite-android-ws
+ git checkout master
Your branch and 'origin/master' have diverged,
and have 39 and 86 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)
Already on 'master'
+ git reset --hard origin/master
HEAD is now at 5c87b33ad Stats, etc
+ git clean -fdx --exclude build --exclude repo --exclude unsigned
Removing archive/
Removing builder/
Removing cache/
Removing config.py
Removing keystore.jks
Removing logs/
Removing stats/publishsigkeys.jar
Removing tmp/
+ echo 'build_server_always = True'
+ nc -z -w1 localhost 32445
+ sed -i '/^wiki_/d' config.py
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid build --verbose --latest --no-tarball --all
Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid", line 24, in <module>
    import fdroidserver.common
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 42, in <module>
    import defusedxml.ElementTree as XMLElementTree
ImportError: No module named 'defusedxml'
+ cleanup_all
++ date -u
Thu Aug 30 16:23:26 UTC 2018 - cleanup in progress...
+ echo 'Thu Aug 30 16:23:26 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Thu Aug 30 16:23:26 UTC 2018 - /srv/jenkins/bin/reproducible_fdroid_build_apps.sh stopped running as /tmp/jenkins-script-EbB3cvPh, 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