[Qa-jenkins-scm] Build failed in Jenkins: reproducible_setup_fdroid_build_environment_profitbricks7 #101

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Mar 28 00:49:14 UTC 2017


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

Changes:

[michael.poehn] post correct build tool versions to wiki

[michael.poehn] fix exception handling in build.py

[michael.poehn] fix exception handling in dscanner and update.py

[michael.poehn] fix local var name overloading when iterating build flavours

[michael.poehn] moved version android tools version log header to corresponding function

[t] Factor out code from update.main() to individual functions

[t] Return public key and fingerprint after generating repo signing key

[krt] import: add notabug.org

[krt] import: add option to specify license and categories, auto-detect

------------------------------------------
[...truncated 810.34 KB...]
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'buildserver' (v0) for provider: 
    box: Unpacking necessary files from: file:///var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/buildserver.box

    box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)
    box: Progress: 0% (Rate: 174M/s, Estimated time remaining: 0:00:57)
    box: Progress: 2% (Rate: 182M/s, Estimated time remaining: 0:00:54)
    box: Progress: 3% (Rate: 181M/s, Estimated time remaining: 0:00:53)
    box: Progress: 5% (Rate: 183M/s, Estimated time remaining: 0:00:51)
    box: Progress: 6% (Rate: 164M/s, Estimated time remaining: 0:00:57)
    box: Progress: 8% (Rate: 160M/s, Estimated time remaining: 0:00:57)
    box: Progress: 8% (Rate: 126M/s, Estimated time remaining: 0:01:07)
    box: Progress: 8% (Rate: 94.2M/s, Estimated time remaining: 0:01:16)
    box: Progress: 9% (Rate: 79.8M/s, Estimated time remaining: 0:01:16)
    box: Progress: 11% (Rate: 94.3M/s, Estimated time remaining: 0:01:10)
    box: Progress: 12% (Rate: 95.4M/s, Estimated time remaining: 0:01:08)
    box: Progress: 14% (Rate: 127M/s, Estimated time remaining: 0:01:04)
    box: Progress: 15% (Rate: 147M/s, Estimated time remaining: 0:01:04)
    box: Progress: 17% (Rate: 150M/s, Estimated time remaining: 0:01:03)
    box: Progress: 18% (Rate: 139M/s, Estimated time remaining: 0:01:02)
    box: Progress: 19% (Rate: 134M/s, Estimated time remaining: 0:01:02)
    box: Progress: 20% (Rate: 125M/s, Estimated time remaining: 0:01:01)
    box: Progress: 22% (Rate: 127M/s, Estimated time remaining: 0:01:00)
    box: Progress: 22% (Rate: 103M/s, Estimated time remaining: 0:01:03)
    box: Progress: 22% (Rate: 83.0M/s, Estimated time remaining: 0:01:06)
    box: Progress: 23% (Rate: 83.1M/s, Estimated time remaining: 0:01:04)
    box: Progress: 25% (Rate: 84.3M/s, Estimated time remaining: 0:01:03)
    box: Progress: 26% (Rate: 84.4M/s, Estimated time remaining: 0:01:02)
    box: Progress: 27% (Rate: 105M/s, Estimated time remaining: 0:01:01)
    box: Progress: 28% (Rate: 126M/s, Estimated time remaining: 0:00:59)
    box: Progress: 29% (Rate: 123M/s, Estimated time remaining: 0:00:59)
    box: Progress: 31% (Rate: 121M/s, Estimated time remaining: 0:00:58)
    box: Progress: 32% (Rate: 121M/s, Estimated time remaining: 0:00:56)
    box: Progress: 33% (Rate: 117M/s, Estimated time remaining: 0:00:56)
    box: Progress: 34% (Rate: 114M/s, Estimated time remaining: 0:00:55)
    box: Progress: 35% (Rate: 116M/s, Estimated time remaining: 0:00:54)
    box: Progress: 35% (Rate: 96.3M/s, Estimated time remaining: 0:00:55)
    box: Progress: 36% (Rate: 74.1M/s, Estimated time remaining: 0:00:57)
    box: Progress: 37% (Rate: 79.5M/s, Estimated time remaining: 0:00:55)
    box: Progress: 38% (Rate: 86.7M/s, Estimated time remaining: 0:00:53)
    box: Progress: 39% (Rate: 85.9M/s, Estimated time remaining: 0:00:52)
    box: Progress: 41% (Rate: 108M/s, Estimated time remaining: 0:00:51)
    box: Progress: 42% (Rate: 136M/s, Estimated time remaining: 0:00:49)
    box: Progress: 44% (Rate: 134M/s, Estimated time remaining: 0:00:48)
    box: Progress: 45% (Rate: 127M/s, Estimated time remaining: 0:00:47)
    box: Progress: 46% (Rate: 130M/s, Estimated time remaining: 0:00:46)
    box: Progress: 47% (Rate: 129M/s, Estimated time remaining: 0:00:45)
    box: Progress: 48% (Rate: 120M/s, Estimated time remaining: 0:00:44)
    box: Progress: 50% (Rate: 119M/s, Estimated time remaining: 0:00:43)
    box: Progress: 50% (Rate: 102M/s, Estimated time remaining: 0:00:43)
    box: Progress: 50% (Rate: 78.4M/s, Estimated time remaining: 0:00:44)
    box: Progress: 51% (Rate: 76.8M/s, Estimated time remaining: 0:00:43)
    box: Progress: 53% (Rate: 83.9M/s, Estimated time remaining: 0:00:41)
    box: Progress: 54% (Rate: 94.8M/s, Estimated time remaining: 0:00:40)
    box: Progress: 56% (Rate: 126M/s, Estimated time remaining: 0:00:38)
    box: Progress: 57% (Rate: 153M/s, Estimated time remaining: 0:00:36)
    box: Progress: 59% (Rate: 158M/s, Estimated time remaining: 0:00:35)
    box: Progress: 60% (Rate: 151M/s, Estimated time remaining: 0:00:34)
    box: Progress: 61% (Rate: 145M/s, Estimated time remaining: 0:00:32)
    box: Progress: 63% (Rate: 140M/s, Estimated time remaining: 0:00:31)
    box: Progress: 64% (Rate: 136M/s, Estimated time remaining: 0:00:30)
    box: Progress: 64% (Rate: 109M/s, Estimated time remaining: 0:00:30)
    box: Progress: 65% (Rate: 90.5M/s, Estimated time remaining: 0:00:30)
    box: Progress: 66% (Rate: 86.1M/s, Estimated time remaining: 0:00:29)
    box: Progress: 67% (Rate: 88.2M/s, Estimated time remaining: 0:00:28)
    box: Progress: 69% (Rate: 95.3M/s, Estimated time remaining: 0:00:26)
    box: Progress: 71% (Rate: 130M/s, Estimated time remaining: 0:00:24)
    box: Progress: 72% (Rate: 154M/s, Estimated time remaining: 0:00:23)
    box: Progress: 74% (Rate: 158M/s, Estimated time remaining: 0:00:22)
    box: Progress: 75% (Rate: 151M/s, Estimated time remaining: 0:00:21)
    box: Progress: 76% (Rate: 147M/s, Estimated time remaining: 0:00:19)
    box: Progress: 77% (Rate: 133M/s, Estimated time remaining: 0:00:18)
    box: Progress: 79% (Rate: 125M/s, Estimated time remaining: 0:00:18)
    box: Progress: 79% (Rate: 101M/s, Estimated time remaining: 0:00:18)
    box: Progress: 79% (Rate: 78.9M/s, Estimated time remaining: 0:00:18)
    box: Progress: 80% (Rate: 71.8M/s, Estimated time remaining: 0:00:17)
    box: Progress: 82% (Rate: 82.7M/s, Estimated time remaining: 0:00:15)
    box: Progress: 83% (Rate: 98.1M/s, Estimated time remaining: 0:00:14)
    box: Progress: 85% (Rate: 130M/s, Estimated time remaining: 0:00:12)
    box: Progress: 87% (Rate: 159M/s, Estimated time remaining: 0:00:11)
    box: Progress: 88% (Rate: 161M/s, Estimated time remaining: 0:00:10)
    box: Progress: 89% (Rate: 155M/s, Estimated time remaining: 0:00:08)
    box: Progress: 91% (Rate: 149M/s, Estimated time remaining: 0:00:07)
    box: Progress: 92% (Rate: 134M/s, Estimated time remaining: 0:00:06)
    box: Progress: 93% (Rate: 119M/s, Estimated time remaining: 0:00:06)
    box: Progress: 93% (Rate: 99.0M/s, Estimated time remaining: 0:00:05)
    box: Progress: 93% (Rate: 79.2M/s, Estimated time remaining: 0:00:05)
    box: Progress: 95% (Rate: 84.0M/s, Estimated time remaining: 0:00:04)
    box: Progress: 97% (Rate: 100M/s, Estimated time remaining: 0:00:02)
    box: Progress: 99% (Rate: 122M/s, Estimated time remaining: --:--:--)
