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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sun Feb 3 17:49:00 GMT 2019


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

Changes:

[hans] update: treat target and min sdk version as int

[hans] update: force all "SDK Version" values to int when parsing aapt

[hans] update: fix running without androguard

[hans] update: fix tests when running without apksigner

[hans] add CHANGELOG

[hans] version 1.1.1

------------------------------------------
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on osuosl-build168-amd64.debian.net (osuosl168 amd64) in workspace <https://jenkins.debian.net/job/reproducible_fdroid_test/ws/>
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://gitlab.com/fdroid/fdroidserver.git
 > git init <https://jenkins.debian.net/job/reproducible_fdroid_test/ws/> # timeout=10
Fetching upstream changes from https://gitlab.com/fdroid/fdroidserver.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitlab.com/fdroid/fdroidserver.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitlab.com/fdroid/fdroidserver.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitlab.com/fdroid/fdroidserver.git # timeout=10
Fetching upstream changes from https://gitlab.com/fdroid/fdroidserver.git
 > git fetch --tags --progress https://gitlab.com/fdroid/fdroidserver.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 2157498dcf854d3d893e4e67c18995dd52d19ac3 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2157498dcf854d3d893e4e67c18995dd52d19ac3 # timeout=10
Commit message: "version 1.1.1"
 > git rev-list --no-walk c386774413eb439b083041188d1585cb57478e60 # timeout=10
[reproducible_fdroid_test] $ /bin/sh -xe /tmp/jenkins8345199328859054860.sh
+ /srv/jenkins/bin/jenkins_master_wrapper.sh
====================================================================================

Sun Feb  3 17:48:56 UTC 2019 - running /srv/jenkins/bin/reproducible_fdroid_test.sh (for job reproducible_fdroid_test) on osuosl-build168-amd64 now.

To learn to understand this, git clone https://salsa.debian.org/qa/jenkins.debian.net.git
and then have a look at the files README, INSTALL, CONTRIBUTING and maybe TODO.

This invocation of this script, which is located in bin/reproducible_fdroid_test.sh,
has been called using "" as arguments.

Please send feedback about jenkins to qa-jenkins-dev at lists.alioth.debian.org,
or as a bug against the 'jenkins.debian.org' pseudo-package,
feedback about specific job results should go to their respective lists and/or the BTS.

====================================================================================
Sun Feb  3 17:48:56 UTC 2019 - start running "/srv/jenkins/bin/reproducible_fdroid_test.sh" (md5sum b6dcd8967f6c716b6e1269a817b07389) as "/tmp/jenkins-script-0d7JwSs7" on osuosl-build168-amd64.

declare -x CHROOT_BASE="/chroots"
declare -x HOME="/var/lib/jenkins"
declare -x LANG="en_US.UTF-8"
declare -x LC_ALL="C.UTF-8"
declare -x LOGNAME="jenkins"
declare -x MAIL="/var/mail/jenkins"
declare -x MIRROR="http://cdn-fastly.deb.debian.org/debian"
declare -x OLDPWD
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
declare -x PWD="/var/lib/jenkins"
declare -x SCHROOT_BASE="/schroots"
declare -x SCRIPT_HEADER="#!/bin/bash
	if true ; then
		set -x
	fi
	set -e
	export DEBIAN_FRONTEND=noninteractive
	export LC_ALL=C.UTF-8
	export http_proxy=http://10.6.5.46:3128
	export MIRROR=http://cdn-fastly.deb.debian.org/debian"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x SSH_CLIENT="10.6.4.1 55380 22"
declare -x SSH_CONNECTION="10.6.4.1 55380 10.6.5.47 22"
declare -x SSH_ORIGINAL_COMMAND="reproducible_fdroid_test"
declare -x USER="jenkins"
declare -x XDG_RUNTIME_DIR="/run/user/110"
declare -x XDG_SESSION_ID="12962"
declare -x http_proxy="http://10.6.5.46:3128"
+ set -e
+ . /srv/jenkins/bin/reproducible_common.sh
++ set +x
+ GIT_REPO=https://gitlab.com/fdroid/fdroidserver
+ export WORKSPACE=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ WORKSPACE=/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ '[' -e /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.git ']'
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ git remote set-url origin https://gitlab.com/fdroid/fdroidserver
+ git fetch origin --tags --prune
>From https://gitlab.com/fdroid/fdroidserver
   5d39a97a..2157498d  master     -> origin/master
