Thu 19 Jul 20:24:10 BST 2018: starting build of golang-github-smartystreets-go-aws-auth version 0.0~git20160722.0.2043e6d-1 on mjolnir W: Download is performed unsandboxed as root as file 'golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) W: /root/.pbuilderrc does not exist I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Thu Jul 19 20:24:11 BST 2018 I: pbuilder-time-stamp: 1532028251 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-armhf.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: Mounting /dev I: Mounting /proc I: Mounting /sys I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Copying source file I: copying [golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.dsc] I: copying [./golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d.orig.tar.xz] I: copying [./golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Thu Mar 9 20:33:58 2017 UTC gpgv: using RSA key B24CA63F6EBBE84D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.dsc dpkg-source: info: extracting golang-github-smartystreets-go-aws-auth in golang-github-smartystreets-go-aws-auth-0.0~git20160722.0.2043e6d dpkg-source: info: unpacking golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d.orig.tar.xz dpkg-source: info: unpacking golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.debian.tar.xz I: Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 10), dh-golang, golang-any, golang-github-smartystreets-goconvey-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 11759 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 10); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-smartystreets-goconvey-dev; however: Package golang-github-smartystreets-goconvey-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.10-go{a} golang-1.10-src{a} golang-any{a} golang-github-jacobsa-oglematchers-dev{a} golang-github-jacobsa-oglemock-dev{a} golang-github-jacobsa-ogletest-dev{a} golang-github-jacobsa-reqtrace-dev{a} golang-github-jtolds-gls-dev{a} golang-github-smartystreets-assertions-dev{a} golang-github-smartystreets-goconvey-dev{a} golang-go{a} golang-golang-x-net-dev{a} golang-golang-x-text-dev{a} golang-golang-x-tools-dev{a} golang-src{a} golang-x-text-dev{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libfreetype6{a} libglib2.0-0{a} libgraphite2-3{a} libharfbuzz0b{a} libicu-le-hb0{a} libicu60{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpipeline1{a} libpng16-16{a} libsigsegv2{a} libtimedate-perl{a} libtool{a} libxml2{a} m4{a} man-db{a} po-debconf{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx pkg-config pkgconf shared-mime-info wget xdg-user-dirs 0 packages upgraded, 54 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/64.6 MB of archives. After unpacking 307 MB will be used. Writing extended state information... debconf: delaying package configuration, since apt-utils is not installed E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libbsd0:armhf. (Reading database ... 11759 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-1_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armhf.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.3-10_armhf.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../03-libpipeline1_1.5.0-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.8.3-2_armhf.deb ... Unpacking man-db (2.8.3-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../05-libmagic-mgc_1%3a5.33-3_armhf.deb ... Unpacking libmagic-mgc (1:5.33-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../06-libmagic1_1%3a5.33-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.33-3) ... Selecting previously unselected package file. Preparing to unpack .../07-file_1%3a5.33-3_armhf.deb ... Unpacking file (1:5.33-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../08-gettext-base_0.19.8.1-6+b1_armhf.deb ... Unpacking gettext-base (0.19.8.1-6+b1) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../09-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.18-1_armhf.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.15.1-3.1_all.deb ... Unpacking automake (1:1.15.1-3.1) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.19.8.1-6_all.deb ... Unpacking autopoint (0.19.8.1-6) ... Selecting previously unselected package libtool. Preparing to unpack .../15-libtool_2.4.6-2.1_all.deb ... Unpacking libtool (2.4.6-2.1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../16-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../17-libarchive-zip-perl_1.60-1_all.deb ... Unpacking libarchive-zip-perl (1.60-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../18-libfile-stripnondeterminism-perl_0.042-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.042-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../19-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_0.042-1_all.deb ... Unpacking dh-strip-nondeterminism (0.042-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../21-libelf1_0.170-0.5_armhf.deb ... Unpacking libelf1:armhf (0.170-0.5) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.12-2_armhf.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../23-libglib2.0-0_2.56.1-2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.56.1-2) ... Selecting previously unselected package libpng16-16:armhf. Preparing to unpack .../24-libpng16-16_1.6.34-2_armhf.deb ... Unpacking libpng16-16:armhf (1.6.34-2) ... Selecting previously unselected package libfreetype6:armhf. Preparing to unpack .../25-libfreetype6_2.8.1-2_armhf.deb ... Unpacking libfreetype6:armhf (2.8.1-2) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../26-libgraphite2-3_1.3.11-2_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.11-2) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../27-libharfbuzz0b_1.8.2-2_armhf.deb ... Unpacking libharfbuzz0b:armhf (1.8.2-2) ... Selecting previously unselected package libicu-le-hb0:armhf. Preparing to unpack .../28-libicu-le-hb0_1.0.3+git161113-5_armhf.deb ... Unpacking libicu-le-hb0:armhf (1.0.3+git161113-5) ... Selecting previously unselected package libicu60:armhf. Preparing to unpack .../29-libicu60_60.2-6_armhf.deb ... Unpacking libicu60:armhf (60.2-6) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../30-libxml2_2.9.4+dfsg1-7+b1_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7+b1) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../31-libcroco3_0.6.12-2_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-2) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../32-libncurses6_6.1+20180210-4_armhf.deb ... Unpacking libncurses6:armhf (6.1+20180210-4) ... Selecting previously unselected package gettext. Preparing to unpack .../33-gettext_0.19.8.1-6+b1_armhf.deb ... Unpacking gettext (0.19.8.1-6+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../34-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../35-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../36-debhelper_11.3.5_all.deb ... Unpacking debhelper (11.3.5) ... Selecting previously unselected package dh-golang. Preparing to unpack .../37-dh-golang_1.34_all.deb ... Unpacking dh-golang (1.34) ... Selecting previously unselected package golang-1.10-src. Preparing to unpack .../38-golang-1.10-src_1.10.3-1_armhf.deb ... Unpacking golang-1.10-src (1.10.3-1) ... Selecting previously unselected package golang-1.10-go. Preparing to unpack .../39-golang-1.10-go_1.10.3-1_armhf.deb ... Unpacking golang-1.10-go (1.10.3-1) ... Selecting previously unselected package golang-src. Preparing to unpack .../40-golang-src_2%3a1.10~5_armhf.deb ... Unpacking golang-src (2:1.10~5) ... Selecting previously unselected package golang-go. Preparing to unpack .../41-golang-go_2%3a1.10~5_armhf.deb ... Unpacking golang-go (2:1.10~5) ... Selecting previously unselected package golang-any. Preparing to unpack .../42-golang-any_2%3a1.10~5_armhf.deb ... Unpacking golang-any (2:1.10~5) ... Selecting previously unselected package golang-github-jacobsa-oglematchers-dev. Preparing to unpack .../43-golang-github-jacobsa-oglematchers-dev_0.0~git20150320-3_all.deb ... Unpacking golang-github-jacobsa-oglematchers-dev (0.0~git20150320-3) ... Selecting previously unselected package golang-github-jacobsa-oglemock-dev. Preparing to unpack .../44-golang-github-jacobsa-oglemock-dev_0.0~git20150428-5_all.deb ... Unpacking golang-github-jacobsa-oglemock-dev (0.0~git20150428-5) ... Selecting previously unselected package golang-golang-x-tools-dev. Preparing to unpack .../45-golang-golang-x-tools-dev_1%3a0.0~git20180501.d3e4ceb5+ds-1_all.deb ... Unpacking golang-golang-x-tools-dev (1:0.0~git20180501.d3e4ceb5+ds-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../46-golang-golang-x-text-dev_0.3.0-1_all.deb ... Unpacking golang-golang-x-text-dev (0.3.0-1) ... Selecting previously unselected package golang-x-text-dev. Preparing to unpack .../47-golang-x-text-dev_0.3.0-1_all.deb ... Unpacking golang-x-text-dev (0.3.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../48-golang-golang-x-net-dev_1%3a0.0+git20180124.0ed95ab+dfsg-2_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20180124.0ed95ab+dfsg-2) ... Selecting previously unselected package golang-github-jacobsa-reqtrace-dev. Preparing to unpack .../49-golang-github-jacobsa-reqtrace-dev_0.0~git20150505-6_all.deb ... Unpacking golang-github-jacobsa-reqtrace-dev (0.0~git20150505-6) ... Selecting previously unselected package golang-github-jacobsa-ogletest-dev. Preparing to unpack .../50-golang-github-jacobsa-ogletest-dev_0.0~git20150610-8_all.deb ... Unpacking golang-github-jacobsa-ogletest-dev (0.0~git20150610-8) ... Selecting previously unselected package golang-github-jtolds-gls-dev. Preparing to unpack .../51-golang-github-jtolds-gls-dev_4.2.1-4_all.deb ... Unpacking golang-github-jtolds-gls-dev (4.2.1-4) ... Selecting previously unselected package golang-github-smartystreets-assertions-dev. Preparing to unpack .../52-golang-github-smartystreets-assertions-dev_1.6.0+dfsg-1_all.deb ... Unpacking golang-github-smartystreets-assertions-dev (1.6.0+dfsg-1) ... Selecting previously unselected package golang-github-smartystreets-goconvey-dev. Preparing to unpack .../53-golang-github-smartystreets-goconvey-dev_1.6.1-3_all.deb ... Unpacking golang-github-smartystreets-goconvey-dev (1.6.1-3) ... Setting up libarchive-zip-perl (1.60-1) ... Setting up libpng16-16:armhf (1.6.34-2) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up libelf1:armhf (0.170-0.5) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armhf (2.56.1-2) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-6+b1) ... Setting up libpipeline1:armhf (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libbsd0:armhf (0.9.1-1) ... Setting up golang-github-jacobsa-oglematchers-dev (0.0~git20150320-3) ... Setting up libfreetype6:armhf (2.8.1-2) ... Setting up libmagic-mgc (1:5.33-3) ... Setting up libmagic1:armhf (1:5.33-3) ... Setting up libgraphite2-3:armhf (1.3.11-2) ... Setting up golang-github-jacobsa-oglemock-dev (0.0~git20150428-5) ... Setting up golang-1.10-src (1.10.3-1) ... Processing triggers for libc-bin (2.27-4) ... Setting up dwz (0.12-2) ... Setting up autotools-dev (20180224.1) ... Setting up golang-golang-x-tools-dev (1:0.0~git20180501.d3e4ceb5+ds-1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libncurses6:armhf (6.1+20180210-4) ... Setting up autopoint (0.19.8.1-6) ... Setting up libfile-stripnondeterminism-perl (0.042-1) ... Setting up golang-golang-x-text-dev (0.3.0-1) ... Setting up golang-x-text-dev (0.3.0-1) ... Setting up golang-src (2:1.10~5) ... Setting up libharfbuzz0b:armhf (1.8.2-2) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.33-3) ... Setting up golang-golang-x-net-dev (1:0.0+git20180124.0ed95ab+dfsg-2) ... Setting up golang-1.10-go (1.10.3-1) ... Setting up automake (1:1.15.1-3.1) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up golang-github-jacobsa-reqtrace-dev (0.0~git20150505-6) ... Setting up man-db (2.8.3-2) ... Building database of manual pages ... Setting up golang-github-jacobsa-ogletest-dev (0.0~git20150610-8) ... Setting up libtool (2.4.6-2.1) ... Setting up golang-go (2:1.10~5) ... Setting up golang-github-smartystreets-assertions-dev (1.6.0+dfsg-1) ... Setting up golang-github-jtolds-gls-dev (4.2.1-4) ... Setting up golang-any (2:1.10~5) ... Setting up golang-github-smartystreets-goconvey-dev (1.6.1-3) ... Setting up dh-autoreconf (19) ... Setting up libicu-le-hb0:armhf (1.0.3+git161113-5) ... Setting up dh-strip-nondeterminism (0.042-1) ... Setting up libicu60:armhf (60.2-6) ... Setting up libxml2:armhf (2.9.4+dfsg1-7+b1) ... Setting up libcroco3:armhf (0.6.12-2) ... Setting up gettext (0.19.8.1-6+b1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up po-debconf (1.0.20) ... Setting up debhelper (11.3.5) ... Setting up dh-golang (1.34) ... Processing triggers for libc-bin (2.27-4) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libfakeroot The following NEW packages will be installed: fakeroot libfakeroot debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/126 kB of archives. After this operation, 307 kB of additional disk space will be used. E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device) Selecting previously unselected package libfakeroot:armhf. (Reading database ... 24348 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_armhf.deb ... Unpacking libfakeroot:armhf (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_armhf.deb ... Unpacking fakeroot (1.23-1) ... Processing triggers for libc-bin (2.27-4) ... Setting up libfakeroot:armhf (1.23-1) ... Processing triggers for man-db (2.8.3-2) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.27-4) ... I: Copying back the cached apt archive contents I: Building the package I: Running cd /build/golang-github-smartystreets-go-aws-auth-0.0~git20160722.0.2043e6d/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot dpkg-buildpackage: info: source package golang-github-smartystreets-go-aws-auth dpkg-buildpackage: info: source version 0.0~git20160722.0.2043e6d-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Tim Potter dpkg-source --before-build golang-github-smartystreets-go-aws-auth-0.0~git20160722.0.2043e6d dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang dpkg-source -b golang-github-smartystreets-go-aws-auth-0.0~git20160722.0.2043e6d dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building golang-github-smartystreets-go-aws-auth using existing ./golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d.orig.tar.xz dpkg-source: info: building golang-github-smartystreets-go-aws-auth in golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.debian.tar.xz dpkg-source: info: building golang-github-smartystreets-go-aws-auth in golang-github-smartystreets-go-aws-auth_0.0~git20160722.0.2043e6d-1.dsc debian/rules build dh build --buildsystem=golang --with=golang dh_update_autotools_config -O--buildsystem=golang dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-arm-linux-gnueabihf && go install -gcflags=\"-trimpath=/build/golang-github-smartystreets-go-aws-auth-0.0\~git20160722.0.2043e6d/obj-arm-linux-gnueabihf/src\" -asmflags=\"-trimpath=/build/golang-github-smartystreets-go-aws-auth-0.0\~git20160722.0.2043e6d/obj-arm-linux-gnueabihf/src\" -v -p 4 github.com/smartystreets/go-aws-auth github.com/smartystreets/go-aws-auth dh_auto_test -O--buildsystem=golang cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/smartystreets/go-aws-auth === RUN TestIntegration Given real credentials from environment variables A request (with out-of-order query string) with to IAM should succeed (assuming Administrator Access policy) ⚠ A request to S3 should succeed ⚠ A request to EC2 should succeed ⚠ A request to SQS should succeed ⚠ A request to SES should succeed ⚠ A request to Route 53 should succeed ⚠ A request to SimpleDB should succeed ⚠ If S3Resource env variable is set A URL-signed request to that S3 resource should succeed ⚠ 0 total assertions (one or more sections skipped) --- PASS: TestIntegration (0.01s) === RUN TestSign Requests to services using Version 2 should be signed accordingly ✔✔ 2 total assertions (one or more sections skipped) Requests to services using Version 3 should be signed accordingly ✔✔ 4 total assertions (one or more sections skipped) Requests to services using Version 4 should be signed accordingly ✔✔✔ 7 total assertions (one or more sections skipped) Requests to services using existing credentials Version 2 should be signed accordingly ✔✔ 9 total assertions (one or more sections skipped) Requests to services using existing credentials Version 3 should be signed accordingly ✔✔ 11 total assertions (one or more sections skipped) Requests to services using existing credentials Version 4 should be signed accordingly ✔✔✔ 14 total assertions (one or more sections skipped) --- PASS: TestSign (0.00s) === RUN TestExpiration Credentials without an expiration can't expire ✔ 15 total assertions (one or more sections skipped) Credentials that expire in 5 minutes aren't expired ✔ 16 total assertions (one or more sections skipped) Credentials that expire in 1 minute are expired ✔ 17 total assertions (one or more sections skipped) Credentials that expired 2 hours ago are expired ✔ 18 total assertions (one or more sections skipped) --- PASS: TestExpiration (0.00s) === RUN TestCommonFunctions Service and region should be properly extracted from host strings ✔✔✔✔✔✔✔✔✔✔✔✔✔✔ 32 total assertions (one or more sections skipped) MD5 hashes should be properly computed and base-64 encoded ✔ 33 total assertions (one or more sections skipped) SHA-256 hashes should be properly hex-encoded (base 16) ✔ 34 total assertions (one or more sections skipped) Given a key and contents HMAC-SHA256 should be properly computed ✔ HMAC-SHA1 should be properly computed ✔ 36 total assertions (one or more sections skipped) Strings should be properly concatenated with a delimiter ✔✔✔ 39 total assertions (one or more sections skipped) URI components should be properly encoded ✔✔✔ 42 total assertions (one or more sections skipped) URI query strings should be properly encoded ✔ 43 total assertions (one or more sections skipped) --- PASS: TestCommonFunctions (0.00s) === RUN TestSignatureS3 Given a GET request to Amazon S3 The request should be prepared with a Date header ✔ The CanonicalizedAmzHeaders should be built properly ✔ The CanonicalizedResource should be built properly ✔ The string to sign should be correct ✔ The final signature string should be exactly correct ✔ 48 total assertions (one or more sections skipped) Given a GET request for a resource on S3 for query string authentication The string to sign should be correct ✔ The signature of string to sign should be correct ✔ The finished signed URL should be correct ✔ 51 total assertions (one or more sections skipped) --- PASS: TestSignatureS3 (0.00s) === RUN TestS3STSRequestPreparer Given a plain request with no custom headers And a set of credentials with an STS token It should include an X-Amz-Security-Token when the request is signed ✔✔ 53 total assertions (one or more sections skipped) --- PASS: TestS3STSRequestPreparer (0.00s) === RUN TestCanonical --- PASS: TestCanonical (0.00s) === RUN TestSignature2 Given bogus credentials Given a plain request that is unprepared The request should be prepared to be signed ✔ Given a prepared, but unsigned, request The canonical query string should be correct ✔ The absolute path should be extracted correctly ✔ The string to sign should be well-formed ✔ The resulting signature should be correct ✔ The final signed request should be correctly formed ✔ 59 total assertions (one or more sections skipped) --- PASS: TestSignature2 (0.00s) === RUN TestVersion2STSRequestPreparer Given a plain request And a set of credentials with an STS token It should include the SecurityToken parameter when the request is signed ✔✔ 61 total assertions (one or more sections skipped) --- PASS: TestVersion2STSRequestPreparer (0.00s) === RUN TestSignature3 Given bogus credentials Given a plain request that is unprepared The request should be prepared to be signed ✔ Given a prepared, but unsigned, request The absolute path should be extracted correctly ✔ The string to sign should be well-formed ✔ The resulting signature should be correct ✔ The final signed request should be correctly formed ✔ 66 total assertions (one or more sections skipped) --- PASS: TestSignature3 (0.00s) === RUN TestVersion3STSRequestPreparer Given a plain request with no custom headers And a set of credentials with an STS token It should include an X-Amz-Security-Token when the request is signed ✔✔ 68 total assertions (one or more sections skipped) --- PASS: TestVersion3STSRequestPreparer (0.00s) === RUN TestVersion4RequestPreparer Given a plain request with no custom headers The necessary, default headers should be appended ✘ Forward-slash should be appended to URI if not present ✔ And a set of credentials It should be signed with an Authorization header ✔✔✔✔✔ Failures: * /build/golang-github-smartystreets-go-aws-auth-0.0~git20160722.0.2043e6d/obj-arm-linux-gnueabihf/src/github.com/smartystreets/go-aws-auth/sign4_test.go Line 21: Expected: '(*http.Request){Method:"POST", URL:(*url.URL){Scheme:"http", Opaque:"", User:(*url.Userinfo)(nil), Host:"iam.amazonaws.com", Path:"/", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}, Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/x-www-form-urlencoded; charset=utf-8"}, "X-Amz-Date":[]string{"20080814T170848Z"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader){s:"Action=ListUsers&Version=2010-05-08", i:0, prevRune:-1}}, GetBody:(func() (io.ReadCloser, error))(0x00000000001f5d0c), ContentLength:35, TransferEncoding:[]string(nil), Close:false, Host:"iam.amazonaws.com", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(0x0000000000000000), Response:(*http.Response)(nil), ctx:context.Context(nil)}' Actual: '(*http.Request){Method:"POST", URL:(*url.URL){Scheme:"http", Opaque:"", User:(*url.Userinfo)(nil), Host:"iam.amazonaws.com", Path:"/", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}, Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/x-www-form-urlencoded; charset=utf-8"}, "X-Amz-Date":[]string{"20080814T170848Z"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader){s:"Action=ListUsers&Version=2010-05-08", i:0, prevRune:-1}}, GetBody:(func() (io.ReadCloser, error))(0x00000000001f5d0c), ContentLength:35, TransferEncoding:[]string(nil), Close:false, Host:"iam.amazonaws.com", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(0x0000000000000000), Response:(*http.Response)(nil), ctx:context.Context(nil)}' (Should resemble)! 75 total assertions (one or more sections skipped) Given a request with custom, necessary headers The custom, necessary headers must not be changed ✘ Failures: * /build/golang-github-smartystreets-go-aws-auth-0.0~git20160722.0.2043e6d/obj-arm-linux-gnueabihf/src/github.com/smartystreets/go-aws-auth/sign4_test.go Line 50: Expected: '(*http.Request){Method:"POST", URL:(*url.URL){Scheme:"http", Opaque:"", User:(*url.Userinfo)(nil), Host:"iam.amazonaws.com", Path:"/", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}, Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/x-www-form-urlencoded; charset=utf-8"}, "X-Amz-Date":[]string{"20110909T233600Z"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader){s:"Action=ListUsers&Version=2010-05-08", i:0, prevRune:-1}}, GetBody:(func() (io.ReadCloser, error))(0x00000000001f5d0c), ContentLength:35, TransferEncoding:[]string(nil), Close:false, Host:"iam.amazonaws.com", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(0x0000000000000000), Response:(*http.Response)(nil), ctx:context.Context(nil)}' Actual: '(*http.Request){Method:"POST", URL:(*url.URL){Scheme:"http", Opaque:"", User:(*url.Userinfo)(nil), Host:"iam.amazonaws.com", Path:"/", RawPath:"", ForceQuery:false, RawQuery:"", Fragment:""}, Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/x-www-form-urlencoded; charset=utf-8"}, "X-Amz-Date":[]string{"20110909T233600Z"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader){s:"Action=ListUsers&Version=2010-05-08", i:0, prevRune:-1}}, GetBody:(func() (io.ReadCloser, error))(0x00000000001f5d0c), ContentLength:35, TransferEncoding:[]string(nil), Close:false, Host:"iam.amazonaws.com", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(0x0000000000000000), Response:(*http.Response)(nil), ctx:context.Context(nil)}' (Should resemble)! 76 total assertions (one or more sections skipped) --- FAIL: TestVersion4RequestPreparer (0.00s) === RUN TestVersion4STSRequestPreparer Given a plain request with no custom headers And a set of credentials with an STS token It should include an X-Amz-Security-Token when the request is signed ✔✔ 78 total assertions (one or more sections skipped) --- PASS: TestVersion4STSRequestPreparer (0.00s) === RUN TestVersion4SigningTasks Given a bogus request and credentials from AWS documentation with an additional meta tag (Task 1) The canonical request should be built correctly ✔ (Task 2) The string to sign should be built correctly ✔ (Task 3) The version 4 signed signature should be correct ✔ 81 total assertions (one or more sections skipped) --- PASS: TestVersion4SigningTasks (0.00s) === RUN TestSignature4Helpers The signing key should be properly generated ✔ 82 total assertions (one or more sections skipped) Authorization headers should be built properly ✔ 83 total assertions (one or more sections skipped) Timestamps should be in the correct format, in UTC time ✔✔✔✔✔✔ 89 total assertions (one or more sections skipped) Given an Version 4 AWS-formatted timestamp The date string should be extracted properly ✔ 90 total assertions (one or more sections skipped) Given any request with a body Its body should be read and replaced without differences ✔✔ 92 total assertions (one or more sections skipped) --- PASS: TestSignature4Helpers (0.00s) FAIL FAIL github.com/smartystreets/go-aws-auth 0.048s dh_auto_test: cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/smartystreets/go-aws-auth returned exit code 1 debian/rules:4: recipe for target 'build' failed make: *** [build] Error 1 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: Terminate timeout process I: copying local configuration /usr/lib/pbuilder/pbuilder-modules: line 1: 13348 Terminated ( : Timeout process; sleep "${TIMEOUT_TIME}"; log.i "Terminating build process due to timeout "; kill "${BUILD_PID}" || true ) E: Failed autobuilding of package I: user script /var/cache/pbuilder/build/21978/tmp/hooks/C01kill-gpg-agent starting I: user script /var/cache/pbuilder/build/21978/tmp/hooks/C01kill-gpg-agent finished I: unmounting /sys filesystem I: unmounting /proc filesystem I: unmounting /dev filesystem I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env  I: removing directory /var/cache/pbuilder/build/21978 and its subdirectories FAILED to build: 1