+ '[' -e fdroiddata ']'
+ git clone --depth 1 https://gitlab.com/fdroid/fdroiddata.git fdroiddata
Cloning into 'fdroiddata'...
+ cd fdroiddata
+ '[' -z /usr/lib/android-sdk ']'
+ ../fdroid init --verbose
DEBUG: Reading config.py
INFO: Generating a new key in "keystore.jks"...
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -genkey -keystore keystore.jks -alias profitbricks-build7-amd64 -keyalg RSA -keysize 4096 -sigalg SHA256withRSA -validity 10000 -storepass:file .fdroid.keystorepass.txt -keypass:file .fdroid.keypass.txt -dname CN=profitbricks-build7-amd64, OU=F-Droid
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -list -v -keystore keystore.jks -alias profitbricks-build7-amd64 -storepass:file .fdroid.keystorepass.txt
Alias name: profitbricks-build7-amd64
Creation date: Mar 28, 2017
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=profitbricks-build7-amd64, OU=F-Droid
Issuer: CN=profitbricks-build7-amd64, OU=F-Droid
Serial number: 3aca98
Valid from: Tue Mar 28 00:48:33 UTC 2017 until: Sat Aug 13 00:48:33 UTC 2044
Certificate fingerprints:
	 MD5:  99:E0:0E:B3:66:D2:BC:7C:E6:FF:8C:CD:B9:37:00:8C
	 SHA1: EB:AA:A7:8A:6C:4C:28:DE:21:D1:F9:7E:59:5B:AD:C5:1C:1A:36:5B
	 SHA256: 9D:F7:0A:9F:F6:9A:FD:C8:D3:61:34:26:FC:15:D9:D0:10:E9:9D:74:C2:5D:C1:04:6B:E9:E0:F3:E1:05:09:F1
	 Signature algorithm name: SHA256withRSA
	 Version: 3

