Diff of the two buildlogs: -- --- b1/build.log 2023-05-31 13:55:24.867886571 +0000 +++ b2/build.log 2023-05-31 14:00:50.341614019 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 31 01:52:39 -12 2023 -I: pbuilder-time-stamp: 1685541159 +I: Current time: Thu Jun 1 03:55:35 +14 2023 +I: pbuilder-time-stamp: 1685541335 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e.orig.tar.xz] I: copying [./golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Jan 30 03:04:25 2023 -12 +gpgv: Signature made Tue Jan 31 05:04:25 2023 +14 gpgv: using EDDSA key 9185D4F57767AEEE6C55D41E7F44FA25EA5514CB gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc: no acceptable signature found @@ -27,135 +27,167 @@ dpkg-source: info: applying 0001-skip-tests-which-failed-due-to-dh-golang.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4820/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/14194/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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 1 03:56 /bin/sh -> /bin/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/14194/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/14194/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 parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(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 parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='ac29e619babf4a51af43be37e733dcf5' - 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='4820' - PS1='# ' - PS2='> ' + INVOCATION_ID=fdbefa048dd041f3b0b2d8fef0b32936 + 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=14194 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/r-b-build.RfQOKFCW/pbuilderrc_kEKP --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RfQOKFCW/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.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:3142/' + 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/r-b-build.RfQOKFCW/pbuilderrc_zP3k --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.RfQOKFCW/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.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:3142/ I: uname -a - Linux virt64a 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/4820/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 1 03:56 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/14194/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -240,7 +272,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main armhf golang-github-hashicorp-go-cleanhttp-dev all 0.5.2-1 [10.8 kB] Get: 38 http://deb.debian.org/debian bookworm/main armhf golang-github-hashicorp-go-version-dev all 1.3.0-1 [14.9 kB] Get: 39 http://deb.debian.org/debian bookworm/main armhf golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 93.4 MB in 26s (3580 kB/s) +Fetched 93.4 MB in 6s (15.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19324 files and directories currently installed.) @@ -410,8 +442,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +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~git20230125.46e9b3e/ && 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~git20230125.46e9b3e-1_source.changes +I: user script /srv/workspace/pbuilder/14194/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/14194/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/golang-github-hashicorp-atlas-go-0.0~git20230125.46e9b3e/ && 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~git20230125.46e9b3e-1_source.changes dpkg-buildpackage: info: source package golang-github-hashicorp-atlas-go dpkg-buildpackage: info: source version 0.0~git20230125.46e9b3e-1 dpkg-buildpackage: info: source distribution unstable @@ -429,31 +472,31 @@ 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 + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 internal/unsafeheader internal/goarch -internal/cpu internal/goexperiment -internal/abi +internal/cpu internal/goos +internal/abi +runtime/internal/syscall runtime/internal/math runtime/internal/sys -runtime/internal/syscall -internal/bytealg -runtime/internal/atomic internal/race sync/atomic unicode unicode/utf8 -runtime +internal/bytealg +runtime/internal/atomic internal/itoa math/bits -math container/list crypto/internal/subtle +math crypto/subtle crypto/internal/boring/sig unicode/utf16 +runtime vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle @@ -461,133 +504,133 @@ internal/reflectlite sync internal/testlog -runtime/cgo math/rand +runtime/cgo +internal/singleflight errors sort io strconv -bytes internal/oserror syscall +bytes reflect internal/safefilepath path +strings +bufio internal/syscall/unix time internal/syscall/execenv -strings -bufio hash hash/crc32 -internal/fmtsort +regexp/syntax +crypto +crypto/internal/nistec/fiat internal/poll io/fs -encoding/binary -regexp/syntax +regexp +internal/fmtsort os +encoding/binary context -crypto crypto/cipher -regexp +crypto/internal/randutil +crypto/internal/edwards25519/field crypto/internal/boring -crypto/aes fmt +crypto/des io/ioutil internal/godebug path/filepath -crypto/des +crypto/aes +crypto/sha512 +crypto/internal/nistec os/exec -crypto/internal/nistec/fiat +crypto/internal/edwards25519 os/user compress/flate -compress/gzip github.com/hashicorp/go-version log math/big -crypto/internal/nistec -archive/tar -crypto/internal/randutil -crypto/sha512 -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -github.com/hashicorp/atlas-go/archive -crypto/internal/edwards25519/field -crypto/internal/edwards25519 -crypto/rand -vendor/golang.org/x/crypto/cryptobyte crypto/hmac +compress/gzip crypto/md5 crypto/rc4 -crypto/rsa -crypto/ed25519 -crypto/ecdsa crypto/sha1 crypto/sha256 -crypto/dsa encoding/hex encoding/base64 vendor/golang.org/x/net/dns/dnsmessage -crypto/x509/pkix encoding/pem -internal/singleflight internal/intern -net/url net/netip +net/url +net +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +archive/tar +crypto/rand +crypto/ed25519 +crypto/rsa +vendor/golang.org/x/crypto/cryptobyte +crypto/dsa +github.com/hashicorp/atlas-go/archive +crypto/x509/pkix +crypto/ecdsa vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field -net -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 encoding/json vendor/golang.org/x/text/transform +vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable +vendor/golang.org/x/net/idna net/http/internal net/http/internal/ascii -vendor/golang.org/x/net/idna -vendor/golang.org/x/net/http/httpproxy net/textproto +vendor/golang.org/x/net/http/httpproxy crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls -github.com/hashicorp/go-rootcerts net/http/httptrace +github.com/hashicorp/go-rootcerts net/http 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 -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.02s) +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.01s) === RUN TestArchive_fileCompressed -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2023/05/31 01:54:59 [INFO] creating archive from /tmp/test55377784 +2023/06/01 03:59:57 [INFO] creating archive from /tmp/test35500867 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2023/05/31 01:54:59 [INFO] creating archive from /tmp/test3026673357 +2023/06/01 03:59:57 [INFO] creating archive from /tmp/test3421262621 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.01s) +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.00s) === RUN TestArchive_dirExtraDir -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-flat +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDir (0.01s) === RUN TestArchive_dirExtraDirHeader -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-flat +2023/06/01 03:59:57 [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 @@ -599,22 +642,22 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-symlink-file/link +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-symlink-file/link --- PASS: TestArchive_dirWithSymlinkToFile (0.01s) === RUN TestArchive_dirNoVCS -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-flat +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirNoVCS (0.01s) === RUN TestArchive_dirSubdirsNoVCS -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.02s) +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.00s) === RUN TestArchive_dirExclude -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-subdir +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirExclude (0.00s) === RUN TestArchive_dirInclude -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-subdir +2023/06/01 03:59:57 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirInclude (0.00s) === RUN TestArchive_dirIncludeStar -2023/05/31 01:54:59 [INFO] creating archive from test-fixtures/archive-subdir-splat +2023/06/01 03:59:57 [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 @@ -665,15 +708,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.112s +ok github.com/hashicorp/atlas-go/archive 0.080s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2023/05/31 01:55:09 [INFO] getting application hashicorp/existing -2023/05/31 01:55:09 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x110a320), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44445", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] getting application hashicorp/existing +2023/06/01 04:00:23 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1932320), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34775", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -683,42 +726,42 @@ --- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2023/05/31 01:55:09 [INFO] getting application hashicorp/newproject -2023/05/31 01:55:09 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1216230), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35949", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 404 (404 Not Found) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] getting application hashicorp/newproject +2023/06/01 04:00:23 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1898280), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33643", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 404 (404 Not Found) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2023/05/31 01:55:09 [INFO] creating application hashicorp/newproject -2023/05/31 01:55:09 [INFO] request: POST /api/v1/vagrant/applications -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x110a820), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x112e3a8)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34409", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2023/06/01 04:00:23 [INFO] creating application hashicorp/newproject +2023/06/01 04:00:23 [INFO] request: POST /api/v1/vagrant/applications +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1898780), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x18b02d0)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33813", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2023/05/31 01:55:09 [INFO] creating application hashicorp/existing -2023/05/31 01:55:09 [INFO] request: POST /api/v1/vagrant/applications -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1216690), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x1218288)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34931", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 409 (409 Conflict) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] creating application hashicorp/existing +2023/06/01 04:00:23 [INFO] request: POST /api/v1/vagrant/applications +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1898c30), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x18b04f8)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41995", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 409 (409 Conflict) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2023/05/31 01:55:09 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2023/05/31 01:55:09 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1190460), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x118c1b0)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37177", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: {"upload_path":"http://[::]:37177/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2023/05/31 01:55:09 [INFO] putting file: http://[::]:37177/_binstore/630e42d9-2364-2412-4121-18266770468e -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1190640), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37177", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: ---- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) +2023/06/01 04:00:23 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2023/06/01 04:00:23 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1899220), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x18b0780)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45865", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: {"upload_path":"http://[::]:45865/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2023/06/01 04:00:23 [INFO] putting file: http://[::]:45865/_binstore/630e42d9-2364-2412-4121-18266770468e +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x186c230), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45865", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: +--- PASS: TestUploadApp_createsAndReturnsVersion (0.01s) === RUN TestArtifact_fetchesArtifact -2023/05/31 01:55:09 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x10a6320), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36937", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x186c500), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42683", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -729,18 +772,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2023/05/31 01:55:09 [INFO] getting application hashicorp/newproject -2023/05/31 01:55:09 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1216d20), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38369", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 404 (404 Not Found) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] getting application hashicorp/newproject +2023/06/01 04:00:23 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x186ca00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38409", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 404 (404 Not Found) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2023/05/31 01:55:09 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2023/05/31 01:55:09 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1217090), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33123", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2023/06/01 04:00:23 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1899680), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44183", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -751,11 +794,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2023/05/31 01:55:09 [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"}} -2023/05/31 01:55:09 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x10a68c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33415", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [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"}} +2023/06/01 04:00:23 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1899b30), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38509", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -770,19 +813,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2023/05/31 01:55:09 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2023/05/31 01:55:09 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x110b220), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x112e780)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43995", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2023/06/01 04:00:23 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1a80780), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x1a84210)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42381", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { - "upload_path": "http://[::]:43995/_binstore/" + "upload_path": "http://[::]:42381/_binstore/" } -2023/05/31 01:55:09 [INFO] putting file: http://[::]:43995/_binstore/ -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x12174a0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43995", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] putting file: http://[::]:42381/_binstore/ +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1932910), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42381", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -795,11 +838,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2023/05/31 01:55:09 [INFO] getting build configuration hashicorp/existing -2023/05/31 01:55:09 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1190b40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38853", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] getting build configuration hashicorp/existing +2023/06/01 04:00:23 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1b020a0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36885", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -807,11 +850,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2023/05/31 01:55:09 [INFO] creating build configuration hashicorp/new -2023/05/31 01:55:09 [INFO] request: POST /api/v1/packer/build-configurations -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x12178b0), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x1218a38)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43281", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] creating build configuration hashicorp/new +2023/06/01 04:00:23 [INFO] request: POST /api/v1/packer/build-configurations +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1932e10), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x195c648)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41613", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -821,19 +864,19 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2023/05/31 01:55:09 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2023/05/31 01:55:09 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1217e50), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x1218ca8)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36515", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2023/06/01 04:00:23 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x19333b0), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x195c8e8)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38627", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { - "upload_path": "http://[::]:36515/_binstore/" + "upload_path": "http://[::]:38627/_binstore/" } -2023/05/31 01:55:09 [INFO] putting file: http://[::]:36515/_binstore/ -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1190e60), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36515", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] putting file: http://[::]:38627/_binstore/ +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x186ce10), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38627", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) @@ -850,73 +893,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2023/05/31 01:55:09 [INFO] logging in user +2023/06/01 04:00:23 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2023/05/31 01:55:09 [INFO] logging in user username +2023/06/01 04:00:23 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2023/05/31 01:55:09 [INFO] logging in user username -2023/05/31 01:55:09 [INFO] request: POST /api/v1/authenticate -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1270aa0), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x1218f00)}, GetBody:(func() (io.ReadCloser, error))(0x2ac77c), ContentLength:105, 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 401 (401 Unauthorized) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] logging in user username +2023/06/01 04:00:23 [INFO] request: POST /api/v1/authenticate +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1b02d20), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x18b1050)}, GetBody:(func() (io.ReadCloser, error))(0x2ac77c), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38235", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 401 (401 Unauthorized) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2023/05/31 01:55:09 [INFO] logging in user sethloves -2023/05/31 01:55:09 [INFO] request: POST /api/v1/authenticate -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x10a6fa0), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x1098618)}, GetBody:(func() (io.ReadCloser, error))(0x2ac77c), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44697", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] logging in user sethloves +2023/06/01 04:00:23 [INFO] request: POST /api/v1/authenticate +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1b03090), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x18b1218)}, GetBody:(func() (io.ReadCloser, error))(0x2ac77c), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46109", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2023/05/31 01:55:09 [DEBUG] setting atlas token (pX4*** (masked)) +2023/06/01 04:00:23 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2023/05/31 01:55:09 [INFO] request: GET /api/v1/token -2023/05/31 01:55:09 [DEBUG] request: appending token (a.a*** (masked)) -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1270eb0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}, "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:"[::]:33701", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] request: GET /api/v1/token +2023/06/01 04:00:23 [DEBUG] request: appending token (a.a*** (masked)) +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1933810), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}, "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:"[::]:43067", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2023/05/31 01:55:09 [INFO] request: GET /_status/200 -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1191360), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35399", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] request: GET /_status/200 +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x186d180), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38111", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2023/05/31 01:55:09 [INFO] request: GET /_rails-error -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x11916d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36263", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 422 (422 Unprocessable Entity) -2023/05/31 01:55:09 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2023/06/01 04:00:23 [INFO] request: GET /_rails-error +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1a80f00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39125", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 422 (422 Unprocessable Entity) +2023/06/01 04:00:23 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2023/05/31 01:55:09 [INFO] request: GET /_status/404 -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x10a74a0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40197", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 404 (404 Not Found) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] request: GET /_status/404 +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x186d5e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40109", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 404 (404 Not Found) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2023/05/31 01:55:09 [INFO] request: GET /_json -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x110b8b0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43611", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: {"ok": true} +2023/06/01 04:00:23 [INFO] request: GET /_json +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x186d9f0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43427", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2023/05/31 01:55:09 [INFO] request: GET /_test -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x110bcc0), 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.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38179", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: {"RawPath":"","Host":"[::]:38179","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"]},"Body":""} +2023/06/01 04:00:23 [INFO] request: GET /_test +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1b036d0), 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.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35019", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: {"RawPath":"","Host":"[::]:35019","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"]},"Body":""} --- PASS: TestClient_defaultHeaders (0.00s) === RUN TestTerraformConfigLatest -2023/05/31 01:55:09 [INFO] getting terraform configuration hashicorp/existing -2023/05/31 01:55:09 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x10a7900), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33839", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] getting terraform configuration hashicorp/existing +2023/06/01 04:00:23 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1b03b80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42223", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "version": { "version": 5, @@ -927,20 +970,20 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2023/05/31 01:55:09 [INFO] creating terraform configuration hashicorp/existing -2023/05/31 01:55:09 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x12883c0), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x112ee40)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40351", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] creating terraform configuration hashicorp/existing +2023/06/01 04:00:23 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x1b26050), 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.19.8)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x18b1830)}, GetBody:(func() (io.ReadCloser, error))(0x2ac8c8), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45467", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:40351/_binstore/" + "upload_path": "http://[::]:45467/_binstore/" } -2023/05/31 01:55:09 [INFO] putting file: http://[::]:40351/_binstore/ -2023/05/31 01:55:09 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x10a7c70), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40351", 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)(0x10180e8)} -2023/05/31 01:55:09 [INFO] response: 200 (200 OK) -2023/05/31 01:55:09 [DEBUG] response: +2023/06/01 04:00:23 [INFO] putting file: http://[::]:45467/_binstore/ +2023/06/01 04:00:23 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1b26370), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.19.8)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x2abef0), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45467", 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)(0x192a000)} +2023/06/01 04:00:23 [INFO] response: 200 (200 OK) +2023/06/01 04:00:23 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -951,7 +994,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.060s +ok github.com/hashicorp/atlas-go/v1 0.075s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -979,12 +1022,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/14194/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/14194/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/4820 and its subdirectories -I: Current time: Wed May 31 01:55:21 -12 2023 -I: pbuilder-time-stamp: 1685541321 +I: removing directory /srv/workspace/pbuilder/14194 and its subdirectories +I: Current time: Thu Jun 1 04:00:44 +14 2023 +I: pbuilder-time-stamp: 1685541644