[Qa-jenkins-scm] Build failed in Jenkins: reproducible_fdroid_test #5
jenkins at jenkins.debian.net
jenkins at jenkins.debian.net
Wed Nov 8 15:05:33 UTC 2017
See <https://jenkins.debian.net/job/reproducible_fdroid_test/5/display/redirect?page=changes>
Changes:
[hans] update: improve help strings
[hans] jenkins-test: tame debug output to keep logs at a reasonable length
[hans] fix tests to work when only Debian Android SDK is installed
------------------------------------------
[...truncated 210.74 KB...]
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index-v1.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -alias profitbricks-build7-amd64 -keystore 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 keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: 53 FA AE A9 37 54 73 41 F3 D8 11 00 11 2F 1C B6 A3 E5 C9 32 06 BD 40 A5 07 24 40 BF 48 40 23 FF
DEBUG: Directory: archive
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index-v1.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
INFO: Finished
==============================================================================
test config checks of local_copy_dir
+ echo_header '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.SooC
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.SooC
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid init
INFO: Generating a new key in "keystore.jks"...
INFO: Alias name: profitbricks-build7-amd64
Creation date: Nov 8, 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: 9897381
Valid from: Wed Nov 08 15:05:13 UTC 2017 until: Sun Mar 26 15:05:13 UTC 2045
Certificate fingerprints:
MD5: 14:99:70:91:74:7F:03:50:52:98:47:A9:83:02:CC:24
SHA1: A9:02:16:15:59:26:66:5B:7C:5E:05:00:A5:BC:BA:8B:3D:E4:A4:C3
SHA256: FF:16:63:4C:25:83:76:BF:D7:91:A4:45:3D:24:FD:82:2A:25:4F:B5:9E:2D:6E:86:3B:B2:16:9E:42:E0:BD:1D
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: CF 8C B1 AF E2 D4 6A 5C 45 2D 78 39 18 26 2D 2E ......j\E-x9.&-.
0010: CF F5 9C 27 ...'
]
]
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/.testfiles/run-tests.SooC" with this config:
Android SDK: /usr/lib/android-sdk
Android SDK Build Tools: /usr/lib/android-sdk/build-tools/debian
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.SooC/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-8-openjdk-amd64/bin/keytool -exportcert -alias profitbricks-build7-amd64 -keystore 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 keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: FF 16 63 4C 25 83 76 BF D7 91 A4 45 3D 24 FD 82 2A 25 4F B5 9E 2D 6E 86 3B B2 16 9E 42 E0 BD 1D
DEBUG: Directory: repo
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index-v1.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -alias profitbricks-build7-amd64 -keystore 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 keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: FF 16 63 4C 25 83 76 BF D7 91 A4 45 3D 24 FD 82 2A 25 4F B5 9E 2D 6E 86 3B B2 16 9E 42 E0 BD 1D
DEBUG: Directory: archive
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index-v1.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
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
+ 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!
testing absolute path checker passed
+ '[' 1 -eq 0 ']'
+ echo '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
==============================================================================
setup a new repo from scratch using ANDROID_HOME and do a local sync
+ '[' 1 -eq 0 ']'
+ echo 'testing dirname exists checker passed'
+ set -e
+ 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.dQX7
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.dQX7
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid init
INFO: Generating a new key in "keystore.jks"...
INFO: Alias name: profitbricks-build7-amd64
Creation date: Nov 8, 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: b8a1366
Valid from: Wed Nov 08 15:05:25 UTC 2017 until: Sun Mar 26 15:05:25 UTC 2045
Certificate fingerprints:
MD5: 2A:A6:EF:1B:59:57:C0:13:B9:FD:EE:3C:38:C5:6C:04
SHA1: 8F:6D:9B:7D:87:AA:91:E2:88:6B:74:E7:7B:6B:32:C8:62:80:CF:3F
SHA256: A7:62:17:36:7B:AD:F1:6A:CF:A3:21:40:91:EC:E4:2B:A7:01:E8:15:3C:E1:4A:62:FD:1A:D3:5D:82:BD:78:09
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: 7A A8 A8 DE CC 7A 3A 51 D7 3A E6 4C 14 76 00 63 z....z:Q.:.L.v.c
0010: DA 43 3D 00 .C=.
]
]
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/.testfiles/run-tests.dQX7" with this config:
Android SDK: /usr/lib/android-sdk
Android SDK Build Tools: /usr/lib/android-sdk/build-tools/debian
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.dQX7/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
+ copy_apks_into_repo /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.dQX7
+ set +x
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid update --create-metadata --verbose
DEBUG: Reading 'config.py'
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -alias profitbricks-build7-amd64 -keystore 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 keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: A7 62 17 36 7B AD F1 6A CF A3 21 40 91 EC E4 2B A7 01 E8 15 3C E1 4A 62 FD 1A D3 5D 82 BD 78 09
DEBUG: Directory: repo
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA repo/index-v1.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -alias profitbricks-build7-amd64 -keystore 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 keystore.jks -destkeystore keystore.jks -deststoretype pkcs12".
INFO: Creating signed index with this key (SHA256):
INFO: A7 62 17 36 7B AD F1 6A CF A3 21 40 91 EC E4 2B A7 01 E8 15 3C E1 4A 62 FD 1A D3 5D 82 BD 78 09
DEBUG: Directory: archive
DEBUG: > jar cf index.jar index.xml
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA archive/index-v1.jar profitbricks-build7-amd64 -keypass:env FDROID_KEY_PASS
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2045-03-26) or after any future revocation date.
INFO: Finished
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroid readmeta
+ grep -F '<application id=' repo/index.xml
+ cleanup_all
++ date -u
Wed Nov 8 15:05:33 UTC 2017 - cleanup done.
+ echo 'Wed Nov 8 15:05:33 UTC 2017 - cleanup done.'
Wed Nov 8 15:05:33 UTC 2017 - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-PvdVNXgC, 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