Skip to content

Instantly share code, notes, and snippets.

@chebizarro
Last active March 4, 2016 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chebizarro/2b9f1487ed402c35cd2c to your computer and use it in GitHub Desktop.
Save chebizarro/2b9f1487ed402c35cd2c to your computer and use it in GitHub Desktop.
jenkins debian glue error
gpgv: Signature made Fri Mar 4 09:28:49 2016 UTC using RSA key ID 4BFE7F51
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./valadate_1.0+0~20160304092839.3~1.gbp2ea73e.dsc
dpkg-source: info: extracting valadate in valadate-1.0+0~20160304092839.3~1.gbp2ea73e
dpkg-source: info: unpacking valadate_1.0+0~20160304092839.3~1.gbp2ea73e.tar.xz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc -sa -sa -rfakeroot
dpkg-buildpackage: source package valadate
dpkg-buildpackage: source version 1.0+0~20160304092839.3~1.gbp2ea73e
dpkg-buildpackage: source distribution wily
dpkg-buildpackage: source changed by Jenkins User <jenkins@valadate.org>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build valadate-1.0+0~20160304092839.3~1.gbp2ea73e
fakeroot debian/rules clean
dh clean --with autotools-dev
dh_testdir
dh_auto_clean
dh_autotools-dev_restoreconfig
dh_clean
dpkg-source -b valadate-1.0+0~20160304092839.3~1.gbp2ea73e
dpkg-source: info: using source format '3.0 (native)'
dpkg-source: info: building valadate in valadate_1.0+0~20160304092839.3~1.gbp2ea73e.tar.xz
dpkg-source: info: building valadate in valadate_1.0+0~20160304092839.3~1.gbp2ea73e.dsc
debian/rules build
make: 'build' is up to date.
fakeroot debian/rules binary
dh binary --with autotools-dev
dh_testdir
dh_autotools-dev_updateconfig
dh_auto_configure
dh_auto_build
dh_auto_test
dh_testroot
dh_prep
dh_auto_install
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: Depends field of package valadate: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums
dh_builddeb
dpkg-deb: building package 'valadate' in '../valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.deb'.
dpkg-genchanges -sa -sa >../valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-source --after-build valadate-1.0+0~20160304092839.3~1.gbp2ea73e
dpkg-buildpackage: full upload; Debian-native package (full source is included)
I: user script /var/cache/pbuilder/build/cow.12207/tmp/hooks/B20autopkgtest starting
+ cd /tmp/buildd/valadate-1.0+0~20160304092839.3~1.gbp2ea73e/debian/..
+ [ ! -f debian/tests/control ]
+ echo Package does not have autopkgtest support, debian/tests/control is missing
Package does not have autopkgtest support, debian/tests/control is missing
+ exit 0
I: user script /var/cache/pbuilder/build/cow.12207/tmp/hooks/B20autopkgtest finished
I: Copying back the cached apt archive contents
I: unmounting /tmp/apt-29 filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: Current time: Fri Mar 4 09:38:38 UTC 2016
I: pbuilder-time-stamp: 1457084318
-> Cleaning COW directory
forking: rm -rf /var/cache/pbuilder/build//cow.12207
+ '[' 0 -eq 0 ']'
+ rm -f /var/run/lock/wily-amd64.building.29
+ '[' -n /tmp/tmp.nPU27zo6Sp ']'
+ rm -f /tmp/tmp.nPU27zo6Sp
+ '[' -n '' ']'
+ deploy_to_releases
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ reprepro_wrapper
+ '[' -d /data/repos ']'
+ generate-reprepro-codename valadate
+ set -e
+ '[' -z '' ']'
+ repository_is_missing_in_env=true
+ '[' -r /etc/jenkins/debian_glue ']'
+ echo '*** Sourcing /etc/jenkins/debian_glue ***'
*** Sourcing /etc/jenkins/debian_glue ***
+ . /etc/jenkins/debian_glue
++ KEY_ID=4BFE7F51
++ MAIN_ARCHITECTURE=amd64
++ DEFAULT_REPOSITORY=/data/repos
++ REPOSITORY_KEYRING=/etc/apt/trusted.gpg.d/valadate.gpg
++ USE_EATMYDATA=false
+ '[' -n '' ']'
+ '[' '' = true ']'
+ ARCHITECTURES='amd64 i386 source'
+ COMPONENTS=main
+ UDEB_COMPONENTS=main
+ '[' 1 -gt 1 ']'
+ '[' 1 -lt 1 ']'
+ REPOS=valadate
++ dpkg --list jenkins-debian-glue
++ awk '/^ii/ {print $3}'
+ JENKINS_DEBIAN_GLUE_VERSION=0.16.0+0~20160209121408.287~1.gbpd3a0dc
+ '[' -n 0.16.0+0~20160209121408.287~1.gbpd3a0dc ']'
+ echo '*** Running jenkins-debian-glue version 0.16.0+0~20160209121408.287~1.gbpd3a0dc ***'
*** Running jenkins-debian-glue version 0.16.0+0~20160209121408.287~1.gbpd3a0dc ***
+ '[' -z /data/repos ']'
+ '[' -z '' ']'
+ REPOSITORY=/data/repos
+ echo '*** Repository variable REPOSITORY is unset, using default [/data/repos] ***'
*** Repository variable REPOSITORY is unset, using default [/data/repos] ***
+ mkdir -p /data/repos/conf
++ id -un
+ chown jenkins /data/repos/conf
+ touch /data/repos/conf/distributions
+ '[' -z 4BFE7F51 ']'
++ id -un
+ flock --timeout 5 9
+ grep -q '^\(Codename\|Suite\): valadate$' /data/repos/conf/distributions
+ cat
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -n main ']'
+ printf 'UDebComponents: main\n'
+ printf 'Tracking: minimal\n'
+ '[' -n 4BFE7F51 ']'
+ echo '*** Signing repository with Key ID 4BFE7F51 ***'
*** Signing repository with Key ID 4BFE7F51 ***
+ printf 'SignWith: 4BFE7F51\n'
+ echo 'Added valadate as new codename/repos to the reprepro configuration.'
Added valadate as new codename/repos to the reprepro configuration.
++ id -un
+ rm -f /var/lock/jdg-generate-reprepro-codename.jenkins
+ remove_packages
+ '[' -n '' ']'
+ echo '*** Removing source package version from repository ***'
*** Removing source package version from repository ***
+ reprepro -A source -b /data/repos -v --waitforlock 1000 remove valadate valadate
Not removed as not found: valadate
Exporting indices...
gpgme gave error GPGME:32870: Inappropriate ioctl for device
ERROR: Could not finish exporting 'valadate'!
There have been errors!
+ echo '*** Removing previous binary package versions from repository ***'
*** Removing previous binary package versions from repository ***
++ list_deb_files /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.changes
++ '[' 1 -lt 1 ']'
++ local files
++ for arg in '"$@"'
++ '[' -r /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.changes ']'
++ sed --regexp-extended -n 's,^ [0-9a-f]{32} [0-9]+ ((([a-zA-Z0-9_.-]+/)?[a-zA-Z0-9_.-]+|-) ([a-zA-Z]+|-) )?(.*.deb)$,\5,p' /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.changes
+ for p in '$(list_deb_files "${WORKSPACE}/binaries/"*"_${newest_version}_${arch}.changes")'
++ basename valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.deb
+ file=valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.deb
+ binpackage=valadate
+ binary_list=' valadate'
+ skip=false
+ '[' -n '' ']'
+ false
+ echo valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.deb
+ egrep -q '_all.deb$'
+ echo '*** Removing existing package valadate from repository valadate for arch amd64 ***'
*** Removing existing package valadate from repository valadate for arch amd64 ***
+ reprepro -A amd64 -b /data/repos -v --waitforlock 1000 remove valadate valadate
Not removed as not found: valadate
Exporting indices...
gpgme gave error GPGME:32870: Inappropriate ioctl for device
ERROR: Could not finish exporting 'valadate'!
There have been errors!
+ remove_missing_binary_packages
+ '[' -n '' ']'
+ echo '*** Checking for missing binary packages to be considered for removal ***'
*** Checking for missing binary packages to be considered for removal ***
+ case "${DEBBUILDOPTS:-}" in
++ reprepro -b /data/repos -v --waitforlock 1000 --list-format '${package}\n' listmatched valadate '*'
++ sort -u
+ echo ''
+ grep -q .
+ archall=false
+ case $architecture in
+ echo '*** Including packages in repository valadate ***'
*** Including packages in repository valadate ***
+ reprepro -b /data/repos -v --waitforlock 1000 --ignore=wrongdistribution --ignore=uploaders --ignore=surprisingbinary include valadate /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.changes
.changes put in a distribution not listed within it!
Ignoring as --ignore=wrongdistribution given.
Exporting indices...
gpgme gave error GPGME:32870: Inappropriate ioctl for device
ERROR: Could not finish exporting 'valadate'!
This means that from outside your repository will still look like before (and
should still work if this old state worked), but the changes intended with this
call will not be visible until you call export directly (via reprepro export)
Changes will also get visible when something else changes the same file and
thus creates a new export of that file, but even changes to other parts of the
same distribution will not!
There have been errors!
+ '[' 251 -eq 0 ']'
+ bailout 1 'Error: Failed to include binary package in valadate repository.'
+ '[' -n 1 ']'
+ EXIT=1
+ '[' -n 'Error: Failed to include binary package in valadate repository.' ']'
+ echo 'Error: Failed to include binary package in valadate repository.'
Error: Failed to include binary package in valadate repository.
+ rm -f /var/run/lock/wily-amd64.building.29
+ '[' -r /var/run/lock/wily-amd64.update.29 ']'
+ '[' '' = true ']'
+ echo '*** Getting rid of files in /home/build/workspace/valadate-binaries/architecture/amd64/binaries/ to avoid problems in next run. ***'
*** Getting rid of files in /home/build/workspace/valadate-binaries/architecture/amd64/binaries/ to avoid problems in next run. ***
+ rm -f /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e.dsc /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e.tar.xz /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.changes /home/build/workspace/valadate-binaries/architecture/amd64/binaries/valadate_1.0+0~20160304092839.3~1.gbp2ea73e_amd64.deb
+ rm -rf /tmp/apt-29
+ '[' -n 714103 ']'
++ cut -d . -f 1 /proc/uptime
+ SECONDS=563
++ date
+ echo '*** Finished execution of /usr/bin/build-and-provide-package at Fri Mar 4 09:38:40 UTC 2016 [running 563 seconds] ***'
*** Finished execution of /usr/bin/build-and-provide-package at Fri Mar 4 09:38:40 UTC 2016 [running 563 seconds] ***
+ exit 1
Build step 'Execute shell' marked build as failure
Stopping Docker container after build completion
Archiving artifacts
Recording test results
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment