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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Wed May 20 16:14:33 BST 2020


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

Changes:


------------------------------------------
[...truncated 760.67 KB...]
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_setup_fdroid_build_environment/fdroiddata/builder/.vagrant
DEBUG: vagrant global-status --prune
id       name    provider   state    directory                                                                                         
---------------------------------------------------------------------------------------------------------------------------------------
56d488f  default virtualbox poweroff /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: Importing base box 'buildserver'...
Progress: 10%Progress: 20%Progress: 30%Progress: 40%Progress: 50%Progress: 60%Progress: 70%Progress: 80%Progress: 90%==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: builder_default_1589987537931_63947
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default: 
    default: Guest Additions Version: 5.2.24
    default: VirtualBox Version: 6.0
DEBUG: vm uuid: 5632e81b-29ca-46ce-aa59-6348f4b709d9
INFO: suspending buildserver
==> default: Saving VM state and suspending execution...
INFO: buildserver recreated: taking a clean snapshot
INFO: creating snapshot 'fdroidclean' for vm 'builder_default'
DEBUG: VBoxManage snapshot 5632e81b-29ca-46ce-aa59-6348f4b709d9 take fdroidclean
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Snapshot taken. UUID: feb138d0-9110-44fb-9bc1-392a1eabb0f9
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Resuming suspended VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
==> default: Machine booted and ready!
DEBUG: vm uuid: 5632e81b-29ca-46ce-aa59-6348f4b709d9
DEBUG: vagrant ssh-config
INFO: Connecting to virtual machine...
INFO: Connected (version 2.0, client OpenSSH_7.4p1)
/usr/lib/python3/dist-packages/paramiko/kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  m.add_string(self.Q_C.public_numbers().encode_point())
/usr/lib/python3/dist-packages/paramiko/kex_ecdh_nist.py:96: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
  self.curve, Q_S_bytes