Extensions: 

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 0C 6E 5E 98 4C 67 51 D6   6C 07 AE E8 95 50 30 55  .n^.LgQ.l....P0U
0010: F5 09 F4 E1                                        ....
]
]

INFO: Alias name: profitbricks-build7-amd64
Creation date: Mar 28, 2017
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=profitbricks-build7-amd64, OU=F-Droid
Issuer: CN=profitbricks-build7-amd64, OU=F-Droid
Serial number: 3aca98
Valid from: Tue Mar 28 00:48:33 UTC 2017 until: Sat Aug 13 00:48:33 UTC 2044
Certificate fingerprints:
	 MD5:  99:E0:0E:B3:66:D2:BC:7C:E6:FF:8C:CD:B9:37:00:8C
	 SHA1: EB:AA:A7:8A:6C:4C:28:DE:21:D1:F9:7E:59:5B:AD:C5:1C:1A:36:5B
	 SHA256: 9D:F7:0A:9F:F6:9A:FD:C8:D3:61:34:26:FC:15:D9:D0:10:E9:9D:74:C2:5D:C1:04:6B:E9:E0:F3:E1:05:09:F1
	 Signature algorithm name: SHA256withRSA
	 Version: 3

Extensions: 

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 0C 6E 5E 98 4C 67 51 D6   6C 07 AE E8 95 50 30 55  .n^.LgQ.l....P0U
0010: F5 09 F4 E1                                        ....
]
]


INFO: Built repo based in "/var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/fdroiddata"
INFO: with this config:
INFO:   Android SDK:			/usr/lib/android-sdk
INFO:   Android SDK Build Tools:	/usr/lib/android-sdk/build-tools/debian
INFO:   Android NDK r12b (optional):	$ANDROID_NDK
INFO:   Keystore for signing key:	keystore.jks
INFO: 
To complete the setup, add your APKs to "/var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/fdroiddata/repo"
then run "fdroid update -c; fdroid update".  You might also want to edit
"config.py" to set the URL, repo name, and more.  You should also set up
a signing key (a temporary one might have been automatically generated).

