Started by user Ivan J. Running as Ivan J. [EnvInject] - Loading node environment variables. Building on master in workspace /var/lib/jenkins/workspace/droid4-linux-source [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done No credentials specified Cloning the remote Git repository Cloning repository https://github.com/maemo-leste/droid4-linux > git init /var/lib/jenkins/workspace/droid4-linux-source/source # timeout=10 Fetching upstream changes from https://github.com/maemo-leste/droid4-linux > git --version # timeout=10 > git fetch --tags --progress -- https://github.com/maemo-leste/droid4-linux +refs/heads/*:refs/remotes/origin/* # timeout=120 > git config remote.origin.url https://github.com/maemo-leste/droid4-linux # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/maemo-leste/droid4-linux # timeout=10 Fetching upstream changes from https://github.com/maemo-leste/droid4-linux > git fetch --tags --progress -- https://github.com/maemo-leste/droid4-linux +refs/heads/*:refs/remotes/origin/* # timeout=120 > git rev-parse refs/remotes/origin/maemo/ascii-devel^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/maemo/ascii-devel^{commit} # timeout=10 Checking out Revision ac456786581d954f20f02d2df8c2f5b8f46b9d35 (refs/remotes/origin/maemo/ascii-devel) > git config core.sparsecheckout # timeout=10 > git checkout -f ac456786581d954f20f02d2df8c2f5b8f46b9d35 # timeout=10 Commit message: "Track omapdrm plugin API patch in debian directory." > git rev-list --no-walk 720cf6c69423e0b6baa9e4580174280835716f1c # timeout=10 [droid4-linux-source] $ /bin/sh -xe /tmp/jenkins9191978573782656095.sh + export PRE_DCH_HOOK=/var/lib/jenkins/jenkins-integration/dch_hook.sh + /usr/bin/generate-git-snapshot + set -e + set -u + '[' -r /etc/jenkins/debian_glue ']' + . /etc/jenkins/debian_glue ++ '[' leste = leste ']' ++ KEY_ID=4AA81E3E026EFE82E47D6901545FEC4E0927F6FD ++ MAIN_ARCHITECTURE=amd64 ++ DEFAULT_REPOSITORY=/srv/repository ++ USE_ORIG_VERSION=true ++ SKIP_DCH=true ++ DCH_OPTS='--multimaint-merge --ignore-branch' ++ UNRELEASEAD_APPEND_COMMIT=false ++ REPOSITORY_KEYRING=/var/lib/jenkins/.gnupg/keyring.gpg ++ RELEASE_REPOSITORY=/srv/repository/leste ++ case "$distribution" in ++ MIRROR=http://pkgmaster.devuan.org/merged ++ SECURITY_MIRROR=http://pkgmaster.devuan.org/merged ++ SECURITY_FOLDER=ascii-security ++ REPOSITORY_EXTRA='deb http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free' ++ REPOSITORY_EXTRA='deb http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free,deb http://pkgmaster.devuan.org/merged ascii-security main contrib non-free' ++ REPOSITORY_EXTRA='deb http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free,deb http://pkgmaster.devuan.org/merged ascii-security main contrib non-free,deb http://maedevu.maemo.org/leste ascii-devel main contrib non-free' ++ _dist=ascii ++ '[' ascii '!=' ascii-devel ']' ++ REPOSITORY_EXTRA='deb http://pkgmaster.devuan.org/merged ascii-updates main contrib non-free,deb http://pkgmaster.devuan.org/merged ascii-security main contrib non-free,deb http://maedevu.maemo.org/leste ascii-devel main contrib non-free,deb http://maedevu.maemo.org/leste ascii main contrib non-free' ++ '[' leste = extras ']' ++ lima_jobs=mesa ++ n900_jobs='libmatchbox2-n900 hildon-desktop-n900' +++ echo /var/lib/jenkins/workspace/droid4-linux-source +++ awk -F/ '{print $6}' +++ sed 's/-binaries$//' ++ _curpkgname=droid4-linux-source ++ echo mesa ++ grep -qw droid4-linux-source ++ grep -qw droid4-linux-source ++ echo 'libmatchbox2-n900 hildon-desktop-n900' ++ REPOSITORY_EXTRA_KEYS=http://maedevu.maemo.org/testing-key.asc ++ USE_CCACHE=true + '[' -n '' ']' ++ hostname -f + DEBEMAIL='jenkins-debian-glue Autobuilder ' + export DEBEMAIL + '[' -n '' ']' + SOURCE_DIRECTORY=source + '[' '!' -d source ']' + '[' -z 34 ']' + '[' -z ac456786581d954f20f02d2df8c2f5b8f46b9d35 ']' ++ which gbp + '[' -x /usr/bin/gbp ']' + GBP_DCH='gbp dch' + GBP_BUILDPACKAGE='gbp buildpackage' ++ dpkg --list jenkins-debian-glue ++ awk '/^ii/ {print $3}' + JENKINS_DEBIAN_GLUE_VERSION=0.18.4.99+devuan2 + '[' -n 0.18.4.99+devuan2 ']' + echo '*** Running jenkins-debian-glue version 0.18.4.99+devuan2 ***' *** Running jenkins-debian-glue version 0.18.4.99+devuan2 *** + '[' -n '' -a -z '' ']' + echo '*** source package build phase ***' *** source package build phase *** + rm -f ./source rm: cannot remove './source': Is a directory + true + '[' -n '' ']' + cd source + git_cleanup + '[' -n '' ']' + echo '*** Cleaning git repository to make sure there are no modified files ***' *** Cleaning git repository to make sure there are no modified files *** + echo '*** Note: You can skip this step by setting SKIP_GIT_CLEANUP=true ***' *** Note: You can skip this step by setting SKIP_GIT_CLEANUP=true *** + git clean -fxd + git reset --hard HEAD HEAD is now at ac456786581d Track omapdrm plugin API patch in debian directory. + source_format_opts + '[' -f debian/source/format ']' ++ cat debian/source/format + local 'SRC_FORMAT=3.0 (quilt)' + case "$SRC_FORMAT" in + echo '*** Source format detected as 3.0 (quilt) ***' *** Source format detected as 3.0 (quilt) *** + DBP_EXTRA_OPTS=' --source-option=--unapply-patches' + identify_source_build_opts + DBP_OPTS= + '[' -r debian/source/format ']' + grep -q '^1\.0' debian/source/format + echo '*** Found dpkg source format != 1.0, nothing to do ****' *** Found dpkg source format != 1.0, nothing to do **** + return 0 + '[' '' '!=' true ']' + gbp_conf + '[' '' = true ']' + gbp_conf_files=(/etc/git-buildpackage/gbp.conf ~/.gbp.conf .gbp.conf debian/gbp.conf .git/gbp.conf) + UPSTREAM_BRANCH=upstream + DEBIAN_BRANCH=debian + PRISTINE_TAR=false + for gbp_conf_file in "${gbp_conf_files[@]}" + '[' -f /etc/git-buildpackage/gbp.conf ']' + local value ++ git config --file /etc/git-buildpackage/gbp.conf --get DEFAULT.upstream-branch ++ true + value= + '[' -n '' ']' ++ git config --file /etc/git-buildpackage/gbp.conf --get DEFAULT.debian-branch ++ true + value= + '[' -n '' ']' ++ git config --file /etc/git-buildpackage/gbp.conf --bool --get DEFAULT.pristine-tar ++ true + value= + '[' -n '' ']' + for gbp_conf_file in "${gbp_conf_files[@]}" + '[' -f /var/lib/jenkins/.gbp.conf ']' + for gbp_conf_file in "${gbp_conf_files[@]}" + '[' -f .gbp.conf ']' + for gbp_conf_file in "${gbp_conf_files[@]}" + '[' -f debian/gbp.conf ']' + local value ++ git config --file debian/gbp.conf --get DEFAULT.upstream-branch ++ true + value= + '[' -n '' ']' ++ git config --file debian/gbp.conf --get DEFAULT.debian-branch + value=maemo/ascii-devel + '[' -n maemo/ascii-devel ']' + DEBIAN_BRANCH=maemo/ascii-devel ++ git config --file debian/gbp.conf --bool --get DEFAULT.pristine-tar ++ true + value= + '[' -n '' ']' + for gbp_conf_file in "${gbp_conf_files[@]}" + '[' -f .git/gbp.conf ']' + create_local_branch upstream + '[' -n upstream ']' + local BRANCH=upstream + git branch -a + grep -q 'remotes/origin/upstream$' + echo 'NOTE: branch upstream does not exist, ignoring request to checkout therefore.' NOTE: branch upstream does not exist, ignoring request to checkout therefore. + create_local_branch maemo/ascii-devel + '[' -n maemo/ascii-devel ']' + local BRANCH=maemo/ascii-devel + git branch -a + grep -q 'remotes/origin/maemo/ascii-devel$' + git branch -D maemo/ascii-devel error: branch 'maemo/ascii-devel' not found. + true + git branch maemo/ascii-devel remotes/origin/maemo/ascii-devel Branch maemo/ascii-devel set up to track remote branch maemo/ascii-devel from origin. + '[' false = true ']' + branch_checkout + random_branch=jenkins-debian-glue-buildbranch13771 + '[' '' = true ']' + '[' -n '' ']' + '[' -n '' ']' + '[' -n '' ']' + echo 'Making sure that random_branch jenkins-debian-glue-buildbranch13771 does not exist' Making sure that random_branch jenkins-debian-glue-buildbranch13771 does not exist + git branch -D jenkins-debian-glue-buildbranch13771 error: branch 'jenkins-debian-glue-buildbranch13771' not found. + true + echo 'Checking out branch jenkins-debian-glue-buildbranch13771 based on commit ac456786581d954f20f02d2df8c2f5b8f46b9d35' Checking out branch jenkins-debian-glue-buildbranch13771 based on commit ac456786581d954f20f02d2df8c2f5b8f46b9d35 + git checkout -b jenkins-debian-glue-buildbranch13771 ac456786581d954f20f02d2df8c2f5b8f46b9d35 Switched to a new branch 'jenkins-debian-glue-buildbranch13771' + '[' -n /var/lib/jenkins/jenkins-integration/dch_hook.sh ']' + echo '*** Found environment variable PRE_DCH_HOOK, set to /var/lib/jenkins/jenkins-integration/dch_hook.sh ***' *** Found environment variable PRE_DCH_HOOK, set to /var/lib/jenkins/jenkins-integration/dch_hook.sh *** + sh /var/lib/jenkins/jenkins-integration/dch_hook.sh Cannot find definition of distribution 'ascii-devel'! There have been errors! *** buildnum == 1m7.1 *** *** Found previous rebuild. Incrementing build number *** + version_information + '[' -r debian/changelog ']' ++ dpkg-parsechangelog --count 1 ++ awk '/^Version/ {print $2}' + ORIG_VERSION=5.5.0-1+1m7.2 ++ dpkg-parsechangelog --count 1 ++ awk '/^Distribution/ {print $2}' + DISTRIBUTION=unstable + APPLY_VERSION_WORKAROUND=false + '[' true = true ']' + echo '*** USE_ORIG_VERSION is set to '\''true'\'', keeping original version [5.5.0-1+1m7.2] from changelog ***' *** USE_ORIG_VERSION is set to 'true', keeping original version [5.5.0-1+1m7.2] from changelog *** + VERSION_STRING=5.5.0-1+1m7.2 + '[' -n ascii-devel ']' + echo 'Distribution variable found. Adding distribution specific version.' Distribution variable found. Adding distribution specific version. + VERSION_STRING=5.5.0-1+1m7.2+ascii_devel + echo '*** Version string set to 5.5.0-1+1m7.2+ascii_devel ***' *** Version string set to 5.5.0-1+1m7.2+ascii_devel *** + dch_opts + '[' -n '--multimaint-merge --ignore-branch' ']' + echo 'Found environment variable DCH_OPTS, set to --multimaint-merge --ignore-branch' Found environment variable DCH_OPTS, set to --multimaint-merge --ignore-branch + DCH_COMBINED_OPTS='--multimaint-merge --ignore-branch' + '[' -n '' ']' + DCH_EXTRA_OPTS=--new-version=5.5.0-1+1m7.2+ascii_devel + '[' -n '' ']' + echo 'Using extra gbp dch options (--new-version=5.5.0-1+1m7.2+ascii_devel)' Using extra gbp dch options (--new-version=5.5.0-1+1m7.2+ascii_devel) + DCH_COMBINED_OPTS='--multimaint-merge --ignore-branch --new-version=5.5.0-1+1m7.2+ascii_devel' + '[' -n '' ']' + changelog_generation + '[' true = true ']' + echo '*** SKIP_DCH is set, not modifying debian/changelog therefore ***' *** SKIP_DCH is set, not modifying debian/changelog therefore *** + '[' '' = true ']' + gbp_opts + '[' -n '' ']' + GBP_OPTS=' -nc --git-force-create --git-ignore-new --git-ignore-branch -S -us -uc --git-verbose --git-builder=/bin/true --git-cleaner=/bin/true --git-export-dir= ' + echo 'Using git-buildpackage default options provided by jenkins-debian-glue' Using git-buildpackage default options provided by jenkins-debian-glue + gbp buildpackage -nc --git-force-create --git-ignore-new --git-ignore-branch -S -us -uc --git-verbose --git-builder=/bin/true --git-cleaner=/bin/true --git-export-dir= gbp:debug: ['git', 'rev-parse', '--show-cdup'] gbp:debug: ['git', 'rev-parse', '--is-bare-repository'] gbp:debug: ['git', 'rev-parse', '--git-dir'] gbp:debug: /bin/true [] [] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/jenkins-debian-glue-buildbranch13771'] gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/pristine-tar'] gbp:debug: ['git', 'ls-tree', 'maemo-kernel-5.5.0'] gbp:info: Creating droid4-linux_5.5.0.orig.tar.gz from 'maemo-kernel-5.5.0' gbp:debug: Building upstream tarball with compression 'gzip' gbp:debug: /bin/true ['-nc', '-S', '-us', '-uc'] [] + quilt_cleanup + '[' -n '' ']' + echo '*** Unapplying all possibly applied quilt patches and removing quilt directory ***' *** Unapplying all possibly applied quilt patches and removing quilt directory *** + echo '*** Note: You can skip this step by setting SKIP_QUILT_CLEANUP=true ***' *** Note: You can skip this step by setting SKIP_QUILT_CLEANUP=true *** + quilt pop -a No patch removed + true + rm -rf .pc + dpkg-buildpackage -uc -us -nc -d -S --source-option=--unapply-patches dpkg-buildpackage: info: source package droid4-linux dpkg-buildpackage: info: source version 5.5.0-1+1m7.2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jenkins Auto Builder dpkg-source --unapply-patches --before-build source dpkg-buildpackage: warning: building a source package without cleaning up as you asked; it might contain undesired files dpkg-source --unapply-patches -b source dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building droid4-linux using existing ./droid4-linux_5.5.0.orig.tar.gz patching file arch/arm/boot/dts/omap4.dtsi patching file arch/arm/configs/omap2plus_defconfig patching file drivers/gpu/drm/omapdrm/omap_drv.c patching file drivers/gpu/drm/omapdrm/omap_fb.c patching file drivers/gpu/drm/omapdrm/omap_fbdev.c patching file drivers/gpu/drm/omapdrm/omap_gem.c Hunk #9 FAILED at 844. 1 out of 18 hunks FAILED patching file drivers/gpu/drm/omapdrm/omap_gem.h patching file drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c patching file include/uapi/drm/omap_drm.h dpkg-source: info: the patch has fuzz which is not allowed, or is malformed dpkg-source: info: if patch '0001-HACK-drm-omap-Add-omapdrm-plugin-API.patch' is correctly applied by quilt, use 'quilt refresh' to update it dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -E -b -B .pc/0001-HACK-drm-omap-Add-omapdrm-plugin-API.patch/ --reject-file=- < source.orig.dF5jqc/debian/patches/0001-HACK-drm-omap-Add-omapdrm-plugin-API.patch gave error exit status 1 dpkg-buildpackage: error: dpkg-source --unapply-patches -b source gave error exit status 2 Build step 'Execute shell' marked build as failure Archiving artifacts Finished: FAILURE