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

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Thu Aug 30 17:23:55 BST 2018


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

Changes:

[hans] replace unneeded eval() call and support negative versionCodes

[hans] use posixpath.join() for paths on the buildserver

[hans] checkupdates: remove magic number 99999999 from HTTP checks

[hans] mark all required usages of MD5 so bandit doesn't complain

[hans] mark all required permissions so bandit doesn't complain

[hans] mark manually sanitized input so bandit doesn't complain

[hans] use global constant for the 'xmlns:android' XML namespace

[hans] use defusedxml to avoid DoS attacks while loading XML

[hans] gitlab-ci: add 'bandit' security scanner to all runs

------------------------------------------
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
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on profitbricks-build7-amd64.debian.net (profitbricks7 amd64) in workspace <https://jenkins.debian.net/job/reproducible_fdroid_test/ws/>
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/*
 > 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/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision c7d5050091981255a019baf5c8e42e7b6c05b7df (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c7d5050091981255a019baf5c8e42e7b6c05b7df
Commit message: "Merge branch 'bandit-scanner-and-fixes' into 'master'"
 > git rev-list --no-walk f0d27e1fa5b8d3a9ecf36d4df8d819e730ba8156 # timeout=10
[reproducible_fdroid_test] $ /bin/sh -xe /tmp/jenkins3012969576144177451.sh
+ /srv/jenkins/bin/jenkins_master_wrapper.sh
====================================================================================

Thu Aug 30 16:23:50 UTC 2018 - running /srv/jenkins/bin/reproducible_fdroid_test.sh () on profitbricks-build7-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.

====================================================================================
Thu Aug 30 16:23:50 UTC 2018 - start running "/srv/jenkins/bin/reproducible_fdroid_test.sh" (md5sum e44595aaee2cea7990d385f5001aa082) as "/tmp/jenkins-script-u0hjEBoJ" on profitbricks-build7-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://localhost:3128
	export MIRROR=http://cdn-fastly.deb.debian.org/debian"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x SSH_CLIENT="46.16.76.207 34004 22"
declare -x SSH_CONNECTION="46.16.76.207 34004 157.97.110.83 22"
declare -x SSH_ORIGINAL_COMMAND="reproducible_fdroid_test"
declare -x USER="jenkins"
declare -x XDG_RUNTIME_DIR="/run/user/106"
declare -x XDG_SESSION_ID="4922"
declare -x http_proxy="http://localhost: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
+ git clean -fdx
Skipping repository .testfiles/run-tests.Djan
Skipping repository .testfiles/run-tests.hiru/git-mirror
Skipping repository .testfiles/run-tests.hiru/binary_transparency
Skipping repository .testfiles/run-tests.Lzxa/binary_transparency
Skipping repository .testfiles/run-tests.945Z/build/org.fdroid.ci.test.app
Skipping repository .testfiles/run-tests.6SJv
Skipping repository .testfiles/run-tests.mbmC/binary_transparency
Skipping repository .testfiles/run-tests.HhDf
Skipping repository .testfiles/test_insert_triple_t_metadataiex3dlq_/build/org.fdroid.ci.test.app
Skipping repository .testfiles/run-tests.szj1/fdroid/binary_transparency
Skipping repository .testfiles/test_prepare_sources_refreshpul8_m_w/build/org.fdroid.ci.test.app
Skipping repository fdroiddata/
Removing fdroidserver/__pycache__/
Skipping repository tests/tmp/importer
+ git reset --hard
HEAD is now at c7d50500 Merge branch 'bandit-scanner-and-fixes' into 'master'
+ git checkout master
Your branch is up-to-date with 'origin/master'.
Already on 'master'
+ git reset --hard origin/master
HEAD is now at c7d50500 Merge branch 'bandit-scanner-and-fixes' into 'master'
+ git clean -fdx
Skipping repository .testfiles/run-tests.Djan
Skipping repository .testfiles/run-tests.hiru/git-mirror
Skipping repository .testfiles/run-tests.hiru/binary_transparency
Skipping repository .testfiles/run-tests.Lzxa/binary_transparency
Skipping repository .testfiles/run-tests.945Z/build/org.fdroid.ci.test.app
Skipping repository .testfiles/run-tests.6SJv
Skipping repository .testfiles/run-tests.mbmC/binary_transparency
Skipping repository .testfiles/run-tests.HhDf
Skipping repository .testfiles/test_insert_triple_t_metadataiex3dlq_/build/org.fdroid.ci.test.app
Skipping repository .testfiles/run-tests.szj1/fdroid/binary_transparency
Skipping repository .testfiles/test_prepare_sources_refreshpul8_m_w/build/org.fdroid.ci.test.app
Skipping repository fdroiddata/
Skipping repository tests/tmp/importer
+ 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
Using ANDROID_HOME=/usr/lib/android-sdk
==============================================================================
run commit hooks
+ 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
localmodule: /var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps
Traceback (most recent call last):
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/tests/build.TestCase", line 21, in <module>
    import fdroidserver.build
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/build.py", line 40, in <module>
    from . import common
  File "/var/lib/jenkins/userContent/reproducible/reproducible_fdroid_build_apps/fdroidserver/common.py", line 42, in <module>
    import defusedxml.ElementTree as XMLElementTree
ImportError: No module named 'defusedxml'
+ cleanup_all
++ date -u
Thu Aug 30 16:23:54 UTC 2018 - cleanup in progress...
+ echo 'Thu Aug 30 16:23:54 UTC 2018 - cleanup in progress...'
+ killall adb
adb: no process found
Thu Aug 30 16:23:54 UTC 2018 - /srv/jenkins/bin/reproducible_fdroid_test.sh stopped running as /tmp/jenkins-script-u0hjEBoJ, 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