For more info: https://f-droid.org/manual/fdroid.html#Simple-Binary-Repository
and https://f-droid.org/manual/fdroid.html#Signing

+ export GNUPGHOME=/var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/tests/gnupghome
+ GNUPGHOME=/var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/tests/gnupghome
+ echo 'gpghome = '\''/var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/tests/gnupghome'\'''
+ echo 'gpgkey = '\''CE71F7FB'\'''
+ echo 'build_server_always = True'
+ ../fdroid build --verbose --stop --latest org.fdroid.fdroid
DEBUG: Reading config.py
INFO: Creating log directory
INFO: Creating temporary directory
INFO: Creating output directory
DEBUG: Getting srclib vcs interface for fdroidclient
DEBUG: > git clone https://gitlab.com/fdroid/fdroidclient.git build/srclib/fdroidclient
Cloning into 'build/srclib/fdroidclient'...
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git checkout -f HEAD
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git clean -dffx
DEBUG: Getting srclib vcs interface for fdroidclient
DEBUG: Checking 0.102.2
INFO: Building version 0.102.2 (102250) of org.fdroid.fdroid
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git fetch origin
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git fetch --prune --tags origin
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git checkout -f v0.102.2
DEBUG: Directory: build/srclib/fdroidclient
DEBUG: > git clean -dffx
INFO: Checking for valid existing build server
INFO: Starting new build server
DEBUG: Directory: builder
DEBUG: > vagrant up
Bringing machine 'default' up with 'libvirt' provider...
Name `builder_default` of domain about to create is already taken. Please try to run
`vagrant up` command again.
ERROR: Could not build app org.fdroid.fdroid: Failed to start build server
+ cleanup_all
+ set +e
++ date -u
Tue Mar 28 00:48:53 UTC 2017 - cleanup in progress...
+ echo 'Tue Mar 28 00:48:53 UTC 2017 - cleanup in progress...'
+ ps auxww
+ grep -e VBox -e qemu
jenkins  10646  0.0  0.0  12860   936 ?        S    00:48   0:00 grep -e VBox -e qemu
libvirt+ 26604  0.0  0.1 1156996 8404 ?        Sl   Mar25   0:50 qemu-system-x86_64 -enable-kvm -name guest=builder_default,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-18-builder_default/master-key.aes -machine pc-i440fx-2.8,accel=kvm,usb=off,dump-guest-core=off -cpu qemu64,+vme,+pclmuldq,+ssse3,+sse4.1,+sse4.2,+popcnt,+aes,+xsave,+osxsave,+avx,+hypervisor,+mmxext,+pdpe1gb,+lahf_lm,+cmp_legacy,+abm,+sse4a,+misalignsse,+3dnowprefetch,+osvw,+xop,+fma4 -m 512 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid c63d7efc-91b7-46a0-9072-53aa8fe43bac -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-18-builder_default/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/builder_default.img,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=33,id=hostnet0,vhost=on,vhostfd=35 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:43:82:a4,bus=pci.0,addr=0x5 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -msg timestamp=on
+ cd /var/lib/jenkins/userContent/reproducible/fdroid/fdroidserver/buildserver
+ vagrant halt
+ sleep 5
+ killall VBoxHeadless
VBoxHeadless: no process found
+ sleep 5
+ killall -9 VBoxHeadless
VBoxHeadless: no process found
++ date -u
Tue Mar 28 00:49:04 UTC 2017 - cleanup done.
+ echo 'Tue Mar 28 00:49:04 UTC 2017 - cleanup done.'
+ cleanup_all
++ date -u
Tue Mar 28 00:49:04 UTC 2017 - cleanup in progress...
+ echo 'Tue Mar 28 00:49:04 UTC 2017 - cleanup in progress...'
+ killall VBoxHeadless
VBoxHeadless: no process found
+ true
+ sleep 10
++ date -u
Tue Mar 28 00:49:14 UTC 2017 - cleanup done.
+ echo 'Tue Mar 28 00:49:14 UTC 2017 - cleanup done.'
Tue Mar 28 00:49:14 UTC 2017 - /srv/jenkins/bin/reproducible_setup_fdroid_build_environment.sh stopped running as /tmp/jenkins-script-JsxsziKL, 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