Diff of the two buildlogs: -- --- b1/build.log 2021-04-04 10:19:36.849510687 +0000 +++ b2/build.log 2021-04-04 10:20:23.499684826 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 3 22:16:32 -12 2021 -I: pbuilder-time-stamp: 1617531392 +I: Current time: Sun May 8 06:42:46 +14 2022 +I: pbuilder-time-stamp: 1651941766 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,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 @@ -29,136 +29,170 @@ 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/20505/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10770/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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/10770/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10770/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='898d14b86fbf492baea36f54df8632ac' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='20505' - PS1='# ' - PS2='> ' + INVOCATION_ID=d7c12b32483d440e9aa376aec1f96bc9 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=10770 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.gC0pnj4gAg/pbuilderrc_uSDY --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.gC0pnj4gAg/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.gC0pnj4gAg/pbuilderrc_dzbJ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.gC0pnj4gAg/b2 --logfile b2/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.4-amd64 #1 SMP Debian 5.10.19-1~bpo10+1 (2021-03-13) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 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 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 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 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 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 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 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 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Mar 20 20:25 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 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/20505/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 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 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 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 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 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 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 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 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 May 8 06:42 sh -> bash + lrwxrwxrwx 1 root root 4 Apr 24 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 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/10770/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -252,7 +286,7 @@ Get: 44 http://deb.debian.org/debian buster/main amd64 pandoc-data all 2.2.1-3 [329 kB] Get: 45 http://deb.debian.org/debian buster/main amd64 pandoc amd64 2.2.1-3+b2 [14.7 MB] Get: 46 http://deb.debian.org/debian buster/main amd64 golang-github-hashicorp-go-rootcerts-dev all 0.0~git20160503.0.6bb64b3-1 [7336 B] -Fetched 89.2 MB in 2s (43.2 MB/s) +Fetched 89.2 MB in 1s (77.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -459,7 +493,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 @@ -477,26 +511,26 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go install -gcflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-x86_64-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-x86_64-linux-gnu/src\" -v -p 15 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-x86_64-linux-gnu && go install -gcflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-x86_64-linux-gnu/src\" -asmflags=all=\"-trimpath=/build/golang-github-hashicorp-atlas-go-0.0\~git20170808.8261ea0/obj-x86_64-linux-gnu/src\" -v -p 16 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 errors -container/list internal/race -runtime/internal/sys -unicode +vendor/golang_org/x/crypto/cryptobyte/asn1 +crypto/internal/subtle unicode/utf8 +runtime/internal/sys +container/list math/bits -crypto/internal/subtle -vendor/golang_org/x/net/dns/dnsmessage -crypto/subtle -internal/cpu -vendor/golang_org/x/crypto/curve25519 +unicode internal/nettrace -vendor/golang_org/x/crypto/cryptobyte/asn1 runtime/internal/atomic sync/atomic +internal/cpu +crypto/subtle encoding -runtime/cgo +vendor/golang_org/x/net/dns/dnsmessage unicode/utf16 +vendor/golang_org/x/crypto/curve25519 +runtime/cgo internal/testlog internal/bytealg math @@ -511,70 +545,70 @@ reflect hash bytes -strings -crypto/cipher crypto/internal/randutil -hash/crc32 +crypto/cipher +strings crypto +hash/crc32 crypto/hmac crypto/md5 crypto/sha512 crypto/sha1 crypto/sha256 crypto/aes -bufio vendor/golang_org/x/text/transform +bufio path -time internal/syscall/unix +time internal/poll sort encoding/binary -os regexp/syntax +os crypto/des encoding/base64 -vendor/golang_org/x/crypto/internal/chacha20 vendor/golang_org/x/crypto/poly1305 +vendor/golang_org/x/crypto/internal/chacha20 vendor/golang_org/x/crypto/chacha20poly1305 encoding/pem path/filepath fmt -io/ioutil regexp -os/user -compress/flate +io/ioutil log +os/user context encoding/hex +compress/flate net/url +mime vendor/golang_org/x/net/http2/hpack +mime/quotedprintable math/big -mime +net/http/internal vendor/golang_org/x/text/unicode/norm encoding/json -mime/quotedprintable -net/http/internal -os/exec -net github.com/hashicorp/go-version vendor/golang_org/x/text/unicode/bidi +os/exec +net vendor/golang_org/x/text/secure/bidirule compress/gzip vendor/golang_org/x/net/idna -crypto/elliptic -encoding/asn1 crypto/rand +encoding/asn1 crypto/dsa +crypto/elliptic crypto/rsa -crypto/ecdsa +archive/tar crypto/x509/pkix vendor/golang_org/x/crypto/cryptobyte -archive/tar +crypto/ecdsa github.com/hashicorp/atlas-go/archive -net/textproto -vendor/golang_org/x/net/http/httpproxy crypto/x509 +vendor/golang_org/x/net/http/httpproxy +net/textproto vendor/golang_org/x/net/http/httpguts mime/multipart crypto/tls @@ -584,30 +618,30 @@ github.com/hashicorp/go-cleanhttp github.com/hashicorp/atlas-go/v1 dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 16 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.08s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.01s) === RUN TestArchive_fileCompressed -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2021/04/04 10:18:59 [INFO] creating archive from /tmp/test495764577 +2022/05/07 16:43:25 [INFO] creating archive from /tmp/test577121645 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2021/04/04 10:18:59 [INFO] creating archive from /tmp/test839518796 +2022/05/07 16:43:25 [INFO] creating archive from /tmp/test228789224 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.02s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.01s) === RUN TestArchive_dirExtraDir -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDir (0.03s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDir (0.00s) === RUN TestArchive_dirExtraDirHeader -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDirHeader (0.02s) +2022/05/07 16:43:25 [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 @@ -618,23 +652,23 @@ --- SKIP: TestArchive_dirWithSymlink (0.00s) archive_test.go:249: Skip this test in Debian === RUN TestArchive_dirWithSymlinkToFile -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-symlink-file/link ---- PASS: TestArchive_dirWithSymlinkToFile (0.02s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-symlink-file/link +--- PASS: TestArchive_dirWithSymlinkToFile (0.00s) === RUN TestArchive_dirNoVCS -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.02s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.00s) === RUN TestArchive_dirSubdirsNoVCS -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.03s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.00s) === RUN TestArchive_dirExclude -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirExclude (0.03s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirExclude (0.00s) === RUN TestArchive_dirInclude -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirInclude (0.02s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirInclude (0.00s) === RUN TestArchive_dirIncludeStar -2021/04/04 10:18:59 [INFO] creating archive from test-fixtures/archive-subdir-splat ---- PASS: TestArchive_dirIncludeStar (0.02s) +2022/05/07 16:43:25 [INFO] creating archive from test-fixtures/archive-subdir-splat +--- PASS: TestArchive_dirIncludeStar (0.00s) === RUN TestArchive_git --- SKIP: TestArchive_git (0.00s) archive_test.go:399: git not found, skipping @@ -684,15 +718,15 @@ --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) vcs_test.go:240: PASS -ok github.com/hashicorp/atlas-go/archive 0.390s +ok github.com/hashicorp/atlas-go/archive 0.051s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2021/04/04 10:19:00 [INFO] getting application hashicorp/existing -2021/04/04 10:19:00 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000024280), 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:"[::]:33645", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] getting application hashicorp/existing +2022/05/07 16:43:26 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000026280), 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:"[::]:33387", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -700,44 +734,44 @@ "private": true } ---- PASS: TestApp_fetchesApp (0.02s) +--- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2021/04/04 10:19:00 [INFO] getting application hashicorp/newproject -2021/04/04 10:19:00 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00017a200), 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:"[::]:45537", 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/04/04 10:19:00 [INFO] response: 404 (404 Not Found) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] getting application hashicorp/newproject +2022/05/07 16:43:26 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000026700), 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:"[::]:39127", 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)} +2022/05/07 16:43:26 [INFO] response: 404 (404 Not Found) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2021/04/04 10:19:00 [INFO] creating application hashicorp/newproject -2021/04/04 10:19:00 [INFO] request: POST /api/v1/vagrant/applications -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000024700), 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)(0xc000093710)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46253", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2022/05/07 16:43:26 [INFO] creating application hashicorp/newproject +2022/05/07 16:43:26 [INFO] request: POST /api/v1/vagrant/applications +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001b0180), 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)(0xc000164450)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35149", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2021/04/04 10:19:00 [INFO] creating application hashicorp/existing -2021/04/04 10:19:00 [INFO] request: POST /api/v1/vagrant/applications -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000024b00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/json"}, "User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0xc000093f20)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34703", 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/04/04 10:19:00 [INFO] response: 409 (409 Conflict) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] creating application hashicorp/existing +2022/05/07 16:43:26 [INFO] request: POST /api/v1/vagrant/applications +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00013e380), 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)(0xc000126780)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33955", 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)} +2022/05/07 16:43:26 [INFO] response: 409 (409 Conflict) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2021/04/04 10:19:00 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2021/04/04 10:19:00 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000024f00), 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)(0xc0001b49c0)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36825", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: {"upload_path":"http://[::]:36825/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2021/04/04 10:19:00 [INFO] putting file: http://[::]:36825/_binstore/630e42d9-2364-2412-4121-18266770468e -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000025200), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36825", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2022/05/07 16:43:26 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000222180), 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)(0xc00017c4e0)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35809", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: {"upload_path":"http://[::]:35809/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2022/05/07 16:43:26 [INFO] putting file: http://[::]:35809/_binstore/630e42d9-2364-2412-4121-18266770468e +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc00013e580), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35809", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2021/04/04 10:19:00 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00017a680), 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:"[::]:42867", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000026b80), 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:"[::]:34205", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -748,18 +782,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2021/04/04 10:19:00 [INFO] getting application hashicorp/newproject -2021/04/04 10:19:00 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00017aa80), 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:"[::]:40001", 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/04/04 10:19:00 [INFO] response: 404 (404 Not Found) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] getting application hashicorp/newproject +2022/05/07 16:43:26 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000222680), 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)} +2022/05/07 16:43:26 [INFO] response: 404 (404 Not Found) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2021/04/04 10:19:00 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2021/04/04 10:19:00 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00017ae80), 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:"[::]:41281", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2022/05/07 16:43:26 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001b0580), 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:"[::]:42359", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -770,11 +804,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2021/04/04 10:19:00 [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"}} -2021/04/04 10:19:00 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00017b280), 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:"[::]:35017", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [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"}} +2022/05/07 16:43:26 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00013e880), 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:"[::]:45109", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -783,25 +817,25 @@ }] } ---- PASS: TestArtifactSearch_metadata (0.01s) +--- PASS: TestArtifactSearch_metadata (0.00s) === RUN TestArtifactFileURL --- PASS: TestArtifactFileURL (0.00s) === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2021/04/04 10:19:00 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2021/04/04 10:19:00 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00017ba00), 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)(0xc0001d2f00)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41551", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2022/05/07 16:43:26 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001b0c80), 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)(0xc000165890)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33965", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { - "upload_path": "http://[::]:41551/_binstore/" + "upload_path": "http://[::]:33965/_binstore/" } -2021/04/04 10:19:00 [INFO] putting file: http://[::]:41551/_binstore/ -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc00017bd00), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41551", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] putting file: http://[::]:33965/_binstore/ +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000222a80), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33965", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -814,11 +848,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2021/04/04 10:19:00 [INFO] getting build configuration hashicorp/existing -2021/04/04 10:19:00 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000210100), 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:"[::]:42089", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] getting build configuration hashicorp/existing +2022/05/07 16:43:26 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000026f80), 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:"[::]:39633", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -826,11 +860,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2021/04/04 10:19:00 [INFO] creating build configuration hashicorp/new -2021/04/04 10:19:00 [INFO] request: POST /api/v1/packer/build-configurations -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000210500), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Type":[]string{"application/json"}, "User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.11.6)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0xc000218750)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43941", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] creating build configuration hashicorp/new +2022/05/07 16:43:26 [INFO] request: POST /api/v1/packer/build-configurations +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000027280), 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)(0xc000278c90)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38037", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -838,22 +872,22 @@ "private":true } ---- PASS: TestCreateBuildConfig (0.01s) +--- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2021/04/04 10:19:00 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2021/04/04 10:19:00 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000142280), 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)(0xc00011e810)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43401", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2022/05/07 16:43:26 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000027680), 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)(0xc0002797a0)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40081", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { - "upload_path": "http://[::]:43401/_binstore/" + "upload_path": "http://[::]:40081/_binstore/" } -2021/04/04 10:19:00 [INFO] putting file: http://[::]:43401/_binstore/ -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000142500), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43401", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: ---- PASS: TestUploadBuildConfigVersion (0.01s) +2022/05/07 16:43:26 [INFO] putting file: http://[::]:40081/_binstore/ +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000027880), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40081", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: +--- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) === RUN TestDefaultClient_urlFromEnvVar @@ -869,73 +903,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2021/04/04 10:19:00 [INFO] logging in user +2022/05/07 16:43:26 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2021/04/04 10:19:00 [INFO] logging in user username +2022/05/07 16:43:26 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2021/04/04 10:19:00 [INFO] logging in user username -2021/04/04 10:19:00 [INFO] request: POST /api/v1/authenticate -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000142d80), 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)(0xc00014e880)}, GetBody:(func() (io.ReadCloser, error))(0x6800e0), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38745", 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/04/04 10:19:00 [INFO] response: 401 (401 Unauthorized) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] logging in user username +2022/05/07 16:43:26 [INFO] request: POST /api/v1/authenticate +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002ea600), 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)(0xc0002f6040)}, GetBody:(func() (io.ReadCloser, error))(0x6800e0), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36057", 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)} +2022/05/07 16:43:26 [INFO] response: 401 (401 Unauthorized) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2021/04/04 10:19:00 [INFO] logging in user sethloves -2021/04/04 10:19:00 [INFO] request: POST /api/v1/authenticate -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000143180), 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)(0xc00014ea80)}, GetBody:(func() (io.ReadCloser, error))(0x6800e0), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33105", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] logging in user sethloves +2022/05/07 16:43:26 [INFO] request: POST /api/v1/authenticate +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001b1080), 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)(0xc0001609e0)}, GetBody:(func() (io.ReadCloser, error))(0x6800e0), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36393", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2021/04/04 10:19:00 [DEBUG] setting atlas token (pX4*** (masked)) +2022/05/07 16:43:26 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2021/04/04 10:19:00 [INFO] request: GET /api/v1/token -2021/04/04 10:19:00 [DEBUG] request: appending token (a.a*** (masked)) -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000143580), 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:"[::]:42617", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] request: GET /api/v1/token +2022/05/07 16:43:26 [DEBUG] request: appending token (a.a*** (masked)) +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002ea900), 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:"[::]:40533", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2021/04/04 10:19:00 [INFO] request: GET /_status/200 -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000143980), 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:"[::]:33345", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: ---- PASS: TestRequest_getsData (0.01s) +2022/05/07 16:43:26 [INFO] request: GET /_status/200 +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001b1480), 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:"[::]:39923", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: +--- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2021/04/04 10:19:00 [INFO] request: GET /_rails-error -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000210900), 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:"[::]:40299", 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/04/04 10:19:00 [INFO] response: 422 (422 Unprocessable Entity) -2021/04/04 10:19:00 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2022/05/07 16:43:26 [INFO] request: GET /_rails-error +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001b1780), 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:"[::]:46483", 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)} +2022/05/07 16:43:26 [INFO] response: 422 (422 Unprocessable Entity) +2022/05/07 16:43:26 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2021/04/04 10:19:00 [INFO] request: GET /_status/404 -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000143d80), 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:"[::]:41133", 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/04/04 10:19:00 [INFO] response: 404 (404 Not Found) -2021/04/04 10:19:00 [DEBUG] response: ---- PASS: TestRequest_notFoundError (0.01s) +2022/05/07 16:43:26 [INFO] request: GET /_status/404 +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002eae00), 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:"[::]:36857", 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)} +2022/05/07 16:43:26 [INFO] response: 404 (404 Not Found) +2022/05/07 16:43:26 [DEBUG] response: +--- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2021/04/04 10:19:00 [INFO] request: GET /_json -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000210c80), 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:"[::]:34061", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: {"ok": true} +2022/05/07 16:43:26 [INFO] request: GET /_json +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00013f000), 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:"[::]:36237", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2021/04/04 10:19:00 [INFO] request: GET /_test -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000211080), 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:"[::]:40871", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: {"RawPath":"","Host":"[::]:40871","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":""} +2022/05/07 16:43:26 [INFO] request: GET /_test +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002eb200), 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:"[::]:34495", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: {"RawPath":"","Host":"[::]:34495","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/04/04 10:19:00 [INFO] getting terraform configuration hashicorp/existing -2021/04/04 10:19:00 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000211480), 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:"[::]:43293", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] getting terraform configuration hashicorp/existing +2022/05/07 16:43:26 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002eb500), 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:"[::]:36005", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "version": { "version": 5, @@ -946,20 +980,20 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2021/04/04 10:19:00 [INFO] creating terraform configuration hashicorp/existing -2021/04/04 10:19:00 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000211880), 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)(0xc0002bd200)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43859", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] creating terraform configuration hashicorp/existing +2022/05/07 16:43:26 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001b1c00), 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)(0xc000321ad0)}, GetBody:(func() (io.ReadCloser, error))(0x67ffe0), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40753", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:43859/_binstore/" + "upload_path": "http://[::]:40753/_binstore/" } -2021/04/04 10:19:00 [INFO] putting file: http://[::]:43859/_binstore/ -2021/04/04 10:19:00 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000211b80), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43859", 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/04/04 10:19:00 [INFO] response: 200 (200 OK) -2021/04/04 10:19:00 [DEBUG] response: +2022/05/07 16:43:26 [INFO] putting file: http://[::]:40753/_binstore/ +2022/05/07 16:43:26 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000027b80), 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))(0x6801c0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40753", 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)} +2022/05/07 16:43:26 [INFO] response: 200 (200 OK) +2022/05/07 16:43:26 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -970,7 +1004,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.132s +ok github.com/hashicorp/atlas-go/v1 0.041s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -1006,12 +1040,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/10770/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10770/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/20505 and its subdirectories -I: Current time: Sat Apr 3 22:19:36 -12 2021 -I: pbuilder-time-stamp: 1617531576 +I: removing directory /srv/workspace/pbuilder/10770 and its subdirectories +I: Current time: Sun May 8 06:43:30 +14 2022 +I: pbuilder-time-stamp: 1651941810