Diff of the two buildlogs: -- --- b1/build.log 2023-06-09 00:26:45.802465613 +0000 +++ b2/build.log 2023-06-09 00:28:40.449453956 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 8 12:25:11 -12 2023 -I: pbuilder-time-stamp: 1686270311 +I: Current time: Thu Jul 11 20:50:05 +14 2024 +I: pbuilder-time-stamp: 1720680605 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/545441/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1804392/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 11 20:50 /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/1804392/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1804392/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d42124b6658148d99a73cd57804f0d7a' - 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='545441' - PS1='# ' - PS2='> ' + INVOCATION_ID=a68b95d55a6440c981517b158f417a6f + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1804392 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.UpQw4Ttm/pbuilderrc_Wy2l --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.UpQw4Ttm/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.UpQw4Ttm/pbuilderrc_UuxY --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.UpQw4Ttm/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2~bpo11+1 (2023-04-23) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22: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 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 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 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22: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/545441/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jul 11 20:50 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/1804392/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 amd64 golang-github-hashicorp-go-cleanhttp-dev all 0.5.2-1 [10.8 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 golang-github-hashicorp-go-version-dev all 1.3.0-1 [14.9 kB] Get: 39 http://deb.debian.org/debian bookworm/main amd64 golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 99.9 MB in 2s (62.4 MB/s) +Fetched 99.9 MB in 1s (81.0 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 ... 19591 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/1804392/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/1804392/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,40 +472,40 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 15 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 16 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 internal/goarch -internal/unsafeheader internal/goexperiment +internal/unsafeheader internal/goos -runtime/internal/atomic -crypto/subtle -runtime/internal/syscall unicode -internal/race unicode/utf8 +internal/race +crypto/subtle internal/itoa -math/bits -crypto/internal/subtle -internal/abi container/list +crypto/internal/subtle +math/bits +runtime/internal/syscall internal/cpu -sync/atomic -runtime/internal/math -runtime/internal/sys -crypto/internal/boring/sig unicode/utf16 +crypto/internal/boring/sig +internal/abi +runtime/internal/math +runtime/internal/atomic +sync/atomic vendor/golang.org/x/crypto/cryptobyte/asn1 +runtime/internal/sys internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding -math internal/bytealg +math runtime internal/reflectlite sync internal/testlog -math/rand internal/singleflight +math/rand runtime/cgo errors sort @@ -475,8 +518,8 @@ crypto/internal/nistec/fiat syscall bytes -crypto/internal/randutil hash +crypto/internal/randutil strings hash/crc32 crypto @@ -484,79 +527,79 @@ reflect vendor/golang.org/x/text/transform bufio -net/http/internal/ascii regexp/syntax +net/http/internal/ascii internal/syscall/unix -internal/syscall/execenv time +internal/syscall/execenv regexp -internal/poll io/fs context +internal/poll embed internal/fmtsort encoding/binary os crypto/cipher +crypto/internal/edwards25519/field encoding/base64 +vendor/golang.org/x/crypto/curve25519/internal/field crypto/md5 -crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 crypto/internal/nistec -vendor/golang.org/x/crypto/curve25519/internal/field encoding/pem +crypto/internal/edwards25519 +crypto/des crypto/internal/boring vendor/golang.org/x/crypto/chacha20 -crypto/des -crypto/internal/edwards25519 -crypto/aes crypto/sha512 +crypto/aes crypto/hmac crypto/sha1 crypto/sha256 vendor/golang.org/x/crypto/hkdf io/ioutil internal/godebug -fmt path/filepath -internal/intern +fmt vendor/golang.org/x/sys/cpu +internal/intern net/netip vendor/golang.org/x/crypto/chacha20poly1305 os/exec -net os/user log -github.com/hashicorp/go-version -encoding/hex compress/flate +encoding/hex +github.com/hashicorp/go-version net/url vendor/golang.org/x/crypto/curve25519 -encoding/json +math/big +vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable -net/http/internal -vendor/golang.org/x/net/http2/hpack -math/big +encoding/json vendor/golang.org/x/text/unicode/norm +net +net/http/internal vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/internal/boring/bbig crypto/elliptic -crypto/rand encoding/asn1 +crypto/rand crypto/dsa crypto/ed25519 crypto/rsa -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix crypto/ecdsa archive/tar github.com/hashicorp/atlas-go/archive -crypto/x509 net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart @@ -567,29 +610,29 @@ github.com/hashicorp/go-cleanhttp github.com/hashicorp/atlas-go/v1 dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 16 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.12s) === RUN TestArchive_fileCompressed -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2023/06/08 12:26:30 [INFO] creating archive from /tmp/test883775587 +2024/07/11 20:51:32 [INFO] creating archive from /tmp/test411620403 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2023/06/08 12:26:30 [INFO] creating archive from /tmp/test702725983 +2024/07/11 20:51:32 [INFO] creating archive from /tmp/test2892707565 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.02s) === RUN TestArchive_dirExtraDir -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-flat +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDir (0.01s) === RUN TestArchive_dirExtraDirHeader -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-flat +2024/07/11 20:51:32 [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 @@ -601,23 +644,23 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-symlink-file/link ---- PASS: TestArchive_dirWithSymlinkToFile (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-symlink-file/link +--- PASS: TestArchive_dirWithSymlinkToFile (0.02s) === RUN TestArchive_dirNoVCS -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.02s) === RUN TestArchive_dirSubdirsNoVCS -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.00s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.02s) === RUN TestArchive_dirExclude -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirExclude (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirExclude (0.02s) === RUN TestArchive_dirInclude -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirInclude (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirInclude (0.02s) === RUN TestArchive_dirIncludeStar -2023/06/08 12:26:30 [INFO] creating archive from test-fixtures/archive-subdir-splat ---- PASS: TestArchive_dirIncludeStar (0.01s) +2024/07/11 20:51:32 [INFO] creating archive from test-fixtures/archive-subdir-splat +--- PASS: TestArchive_dirIncludeStar (0.04s) === RUN TestArchive_git archive_test.go:399: git not found, skipping archive_test.go:400: @@ -667,15 +710,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.088s +ok github.com/hashicorp/atlas-go/archive 0.332s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2023/06/08 12:26:37 [INFO] getting application hashicorp/existing -2023/06/08 12:26:37 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001a4120), 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:"[::]:33381", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] getting application hashicorp/existing +2024/07/11 20:51:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0000f6120), 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:"[::]:33351", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -685,42 +728,42 @@ --- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2023/06/08 12:26:37 [INFO] getting application hashicorp/newproject -2023/06/08 12:26:37 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001a4630), 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:"[::]:40335", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 404 (404 Not Found) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] getting application hashicorp/newproject +2024/07/11 20:51:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0000f6750), 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:"[::]:38805", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 404 (404 Not Found) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2023/06/08 12:26:37 [INFO] creating application hashicorp/newproject -2023/06/08 12:26:37 [INFO] request: POST /api/v1/vagrant/applications -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002861b0), 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)(0xc00007c3c0)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38065", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2024/07/11 20:51:44 [INFO] creating application hashicorp/newproject +2024/07/11 20:51:44 [INFO] request: POST /api/v1/vagrant/applications +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0000f6cf0), 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)(0xc000126150)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33913", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2023/06/08 12:26:37 [INFO] creating application hashicorp/existing -2023/06/08 12:26:37 [INFO] request: POST /api/v1/vagrant/applications -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002023f0), 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)(0xc000206450)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36357", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 409 (409 Conflict) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] creating application hashicorp/existing +2024/07/11 20:51:44 [INFO] request: POST /api/v1/vagrant/applications +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0000f7200), 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)(0xc0001269c0)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40317", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 409 (409 Conflict) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2023/06/08 12:26:37 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2023/06/08 12:26:37 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0000c82d0), 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)(0xc0000ac690)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35061", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: {"upload_path":"http://[::]:35061/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2023/06/08 12:26:37 [INFO] putting file: http://[::]:35061/_binstore/630e42d9-2364-2412-4121-18266770468e -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc0000c8630), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35061", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: ---- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) +2024/07/11 20:51:44 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2024/07/11 20:51:44 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0000f7830), 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)(0xc000127530)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44581", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: {"upload_path":"http://[::]:44581/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2024/07/11 20:51:44 [INFO] putting file: http://[::]:44581/_binstore/630e42d9-2364-2412-4121-18266770468e +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc0000f7dd0), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44581", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: +--- PASS: TestUploadApp_createsAndReturnsVersion (0.01s) === RUN TestArtifact_fetchesArtifact -2023/06/08 12:26:37 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0000c8ab0), 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:"[::]:36573", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00014e2d0), 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:"[::]:44975", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -731,18 +774,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2023/06/08 12:26:37 [INFO] getting application hashicorp/newproject -2023/06/08 12:26:37 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0000c9170), 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:"[::]:36513", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 404 (404 Not Found) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] getting application hashicorp/newproject +2024/07/11 20:51:44 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00014e990), 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:"[::]:43373", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 404 (404 Not Found) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2023/06/08 12:26:37 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2023/06/08 12:26:37 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0000c9680), 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:"[::]:43407", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2024/07/11 20:51:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00014eea0), 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:"[::]:39787", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -753,11 +796,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2023/06/08 12:26: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"}} -2023/06/08 12:26:37 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0000c9d40), 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:"[::]:33155", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"bar":"943febbf-589f-401b-8f25-58f6d8786848", "foo":"bar"}} +2024/07/11 20:51:44 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00014f560), 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:"[::]:40093", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -772,19 +815,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2023/06/08 12:26:37 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2023/06/08 12:26:37 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000322480), 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)(0xc0003133b0)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32769", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2024/07/11 20:51:44 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00014fd40), 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)(0xc000164780)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35329", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { - "upload_path": "http://[::]:32769/_binstore/" + "upload_path": "http://[::]:35329/_binstore/" } -2023/06/08 12:26:37 [INFO] putting file: http://[::]:32769/_binstore/ -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc0001a4d80), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32769", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] putting file: http://[::]:35329/_binstore/ +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc00017e240), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35329", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -797,11 +840,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2023/06/08 12:26:37 [INFO] getting build configuration hashicorp/existing -2023/06/08 12:26:37 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000322900), 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:"[::]:38033", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] getting build configuration hashicorp/existing +2024/07/11 20:51:44 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00017e6c0), 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:"[::]:34127", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -809,11 +852,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2023/06/08 12:26:37 [INFO] creating build configuration hashicorp/new -2023/06/08 12:26:37 [INFO] request: POST /api/v1/packer/build-configurations -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000322e10), 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)(0xc000340450)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34689", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] creating build configuration hashicorp/new +2024/07/11 20:51:44 [INFO] request: POST /api/v1/packer/build-configurations +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00017ed80), 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)(0xc000165ec0)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35413", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -823,20 +866,20 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2023/06/08 12:26:37 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2023/06/08 12:26:37 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001a5680), 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)(0xc0001cd0b0)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:159, 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2024/07/11 20:51:44 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00017f680), 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)(0xc000216b40)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44921", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { - "upload_path": "http://[::]:33839/_binstore/" + "upload_path": "http://[::]:44921/_binstore/" } -2023/06/08 12:26:37 [INFO] putting file: http://[::]:33839/_binstore/ -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000202990), 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))(0x685400), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: ---- PASS: TestUploadBuildConfigVersion (0.00s) +2024/07/11 20:51:44 [INFO] putting file: http://[::]:44921/_binstore/ +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc00017fb90), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44921", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: +--- PASS: TestUploadBuildConfigVersion (0.01s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) === RUN TestDefaultClient_urlFromEnvVar @@ -852,73 +895,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2023/06/08 12:26:37 [INFO] logging in user +2024/07/11 20:51:44 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2023/06/08 12:26:37 [INFO] logging in user username +2024/07/11 20:51:44 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2023/06/08 12:26:37 [INFO] logging in user username -2023/06/08 12:26:37 [INFO] request: POST /api/v1/authenticate -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001ec1b0), 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)(0xc00015c740)}, GetBody:(func() (io.ReadCloser, error))(0x685c80), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46467", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 401 (401 Unauthorized) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] logging in user username +2024/07/11 20:51:44 [INFO] request: POST /api/v1/authenticate +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002265a0), 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)(0xc0000815e0)}, GetBody:(func() (io.ReadCloser, error))(0x685c80), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36067", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 401 (401 Unauthorized) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2023/06/08 12:26:37 [INFO] logging in user sethloves -2023/06/08 12:26:37 [INFO] request: POST /api/v1/authenticate -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002867e0), 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)(0xc00007a260)}, GetBody:(func() (io.ReadCloser, error))(0x685c80), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41131", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] logging in user sethloves +2024/07/11 20:51:44 [INFO] request: POST /api/v1/authenticate +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000226ab0), 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)(0xc000081700)}, GetBody:(func() (io.ReadCloser, error))(0x685c80), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42495", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2023/06/08 12:26:37 [DEBUG] setting atlas token (pX4*** (masked)) +2024/07/11 20:51:44 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2023/06/08 12:26:37 [INFO] request: GET /api/v1/token -2023/06/08 12:26:37 [DEBUG] request: appending token (a.a*** (masked)) -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000286bd0), 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:"[::]:39249", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] request: GET /api/v1/token +2024/07/11 20:51:44 [DEBUG] request: appending token (a.a*** (masked)) +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000227050), 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:"[::]:37745", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2023/06/08 12:26:37 [INFO] request: GET /_status/200 -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000202e10), 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:"[::]:38617", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] request: GET /_status/200 +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c0120), 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:"[::]:46603", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2023/06/08 12:26:37 [INFO] request: GET /_rails-error -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001ec6c0), 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:"[::]:44885", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 422 (422 Unprocessable Entity) -2023/06/08 12:26:37 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2024/07/11 20:51:44 [INFO] request: GET /_rails-error +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c0630), 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:"[::]:35757", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 422 (422 Unprocessable Entity) +2024/07/11 20:51:44 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2023/06/08 12:26:37 [INFO] request: GET /_status/404 -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001ecb40), 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:"[::]:39593", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 404 (404 Not Found) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] request: GET /_status/404 +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c0bd0), 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:"[::]:43791", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 404 (404 Not Found) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2023/06/08 12:26:37 [INFO] request: GET /_json -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000287290), 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:"[::]:33785", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: {"ok": true} +2024/07/11 20:51:44 [INFO] request: GET /_json +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c10e0), 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:"[::]:38359", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2023/06/08 12:26:37 [INFO] request: GET /_test -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000287830), 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:"[::]:35115", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: {"RawPath":"","Host":"[::]:35115","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":""} +2024/07/11 20:51:44 [INFO] request: GET /_test +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c1680), 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:"[::]:35917", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: {"RawPath":"","Host":"[::]:35917","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/06/08 12:26:37 [INFO] getting terraform configuration hashicorp/existing -2023/06/08 12:26:37 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000287e60), 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:"[::]:37217", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] getting terraform configuration hashicorp/existing +2024/07/11 20:51:44 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c1cb0), 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:"[::]:41529", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "version": { "version": 5, @@ -927,22 +970,22 @@ } } ---- PASS: TestTerraformConfigLatest (0.00s) +--- PASS: TestTerraformConfigLatest (0.01s) === RUN TestCreateTerraformConfigVersion -2023/06/08 12:26:37 [INFO] creating terraform configuration hashicorp/existing -2023/06/08 12:26:37 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002d26c0), 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)(0xc0002c36e0)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42711", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] creating terraform configuration hashicorp/existing +2024/07/11 20:51:44 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000280510), 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)(0xc0001f1560)}, GetBody:(func() (io.ReadCloser, error))(0x685dc0), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41071", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:42711/_binstore/" + "upload_path": "http://[::]:41071/_binstore/" } -2023/06/08 12:26:37 [INFO] putting file: http://[::]:42711/_binstore/ -2023/06/08 12:26:37 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc0002d2c60), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42711", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00012a000)} -2023/06/08 12:26:37 [INFO] response: 200 (200 OK) -2023/06/08 12:26:37 [DEBUG] response: +2024/07/11 20:51:44 [INFO] putting file: http://[::]:41071/_binstore/ +2024/07/11 20:51:44 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000280ab0), 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))(0x685400), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41071", Form:url.Values(nil), PostForm:url.Values(nil), 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)(0xc00001c0f8)} +2024/07/11 20:51:44 [INFO] response: 200 (200 OK) +2024/07/11 20:51:44 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -953,7 +996,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.038s +ok github.com/hashicorp/atlas-go/v1 0.072s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -981,12 +1024,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/1804392/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1804392/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/545441 and its subdirectories -I: Current time: Thu Jun 8 12:26:45 -12 2023 -I: pbuilder-time-stamp: 1686270405 +I: removing directory /srv/workspace/pbuilder/1804392 and its subdirectories +I: Current time: Thu Jul 11 20:51:58 +14 2024 +I: pbuilder-time-stamp: 1720680718