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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Wed Feb 19 16:25:11 GMT 2020


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

Changes:

[hans] import: get git commit ID from git repo, e.g. master instead of '?'

[hans] import: ignore results if build/appid dir already exists

[hans] standardize on path.endswith() for file extension checks

[hans] common.get_head_commit_id() to get string commit ID from HEAD

[hans] update: write status in JSON repo file, using new internal API

[hans] checkupdates: write status JSON

[hans] publish: write status JSON

[hans] gpgsign: write status JSON

[hans] deploy: write status JSON

[hans] signindex: write status JSON

[hans] build: write status JSON

[hans] rsync status JSON as first and last steps of command runs

[hans] integration test for creating and deploying status JSON files


------------------------------------------
[...truncated 6.42 KB...]
intel_uncore          135168  0
evdev                  28672  2
pcspkr                 16384  0
ipmi_devintf           20480  0
ipmi_msghandler        65536  2 ipmi_devintf,ipmi_si
intel_rapl_perf        16384  0
pcc_cpufreq            16384  0
wmi                    28672  0
button                 16384  0
sunrpc                425984  1
ip_tables              28672  0
x_tables               45056  3 nft_compat,xt_tcpudp,ip_tables
autofs4                49152  2
ext4                  741376  2
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
ecb                    16384  0
btrfs                1400832  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  1 btrfs
crc32c_generic         16384  0
dm_mod                155648  6
mlx4_ib               208896  0
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
libata                270336  3 libahci,ahci,libsas
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci
mlx4_core             360448  2 mlx4_ib,mlx4_en
aesni_intel           200704  1
scsi_mod              249856  6 isci,scsi_transport_sas,sd_mod,libsas,libata,sg
usbcore               294912  2 ehci_pci,ehci_hcd
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
lpc_ich                28672  0
devlink                77824  3 mlx4_core,mlx4_ib,mlx4_en
i2c_i801               28672  0
mfd_core               16384  1 lpc_ich
usb_common             16384  1 usbcore
+ systemd-detect-virt -q
No virtualization is used.
+ echo 'No virtualization is used.'
++ ulimit -n
maximum allowed number of open file descriptors:  1024
+ 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 3 jenkins jenkins 4096 Feb 12  2019 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 Feb 12  2019 index.lock

/var/lib/jenkins/.vagrant.d/gems:
total 4
drwxr-xr-x 2 jenkins jenkins 4096 Feb 12  2019 2.3.3

/var/lib/jenkins/.vagrant.d/gems/2.3.3:
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
osuosl-build168-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
+ git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 892c983f5f Merge branch 'update_tasks' into 'master'
+ git clean -fdx --exclude build --exclude repo --exclude unsigned
Removing builder/
Removing cache/
Removing config.py
Removing logs/
Removing tmp/
+ echo 'build_server_always = True'
+ echo 'deploy_process_logs = 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
DEBUG: Reading 'config.py'
INFO: Creating log directory
INFO: Creating temporary directory
DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata, universal_newlines=False, shell=None)
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)
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)
DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
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)
DEBUG: Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps, universal_newlines=False, shell=None)
DEBUG: Set open file limit to 6118
DEBUG: Setting 7200 sec timeout for this build
DEBUG: Getting git vcs interface for https://github.com/tasks/tasks.git
DEBUG: > git --version
git version 2.20.1
INFO: Using git version 2.20.1
DEBUG: Checking 8.0.1
INFO: Building version 8.0.1 (670) of org.tasks
DEBUG: Directory: build/org.tasks
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/org.tasks
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/org.tasks
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/org.tasks
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.tasks
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 --force origin
DEBUG: Directory: build/org.tasks
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/org.tasks
DEBUG: > git checkout -f 8.0.1
DEBUG: Directory: build/org.tasks
DEBUG: > git clean -dffx
INFO: buildserver path does not exists, creating builder
DEBUG: virtualbox is the sole installed and supported vagrant provider, selecting 'virtualbox'
DEBUG: vm uuid is None
INFO: resetting buildserver, because vagrant vm is not okay.
INFO: destroying vm 'builder_default'
==> default: VM not created. Moving on...
DEBUG: vagrant destroy completed
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                                                                                         
--------------------------------------------------------------------------------------------------------------------------------------
95dbd0e  default virtualbox running /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 (use "vagrant global-status --prune" to prune invalid
entries). 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"
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'buildserver' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'buildserver' (v0) for provider: virtualbox
    default: Downloading: buildserver
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata/builder/buildserver
ERROR: Could not build app org.tasks: could not bring up vm 'builder_default'
CRITICAL: Unknown exception found!
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 164, in main
    raise e
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/__main__.py", line 145, in main
    mod.main()
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/build.py", line 1210, in main
    common.write_running_status_json(status_output)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 706, in write_running_status_json
    write_status_json(output, pretty=True, name='running')
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 720, in write_status_json
    json.dump(output, fp, sort_keys=True, cls=Encoder, indent=2)
  File "/usr/lib/python3.7/json/__init__.py", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.7/json/encoder.py", line 431, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 438, in _iterencode
    o = _default(o)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 678, in default
    return super().default(obj)
  File "/usr/lib/python3.7/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type FDroidBuildVmException is not JSON serializable
ERROR: Force halting build after 7200 sec timeout!
DEBUG: virtualbox is the sole installed and supported vagrant provider, selecting 'virtualbox'
DEBUG: vm uuid is None
==> default: VM not created. Moving on...
+ cleanup_all
++ date -u
Wed 19 Feb 2020 04:25:11 PM UTC - cleanup in progress...
+ echo 'Wed 19 Feb 2020 04:25:11 PM UTC - cleanup in progress...'
+ killall adb
adb: no process found
Wed 19 Feb 2020 04:25:11 PM UTC - reproducible_fdroid_build_apps.sh stopped running as /tmp/jenkins-script-yq1tapri, 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