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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Wed Sep 19 22:50:44 BST 2018


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

Changes:

[hans] gitlab-ci: install python3-defusedxml in debian_testing and ubuntu_lts

[hans] buildserver: apt-transport-https needs ca-certificates

[hans] jenkins: force local basebox, do not download from Vagrant Cloud

[hans] jenkins: switch to box name as generated by basebox project

------------------------------------------
[...truncated 46.56 KB...]
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/lint.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/lint.TestCase
..localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
"metadata/org.adaway.json" is not a supported file format: (txt,yml)
"metadata/apk/" has no matching metadata file!
"metadata/dump/" has no matching metadata file!
"metadata/org.adaway.json" is not a supported file format: (txt,yml)
.
----------------------------------------------------------------------
Ran 3 tests in 0.017s

OK
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/metadata.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/metadata.TestCase
....WARNING:root:"metadata/org.adaway.json" is not an accepted format, convert to: txt, yml
.WARNING:root:"metadata/org.adaway.json" is not an accepted format, convert to: txt, yml
.WARNING:root:"metadata/org.adaway.json" is not an accepted format, convert to: txt, yml
.localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps

----------------------------------------------------------------------
Ran 7 tests in 2.278s

OK
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/publish.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/publish.TestCase
.DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -list -v -keystore dummy-keystore.jks -storepass:env FDROID_KEY_STORE_PASS
.INFO:root:Creating log directory
INFO:root:Creating temporary directory
INFO:root:1 app, 1 key aliases
INFO:root:Processing unsigned/com.politedroid_6.apk
WARNING:root:Ignoring META-INF/MANIFEST.MF from unsigned/com.politedroid_6.apk
WARNING:root:Ignoring META-INF/RELEASE.SF from unsigned/com.politedroid_6.apk
WARNING:root:Ignoring META-INF/RELEASE.RSA from unsigned/com.politedroid_6.apk
WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
DEBUG:root:JAR signature verified: tmp/sigcp_com.politedroid_6.apk
INFO:root:...successfully verified
DEBUG:root:...no source tarball for com.politedroid_6.apk
INFO:root:Published com.politedroid_6.apk
DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -list -v -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS
DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA stats/publishsigkeys.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:root:published list signing-key fingerprints
.DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -list -v -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/dummy-keystore.jks -storepass:env FDROID_KEY_STORE_PASS
DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/dummy-keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA stats/publishsigkeys.jar repokey -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-11-26) or after any future revocation date.
DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -strict -verify stats/publishsigkeys.jar
WARNING:root:repo_key_sha256 not in config.py, setting it to the signature key fingerprint of 'stats/publishsigkeys.jar'
.DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/keytool -list -v -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/dummy-keystore.jks -storepass:env FDROID_KEY_STORE_PASS
DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -keystore /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/dummy-keystore.jks -storepass:env FDROID_KEY_STORE_PASS -digestalg SHA1 -sigalg SHA1withRSA stats/publishsigkeys.jar repokey -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-11-26) or after any future revocation date.
DEBUG:root:> /usr/lib/jvm/java-8-openjdk-amd64/bin/jarsigner -strict -verify stats/publishsigkeys.jar
.localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps

----------------------------------------------------------------------
Ran 5 tests in 6.741s

OK
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/scanner.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/scanner.TestCase
ERROR:root:Found unknown maven repo '../../m2/repository' at syncthing-silk/build.gradle
ERROR:root:Found usual suspect 'firebase' at line 2 at app/build.gradle
localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
.
----------------------------------------------------------------------
Ran 1 test in 0.041s

OK
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/server.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/server.TestCase
INFO:root:rsyncing repo to example.com:/var/www/fdroid
.INFO:root:rsyncing archive to example.com:/var/www/fdroid
.
----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/signatures.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/signatures.TestCase
DEBUG:root:Reading 'config.py'
WARNING:root:unsafe permissions on 'config.py' (should be 0600)!
WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
DEBUG:root:JAR signature verified: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/repo/com.politedroid_3.apk
DEBUG:root:signature okay: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/repo/com.politedroid_3.apk
DEBUG:root:Using androguard from "/usr/lib/python3/dist-packages/androguard/__init__.py"
/usr/lib/python3/dist-packages/future/standard_library/__init__.py:66: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
/usr/lib/python3.5/importlib/_bootstrap_external.py:423: ImportWarning: Not importing directory /usr/lib/python3/dist-packages/ruamel: missing __init__
  _warnings.warn(msg.format(portions[0]), ImportWarning)
INFO:root:Fetched signatures for '/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/repo/com.politedroid_3.apk' -> 'metadata/com.politedroid/signatures/3'
localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
.
----------------------------------------------------------------------
Ran 1 test in 0.851s

OK
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/update.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/update.TestCase
.Result:e0ecb5fc2d63088e4a07ae410a127722
../usr/lib/python3/dist-packages/future/standard_library/__init__.py:66: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
/usr/lib/python3.5/importlib/_bootstrap_external.py:423: ImportWarning: Not importing directory /usr/lib/python3/dist-packages/ruamel: missing __init__
  _warnings.warn(msg.format(portions[0]), ImportWarning)
WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
WARNING:root:repo/duplicate.permisssions_9999999.apk is set to android:debuggable="true"
.WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
WARNING:root:repo/duplicate.permisssions_9999999.apk is set to android:debuggable="true"
.WARNING:root:repo/urzip.apk is set to android:debuggable="true"
WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
INFO:root:Generated skeleton metadata for info.guardianproject.urzip
INFO:root:Generated skeleton metadata for info.guardianproject.urzip
WARNING:root:Unrecognised app field 'Archive Policy' in 'metadata/info.guardianproject.urzip.yml'
WARNING:root:Unrecognised app field 'Requires Root' in 'metadata/info.guardianproject.urzip.yml'
WARNING:root:Unrecognised app field 'Donation' in 'metadata/info.guardianproject.urzip.yml'
.../usr/lib/python3/dist-packages/git/cmd.py:583: ResourceWarning: unclosed file <_io.BufferedWriter name='/dev/null'>
  else getattr(subprocess, 'DEVNULL', open(os.devnull, 'wb')))
EWARNING:root:repo/../urzip.apk is set to android:debuggable="true"
WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
.WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
ERROR:root:JAR signature failed to verify: repo/org.bitbucket.tickytacky.mirrormirror_2.apk

The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled.

Re-run jarsigner with the -verbose option for more details.

ERROR:root:JAR signature failed to verify: repo/org.bitbucket.tickytacky.mirrormirror_2.apk

The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled.

Re-run jarsigner with the -verbose option for more details.

WARNING:root:Archiving org.bitbucket.tickytacky.mirrormirror_2.apk with invalid signature!
INFO:root:Moving org.bitbucket.tickytacky.mirrormirror_2.apk from repo to archive
ERROR:root:JAR signature failed to verify: archive/org.bitbucket.tickytacky.mirrormirror_2.apk

The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled.

Re-run jarsigner with the -verbose option for more details.

WARNING:root:repo/urzip-badcert.apk is set to android:debuggable="true"
ERROR:root:JAR signature failed to verify: repo/urzip-badcert.apk
jarsigner: java.lang.SecurityException: cannot verify signature block file META-INF/CERT

WARNING:root:Skipping urzip-badcert.apk with invalid signature!
WARNING:root:repo/urzip-badsig.apk is set to android:debuggable="true"
ERROR:root:JAR signature failed to verify: repo/urzip-badsig.apk
jarsigner: java.lang.SecurityException: invalid SHA1 signature file digest for AndroidManifest.xml

WARNING:root:Skipping urzip-badsig.apk with invalid signature!
ERROR:root:No signing certificates found in repo/urzip-release-unsigned.apk
WARNING:root:Skipping 'urzip-release-unsigned.apk' with invalid signature!
.ERROR:root:Failed to get apk information, skipping repo/fake.ota.update_1234.zip
WARNING:root:Skipping 'fake.ota.update_1234.zip' with invalid signature!
.WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:SpeedoMeterApp.main from SpeedoMeterApp.main_1.apk is not a valid Java Package Name!
WARNING:root:No SDK version information found in SpeedoMeterApp.main_1.apk
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:SpeedoMeterApp.main from SpeedoMeterApp.main_1.apk is not a valid Java Package Name!
WARNING:root:No SDK version information found in SpeedoMeterApp.main_1.apk
.WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
ERROR:root:No signing certificates found in urzip-release-unsigned.apk
.WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:Using Java's jarsigner, not recommended for verifying APKs! Use apksigner
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:repo/duplicate.permisssions_9999999.apk is set to android:debuggable="true"
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
.localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
tmptestsdir /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_create_metadata_from_template6g5msylr
tmptestsdir /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_process_apk_signed_by_disabled_algorithmsj9qm8gac
USE_ANDROGUARD True
USE_ANDROGUARD False

======================================================================
ERROR: test_insert_triple_t_metadata (__main__.UpdateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/update.TestCase", line 142, in test_insert_triple_t_metadata
    remote.fetch()
  File "/usr/lib/python3/dist-packages/git/remote.py", line 752, in fetch
    res = self._get_fetch_info_from_stderr(proc, progress)
  File "/usr/lib/python3/dist-packages/git/remote.py", line 638, in _get_fetch_info_from_stderr
    proc.wait(stderr=stderr_text)
  File "/usr/lib/python3/dist-packages/git/cmd.py", line 291, in wait
    raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch -v origin
  stderr: 'fatal: Unable to read current working directory: No such file or directory
fatal: The remote end hung up unexpectedly'

----------------------------------------------------------------------
Ran 15 tests in 47.695s

FAILED (errors=1)
+ cleanup_all
++ date -u
Wed Sep 19 21:50:44 UTC 2018 - cleanup in progress...
+ echo 'Wed Sep 19 21:50:44 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Wed Sep 19 21:50:44 UTC 2018 - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-9HFXcw4K, 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