+ git clean -fdx
Skipping repository fdroiddata/
Removing fdroidserver/__pycache__/
Removing fdroidserver/asynchronousfilereader/__pycache__/
Skipping repository tests/tmp/importer
+ git reset --hard
HEAD is now at 5d39a97a Merge branch 'index-v1-sdk-as-int' into 'master'
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 4 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 2157498d version 1.1.1
Skipping repository fdroiddata/
Skipping repository tests/tmp/importer
Forced locale to en_US.UTF-8:
LC_ALL=en_US.UTF-8
Using ANDROID_HOME=/usr/lib/android-sdk
==============================================================================
run commit hooks
+ git clean -fdx
+ trap cleanup_all INT TERM EXIT
+ ./jenkins-test
+ export ANDROID_HOME=/usr/lib/android-sdk
+ ANDROID_HOME=/usr/lib/android-sdk
+ rm -rf /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles
+ cd tests
+ ./run-tests /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroiddata/repo
+ echo_header 'run commit hooks'
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
+ ./hooks/pre-commit
WARNING: pyflakes is not installed, using dummy placeholder!
WARNING: pycodestyle is not installed, using dummy placeholder!
==============================================================================
test python getsig replacement
+ echo_header 'test python getsig replacement'
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/getsig
+ ./make.sh
+ cd /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests
+ for testcase in $WORKSPACE/tests/*.TestCase
+ '[' /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/build.TestCase == /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/install.TestCase ']'
+ /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/build.TestCase
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/com.kunzisoft.testcase/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/firebase-suspect/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/firebase-suspect/app/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/fdroid/fdroidclient/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/firebase-whitelisted/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/firebase-whitelisted/app/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/com.nextcloud.client/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/eu.siacs.conversations/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/Zillode/syncthing-silk/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/open-keychain/open-keychain/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/open-keychain/open-keychain/OpenKeychain/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/osmandapp/osmand/build.gradle
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_tools6xplwvij/source-files/at.bitfire.davdroid/build.gradle
.WARNING:root:'/usr/lib/android-sdk/build-tools/debian/aapt' is too old, fdroid requires build-tools-26.0.0 or newer!
DEBUG:root:Using androguard from "/usr/lib/python3/dist-packages/androguard/__init__.py"
localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
E
======================================================================
ERROR: test_get_apk_metadata (__main__.BuildTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 2035, in _get_androguard_APK
    from androguard.core.bytecodes.apk import APK
  File "/usr/lib/python3/dist-packages/androguard/core/bytecodes/apk.py", line 7, in <module>
    from androguard.util import read, get_certificate_name_string
  File "/usr/lib/python3/dist-packages/androguard/util.py", line 1, in <module>
    import asn1crypto
ImportError: No module named 'asn1crypto'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/build.TestCase", line 120, in test_get_apk_metadata
    vc, vn = fdroidserver.build.get_metadata_from_apk(app, build, apkfilename)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/build.py", line 332, in get_metadata_from_apk
    appid, versionCode, versionName = common.get_apk_id(apkfile)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 2126, in get_apk_id
    return get_apk_id_androguard(apkfile)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 2184, in get_apk_id_androguard
    a = _get_androguard_APK(apkfile)
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 2037, in _get_androguard_APK
    raise FDroidException("androguard library is not installed and aapt not present")
fdroidserver.exception.FDroidException: androguard library is not installed and aapt not present

----------------------------------------------------------------------
Ran 2 tests in 0.339s

FAILED (errors=1)
+ cleanup_all
Sun Feb  3 17:48:59 UTC 2019 - cleanup in progress...
++ date -u
+ echo 'Sun Feb  3 17:48:59 UTC 2019 - cleanup in progress...'
+ killall adb
adb: no process found
Sun Feb  3 17:48:59 UTC 2019 - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-0d7JwSs7, 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