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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Tue Feb 12 11:48:23 GMT 2019


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

Changes:

[hans] update: allow tests to pass when apksigner is not installed

[hans] version 1.2 alpha

------------------------------------------
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 94affe9421e1e739d9690b070e117866ad634199 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 94affe9421e1e739d9690b070e117866ad634199 # timeout=10
Commit message: "version 1.2 alpha"
 > git rev-list --no-walk 35e67295e9e643be30be145ca050ed9a72dd2e4f # timeout=10
[reproducible_fdroid_test] $ /bin/sh -xe /tmp/jenkins4218711864134488019.sh
+ /srv/jenkins/bin/jenkins_master_wrapper.sh
====================================================================================

Tue Feb 12 11:48:18 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.

====================================================================================
Tue Feb 12 11:48:18 UTC 2019 - start running "/srv/jenkins/bin/reproducible_fdroid_test.sh" (md5sum b6dcd8967f6c716b6e1269a817b07389) as "/tmp/jenkins-script-cUE1de6M" 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 43192 22"
declare -x SSH_CONNECTION="10.6.4.1 43192 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="23204"
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
   35e67295..94affe94  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 35e67295 Merge branch 'mvglasow-master-patch-68763' into 'master'
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 94affe94 version 1.2 alpha
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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/source-files/open-keychain/open-keychain/build.gradle
localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
DEBUG:root:Forcing build-tools FAKE_VERSION_FOR_TESTING in /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/.testfiles/test_force_gradle_build_toolslhl_v89z/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_toolslhl_v89z/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_toolslhl_v89z/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"
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.145s

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