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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Feb 14 13:16:52 GMT 2019


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

Changes:

[bubu] add gradle 5.2 and 5.2.1

[bubu] Remove gradle 5.1 from default install

[hans] jenkins-setup-build-environment: fix typo

------------------------------------------
[...truncated 214.21 KB...]

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: 96 A5 50 21 02 C6 79 7C 89 F2 5A 7D AE 48 F6 7E 46 11 62 BB F0 DC 2E 4C 7C 47 45 22 AD 0A 81 46
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 osuosl-build168-amd64.debian.net -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 (2046-07-02) 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 osuosl-build168-amd64.debian.net -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 (2046-07-02) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -alias osuosl-build168-amd64.debian.net -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: 96 A5 50 21 02 C6 79 7C 89 F2 5A 7D AE 48 F6 7E 46 11 62 BB F0 DC 2E 4C 7C 47 45 22 AD 0A 81 46
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 osuosl-build168-amd64.debian.net -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 (2046-07-02) 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 osuosl-build168-amd64.debian.net -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 (2046-07-02) or after any future revocation date.
INFO: Finished
+ 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.pBWb
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.pBWb
+ /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: Feb 14, 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: 55da1c77
Valid from: Thu Feb 14 13:16:36 UTC 2019 until: Mon Jul 02 13:16:36 UTC 2046
Certificate fingerprints:
	 MD5:  8D:08:32:9C:7A:ED:9A:8B:BA:6E:15:C0:AD:D5:6D:FA
	 SHA1: 6B:D0:CD:13:33:F1:C2:67:92:68:27:E7:83:FD:C2:1F:05:C3:EC:6B
	 SHA256: 4C:C2:9E:C7:B6:9D:1D:8D:39:45:77:9A:CB:54:9E:91:97:1B:DE:75:1A:06:9C:3F:83:BE:9E:9E:55:6D:62:64
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: 58 E8 2B 7A B7 F2 A7 13   23 BC AA EC D2 4A 15 69  X.+z....#....J.i
0010: 95 17 71 4F                                        ..qO
]
]


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.pBWb" 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.pBWb/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 osuosl-build168-amd64.debian.net -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: 4C C2 9E C7 B6 9D 1D 8D 39 45 77 9A CB 54 9E 91 97 1B DE 75 1A 06 9C 3F 83 BE 9E 9E 55 6D 62 64
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 osuosl-build168-amd64.debian.net -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 (2046-07-02) 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 osuosl-build168-amd64.debian.net -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 (2046-07-02) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -exportcert -alias osuosl-build168-amd64.debian.net -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: 4C C2 9E C7 B6 9D 1D 8D 39 45 77 9A CB 54 9E 91 97 1B DE 75 1A 06 9C 3F 83 BE 9E 9E 55 6D 62 64
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 osuosl-build168-amd64.debian.net -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 (2046-07-02) 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 osuosl-build168-amd64.debian.net -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 (2046-07-02) 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
+ /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 492 bytes  received 24 bytes  1,032.00 bytes/sec
total size is 14,712  speedup is 28.51
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 440 bytes  received 24 bytes  928.00 bytes/sec
total size is 14,088  speedup is 30.36
+ 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"
+ '[' 1 -eq 0 ']'
+ echo 'testing dirname exists checker passed'
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
+ echo_header 'setup a new repo from scratch using ANDROID_HOME and do a local sync'
==============================================================================
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.TP2C
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/run-tests.TP2C
+ 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.TP2C" 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.TP2C/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.TP2C
+ 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-8-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-8-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: 
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 (2044-01-30) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-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: 
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 (2044-01-30) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-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-8-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: 
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 (2044-01-30) or after any future revocation date.
DEBUG: > /usr/lib/jvm/java-8-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: 
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 (2044-01-30) 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
Thu Feb 14 13:16:51 UTC 2019 - cleanup in progress...
+ echo 'Thu Feb 14 13:16:51 UTC 2019 - cleanup in progress...'
+ killall adb
adb: no process found
Thu Feb 14 13:16:51 UTC 2019 - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-Cml5SkM7, 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