[Qa-jenkins-scm] Build failed in Jenkins: reproducible_fdroid_test #153

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Wed Sep 5 04:03:25 BST 2018


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

Changes:

[hans] validate appid when reading metadata files

[hans] update: throw exception for APKs with invalid Application ID

[hans] buildserver now needs python3-defusedxml

[hans] temp fallback to built-in ElementTree if defusedxml is not there

------------------------------------------
[...truncated 13.56 MB...]
icons-480/
icons-480/com.politedroid.3.png
icons-480/com.politedroid.4.png
icons-480/com.politedroid.5.png
icons-480/com.politedroid.6.png
icons-480/duplicate.permisssions.9999999.png
icons-480/info.guardianproject.urzip.100.png
icons-480/obb.main.oldversion.1444412523.png
icons-480/obb.main.twoversions.1101613.png
icons-480/obb.main.twoversions.1101615.png
icons-480/obb.main.twoversions.1101617.png
icons-480/obb.mainpatch.current.1619.png
icons-480/souch.smsbypass.9.png
icons-640/
icons-640/com.politedroid.3.png
icons-640/com.politedroid.4.png
icons-640/com.politedroid.5.png
icons-640/com.politedroid.6.png
icons-640/duplicate.permisssions.9999999.png
icons-640/info.guardianproject.urzip.100.png
icons-640/obb.main.oldversion.1444412523.png
icons-640/obb.main.twoversions.1101613.png
icons-640/obb.main.twoversions.1101615.png
icons-640/obb.main.twoversions.1101617.png
icons-640/obb.mainpatch.current.1619.png
icons-640/souch.smsbypass.9.png
icons/
icons/com.politedroid.3.png
icons/com.politedroid.4.png
icons/com.politedroid.5.png
icons/com.politedroid.6.png
icons/duplicate.permisssions.9999999.png
icons/fdroid-icon.png
icons/info.guardianproject.urzip.100.png
icons/info.zwanenburg.caffeinetile.4.xml
icons/obb.main.oldversion.1444412523.png
icons/obb.main.twoversions.1101613.png
icons/obb.main.twoversions.1101615.png
icons/obb.main.twoversions.1101617.png
icons/obb.mainpatch.current.1619.png
icons/souch.smsbypass.9.png
info.guardianproject.checkey/
info.guardianproject.checkey/en-US/
info.guardianproject.checkey/en-US/phoneScreenshots/
info.guardianproject.checkey/en-US/phoneScreenshots/checkey-phone.png
info.guardianproject.checkey/en-US/phoneScreenshots/checkey.png
info.guardianproject.urzip/
info.guardianproject.urzip/en-US/
info.guardianproject.urzip/en-US/featureGraphic.png
info.guardianproject.urzip/en-US/icon.png
obb.mainpatch.current/
obb.mainpatch.current/en-US/
obb.mainpatch.current/en-US/featureGraphic.png
obb.mainpatch.current/en-US/icon.png
obb.mainpatch.current/en-US/phoneScreenshots/
obb.mainpatch.current/en-US/phoneScreenshots/screenshot-main.png
obb.mainpatch.current/en-US/sevenInchScreenshots/
obb.mainpatch.current/en-US/sevenInchScreenshots/screenshot-tablet-main.png
org.videolan.vlc/
org.videolan.vlc/en-US/
org.videolan.vlc/en-US/icon.png
org.videolan.vlc/en-US/phoneScreenshots/
org.videolan.vlc/en-US/phoneScreenshots/screenshot10.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot12.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot15.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot18.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot20.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot22.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot4.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot7.png
org.videolan.vlc/en-US/phoneScreenshots/screenshot9.png
org.videolan.vlc/en-US/sevenInchScreenshots/
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot0.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot1.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot11.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot13.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot14.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot16.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot17.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot19.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot2.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot21.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot23.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot3.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot5.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot6.png
org.videolan.vlc/en-US/sevenInchScreenshots/screenshot8.png