/usr/lib/python3/dist-packages/paramiko/kex_ecdh_nist.py:111: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  hm.add_string(self.Q_C.public_numbers().encode_point())
INFO: Authentication (publickey) successful!
INFO: [chan 0] Opened sftp connection (server version 3)
INFO: Preparing server for build...
DEBUG: rsyncing /var/lib/jenkins/userContent/reproducible/reproducible_setup_fdroid_build_environment/fdroidserver to /home/vagrant/fdroidserver
DEBUG: rsyncing build/org.fdroid.fdroid to /home/vagrant/build
INFO: Starting build...
DEBUG: buildserver > DEBUG: Reading 'config.py'
DEBUG: buildserver > INFO: Creating log directory
DEBUG: buildserver > INFO: Creating temporary directory
DEBUG: buildserver > INFO: Creating output directory
DEBUG: buildserver > DEBUG: Getting git vcs interface for https://gitlab.com/fdroid/fdroidclient.git
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git rev-parse --show-toplevel
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > 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: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > 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: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git remote set-head origin --auto
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git checkout -f HEAD
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git clean -dffx
DEBUG: buildserver > DEBUG: Getting git vcs interface for https://gitlab.com/fdroid/fdroidclient.git
DEBUG: buildserver > DEBUG: > git --version
DEBUG: buildserver > git version 2.11.0
DEBUG: buildserver > INFO: Using git version 2.11.0
DEBUG: buildserver > DEBUG: Checking 1.8
DEBUG: buildserver > INFO: Building version 1.8 (1008050) of org.fdroid.fdroid
DEBUG: buildserver > INFO: Running 'sudo' commands in /home/vagrant
DEBUG: buildserver > DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -x -c apt-get update; apt-get update; apt-get install -y disorderfs
DEBUG: buildserver > + apt-get update
DEBUG: buildserver > Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
DEBUG: buildserver > Ign:2 http://deb.debian.org/debian stretch InRelease
DEBUG: buildserver > Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
DEBUG: buildserver > Get:4 http://deb.debian.org/debian stretch-backports-sloppy InRelease [46.7 kB]
DEBUG: buildserver > Get:5 http://deb.debian.org/debian stretch-backports InRelease [91.8 kB]
DEBUG: buildserver > Get:6 http://deb.debian.org/debian testing InRelease [116 kB]
DEBUG: buildserver > Hit:7 http://deb.debian.org/debian stretch Release
DEBUG: buildserver > Get:8 http://deb.debian.org/debian testing/main i386 Packages.diff/Index [27.9 kB]
DEBUG: buildserver > Get:9 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB]
DEBUG: buildserver > Get:10 http://deb.debian.org/debian testing/main Translation-en.diff/Index [27.9 kB]
DEBUG: buildserver > Get:12 http://deb.debian.org/debian testing/main i386 Packages 2020-05-20-0812.30.pdiff [14.4 kB]
DEBUG: buildserver > Get:13 http://deb.debian.org/debian testing/main i386 Packages 2020-05-20-1411.44.pdiff [1,551 B]
DEBUG: buildserver > Get:14 http://deb.debian.org/debian testing/main amd64 Packages 2020-05-20-0812.30.pdiff [14.4 kB]
DEBUG: buildserver > Get:15 http://deb.debian.org/debian testing/main amd64 Packages 2020-05-20-1411.44.pdiff [1,560 B]
DEBUG: buildserver > Get:13 http://deb.debian.org/debian testing/main i386 Packages 2020-05-20-1411.44.pdiff [1,551 B]
DEBUG: buildserver > Get:15 http://deb.debian.org/debian testing/main amd64 Packages 2020-05-20-1411.44.pdiff [1,560 B]
DEBUG: buildserver > Get:16 http://deb.debian.org/debian testing/main Translation-en 2020-05-20-0812.30.pdiff [53 B]
DEBUG: buildserver > Get:17 http://deb.debian.org/debian testing/main Translation-en 2020-05-20-1411.44.pdiff [295 B]
DEBUG: buildserver > Get:17 http://deb.debian.org/debian testing/main Translation-en 2020-05-20-1411.44.pdiff [295 B]
DEBUG: buildserver > Fetched 462 kB in 5s (80.5 kB/s)
DEBUG: buildserver > Reading package lists...
DEBUG: buildserver > + apt-get update
DEBUG: buildserver > Ign:1 http://deb.debian.org/debian stretch InRelease
DEBUG: buildserver > Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
DEBUG: buildserver > Hit:3 http://deb.debian.org/debian stretch-updates InRelease
DEBUG: buildserver > Hit:4 http://deb.debian.org/debian stretch-backports-sloppy InRelease
DEBUG: buildserver > Hit:5 http://deb.debian.org/debian stretch-backports InRelease
DEBUG: buildserver > Hit:6 http://deb.debian.org/debian testing InRelease
DEBUG: buildserver > Hit:7 http://deb.debian.org/debian stretch Release
DEBUG: buildserver > Reading package lists...
DEBUG: buildserver > + apt-get install -y disorderfs
DEBUG: buildserver > Reading package lists...
DEBUG: buildserver > Building dependency tree...
DEBUG: buildserver > Reading state information...
DEBUG: buildserver > disorderfs is already the newest version (0.5.1-1+b1).
DEBUG: buildserver > 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
DEBUG: buildserver > DEBUG: > sudo passwd --lock root
DEBUG: buildserver > passwd: password expiry information changed.
DEBUG: buildserver > DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
DEBUG: buildserver > (Reading database ... 60743 files and directories currently installed.)
DEBUG: buildserver > Removing sudo (1.8.19p1-2.1+deb9u2) ...
DEBUG: buildserver > Purging configuration files for sudo (1.8.19p1-2.1+deb9u2) ...
DEBUG: buildserver > Processing triggers for systemd (232-25+deb9u12) ...
DEBUG: buildserver > INFO: Getting source for revision 1.8
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git rev-parse --show-toplevel
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > 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: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > 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: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git remote set-head origin --auto
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git checkout -f 1.8
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid
DEBUG: buildserver > DEBUG: > git clean -dffx
DEBUG: buildserver > INFO: Running 'init' commands in build/org.fdroid.fdroid/app
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid/app
DEBUG: buildserver > DEBUG: > bash -x -c -- cd ../.. && mv org.fdroid.fdroid org.fdroid.fdroid.build && mkdir org.fdroid.fdroid && disorderfs --sort-dirents=yes --reverse-dirents=no org.fdroid.fdroid.build org.fdroid.fdroid
DEBUG: buildserver > + cd ../..
DEBUG: buildserver > + mv org.fdroid.fdroid org.fdroid.fdroid.build
DEBUG: buildserver > + mkdir org.fdroid.fdroid
DEBUG: buildserver > + disorderfs --sort-dirents=yes --reverse-dirents=no org.fdroid.fdroid.build org.fdroid.fdroid
DEBUG: buildserver > disorderfs: sorting dirents
DEBUG: buildserver > INFO: Creating local.properties file at build/org.fdroid.fdroid/local.properties
DEBUG: buildserver > INFO: Creating local.properties file at build/org.fdroid.fdroid/app/local.properties
DEBUG: buildserver > DEBUG: Removing debuggable flags from build/org.fdroid.fdroid/app
DEBUG: buildserver > INFO: Cleaning Gradle project...
DEBUG: buildserver > DEBUG: Directory: build/org.fdroid.fdroid/app
DEBUG: buildserver > DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
DEBUG: buildserver > Found 4.4.1 via distributionUrl
DEBUG: buildserver > Running /opt/gradle/versions/4.4.1/bin/gradle clean
DEBUG: buildserver > buildTypes.debug defaultConfig.versionCode 1008050
DEBUG: buildserver > :app:clean UP-TO-DATE
DEBUG: buildserver > 
DEBUG: buildserver > BUILD SUCCESSFUL in 19s
DEBUG: buildserver > 1 actionable task: 1 up-to-date
DEBUG: buildserver > INFO: Scanning source for common problems...
DEBUG: buildserver > INFO: Removing APK file at app/src/androidTest/assets/org.fdroid.extendedpermissionstest.apk
DEBUG: buildserver > ERROR: Could not build app org.fdroid.fdroid due to unknown error: Traceback (most recent call last):
DEBUG: buildserver >   File "/home/vagrant/fdroidserver/fdroidserver/build.py", line 1101, in main
DEBUG: buildserver >     options.onserver, options.refresh):
DEBUG: buildserver >   File "/home/vagrant/fdroidserver/fdroidserver/build.py", line 867, in trybuild
DEBUG: buildserver >     build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, extlib_dir, tmp_dir, force, onserver, refresh)
DEBUG: buildserver >   File "/home/vagrant/fdroidserver/fdroidserver/build.py", line 515, in build_local
DEBUG: buildserver >     count = scanner.scan_source(build_dir, build)
DEBUG: buildserver >   File "/home/vagrant/fdroidserver/fdroidserver/scanner.py", line 232, in scan_source
DEBUG: buildserver >     removeproblem('APK file', path_in_build_dir, filepath)
DEBUG: buildserver >   File "/home/vagrant/fdroidserver/fdroidserver/scanner.py", line 153, in removeproblem
DEBUG: buildserver >     json_per_build['infos'].append([what, path_in_build_dir])
DEBUG: buildserver > TypeError: 'NoneType' object is not subscriptable
DEBUG: buildserver > 
DEBUG: buildserver > DEBUG: Error encoutered, stopping by user request.
INFO: ...getting exit status
DEBUG: virtualbox is the sole installed and supported vagrant provider, selecting 'virtualbox'
DEBUG: vm uuid: 5632e81b-29ca-46ce-aa59-6348f4b709d9
INFO: suspending buildserver
==> default: Saving VM state and suspending execution...
DEBUG: skip deploying full build logs: not enabled in config
ERROR: Could not build app org.fdroid.fdroid: Build.py failed on server for org.fdroid.fdroid:1.8
DEBUG: Error encoutered, stopping by user request.
+ cleanup_all
+ set +e
++ date -u
Wed 20 May 2020 03:14:18 PM UTC - cleanup in progress...
+ echo 'Wed 20 May 2020 03:14:18 PM UTC - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
root       951  0.0  0.0      0     0 ?        I<   May10   0:00 [iprt-VBoxWQueue]
root       952  0.0  0.0      0     0 ?        S    May10   0:00 [iprt-VBoxTscThr]
root      1306  0.0  0.0 147136 14144 ?        S    May10   0:04 /usr/lib/virtualbox/VBoxXPCOMIPCD
root      1327  0.0  0.0 426512 22084 ?        Sl   May10   1:45 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
jenkins  27468  0.5  0.0  73404 14492 ?        S    14:48   0:08 /usr/lib/virtualbox/VBoxXPCOMIPCD
jenkins  27473 49.9  0.0 690964 28004 ?        Sl   14:48  12:52 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
jenkins  30565  0.0  0.0   6144   888 ?        S    15:14   0:00 grep -e VBox -e qemu
total 2.4G
-rwxr-xr-x 1 root root 1.3G Feb  1  2019 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.1.img
-rwxr-xr-x 1 root root 1.2G Jan 19  2019 fdroid-VAGRANTSLASH-basebox-stretch64_vagrant_box_image_0.5.img
+ ls -hl /var/lib/libvirt/images
+ 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
Wed 20 May 2020 03:14:32 PM UTC - cleanup done.
+ echo 'Wed 20 May 2020 03:14:32 PM UTC - cleanup done.'
+ cleanup_all
++ date -u
Wed 20 May 2020 03:14:32 PM UTC - cleanup in progress...
+ echo 'Wed 20 May 2020 03:14:32 PM UTC - cleanup in progress...'
+ killall adb
adb: no process found
Wed 20 May 2020 03:14:32 PM UTC - reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-NdReJHBH, 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