Diff of the two buildlogs: -- --- b1/build.log 2021-09-07 00:42:02.503619247 +0000 +++ b2/build.log 2021-09-07 00:46:50.561258644 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Sep 6 12:39:08 -12 2021 -I: pbuilder-time-stamp: 1630975148 +I: Current time: Tue Sep 7 14:42:12 +14 2021 +I: pbuilder-time-stamp: 1630975332 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._TmXt8zc/trustedkeys.kbx': General error -gpgv: Signature made Mon Feb 5 16:49:56 2018 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.8o_ZMYb8/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/13742/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14986/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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/14986/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14986/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='6c5165acb9794d8f8f06ce735368902c' - 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='13742' - PS1='# ' - PS2='> ' + INVOCATION_ID=54c3fbed03744f5c81a49c9fa4da0e57 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=14986 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.JzFn97igM9/pbuilderrc_f6lt --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.JzFn97igM9/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.JzFn97igM9/pbuilderrc_Qb12 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.JzFn97igM9/b2 --logfile b2/build.log golang-github-hashicorp-atlas-go_0.0~git20170808.8261ea0-3.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux virt64a 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 124508 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 64212 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 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/13742/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 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 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 7 14:42 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 21 23:27 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 2021 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/14986/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 armhf pandoc-data all 2.9.2.1-1 [376 kB] Get: 43 http://deb.debian.org/debian bullseye/main armhf pandoc armhf 2.9.2.1-1+b1 [18.7 MB] Get: 44 http://deb.debian.org/debian bullseye/main armhf golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 94.0 MB in 12s (7588 kB/s) +Fetched 94.0 MB in 11s (8747 kB/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 ... 19398 files and directories currently installed.) @@ -446,7 +480,8 @@ fakeroot is already the newest version (1.25.3-1.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 && 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: Name or service not known +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 @@ -464,22 +499,22 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 -internal/unsafeheader -runtime/internal/sys + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 internal/cpu internal/race -runtime/internal/math +runtime/internal/sys +internal/unsafeheader sync/atomic -internal/bytealg -runtime/internal/atomic unicode +runtime/internal/math unicode/utf8 -runtime math/bits +internal/bytealg +runtime/internal/atomic math internal/testlog runtime/cgo +runtime container/list crypto/internal/subtle crypto/subtle @@ -488,92 +523,92 @@ internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding -sync internal/reflectlite -math/rand +sync internal/singleflight +math/rand errors sort +internal/oserror io strconv -internal/oserror syscall +vendor/golang.org/x/net/dns/dnsmessage bytes reflect strings +hash +hash/crc32 path bufio internal/syscall/unix time internal/syscall/execenv -hash -hash/crc32 regexp/syntax -internal/poll +crypto +crypto/internal/randutil +crypto/hmac +crypto/rc4 +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/text/transform regexp +context +internal/poll os internal/fmtsort encoding/binary -context -crypto +crypto/cipher +crypto/sha512 +crypto/ed25519/internal/edwards25519 +crypto/md5 fmt path/filepath -crypto/cipher +crypto/aes io/ioutil os/exec -crypto/aes crypto/des -crypto/internal/randutil +crypto/sha1 +crypto/sha256 +encoding/base64 +net +vendor/golang.org/x/crypto/chacha20 +encoding/pem os/user compress/flate github.com/hashicorp/go-version log math/big compress/gzip -crypto/sha512 -crypto/ed25519/internal/edwards25519 +encoding/hex +net/url +vendor/golang.org/x/crypto/poly1305 +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/curve25519 crypto/elliptic encoding/asn1 crypto/rand vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 -crypto/hmac -crypto/md5 -crypto/rc4 -crypto/ecdsa crypto/rsa archive/tar -crypto/sha1 -crypto/sha256 +crypto/ecdsa crypto/dsa -encoding/hex -encoding/base64 crypto/x509/pkix -encoding/pem -vendor/golang.org/x/net/dns/dnsmessage -net/url -github.com/hashicorp/atlas-go/archive -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/poly1305 -vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/crypto/chacha20poly1305 -net -vendor/golang.org/x/crypto/hkdf encoding/json -vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi +github.com/hashicorp/atlas-go/archive vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable -vendor/golang.org/x/net/idna net/http/internal -vendor/golang.org/x/net/http/httpproxy -crypto/x509 +vendor/golang.org/x/net/idna net/textproto -vendor/golang.org/x/net/http/httpguts +crypto/x509 mime/multipart +vendor/golang.org/x/net/http/httpproxy +vendor/golang.org/x/net/http/httpguts crypto/tls net/http/httptrace github.com/hashicorp/go-rootcerts @@ -581,29 +616,29 @@ github.com/hashicorp/go-cleanhttp github.com/hashicorp/atlas-go/v1 dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-file/foo.txt +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-file/foo.txt --- PASS: TestArchive_file (0.01s) === RUN TestArchive_fileCompressed -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2021/09/07 00:41:28 [INFO] creating archive from /tmp/test024927562 +2021/09/07 00:46:04 [INFO] creating archive from /tmp/test287560979 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2021/09/07 00:41:28 [INFO] creating archive from /tmp/test928030753 +2021/09/07 00:46:04 [INFO] creating archive from /tmp/test865206614 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-flat +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtra (0.01s) === RUN TestArchive_dirExtraDir -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-flat +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDir (0.01s) === RUN TestArchive_dirExtraDirHeader -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-flat +2021/09/07 00:46:04 [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 +650,22 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-symlink-file/link +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-symlink-file/link --- PASS: TestArchive_dirWithSymlinkToFile (0.01s) === RUN TestArchive_dirNoVCS -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.01s) +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.02s) === RUN TestArchive_dirSubdirsNoVCS -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-subdir +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirSubdirsNoVCS (0.01s) === RUN TestArchive_dirExclude -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-subdir +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirExclude (0.01s) === RUN TestArchive_dirInclude -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-subdir +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirInclude (0.01s) === RUN TestArchive_dirIncludeStar -2021/09/07 00:41:28 [INFO] creating archive from test-fixtures/archive-subdir-splat +2021/09/07 00:46:04 [INFO] creating archive from test-fixtures/archive-subdir-splat --- PASS: TestArchive_dirIncludeStar (0.01s) === RUN TestArchive_git archive_test.go:399: git not found, skipping @@ -648,7 +683,7 @@ archive_test.go:509: --- SKIP: TestArchive_hgSubdir (0.00s) === RUN TestReadCloseRemover ---- PASS: TestReadCloseRemover (0.02s) +--- PASS: TestReadCloseRemover (0.00s) === RUN TestVCSPreflight vcs_test.go:39: git not found --- SKIP: TestVCSPreflight (0.00s) @@ -681,15 +716,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.161s +ok github.com/hashicorp/atlas-go/archive 0.139s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2021/09/07 00:41:37 [INFO] getting application hashicorp/existing -2021/09/07 00:41:37 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x290e370), 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:"[::]:37361", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] getting application hashicorp/existing +2021/09/07 00:46:20 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1948370), 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:"[::]:34161", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -697,44 +732,44 @@ "private": true } ---- PASS: TestApp_fetchesApp (0.00s) +--- PASS: TestApp_fetchesApp (0.01s) === RUN TestApp_returnsErrorNoApp -2021/09/07 00:41:37 [INFO] getting application hashicorp/newproject -2021/09/07 00:41:37 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2982320), 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:"[::]:33113", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 404 (404 Not Found) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] getting application hashicorp/newproject +2021/09/07 00:46:20 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1948780), 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:"[::]:36459", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 404 (404 Not Found) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2021/09/07 00:41:37 [INFO] creating application hashicorp/newproject -2021/09/07 00:41:37 [INFO] request: POST /api/v1/vagrant/applications -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x290e780), 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)(0x280d440)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38537", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2021/09/07 00:46:20 [INFO] creating application hashicorp/newproject +2021/09/07 00:46:20 [INFO] request: POST /api/v1/vagrant/applications +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x189c320), 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)(0x1890440)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34673", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2021/09/07 00:41:37 [INFO] creating application hashicorp/existing -2021/09/07 00:41:37 [INFO] request: POST /api/v1/vagrant/applications -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2a02280), 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)(0x2a102a0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44943", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 409 (409 Conflict) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] creating application hashicorp/existing +2021/09/07 00:46:20 [INFO] request: POST /api/v1/vagrant/applications +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18722d0), 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)(0x180c560)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35893", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 409 (409 Conflict) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2021/09/07 00:41:37 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2021/09/07 00:41:37 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x29828c0), 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)(0x2984d00)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46115", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: {"upload_path":"http://[::]:46115/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2021/09/07 00:41:37 [INFO] putting file: http://[::]:46115/_binstore/630e42d9-2364-2412-4121-18266770468e -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2982aa0), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46115", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: ---- PASS: TestUploadApp_createsAndReturnsVersion (0.01s) +2021/09/07 00:46:20 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2021/09/07 00:46:20 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x189c8c0), 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)(0x1890d00)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40503", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: {"upload_path":"http://[::]:40503/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2021/09/07 00:46:20 [INFO] putting file: http://[::]:40503/_binstore/630e42d9-2364-2412-4121-18266770468e +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x19489b0), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40503", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: +--- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2021/09/07 00:41:37 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2982dc0), 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:"[::]:39011", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1948c80), 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:"[::]:43041", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -745,18 +780,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2021/09/07 00:41:37 [INFO] getting application hashicorp/newproject -2021/09/07 00:41:37 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29831d0), 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:"[::]:33015", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 404 (404 Not Found) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] getting application hashicorp/newproject +2021/09/07 00:46:20 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x19490e0), 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:"[::]:43993", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 404 (404 Not Found) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2021/09/07 00:41:37 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2021/09/07 00:41:37 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29834f0), 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:"[::]:33779", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2021/09/07 00:46:20 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1949450), 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:"[::]:46069", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -767,11 +802,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2021/09/07 00:41:37 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"bar":"943febbf-589f-401b-8f25-58f6d8786848", "foo":"bar"}} -2021/09/07 00:41:37 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x290f090), 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:"[::]:33859", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"bar":"943febbf-589f-401b-8f25-58f6d8786848", "foo":"bar"}} +2021/09/07 00:46:20 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x189ce60), 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:"[::]:36861", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -786,19 +821,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2021/09/07 00:41:37 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2021/09/07 00:41:37 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x290f8b0), 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)(0x296cb60)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33051", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2021/09/07 00:46:20 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1a0c910), 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)(0x1a04b60)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43675", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { - "upload_path": "http://[::]:33051/_binstore/" + "upload_path": "http://[::]:43675/_binstore/" } -2021/09/07 00:41:37 [INFO] putting file: http://[::]:33051/_binstore/ -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2983810), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33051", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] putting file: http://[::]:43675/_binstore/ +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x189d1d0), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43675", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -811,11 +846,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2021/09/07 00:41:37 [INFO] getting build configuration hashicorp/existing -2021/09/07 00:41:37 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2a02870), 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:"[::]:34613", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] getting build configuration hashicorp/existing +2021/09/07 00:46:20 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1872870), 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:"[::]:43953", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -823,11 +858,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2021/09/07 00:41:37 [INFO] creating build configuration hashicorp/new -2021/09/07 00:41:37 [INFO] request: POST /api/v1/packer/build-configurations -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x290fe00), 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)(0x296d4c0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33053", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] creating build configuration hashicorp/new +2021/09/07 00:46:20 [INFO] request: POST /api/v1/packer/build-configurations +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1872c80), 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)(0x180d2e0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35137", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -837,19 +872,19 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2021/09/07 00:41:37 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2021/09/07 00:41:37 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2a02e60), 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)(0x2a112e0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43771", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2021/09/07 00:46:20 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x189d6d0), 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)(0x18f00e0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42287", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { - "upload_path": "http://[::]:43771/_binstore/" + "upload_path": "http://[::]:42287/_binstore/" } -2021/09/07 00:41:37 [INFO] putting file: http://[::]:43771/_binstore/ -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2a030e0), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43771", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] putting file: http://[::]:42287/_binstore/ +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1873090), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42287", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) @@ -866,73 +901,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2021/09/07 00:41:37 [INFO] logging in user +2021/09/07 00:46:20 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2021/09/07 00:41:37 [INFO] logging in user username +2021/09/07 00:46:20 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2021/09/07 00:41:37 [INFO] logging in user username -2021/09/07 00:41:37 [INFO] request: POST /api/v1/authenticate -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x29ee500), 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)(0x29e4a20)}, GetBody:(func() (io.ReadCloser, error))(0x27b3c4), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35633", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 401 (401 Unauthorized) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] logging in user username +2021/09/07 00:46:20 [INFO] request: POST /api/v1/authenticate +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18fc2d0), 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)(0x18f09a0)}, GetBody:(func() (io.ReadCloser, error))(0x27b3c4), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41283", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 401 (401 Unauthorized) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2021/09/07 00:41:37 [INFO] logging in user sethloves -2021/09/07 00:41:37 [INFO] request: POST /api/v1/authenticate -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x29ee960), 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)(0x29e5140)}, GetBody:(func() (io.ReadCloser, error))(0x27b3c4), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46127", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] logging in user sethloves +2021/09/07 00:46:20 [INFO] request: POST /api/v1/authenticate +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18fc640), 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)(0x18f0e40)}, GetBody:(func() (io.ReadCloser, error))(0x27b3c4), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34525", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2021/09/07 00:41:37 [DEBUG] setting atlas token (pX4*** (masked)) +2021/09/07 00:46:20 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2021/09/07 00:41:37 [INFO] request: GET /api/v1/token -2021/09/07 00:41:37 [DEBUG] request: appending token (a.a*** (masked)) -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29eed70), 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:"[::]:37991", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] request: GET /api/v1/token +2021/09/07 00:46:20 [DEBUG] request: appending token (a.a*** (masked)) +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1949a90), 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:"[::]:46657", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2021/09/07 00:41:37 [INFO] request: GET /_status/200 -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29ef130), 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:"[::]:41043", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] request: GET /_status/200 +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1873450), 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:"[::]:39887", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2021/09/07 00:41:37 [INFO] request: GET /_rails-error -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29ef540), 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:"[::]:33245", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 422 (422 Unprocessable Entity) -2021/09/07 00:41:37 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2021/09/07 00:46:20 [INFO] request: GET /_rails-error +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x18fca00), 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:"[::]:44893", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 422 (422 Unprocessable Entity) +2021/09/07 00:46:20 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2021/09/07 00:41:37 [INFO] request: GET /_status/404 -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29ef9f0), 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:"[::]:37659", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 404 (404 Not Found) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] request: GET /_status/404 +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x18fcd70), 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:"[::]:39755", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 404 (404 Not Found) +2021/09/07 00:46:20 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2021/09/07 00:41:37 [INFO] request: GET /_json -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x29efe50), 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:"[::]:44843", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: {"ok": true} +2021/09/07 00:46:20 [INFO] request: GET /_json +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1a0d220), 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:"[::]:44239", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2021/09/07 00:41:37 [INFO] request: GET /_test -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2a034a0), 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:"[::]:32895", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: {"RawPath":"","Host":"[::]:32895","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/09/07 00:46:20 [INFO] request: GET /_test +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x18739a0), 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:"[::]:43645", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: {"RawPath":"","Host":"[::]:43645","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 -2021/09/07 00:41:37 [INFO] getting terraform configuration hashicorp/existing -2021/09/07 00:41:37 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2a037c0), 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:"[::]:35661", 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)(0x28160d8)} -2021/09/07 00:41:37 [INFO] response: 200 (200 OK) -2021/09/07 00:41:37 [DEBUG] response: +2021/09/07 00:46:20 [INFO] getting terraform configuration hashicorp/existing +2021/09/07 00:46:20 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1a0d7c0), 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:"[::]:40517", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "version": { "version": 5, @@ -943,21 +978,21 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2021/09/07 00:41:37 [INFO] creating terraform configuration hashicorp/existing -2021/09/07 00:41:37 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2021/09/07 00:41:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2b00410), 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)(0x296dce0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34715", 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)(0x28160d8)} -2021/09/07 00:41:38 [INFO] response: 200 (200 OK) -2021/09/07 00:41:38 [DEBUG] response: +2021/09/07 00:46:20 [INFO] creating terraform configuration hashicorp/existing +2021/09/07 00:46:20 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18fd270), 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)(0x18f1ec0)}, GetBody:(func() (io.ReadCloser, error))(0x27b2f0), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46191", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:34715/_binstore/" + "upload_path": "http://[::]:46191/_binstore/" } -2021/09/07 00:41:38 [INFO] putting file: http://[::]:34715/_binstore/ -2021/09/07 00:41:38 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2a03bd0), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34715", 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)(0x28160d8)} -2021/09/07 00:41:38 [INFO] response: 200 (200 OK) -2021/09/07 00:41:38 [DEBUG] response: ---- PASS: TestCreateTerraformConfigVersion (0.01s) +2021/09/07 00:46:20 [INFO] putting file: http://[::]:46191/_binstore/ +2021/09/07 00:46:20 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1a0db30), 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))(0x27b498), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46191", 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)(0x191a010)} +2021/09/07 00:46:20 [INFO] response: 200 (200 OK) +2021/09/07 00:46:20 [DEBUG] response: +--- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) === RUN TestParseSlug_noSlashes @@ -967,7 +1002,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.081s +ok github.com/hashicorp/atlas-go/v1 0.084s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -1004,12 +1039,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/14986/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14986/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/13742 and its subdirectories -I: Current time: Mon Sep 6 12:41:58 -12 2021 -I: pbuilder-time-stamp: 1630975318 +I: removing directory /srv/workspace/pbuilder/14986 and its subdirectories +I: Current time: Tue Sep 7 14:46:46 +14 2021 +I: pbuilder-time-stamp: 1630975606