Diff of the two buildlogs: -- --- b1/build.log 2020-07-30 10:40:17.393271850 +0000 +++ b2/build.log 2020-07-30 10:46:53.165080100 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 1 05:02:38 -12 2021 -I: pbuilder-time-stamp: 1630515758 +I: Current time: Fri Jul 31 00:40:19 +14 2020 +I: pbuilder-time-stamp: 1596105619 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Mon Feb 5 16:49:56 2018 -12 +gpgv: Signature made Tue Feb 6 18:49:56 2018 +14 gpgv: using RSA key 0740778A2DFC4A39C0C8BC8C8F2B113C6535C5A7 gpgv: issuer "aviau@debian.org" gpgv: Can't check signature: No public key @@ -30,138 +30,172 @@ dpkg-source: info: applying 0001-skip-tests-which-failed-due-to-dh-golang.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/59212/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/361/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/361/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/361/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='d4944d97104c45e492782227d04e885e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='59212' - PS1='# ' - PS2='> ' + INVOCATION_ID=ec2fd704c05445f79b87d413e580aead + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=361 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.oNKk79gFyt/pbuilderrc_FQar --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.oNKk79gFyt/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.oNKk79gFyt/pbuilderrc_fJEG --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.oNKk79gFyt/b2 --logfile b2/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux profitbricks-build6-i386 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) i686 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 1 02:46 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/59212/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 31 00:43 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 29 23:58 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/361/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -255,7 +289,7 @@ Get: 44 http://deb.debian.org/debian buster/main i386 pandoc-data all 2.2.1-3 [329 kB] Get: 45 http://deb.debian.org/debian buster/main i386 pandoc i386 2.2.1-3+b2 [15.0 MB] Get: 46 http://deb.debian.org/debian buster/main i386 golang-github-hashicorp-go-rootcerts-dev all 0.0~git20160503.0.6bb64b3-1 [7336 B] -Fetched 89.7 MB in 1s (84.4 MB/s) +Fetched 89.7 MB in 25s (3586 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) @@ -462,7 +496,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-hashicorp-atlas-go-0.0~git20170808.8261ea0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/golang-github-hashicorp-atlas-go-0.0~git20170808.8261ea0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package golang-github-hashicorp-atlas-go dpkg-buildpackage: info: source version 0.0~git20170808.8261ea0-3 dpkg-buildpackage: info: source distribution unstable @@ -480,97 +514,97 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-i686-linux-gnu && go install -gcflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-i686-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-i686-linux-gnu/src\" -v -p 18 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 -errors + cd obj-i686-linux-gnu && go install -gcflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-i686-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-i686-linux-gnu/src\" -v -p 10 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 internal/race -vendor/golang_org/x/crypto/cryptobyte/asn1 -internal/nettrace -unicode/utf16 -encoding +errors math/bits -container/list -vendor/golang_org/x/net/dns/dnsmessage -runtime/internal/atomic -crypto/internal/subtle unicode/utf8 -sync/atomic runtime/internal/sys -crypto/subtle internal/cpu +sync/atomic unicode +container/list runtime/cgo +runtime/internal/atomic +crypto/internal/subtle math +crypto/subtle +vendor/golang_org/x/crypto/cryptobyte/asn1 internal/testlog +vendor/golang_org/x/net/dns/dnsmessage internal/bytealg +internal/nettrace +encoding +unicode/utf16 runtime strconv crypto/rc4 sync -internal/singleflight io -math/rand +internal/singleflight reflect +math/rand syscall +hash strings bytes -hash crypto/internal/randutil crypto/cipher -crypto/hmac -crypto hash/crc32 +crypto +crypto/hmac crypto/sha512 -crypto/sha256 crypto/md5 crypto/sha1 -crypto/aes -vendor/golang_org/x/text/transform +crypto/sha256 bufio +vendor/golang_org/x/text/transform +crypto/aes path internal/syscall/unix time +internal/poll sort encoding/binary -internal/poll -regexp/syntax os -vendor/golang_org/x/crypto/poly1305 -encoding/base64 crypto/des -vendor/golang_org/x/crypto/internal/chacha20 +encoding/base64 +vendor/golang_org/x/crypto/poly1305 +regexp/syntax vendor/golang_org/x/crypto/curve25519 -vendor/golang_org/x/crypto/chacha20poly1305 -encoding/pem +vendor/golang_org/x/crypto/internal/chacha20 path/filepath fmt -regexp +vendor/golang_org/x/crypto/chacha20poly1305 +encoding/pem io/ioutil +regexp os/user -context log +context encoding/hex net/url -mime/quotedprintable -net/http/internal -encoding/json -mime -vendor/golang_org/x/net/http2/hpack compress/flate -math/big +encoding/json vendor/golang_org/x/text/unicode/norm -github.com/hashicorp/go-version -vendor/golang_org/x/text/unicode/bidi +math/big os/exec +vendor/golang_org/x/text/unicode/bidi net +vendor/golang_org/x/net/http2/hpack +mime +github.com/hashicorp/go-version vendor/golang_org/x/text/secure/bidirule +mime/quotedprintable compress/gzip +net/http/internal vendor/golang_org/x/net/idna -archive/tar -crypto/dsa crypto/rand -encoding/asn1 +crypto/dsa crypto/elliptic +encoding/asn1 crypto/rsa +archive/tar crypto/ecdsa crypto/x509/pkix vendor/golang_org/x/crypto/cryptobyte @@ -587,30 +621,30 @@ github.com/hashicorp/go-cleanhttp github.com/hashicorp/atlas-go/v1 dh_auto_test -O--buildsystem=golang - cd obj-i686-linux-gnu && go test -vet=off -v -p 18 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-i686-linux-gnu && go test -vet=off -v -p 10 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.00s) +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.01s) === RUN TestArchive_fileCompressed -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2021/09/01 17:03:11 [INFO] creating archive from /tmp/test492778849 +2020/07/30 10:46:44 [INFO] creating archive from /tmp/test418625374 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2021/09/01 17:03:11 [INFO] creating archive from /tmp/test297781068 +2020/07/30 10:46:44 [INFO] creating archive from /tmp/test215425829 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.00s) +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.01s) === RUN TestArchive_dirExtraDir -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDir (0.00s) +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDir (0.01s) === RUN TestArchive_dirExtraDirHeader -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDirHeader (0.00s) +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDirHeader (0.01s) === RUN TestArchive_dirMode --- SKIP: TestArchive_dirMode (0.00s) archive_test.go:205: Skip this test in Debian @@ -621,23 +655,23 @@ --- SKIP: TestArchive_dirWithSymlink (0.00s) archive_test.go:249: Skip this test in Debian === RUN TestArchive_dirWithSymlinkToFile -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-symlink-file/link ---- PASS: TestArchive_dirWithSymlinkToFile (0.00s) +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-symlink-file/link +--- PASS: TestArchive_dirWithSymlinkToFile (0.01s) === RUN TestArchive_dirNoVCS -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-flat +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirNoVCS (0.00s) === RUN TestArchive_dirSubdirsNoVCS -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-subdir +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirSubdirsNoVCS (0.00s) === RUN TestArchive_dirExclude -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-subdir +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirExclude (0.00s) === RUN TestArchive_dirInclude -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-subdir +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirInclude (0.00s) === RUN TestArchive_dirIncludeStar -2021/09/01 17:03:11 [INFO] creating archive from test-fixtures/archive-subdir-splat ---- PASS: TestArchive_dirIncludeStar (0.00s) +2020/07/30 10:46:44 [INFO] creating archive from test-fixtures/archive-subdir-splat +--- PASS: TestArchive_dirIncludeStar (0.01s) === RUN TestArchive_git --- SKIP: TestArchive_git (0.00s) archive_test.go:399: git not found, skipping @@ -687,15 +721,15 @@ --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) vcs_test.go:240: PASS -ok github.com/hashicorp/atlas-go/archive 0.020s +ok github.com/hashicorp/atlas-go/archive 0.076s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2021/09/01 17:03:11 [INFO] getting application hashicorp/existing -2021/09/01 17:03:11 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x8896200), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39023", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] getting application hashicorp/existing +2020/07/30 10:46:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x985e240), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35227", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -705,42 +739,42 @@ --- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2021/09/01 17:03:11 [INFO] getting application hashicorp/newproject -2021/09/01 17:03:11 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x88681c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33485", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 404 (404 Not Found) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] getting application hashicorp/newproject +2020/07/30 10:46:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x9908180), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38665", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 404 (404 Not Found) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2021/09/01 17:03:11 [INFO] creating application hashicorp/newproject -2021/09/01 17:03:11 [INFO] request: POST /api/v1/vagrant/applications -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x899e0c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8990200)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36675", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2020/07/30 10:46:44 [INFO] creating application hashicorp/newproject +2020/07/30 10:46:44 [INFO] request: POST /api/v1/vagrant/applications +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x995c0c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x994e200)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33907", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2021/09/01 17:03:11 [INFO] creating application hashicorp/existing -2021/09/01 17:03:11 [INFO] request: POST /api/v1/vagrant/applications -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x8868440), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8866760)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43251", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 409 (409 Conflict) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] creating application hashicorp/existing +2020/07/30 10:46:44 [INFO] request: POST /api/v1/vagrant/applications +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x995c4c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x994e6e0)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34283", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 409 (409 Conflict) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2021/09/01 17:03:11 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2021/09/01 17:03:11 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x897a200), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8946880)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36555", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: {"upload_path":"http://[::]:36555/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2021/09/01 17:03:11 [INFO] putting file: http://[::]:36555/_binstore/630e42d9-2364-2412-4121-18266770468e -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x897a540), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36555", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2020/07/30 10:46:44 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x985e880), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x985d940)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44699", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: {"upload_path":"http://[::]:44699/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2020/07/30 10:46:44 [INFO] putting file: http://[::]:44699/_binstore/630e42d9-2364-2412-4121-18266770468e +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x9908480), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44699", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2021/09/01 17:03:11 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x8896740), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39439", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x99c20c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46857", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -751,18 +785,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2021/09/01 17:03:11 [INFO] getting application hashicorp/newproject -2021/09/01 17:03:11 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x8896ac0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44937", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 404 (404 Not Found) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] getting application hashicorp/newproject +2020/07/30 10:46:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x985ec80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36649", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 404 (404 Not Found) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2021/09/01 17:03:11 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2021/09/01 17:03:11 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x88687c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43829", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2020/07/30 10:46:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x995c780), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44055", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -773,11 +807,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2021/09/01 17:03:11 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"bar":"943febbf-589f-401b-8f25-58f6d8786848", "foo":"bar"}} -2021/09/01 17:03:11 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x8868bc0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38947", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"foo":"bar", "bar":"943febbf-589f-401b-8f25-58f6d8786848"}} +2020/07/30 10:46:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x99087c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36209", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -792,19 +826,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2021/09/01 17:03:11 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2021/09/01 17:03:11 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x8869000), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8867c20)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36247", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2020/07/30 10:46:44 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x9908c40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x98ed820)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35831", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { - "upload_path": "http://[::]:36247/_binstore/" + "upload_path": "http://[::]:35831/_binstore/" } -2021/09/01 17:03:11 [INFO] putting file: http://[::]:36247/_binstore/ -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x8869240), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36247", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] putting file: http://[::]:35831/_binstore/ +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x985ef80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35831", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -817,11 +851,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2021/09/01 17:03:11 [INFO] getting build configuration hashicorp/existing -2021/09/01 17:03:11 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x899e540), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37363", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] getting build configuration hashicorp/existing +2020/07/30 10:46:44 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x985f240), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46377", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -829,11 +863,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2021/09/01 17:03:11 [INFO] creating build configuration hashicorp/new -2021/09/01 17:03:11 [INFO] request: POST /api/v1/packer/build-configurations -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x897a940), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8947380)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36309", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] creating build configuration hashicorp/new +2020/07/30 10:46:44 [INFO] request: POST /api/v1/packer/build-configurations +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x985f5c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x99f7280)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42791", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -843,19 +877,19 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2021/09/01 17:03:11 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2021/09/01 17:03:11 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x8897000), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8a305a0)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44891", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2020/07/30 10:46:44 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x985fa00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x99f7920)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38569", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { - "upload_path": "http://[::]:44891/_binstore/" + "upload_path": "http://[::]:38569/_binstore/" } -2021/09/01 17:03:11 [INFO] putting file: http://[::]:44891/_binstore/ -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x897ac80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44891", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] putting file: http://[::]:38569/_binstore/ +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x9908ec0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38569", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) @@ -872,73 +906,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2021/09/01 17:03:11 [INFO] logging in user +2020/07/30 10:46:44 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2021/09/01 17:03:11 [INFO] logging in user username +2020/07/30 10:46:44 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2021/09/01 17:03:11 [INFO] logging in user username -2021/09/01 17:03:11 [INFO] request: POST /api/v1/authenticate -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x899ea80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/x-www-form-urlencoded"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x8991880)}, GetBody:(func() (io.ReadCloser, error))(0x8259f20), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45945", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 401 (401 Unauthorized) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] logging in user username +2020/07/30 10:46:44 [INFO] request: POST /api/v1/authenticate +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x985ff00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/x-www-form-urlencoded"}, "User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x9a32240)}, GetBody:(func() (io.ReadCloser, error))(0x8259f20), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45513", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 401 (401 Unauthorized) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2021/09/01 17:03:11 [INFO] logging in user sethloves -2021/09/01 17:03:11 [INFO] request: POST /api/v1/authenticate -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x8897300), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/x-www-form-urlencoded"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x8a30b00)}, GetBody:(func() (io.ReadCloser, error))(0x8259f20), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39763", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] logging in user sethloves +2020/07/30 10:46:44 [INFO] request: POST /api/v1/authenticate +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x995cac0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/x-www-form-urlencoded"}, "User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x994f3a0)}, GetBody:(func() (io.ReadCloser, error))(0x8259f20), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37065", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2021/09/01 17:03:11 [DEBUG] setting atlas token (pX4*** (masked)) +2020/07/30 10:46:44 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2021/09/01 17:03:11 [INFO] request: GET /api/v1/token -2021/09/01 17:03:11 [DEBUG] request: appending token (a.a*** (masked)) -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x899ed80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "X-Atlas-Token":[]string{"a.atlasv1.b"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42675", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] request: GET /api/v1/token +2020/07/30 10:46:44 [DEBUG] request: appending token (a.a*** (masked)) +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x995cdc0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "X-Atlas-Token":[]string{"a.atlasv1.b"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43811", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2021/09/01 17:03:11 [INFO] request: GET /_status/200 -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x897af00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43243", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] request: GET /_status/200 +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x995d040), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46255", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2021/09/01 17:03:11 [INFO] request: GET /_rails-error -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x8869640), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46053", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 422 (422 Unprocessable Entity) -2021/09/01 17:03:11 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2020/07/30 10:46:44 [INFO] request: GET /_rails-error +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x9a38280), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41963", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 422 (422 Unprocessable Entity) +2020/07/30 10:46:44 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2021/09/01 17:03:11 [INFO] request: GET /_status/404 -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x8869900), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42467", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 404 (404 Not Found) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] request: GET /_status/404 +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x99c2600), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37453", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 404 (404 Not Found) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2021/09/01 17:03:11 [INFO] request: GET /_json -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x899f040), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37993", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: {"ok": true} +2020/07/30 10:46:44 [INFO] request: GET /_json +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x995d340), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41579", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2021/09/01 17:03:11 [INFO] request: GET /_test -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x899f300), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Atlas-Test":[]string{"default header test"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35641", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: {"RawPath":"","Host":"[::]:35641","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"]},"Body":""} +2020/07/30 10:46:44 [INFO] request: GET /_test +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x995d600), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Atlas-Test":[]string{"default header test"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45983", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: {"RawPath":"","Host":"[::]:45983","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"]},"Body":""} --- PASS: TestClient_defaultHeaders (0.00s) === RUN TestTerraformConfigLatest -2021/09/01 17:03:11 [INFO] getting terraform configuration hashicorp/existing -2021/09/01 17:03:11 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x899f580), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39703", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] getting terraform configuration hashicorp/existing +2020/07/30 10:46:44 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x99c2940), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36119", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "version": { "version": 5, @@ -949,20 +983,20 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2021/09/01 17:03:11 [INFO] creating terraform configuration hashicorp/existing -2021/09/01 17:03:11 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x88977c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x8a317a0)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42371", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] creating terraform configuration hashicorp/existing +2020/07/30 10:46:44 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x995da00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}, "Content-Type":[]string{"application/json"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x9a492c0)}, GetBody:(func() (io.ReadCloser, error))(0x8259e50), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41117", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:42371/_binstore/" + "upload_path": "http://[::]:41117/_binstore/" } -2021/09/01 17:03:11 [INFO] putting file: http://[::]:42371/_binstore/ -2021/09/01 17:03:11 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x899f840), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42371", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} -2021/09/01 17:03:11 [INFO] response: 200 (200 OK) -2021/09/01 17:03:11 [DEBUG] response: +2020/07/30 10:46:44 [INFO] putting file: http://[::]:41117/_binstore/ +2020/07/30 10:46:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x99c2c00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x8259ff0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41117", 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 {})(nil), Response:(*http.Response)(nil), ctx:context.Context(nil)} +2020/07/30 10:46:44 [INFO] response: 200 (200 OK) +2020/07/30 10:46:44 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -973,7 +1007,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.020s +ok github.com/hashicorp/atlas-go/v1 0.042s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -1009,12 +1043,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/361/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/361/tmp/hooks/B01_cleanup finished 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 /srv/workspace/pbuilder/59212 and its subdirectories -I: Current time: Wed Sep 1 05:03:16 -12 2021 -I: pbuilder-time-stamp: 1630515796 +I: removing directory /srv/workspace/pbuilder/361 and its subdirectories +I: Current time: Fri Jul 31 00:46:52 +14 2020 +I: pbuilder-time-stamp: 1596106012