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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Wed Apr 14 22:47:19 BST 2021


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

Changes:

[flx] use subclass hack for better ZIP cloning

[flx] vendor & use apksigcopier v0.4.0-12-g93d8e14

[hans] publish: add test for reproduble builds with signatures

[hans] force apksigcopier "AUTO"  to select sigs by available files

[hans] apksigcopier: purge main() to avoid confusion

[hans] apksigcopier: remove exclude_all_meta logic

[hans] common.py: update copyrights

[hans] publish: rename vars to match naming in JAR Signature docs

[hans] jenkins-build-all: refocus on building reproducible apps first

[hans] gitlab-ci: prevent dualing linters: pyflakes vs mypy


------------------------------------------
[...truncated 14.55 KB...]
Forced locale to en_US.UTF-8:
LC_ALL=en_US.UTF-8
+ dmesg
+ grep -i -e hypervisor -e qemu -e kvm
dmesg: read kernel buffer failed: Operation not permitted
+ true
+ lspci
+ grep -i -e virtio -e virtualbox -e qemu -e kvm
+ true
+ lsmod
Module                  Size  Used by
fuse                  122880  1
ufs                    86016  0
qnx4                   16384  0
hfsplus               118784  0
hfs                    69632  0
minix                  40960  0
vfat                   20480  0
msdos                  20480  0
fat                    86016  2 msdos,vfat
jfs                   208896  0
xfs                  1462272  0
nft_counter            16384  1
xt_tcpudp              16384  1
nft_compat             20480  1
pci_stub               16384  1
nf_tables             143360  5 nft_compat,nft_counter
vboxpci                28672  0
vboxnetadp             28672  0
nfnetlink              16384  2 nft_compat,nf_tables
vboxnetflt             32768  0
vboxdrv               491520  4 vboxpci,vboxnetadp,vboxnetflt
binfmt_misc            20480  1
intel_rapl             24576  0
sb_edac                24576  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             233472  0
kvm                   757760  1 kvm_intel
ipmi_si                65536  0
sg                     36864  0
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
intel_cstate           16384  0
ipmi_devintf           20480  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
intel_uncore          135168  0
ipmi_msghandler        65536  2 ipmi_devintf,ipmi_si
evdev                  28672  2
pcspkr                 16384  0
wmi                    28672  0
intel_rapl_perf        16384  0
pcc_cpufreq            16384  0
button                 20480  0
ip_tables              28672  0
x_tables               45056  3 nft_compat,xt_tcpudp,ip_tables
autofs4                49152  2
ext4                  745472  2
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
ecb                    16384  0
btrfs                1409024  0
xor                    24576  1 btrfs
zstd_decompress        81920  1 btrfs
zstd_compress         172032  1 btrfs
xxhash                 16384  2 zstd_compress,zstd_decompress
raid6_pq              122880  1 btrfs
libcrc32c              16384  2 btrfs,xfs
crc32c_generic         16384  0
mlx4_ib               208896  0
dm_mod                155648  6
ib_core               274432  1 mlx4_ib
mlx4_en               135168  0
sd_mod                 61440  3
crc32c_intel           24576  5
isci                  155648  0
libsas                 90112  1 isci
ahci                   40960  2
scsi_transport_sas     45056  2 isci,libsas
libahci                40960  1 ahci
ehci_pci               16384  0
libata                270336  3 libahci,ahci,libsas
ehci_hcd               94208  1 ehci_pci
mlx4_core             360448  2 mlx4_ib,mlx4_en
aesni_intel           200704  1
usbcore               299008  2 ehci_pci,ehci_hcd
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
scsi_mod              249856  6 isci,scsi_transport_sas,sd_mod,libsas,libata,sg
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
lpc_ich                28672  0
i2c_i801               28672  0
devlink                77824  3 mlx4_core,mlx4_ib,mlx4_en
mfd_core               16384  1 lpc_ich
usb_common             16384  1 usbcore
No virtualization is used.
maximum allowed number of open file descriptors:  1024
+ systemd-detect-virt -q
+ echo 'No virtualization is used.'
++ ulimit -n
+ echo 'maximum allowed number of open file descriptors: ' 1024
+ ls -lR /var/lib/jenkins/.vagrant.d/
/var/lib/jenkins/.vagrant.d/:
total 28
drwxr-xr-x 2 jenkins jenkins 4096 Feb 12  2019 boxes
drwxr-xr-x 3 jenkins jenkins 4096 Feb 12  2019 data
drwxr-xr-x 4 jenkins jenkins 4096 May 28  2020 gems
-rw------- 1 jenkins jenkins 1675 Feb 12  2019 insecure_private_key
drwxr-xr-x 2 jenkins jenkins 4096 Feb 12  2019 rgloader
-rw-r--r-- 1 jenkins jenkins    3 Feb 12  2019 setup_version
drwxr-xr-x 2 jenkins jenkins 4096 Feb 12  2019 tmp

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

