[Qa-jenkins-scm] Build failed in Jenkins: reproducible_fdroid_test #242
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Thu Aug 15 10:07:49 BST 2019
See <https://jenkins.debian.net/job/reproducible_fdroid_test/242/display/redirect?page=changes>
Changes:
[hans] update CHANGELOG for v1.1.4
------------------------------------------
[...truncated 152.15 KB...]
+ REPOROOT=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.N1An
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.N1An
+ mkdir repo
+ mkdir metadata
+ echo License:GPL-2.0-only
+ echo 'Summary:Yup still fake'
+ echo Categories:Internet
+ echo Description:
+ echo 'this is fake'
+ echo .
+ echo 'java_paths = {}'
++ create_test_dir
++ test -e /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles
++ mktemp -d /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.XXXX
+ LOCAL_COPY_DIR=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.s9b8/fdroid
+ mkdir -p /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.s9b8/fdroid/repo
+ echo 'local_copy_dir = '\''/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.s9b8/fdroid'\'''
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid checkupdates --allow-dirty
INFO: Processing fake
INFO: ...fake : Checking disabled
INFO: Finished
+ which gpg
/usr/bin/gpg
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid gpgsign
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid lint
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid readmeta
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid rewritemeta fake
INFO: Rewriting 'fake'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid deploy
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid server update
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid scanner
INFO: Creating build directory
INFO: fake: no builds specified, running on current source state
INFO: Finished
0 problems found
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid build
usage: fdroid build [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]
fdroid build: error: option all: If you really want to build all the apps, use --all
+ true
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid import
CRITICAL: Specify project url.
+ true
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid install
usage: fdroid install [options] [APPID[:VERCODE] [APPID[:VERCODE] ...]]
fdroid install: error: option all: If you really want to install all the signed apps, use --all
+ true
+ '[' -e .git/config ']'
+ echo_header 'test config checks of local_copy_dir'
==============================================================================
test config checks of local_copy_dir
++ create_test_dir
++ test -e /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles
++ mktemp -d /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.XXXX
+ REPOROOT=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.qI1c
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.qI1c
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid init
INFO: Generating a new key in "keystore.jks"...
INFO: Alias name: osuosl-build168-amd64.debian.net
Creation date: Aug 15, 2019
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=osuosl-build168-amd64.debian.net, OU=F-Droid
Issuer: CN=osuosl-build168-amd64.debian.net, OU=F-Droid
Serial number: 7963b363
Valid from: Thu Aug 15 09:07:33 UTC 2019 until: Mon Dec 31 09:07:33 UTC 2046
Certificate fingerprints:
SHA1: 1B:74:E3:58:31:4F:3A:1B:46:84:5B:35:24:78:EA:D6:7D:F3:5D:5B
SHA256: 05:99:F1:7D:C1:B0:15:1B:EE:F7:60:45:B5:AD:D7:95:76:8D:C0:49:42:82:FE:90:23:65:A0:BE:4F:CC:28:8A
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: 97 E2 10 13 F2 2B 2A 38 E0 87 8C 05 DE 7D 80 EC .....+*8........
0010: 5C 40 9E 2A \@.*
]
]
INFO:
Built repo based in "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.qI1c" 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/.testfiles/run-tests.qI1c/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
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid update --create-metadata --verbose
DEBUG: Reading 'config.py'
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool -exportcert -alias osuosl-build168-amd64.debian.net -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS
INFO: Creating signed index with this key (SHA256):
INFO: 05 99 F1 7D C1 B0 15 1B EE F7 60 45 B5 AD D7 95 76 8D C0 49 42 82 FE 90 23 65 A0 BE 4F CC 28 8A
DEBUG: Directory: repo
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index.jar osuosl-build168-amd64.debian.net -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index-v1.jar osuosl-build168-amd64.debian.net -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool -exportcert -alias osuosl-build168-amd64.debian.net -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS
INFO: Creating signed index with this key (SHA256):
INFO: 05 99 F1 7D C1 B0 15 1B EE F7 60 45 B5 AD D7 95 76 8D C0 49 42 82 FE 90 23 65 A0 BE 4F CC 28 8A
DEBUG: Directory: archive
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index.jar osuosl-build168-amd64.debian.net -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index-v1.jar osuosl-build168-amd64.debian.net -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
INFO: Finished
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid readmeta
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid server update --local-copy-dir=/tmp/fdroid
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid deploy --local-copy-dir=/tmp/fdroid --verbose
DEBUG: Reading 'config.py'
DEBUG: rsync --recursive --safe-links --times --perms --one-file-system --delete --chmod=Da+rx,Fa-x,a+r,u+w --checksum --verbose repo /tmp/fdroid/
sending incremental file list
sent 497 bytes received 24 bytes 1,042.00 bytes/sec
total size is 14,660 speedup is 28.14
DEBUG: rsync --recursive --safe-links --times --perms --one-file-system --delete --chmod=Da+rx,Fa-x,a+r,u+w --checksum --verbose archive /tmp/fdroid/
sending incremental file list
sent 449 bytes received 24 bytes 946.00 bytes/sec
total size is 14,033 speedup is 29.67
+ set +e
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid server update --local-copy-dir=thisisnotanabsolutepath
ERROR: The root dir for local_copy_dir "" does not exist!
+ '[' 1 -eq 0 ']'
+ echo 'testing absolute path checker passed'
testing absolute path checker passed
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid server update --local-copy-dir=/tmp/IReallyDoubtThisPathExistsasdfasdf
ERROR: local_copy_dir does not end with "fdroid", perhaps you meant: "/tmp/IReallyDoubtThisPathExistsasdfasdf/fdroid"
testing dirname exists checker passed
+ '[' 1 -eq 0 ']'
+ echo 'testing dirname exists checker passed'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid server update --local-copy-dir=/tmp/IReallyDoubtThisPathExistsasdfasdf/fdroid
ERROR: The root dir for local_copy_dir "/tmp/IReallyDoubtThisPathExistsasdfasdf" does not exist!
testing dirname exists checker passed
+ '[' 1 -eq 0 ']'
+ echo 'testing dirname exists checker passed'
+ set -e
==============================================================================
setup a new repo from scratch using ANDROID_HOME and do a local sync
+ echo_header 'setup a new repo from scratch using ANDROID_HOME and do a local sync'
++ create_test_dir
++ test -e /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles
++ mktemp -d /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.XXXX
+ REPOROOT=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.NMuC
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.NMuC
+ fdroid_init_with_prebuilt_keystore
+ '[' -z '' ']'
+ keystore=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid init --keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks --repo-keyalias=sova
WARNING:
Using existing keystore "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks"
Now set these in config.py: keystorepass, keypass, keydname
INFO:
Built repo based in "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.NMuC" with this config:
Android SDK: /usr/lib/android-sdk
Android NDK r12b (optional): $ANDROID_NDK
Keystore for signing key: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks
Alias for key in store: sova
To complete the setup, add your APKs to "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.NMuC/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
+ echo 'keystorepass = "r9aquRHYoI8+dYz6jKrLntQ5/NJNASFBacJh7Jv2BlI="'
+ echo 'keypass = "r9aquRHYoI8+dYz6jKrLntQ5/NJNASFBacJh7Jv2BlI="'
+ copy_apks_into_repo /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.NMuC
+ set +x
find: ‘/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata/repo’: No such file or directory
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid update --create-metadata --verbose
DEBUG: Reading 'config.py'
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool -exportcert -alias sova -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -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 /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -destkeystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: F4 9A F3 F1 1E FD DF 20 DF FD 70 F5 E3 11 7B 99 76 67 41 67 AD CA 28 0E 6B 19 32 A0 60 1B 26 F6
DEBUG: Directory: repo
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index.jar sova -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index-v1.jar sova -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool -exportcert -alias sova -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -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 /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -destkeystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: F4 9A F3 F1 1E FD DF 20 DF FD 70 F5 E3 11 7B 99 76 67 41 67 AD CA 28 0E 6B 19 32 A0 60 1B 26 F6
DEBUG: Directory: archive
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index.jar sova -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
DEBUG: > /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index-v1.jar sova -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
The signer's certificate is self-signed.
INFO: Finished
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid readmeta
+ grep -F '<application id=' repo/index.xml
+ cleanup_all
++ date -u
Thu 15 Aug 2019 09:07:48 AM UTC - cleanup in progress...
+ echo 'Thu 15 Aug 2019 09:07:48 AM UTC - cleanup in progress...'
+ killall adb
adb: no process found
Thu 15 Aug 2019 09:07:48 AM UTC - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-E61ZX4Xb, 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