sent 3,277,532 bytes  received 2,925 bytes  6,560,914.00 bytes/sec
total size is 3,261,970  speedup is 0.99
DEBUG: Popen(['git', 'init'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=False, shell=None)
DEBUG: Popen(['git', 'remote', 'add', 'lib', '/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.DpRp'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=False, shell=None)
INFO: Mirroring to: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.DpRp
DEBUG: Adding all files to git mirror
DEBUG: Popen(['git', 'add', '--all'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=False, shell=None)
DEBUG: Committing all files into git mirror
DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=False, shell=None)
DEBUG: Popen(['git', 'cat-file', '--batch'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=False, shell=None)
DEBUG: Pushing to /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.DpRp
DEBUG: Popen(['git', 'version'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=False, shell=None)
DEBUG: Popen(['git', 'push', '--force', '--porcelain', '--progress', '--set-upstream', 'lib', 'master'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/git-mirror, universal_newlines=True, shell=None)
DEBUG: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.DpRp: [new branch]

INFO: Pushing binary transparency log to /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.O6Uk
DEBUG: Popen(['git', 'init'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.O6Uk, universal_newlines=False, shell=None)
DEBUG: Popen(['git', 'remote', 'add', 'local', '/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.Spgt/binary_transparency'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.O6Uk, universal_newlines=False, shell=None)
DEBUG: Popen(['git', 'pull', '-v', 'local', 'master'], cwd=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.O6Uk, universal_newlines=True, shell=None)
DEBUG: Fetch head lines do not match lines provided via progress information
length of progress lines 2 should be equal to lines in FETCH_HEAD file 1
Will ignore extra progress lines or fetch head lines.
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.O6Uk
++ git rev-list --count HEAD
+ '[' 1 == 1 ']'
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.DpRp
++ git rev-list --count HEAD
+ '[' 1 == 1 ']'
+ rm -rf /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver.egg-info/
SUCCESS
+ echo SUCCESS
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata
+ rm -f config.py keystore.jks
+ ../fdroid init --verbose
DEBUG: Using androguard from "/usr/lib/python3/dist-packages/androguard/__init__.py"
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:env FDROID_KEY_STORE_PASS -keypass:env FDROID_KEY_PASS -dname CN=profitbricks-build7-amd64, OU=F-Droid -J-Duser.language=en

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -list -v -keystore keystore.jks -alias profitbricks-build7-amd64 -storepass:env FDROID_KEY_STORE_PASS -J-Duser.language=en
Alias name: profitbricks-build7-amd64
Creation date: Sep 5, 2018
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: b053d10
Valid from: Wed Sep 05 03:03:14 UTC 2018 until: Sun Jan 21 03:03:14 UTC 2046
Certificate fingerprints:
	 MD5:  E3:CB:85:ED:C5:14:0E:20:C1:36:17:7E:38:33:2C:9B
	 SHA1: C1:04:15:E4:28:84:A2:A6:F0:88:E2:9B:F4:06:2D:C4:59:24:BF:D5
	 SHA256: C9:EF:8E:73:F6:73:86:6D:83:6E:00:EF:E0:A0:70:62:9F:9A:C9:3D:9D:9F:5E:03:02:45:34:19:F7:32:D0:D2
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3

Extensions: 

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: AA 38 7E 5F C6 36 F6 76   7C 23 5A DC F8 E7 32 86  .8._.6.v.#Z...2.
0010: E3 10 FE 90                                        ....
]
]


Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: Alias name: profitbricks-build7-amd64
Creation date: Sep 5, 2018
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: b053d10
Valid from: Wed Sep 05 03:03:14 UTC 2018 until: Sun Jan 21 03:03:14 UTC 2046
Certificate fingerprints:
	 MD5:  E3:CB:85:ED:C5:14:0E:20:C1:36:17:7E:38:33:2C:9B
	 SHA1: C1:04:15:E4:28:84:A2:A6:F0:88:E2:9B:F4:06:2D:C4:59:24:BF:D5
	 SHA256: C9:EF:8E:73:F6:73:86:6D:83:6E:00:EF:E0:A0:70:62:9F:9A:C9:3D:9D:9F:5E:03:02:45:34:19:F7:32:D0:D2
Signature algorithm name: SHA256withRSA
Subject Public Key Algorithm: 4096-bit RSA key
Version: 3

Extensions: 

#1: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: AA 38 7E 5F C6 36 F6 76   7C 23 5A DC F8 E7 32 86  .8._.6.v.#Z...2.
0010: E3 10 FE 90                                        ....
]
]


Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".


DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -keystore keystore.jks -alias profitbricks-build7-amd64 -storepass:env FDROID_KEY_STORE_PASS

Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: 
Built repo based in "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata" with this config:

  Android SDK:			/usr/lib/android-sdk
  Android NDK r12b (optional):	$ANDROID_NDK
  Keystore for signing key:	keystore.jks

To complete the setup, add your APKs to "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/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/docs/Setup_an_F-Droid_App_Repo
and https://f-droid.org/docs/Signing_Process
+ export GNUPGHOME=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome
+ GNUPGHOME=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome
+ '[' '!' -e /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome/private-keys-v1.d ']'
+ mkdir -p /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome/private-keys-v1.d
+ chmod 0700 /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome/private-keys-v1.d
+ gpg --import /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome/secring.gpg
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome/secring.gpg' to gpg-agent
gpg: key 16D6C4D3CE71F7FB: secret key imported
gpg: migration succeeded
gpg: key 16D6C4D3CE71F7FB: "Fake F-Droid Test Signing Key (never use this for anything but tests) <fake at fake>" not changed
gpg: key 16D6C4D3CE71F7FB: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:  secret keys unchanged: 1
+ echo 'build_server_always = True'
+ echo 'make_current_version_link = False'
+ echo 'gpghome = '\''/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/gnupghome'\'''
+ echo 'gpgkey = '\''CE71F7FB'\'''
+ chmod 0600 config.py
+ sed -i '/\s*repo_key_sha256\s*=.*/d' config.py
+ test -d repo
+ test -d archive
+ mkdir archive
+ ../fdroid publish
INFO: Creating log directory
INFO: Creating temporary directory
CRITICAL: uk.co.turtle-player from metadata/uk.co.turtle-player.txt is not a valid Java Package Name!
+ cleanup_all
++ date -u
Wed Sep  5 03:03:21 UTC 2018 - cleanup in progress...
+ echo 'Wed Sep  5 03:03:21 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Wed Sep  5 03:03:21 UTC 2018 - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-YXRxXIa2, 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