Diff of the two buildlogs: -- --- b1/build.log 2021-08-05 08:54:29.909711707 +0000 +++ b2/build.log 2021-08-05 08:55:53.070574620 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 7 03:16:04 -12 2022 -I: pbuilder-time-stamp: 1662563764 +I: Current time: Thu Aug 5 22:54:32 +14 2021 +I: pbuilder-time-stamp: 1628153672 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.ZdCVZMdy/trustedkeys.kbx': General error -gpgv: Signature made Mon Feb 5 16:49:56 2018 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.XscMjIve/trustedkeys.kbx': General error +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,135 +29,169 @@ 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/8660/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23350/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-arm64. +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/23350/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23350/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='8660' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=23350 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.2zGw7FQ8S7/pbuilderrc_aUxW --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.2zGw7FQ8S7/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.2zGw7FQ8S7/pbuilderrc_sld0 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.2zGw7FQ8S7/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink11-arm64 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 2021 more - -rwsr-xr-x 1 root root 51360 Jul 28 2021 mount - -rwxr-xr-x 1 root root 14496 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 6 03:47 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/8660/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 09:09 more + -rwsr-xr-x 1 root root 51360 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 14496 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 5 22:54 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 3 23:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 09:09 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/23350/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -249,7 +283,7 @@ Get: 42 http://deb.debian.org/debian bullseye/main arm64 pandoc-data all 2.9.2.1-1 [376 kB] Get: 43 http://deb.debian.org/debian bullseye/main arm64 pandoc arm64 2.9.2.1-1+b1 [22.8 MB] Get: 44 http://deb.debian.org/debian bullseye/main arm64 golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 98.1 MB in 2s (62.9 MB/s) +Fetched 98.1 MB in 2s (62.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -444,9 +478,42 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (3210 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 32404 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. 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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3_source.changes +hostname: Temporary failure in name resolution +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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3_source.changes 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 @@ -465,29 +532,29 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 8 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 -runtime/internal/sys -internal/race internal/unsafeheader -unicode/utf8 +internal/race internal/cpu +runtime/internal/sys runtime/internal/atomic unicode -sync/atomic +unicode/utf8 math/bits +sync/atomic runtime/internal/math runtime/cgo container/list -internal/testlog -internal/bytealg -math crypto/internal/subtle -unicode/utf16 +internal/bytealg crypto/subtle +unicode/utf16 +math vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle -runtime +internal/testlog encoding +runtime internal/reflectlite sync internal/singleflight @@ -495,20 +562,20 @@ errors sort internal/oserror +io vendor/golang.org/x/net/dns/dnsmessage strconv -io syscall bytes strings hash crypto/internal/randutil -crypto/hmac hash/crc32 +crypto/hmac vendor/golang.org/x/crypto/hkdf -crypto/rc4 crypto reflect +crypto/rc4 vendor/golang.org/x/text/transform path bufio @@ -519,34 +586,34 @@ regexp context internal/poll +os internal/fmtsort encoding/binary -os +encoding/base64 +crypto/sha1 crypto/sha512 -crypto/cipher +crypto/sha256 crypto/md5 +crypto/cipher crypto/ed25519/internal/edwards25519 -crypto/sha1 -crypto/sha256 -encoding/base64 +fmt +path/filepath encoding/pem vendor/golang.org/x/crypto/poly1305 -crypto/des +net crypto/aes +crypto/des vendor/golang.org/x/crypto/chacha20 -path/filepath -fmt -net -vendor/golang.org/x/crypto/chacha20poly1305 io/ioutil os/exec -os/user -compress/flate -github.com/hashicorp/go-version -log +vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex -math/big +log +github.com/hashicorp/go-version +os/user net/url +math/big +compress/flate vendor/golang.org/x/crypto/curve25519 encoding/json vendor/golang.org/x/text/unicode/bidi @@ -558,14 +625,14 @@ mime/quotedprintable net/http/internal vendor/golang.org/x/net/idna +crypto/dsa crypto/rand encoding/asn1 crypto/elliptic -crypto/dsa crypto/ed25519 crypto/rsa -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa archive/tar github.com/hashicorp/atlas-go/archive @@ -585,25 +652,25 @@ === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-file/foo.txt +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-file/foo.txt --- PASS: TestArchive_file (0.01s) === RUN TestArchive_fileCompressed -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2022/09/07 15:17:12 [INFO] creating archive from /tmp/test545135859 +2021/08/05 08:55:31 [INFO] creating archive from /tmp/test084993462 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2022/09/07 15:17:12 [INFO] creating archive from /tmp/test128914870 +2021/08/05 08:55:31 [INFO] creating archive from /tmp/test202510749 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-flat +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtra (0.00s) === RUN TestArchive_dirExtraDir -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-flat +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDir (0.00s) === RUN TestArchive_dirExtraDirHeader -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-flat +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDirHeader (0.01s) === RUN TestArchive_dirMode archive_test.go:205: Skip this test in Debian @@ -615,22 +682,22 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-symlink-file/link +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-symlink-file/link --- PASS: TestArchive_dirWithSymlinkToFile (0.01s) === RUN TestArchive_dirNoVCS -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.03s) +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.00s) === RUN TestArchive_dirSubdirsNoVCS -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.02s) +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.01s) === RUN TestArchive_dirExclude -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-subdir +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirExclude (0.00s) === RUN TestArchive_dirInclude -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-subdir +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirInclude (0.00s) === RUN TestArchive_dirIncludeStar -2022/09/07 15:17:12 [INFO] creating archive from test-fixtures/archive-subdir-splat +2021/08/05 08:55:31 [INFO] creating archive from test-fixtures/archive-subdir-splat --- PASS: TestArchive_dirIncludeStar (0.00s) === RUN TestArchive_git archive_test.go:399: git not found, skipping @@ -681,15 +748,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.133s +ok github.com/hashicorp/atlas-go/archive 0.062s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2022/09/07 15:17:19 [INFO] getting application hashicorp/existing -2022/09/07 15:17:19 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40000fe120), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35271", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] getting application hashicorp/existing +2021/08/05 08:55:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400015e120), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32833", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -699,42 +766,42 @@ --- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2022/09/07 15:17:19 [INFO] getting application hashicorp/newproject -2022/09/07 15:17:19 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000104360), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44519", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 404 (404 Not Found) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] getting application hashicorp/newproject +2021/08/05 08:55:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000214360), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44427", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 404 (404 Not Found) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2022/09/07 15:17:19 [INFO] creating application hashicorp/newproject -2022/09/07 15:17:19 [INFO] request: POST /api/v1/vagrant/applications -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400021a2d0), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000202450)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45117", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2021/08/05 08:55:44 [INFO] creating application hashicorp/newproject +2021/08/05 08:55:44 [INFO] request: POST /api/v1/vagrant/applications +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40002147e0), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000218930)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36957", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2022/09/07 15:17:19 [INFO] creating application hashicorp/existing -2022/09/07 15:17:19 [INFO] request: POST /api/v1/vagrant/applications -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400028a240), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x40000786c0)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44325", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 409 (409 Conflict) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] creating application hashicorp/existing +2021/08/05 08:55:44 [INFO] request: POST /api/v1/vagrant/applications +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40000aa2d0), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000090660)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42011", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 409 (409 Conflict) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2022/09/07 15:17:19 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2022/09/07 15:17:19 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000104870), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000108b70)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40211", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: {"upload_path":"http://[::]:40211/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2022/09/07 15:17:19 [INFO] putting file: http://[::]:40211/_binstore/630e42d9-2364-2412-4121-18266770468e -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x400028a480), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40211", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2021/08/05 08:55:44 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400015e750), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x400007f980)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40997", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: {"upload_path":"http://[::]:40997/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2021/08/05 08:55:44 [INFO] putting file: http://[::]:40997/_binstore/630e42d9-2364-2412-4121-18266770468e +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000214ab0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40997", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2022/09/07 15:17:19 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000104d80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38273", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001aa1b0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46363", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -745,18 +812,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2022/09/07 15:17:19 [INFO] getting application hashicorp/newproject -2022/09/07 15:17:19 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000105320), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33629", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 404 (404 Not Found) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] getting application hashicorp/newproject +2021/08/05 08:55:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001aa510), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42277", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 404 (404 Not Found) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2022/09/07 15:17:19 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2022/09/07 15:17:19 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400021a630), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33599", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2021/08/05 08:55:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001aa900), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37587", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -767,11 +834,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2022/09/07 15:17:19 [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"}} -2022/09/07 15:17:19 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40000feb40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42297", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [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/08/05 08:55:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001aad80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36445", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -786,19 +853,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2022/09/07 15:17:19 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2022/09/07 15:17:19 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40000ff290), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x40001c6cc0)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36955", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2021/08/05 08:55:44 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000215320), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000219d40)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46711", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { - "upload_path": "http://[::]:36955/_binstore/" + "upload_path": "http://[::]:46711/_binstore/" } -2022/09/07 15:17:19 [INFO] putting file: http://[::]:36955/_binstore/ -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x400021a990), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36955", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] putting file: http://[::]:46711/_binstore/ +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x400015ecf0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46711", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -811,11 +878,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2022/09/07 15:17:19 [INFO] getting build configuration hashicorp/existing -2022/09/07 15:17:19 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400021acf0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34947", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] getting build configuration hashicorp/existing +2021/08/05 08:55:44 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400015f050), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37851", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -823,11 +890,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2022/09/07 15:17:19 [INFO] creating build configuration hashicorp/new -2022/09/07 15:17:19 [INFO] request: POST /api/v1/packer/build-configurations -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400021b200), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000203a70)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44749", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] creating build configuration hashicorp/new +2021/08/05 08:55:44 [INFO] request: POST /api/v1/packer/build-configurations +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40001ab200), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000187e90)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37455", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -837,19 +904,19 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2022/09/07 15:17:19 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2022/09/07 15:17:19 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400021b9e0), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x40002744b0)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35733", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2021/08/05 08:55:44 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400015f950), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x40002b3050)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45743", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { - "upload_path": "http://[::]:35733/_binstore/" + "upload_path": "http://[::]:45743/_binstore/" } -2022/09/07 15:17:19 [INFO] putting file: http://[::]:35733/_binstore/ -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x400021bd40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35733", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] putting file: http://[::]:45743/_binstore/ +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000215830), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45743", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) @@ -866,73 +933,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2022/09/07 15:17:19 [INFO] logging in user +2021/08/05 08:55:44 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2022/09/07 15:17:19 [INFO] logging in user username +2021/08/05 08:55:44 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2022/09/07 15:17:19 [INFO] logging in user username -2022/09/07 15:17:19 [INFO] request: POST /api/v1/authenticate -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400030c630), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x4000231460)}, GetBody:(func() (io.ReadCloser, error))(0x270f50), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46299", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 401 (401 Unauthorized) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] logging in user username +2021/08/05 08:55:44 [INFO] request: POST /api/v1/authenticate +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000394000), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x4000236dc0)}, GetBody:(func() (io.ReadCloser, error))(0x270f50), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39771", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 401 (401 Unauthorized) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2022/09/07 15:17:19 [INFO] logging in user sethloves -2022/09/07 15:17:19 [INFO] request: POST /api/v1/authenticate -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400030ca20), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x40002316a0)}, GetBody:(func() (io.ReadCloser, error))(0x270f50), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32837", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] logging in user sethloves +2021/08/05 08:55:44 [INFO] request: POST /api/v1/authenticate +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40003942d0), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*strings.Reader)(0x4000236fe0)}, GetBody:(func() (io.ReadCloser, error))(0x270f50), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43233", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2022/09/07 15:17:19 [DEBUG] setting atlas token (pX4*** (masked)) ---- PASS: TestLogin_success (0.01s) +2021/08/05 08:55:44 [DEBUG] setting atlas token (pX4*** (masked)) +--- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2022/09/07 15:17:19 [INFO] request: GET /api/v1/token -2022/09/07 15:17:19 [DEBUG] request: appending token (a.a*** (masked)) -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400030cea0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}, "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:"[::]:40407", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] request: GET /api/v1/token +2021/08/05 08:55:44 [DEBUG] request: appending token (a.a*** (masked)) +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000394750), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}, "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:"[::]:46075", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2022/09/07 15:17:19 [INFO] request: GET /_status/200 -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400028ad80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45659", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] request: GET /_status/200 +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000394a20), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33347", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2022/09/07 15:17:19 [INFO] request: GET /_rails-error -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400030d170), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46547", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 422 (422 Unprocessable Entity) -2022/09/07 15:17:19 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2021/08/05 08:55:44 [INFO] request: GET /_rails-error +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000394cf0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43117", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 422 (422 Unprocessable Entity) +2021/08/05 08:55:44 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2022/09/07 15:17:19 [INFO] request: GET /_status/404 -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400030d4d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35883", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 404 (404 Not Found) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] request: GET /_status/404 +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001ab7a0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34091", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 404 (404 Not Found) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2022/09/07 15:17:19 [INFO] request: GET /_json -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40000ff710), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44243", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: {"ok": true} +2021/08/05 08:55:44 [INFO] request: GET /_json +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40002da1b0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44619", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2022/09/07 15:17:19 [INFO] request: GET /_test -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400030d830), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Atlas-Test":[]string{"default header test"}, "User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36415", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: {"RawPath":"","Host":"[::]:36415","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"]},"Body":""} +2021/08/05 08:55:44 [INFO] request: GET /_test +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40003950e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Atlas-Test":[]string{"default header test"}, "User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45207", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: {"RawPath":"","Host":"[::]:45207","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"]},"Body":""} --- PASS: TestClient_defaultHeaders (0.00s) === RUN TestTerraformConfigLatest -2022/09/07 15:17:19 [INFO] getting terraform configuration hashicorp/existing -2022/09/07 15:17:19 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400030dd40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40605", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] getting terraform configuration hashicorp/existing +2021/08/05 08:55:44 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000302bd0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44637", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "version": { "version": 5, @@ -943,20 +1010,20 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2022/09/07 15:17:19 [INFO] creating terraform configuration hashicorp/existing -2022/09/07 15:17:19 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000386120), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x4000381050)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35321", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] creating terraform configuration hashicorp/existing +2021/08/05 08:55:44 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40002da7e0), 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.15.9)"}}, Body:ioutil.nopCloser{Reader:(*bytes.Reader)(0x40002de570)}, GetBody:(func() (io.ReadCloser, error))(0x270e60), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45287", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:35321/_binstore/" + "upload_path": "http://[::]:45287/_binstore/" } -2022/09/07 15:17:19 [INFO] putting file: http://[::]:35321/_binstore/ -2022/09/07 15:17:19 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x40000ffb90), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35321", 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.emptyCtx)(0x40000a4010)} -2022/09/07 15:17:19 [INFO] response: 200 (200 OK) -2022/09/07 15:17:19 [DEBUG] response: +2021/08/05 08:55:44 [INFO] putting file: http://[::]:45287/_binstore/ +2021/08/05 08:55:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x40002dab40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.15.9)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x271020), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45287", 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.emptyCtx)(0x40000180f8)} +2021/08/05 08:55:44 [INFO] response: 200 (200 OK) +2021/08/05 08:55:44 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -967,7 +1034,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.072s +ok github.com/hashicorp/atlas-go/v1 0.037s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -1004,12 +1071,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/23350/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23350/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/8660 and its subdirectories -I: Current time: Wed Sep 7 03:17:29 -12 2022 -I: pbuilder-time-stamp: 1662563849 +I: removing directory /srv/workspace/pbuilder/23350 and its subdirectories +I: Current time: Thu Aug 5 22:55:52 +14 2021 +I: pbuilder-time-stamp: 1628153752