/var/lib/jenkins/.vagrant.d/data:
total 4
-rw-r--r-- 1 jenkins jenkins    0 Feb 12  2019 lock.dotlock.lock
-rw-r--r-- 1 jenkins jenkins    0 Feb 12  2019 lock.machine-action-3cf85a03200e18c6f2af7ea4385640c0.lock
drwxr-xr-x 2 jenkins jenkins 4096 Feb 12  2019 machine-index

/var/lib/jenkins/.vagrant.d/data/machine-index:
total 0
-rw-r--r-- 1 jenkins jenkins 0 May 28  2020 index.lock

/var/lib/jenkins/.vagrant.d/gems:
total 8
drwxr-xr-x 2 jenkins jenkins 4096 Feb 12  2019 2.3.3
drwxr-xr-x 2 jenkins jenkins 4096 May 28  2020 2.5.5

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

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

/var/lib/jenkins/.vagrant.d/rgloader:
total 4
-rw-r--r-- 1 jenkins jenkins 354 Feb 12  2019 loader.rb

/var/lib/jenkins/.vagrant.d/tmp:
total 0
+ cat /etc/issue
Debian GNU/Linux 10 \n \l

+ /sbin/ifconfig
./jenkins-build-all: line 46: /sbin/ifconfig: No such file or directory
+ true
+ hostname
osuosl168-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
+ 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
   a175b72c72..1d62b4d8e3  master     -> origin/master
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 38 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 1d62b4d8e3 Update known apks
+ git clean -fdx --exclude build --exclude repo --exclude unsigned
Removing archive/
Removing builder/
Removing cache/
Removing config.yml
Removing keystore.p12
Removing logs/
Removing stats/publishsigkeys.jar
Removing tmp/
+ echo 'build_server_always: true'
+ echo 'deploy_process_logs: true'
+ nc -z -w1 localhost 32445
+ sed -i '/^wiki_/d' config.yml

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
build all with reproducible signatures
+ printf '\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\nbuild all with reproducible signatures\n'
+ for f in metadata/*/signatures/*
++++ dirname metadata/com.tachibana.downloader/signatures/1
+++ dirname metadata/com.tachibana.downloader/signatures
++ basename metadata/com.tachibana.downloader
+ appid=com.tachibana.downloader
++ basename metadata/com.tachibana.downloader/signatures/1
+ versionCode=1
+ rm -f repo/com.tachibana.downloader_9.apk repo/com.tachibana.downloader_9.apk.asc repo/com.tachibana.downloader_9.log.gz 'archive/com.tachibana.downloader_*' 'unsigned/com.tachibana.downloader_*'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid build --verbose --latest --no-tarball com.tachibana.downloader:1
2021-04-14 21:47:17,849 DEBUG: Reading 'config.yml'
2021-04-14 21:47:17,853 INFO: Creating log directory
2021-04-14 21:47:17,853 INFO: Creating temporary directory
2021-04-14 21:47:17,854 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata, universal_newlines=False, shell=None)
2021-04-14 21:47:17,858 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata, universal_newlines=False, shell=None)
2021-04-14 21:47:17,886 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata, universal_newlines=False, shell=None)
2021-04-14 21:47:17,954 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata, universal_newlines=False, shell=None)
2021-04-14 21:47:18,124 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata, universal_newlines=False, shell=None)
2021-04-14 21:47:18,874 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
2021-04-14 21:47:18,882 DEBUG: Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
2021-04-14 21:47:18,888 DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
2021-04-14 21:47:18,902 DEBUG: Popen(['git', 'ls-files', '--modified'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
2021-04-14 21:47:18,914 DEBUG: Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
2021-04-14 21:47:19,022 CRITICAL: No such versionCode 1 for app com.tachibana.downloader
Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid", line 22, in <module>
    fdroidserver.__main__.main()
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/__main__.py", line 208, in main
    mod.main()
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/build.py", line 1016, in main
    apps = common.read_app_args(options.appid, allapps, True)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 699, in read_app_args
    raise FDroidException(_("Found invalid versionCodes for some apps"))
fdroidserver.exception.FDroidException: Found invalid versionCodes for some apps
+ cleanup_all
+ set +e
++ date -u
Wed 14 Apr 2021 09:47:19 PM UTC - cleanup in progress...
+ echo 'Wed 14 Apr 2021 09:47:19 PM UTC - cleanup in progress...'
+ killall adb
adb: no process found
+ killall gpg-agent
++ date -u
Wed 14 Apr 2021 09:47:19 PM UTC - cleanup done.
+ echo 'Wed 14 Apr 2021 09:47:19 PM UTC - cleanup done.'
Wed 14 Apr 2021 09:47:19 PM UTC - reproducible_fdroid_build_apps.sh stopped running as /tmp/jenkins-script-i1sgHqxo, 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