Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 13:21:47.377411255 +0000 +++ b2/build.log 2024-05-01 13:22:46.966867876 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 01:18:32 -12 2024 -I: pbuilder-time-stamp: 1714569512 +I: Current time: Wed Jun 4 09:44:49 +14 2025 +I: pbuilder-time-stamp: 1748979889 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ 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/1492063/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1663669/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jun 3 19:45 /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/1663669/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1663669/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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=20 ' - DISTRIBUTION='unstable' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + 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=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='c6be8401f7f046e79b9b82769f2dd985' - 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='1492063' - PS1='# ' - PS2='> ' + INVOCATION_ID=a870ee82b8a142358aefffee79eb8099 + 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=1663669 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.uoq9iaZ5/pbuilderrc_HAeA --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uoq9iaZ5/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.uoq9iaZ5/pbuilderrc_6YFl --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.uoq9iaZ5/b2 --logfile b2/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1492063/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 31 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1663669/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -157,7 +189,7 @@ Get: 37 http://deb.debian.org/debian unstable/main amd64 golang-github-hashicorp-go-cleanhttp-dev all 0.5.2-1 [10.8 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 golang-github-hashicorp-go-version-dev all 1.6.0-1 [16.0 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 62.7 MB in 4s (16.4 MB/s) +Fetched 62.7 MB in 0s (153 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 ... 19694 files and directories currently installed.) @@ -328,7 +360,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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/1663669/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1663669/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -346,37 +382,37 @@ 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 20 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 42 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 +internal/goos +internal/unsafeheader internal/coverage/rtcov internal/goarch -internal/unsafeheader -log/internal internal/godebugs -internal/race -internal/goos -crypto/internal/alias -internal/goexperiment -unicode/utf8 -internal/cpu +internal/nettrace +vendor/golang.org/x/crypto/internal/alias internal/itoa cmp -crypto/internal/boring/sig +log/internal +sync/atomic +encoding +internal/goexperiment unicode +vendor/golang.org/x/crypto/cryptobyte/asn1 +crypto/internal/alias +container/list unicode/utf16 -runtime/internal/atomic -math/bits +internal/race crypto/subtle -vendor/golang.org/x/crypto/cryptobyte/asn1 +unicode/utf8 +math/bits +crypto/internal/boring/sig +runtime/internal/atomic runtime/internal/syscall -container/list -sync/atomic -internal/nettrace -vendor/golang.org/x/crypto/internal/alias -internal/abi -internal/chacha8rand +internal/cpu runtime/internal/math +internal/chacha8rand runtime/internal/sys -encoding +internal/abi slices internal/bytealg math @@ -390,97 +426,97 @@ internal/godebug errors sort -math/rand internal/oserror io internal/safefilepath path -internal/intern +vendor/golang.org/x/net/dns/dnsmessage +math/rand strconv crypto/internal/nistec/fiat -vendor/golang.org/x/net/dns/dnsmessage +internal/intern syscall +crypto/internal/randutil +hash bytes strings -hash -crypto/internal/randutil hash/crc32 +crypto +crypto/rc4 +net/netip +reflect vendor/golang.org/x/text/transform -bufio net/http/internal/ascii -reflect +bufio regexp/syntax -crypto/rc4 -crypto -net/netip +internal/syscall/execenv internal/syscall/unix time -internal/syscall/execenv regexp -internal/poll -io/fs context +io/fs +internal/poll embed internal/fmtsort encoding/binary os crypto/cipher -crypto/internal/edwards25519/field -encoding/base64 -crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 +crypto/md5 +encoding/base64 +crypto/internal/edwards25519/field crypto/internal/nistec encoding/pem +crypto/internal/edwards25519 +vendor/golang.org/x/crypto/chacha20 crypto/internal/boring crypto/des -vendor/golang.org/x/crypto/chacha20 -path/filepath -vendor/golang.org/x/sys/cpu -io/ioutil -fmt -net +crypto/hmac crypto/sha512 +crypto/sha1 crypto/sha256 crypto/aes -crypto/hmac -crypto/sha1 -crypto/internal/edwards25519 vendor/golang.org/x/crypto/hkdf +io/ioutil +fmt +path/filepath +vendor/golang.org/x/sys/cpu +net os/exec vendor/golang.org/x/crypto/chacha20poly1305 +crypto/ecdh log +os/user encoding/hex +github.com/hashicorp/go-version net/url +net/http/internal +mime/quotedprintable +vendor/golang.org/x/net/http2/hpack mime -os/user encoding/json -mime/quotedprintable -net/http/internal +compress/flate vendor/golang.org/x/text/unicode/norm -github.com/hashicorp/go-version -vendor/golang.org/x/net/http2/hpack math/big -compress/flate -crypto/ecdh vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule compress/gzip +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/net/idna crypto/internal/boring/bbig -crypto/internal/bigmod -crypto/elliptic crypto/dsa +crypto/elliptic +crypto/internal/bigmod crypto/rand encoding/asn1 crypto/ed25519 -vendor/golang.org/x/net/idna crypto/rsa -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte crypto/ecdsa archive/tar github.com/hashicorp/atlas-go/archive -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart @@ -491,30 +527,30 @@ github.com/hashicorp/go-cleanhttp github.com/hashicorp/atlas-go/v1 dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 20 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 42 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.11s) +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.01s) === RUN TestArchive_fileCompressed -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2024/05/01 13:21:20 [INFO] creating archive from /tmp/test1996375889 +2025/06/03 19:45:37 [INFO] creating archive from /tmp/test2459247701 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2024/05/01 13:21:20 [INFO] creating archive from /tmp/test2059129129 +2025/06/03 19:45:37 [INFO] creating archive from /tmp/test3518948459 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.02s) +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.00s) === RUN TestArchive_dirExtraDir -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDir (0.03s) +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDir (0.00s) === RUN TestArchive_dirExtraDirHeader -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDirHeader (0.03s) +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDirHeader (0.00s) === RUN TestArchive_dirMode archive_test.go:205: Skip this test in Debian --- SKIP: TestArchive_dirMode (0.00s) @@ -525,23 +561,23 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-symlink-file/link ---- PASS: TestArchive_dirWithSymlinkToFile (0.02s) +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-symlink-file/link +--- PASS: TestArchive_dirWithSymlinkToFile (0.00s) === RUN TestArchive_dirNoVCS -2024/05/01 13:21:20 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.01s) +2025/06/03 19:45:37 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.00s) === RUN TestArchive_dirSubdirsNoVCS -2024/05/01 13:21:21 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.01s) +2025/06/03 19:45:38 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.00s) === RUN TestArchive_dirExclude -2024/05/01 13:21:21 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirExclude (0.02s) +2025/06/03 19:45:38 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirExclude (0.00s) === RUN TestArchive_dirInclude -2024/05/01 13:21:21 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirInclude (0.02s) +2025/06/03 19:45:38 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirInclude (0.00s) === RUN TestArchive_dirIncludeStar -2024/05/01 13:21:21 [INFO] creating archive from test-fixtures/archive-subdir-splat ---- PASS: TestArchive_dirIncludeStar (0.02s) +2025/06/03 19:45:38 [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 archive_test.go:400: @@ -591,15 +627,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.343s +ok github.com/hashicorp/atlas-go/archive 0.035s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2024/05/01 13:21:31 [INFO] getting application hashicorp/existing -2024/05/01 13:21:31 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc00019c120), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41711", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] getting application hashicorp/existing +2025/06/03 19:45:41 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c2120), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40007", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -609,42 +645,42 @@ --- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2024/05/01 13:21:31 [INFO] getting application hashicorp/newproject -2024/05/01 13:21:31 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002002d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34559", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 404 (404 Not Found) -2024/05/01 13:21:31 [DEBUG] response: ---- PASS: TestApp_returnsErrorNoApp (0.01s) +2025/06/03 19:45:41 [INFO] getting application hashicorp/newproject +2025/06/03 19:45:41 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002083f0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34505", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 404 (404 Not Found) +2025/06/03 19:45:41 [DEBUG] response: +--- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2024/05/01 13:21:31 [INFO] creating application hashicorp/newproject -2024/05/01 13:21:31 [INFO] request: POST /api/v1/vagrant/applications -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00019c870), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0000c3b30)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37389", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2025/06/03 19:45:41 [INFO] creating application hashicorp/newproject +2025/06/03 19:45:41 [INFO] request: POST /api/v1/vagrant/applications +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000126240), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0001105d0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33709", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2024/05/01 13:21:31 [INFO] creating application hashicorp/existing -2024/05/01 13:21:31 [INFO] request: POST /api/v1/vagrant/applications -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00019ce10), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0001be450)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36427", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 409 (409 Conflict) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] creating application hashicorp/existing +2025/06/03 19:45:41 [INFO] request: POST /api/v1/vagrant/applications +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002a21b0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0002822a0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46373", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 409 (409 Conflict) +2025/06/03 19:45:41 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2024/05/01 13:21:31 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2024/05/01 13:21:31 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00019d4d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0001bf0b0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32895", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: {"upload_path":"http://[::]:32895/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2024/05/01 13:21:31 [INFO] putting file: http://[::]:32895/_binstore/630e42d9-2364-2412-4121-18266770468e -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc00019db00), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32895", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: ---- PASS: TestUploadApp_createsAndReturnsVersion (0.02s) +2025/06/03 19:45:41 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2025/06/03 19:45:41 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000126900), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0001111d0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43863", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: {"upload_path":"http://[::]:43863/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2025/06/03 19:45:41 [INFO] putting file: http://[::]:43863/_binstore/630e42d9-2364-2412-4121-18266770468e +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000208750), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43863", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: +--- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2024/05/01 13:21:31 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0003022d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35141", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000208ab0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35947", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -655,18 +691,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2024/05/01 13:21:31 [INFO] getting application hashicorp/newproject -2024/05/01 13:21:31 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000302a20), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44579", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 404 (404 Not Found) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] getting application hashicorp/newproject +2025/06/03 19:45:41 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000209050), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46143", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 404 (404 Not Found) +2025/06/03 19:45:41 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2024/05/01 13:21:31 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000302fc0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33057", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000126d80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34599", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -677,11 +713,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2024/05/01 13:21:31 [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/05/01 13:21:31 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000303710), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46439", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [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"}} +2025/06/03 19:45:41 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c2d80), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37419", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -696,19 +732,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2024/05/01 13:21:31 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2024/05/01 13:21:31 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000374000), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc00036eba0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34725", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2025/06/03 19:45:41 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000209680), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc000205d70)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43891", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { - "upload_path": "http://[::]:34725/_binstore/" + "upload_path": "http://[::]:43891/_binstore/" } -2024/05/01 13:21:31 [INFO] putting file: http://[::]:34725/_binstore/ -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000374510), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34725", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] putting file: http://[::]:43891/_binstore/ +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000127320), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43891", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -721,11 +757,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2024/05/01 13:21:31 [INFO] getting build configuration hashicorp/existing -2024/05/01 13:21:31 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000374990), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42523", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] getting build configuration hashicorp/existing +2025/06/03 19:45:41 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000209b90), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41375", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -733,11 +769,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2024/05/01 13:21:31 [INFO] creating build configuration hashicorp/new -2024/05/01 13:21:31 [INFO] request: POST /api/v1/packer/build-configurations -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0003750e0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc00038e570)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43807", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] creating build configuration hashicorp/new +2025/06/03 19:45:41 [INFO] request: POST /api/v1/packer/build-configurations +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00041c1b0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc000408cc0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36419", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -745,22 +781,22 @@ "private":true } ---- PASS: TestCreateBuildConfig (0.01s) +--- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2024/05/01 13:21:31 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2024/05/01 13:21:31 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0001165a0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0001127e0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42865", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2025/06/03 19:45:41 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc00041c990), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc000409890)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32931", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { - "upload_path": "http://[::]:42865/_binstore/" + "upload_path": "http://[::]:32931/_binstore/" } -2024/05/01 13:21:31 [INFO] putting file: http://[::]:42865/_binstore/ -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000200870), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42865", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: ---- PASS: TestUploadBuildConfigVersion (0.01s) +2025/06/03 19:45:41 [INFO] putting file: http://[::]:32931/_binstore/ +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc0001c3290), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32931", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: +--- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) === RUN TestDefaultClient_urlFromEnvVar @@ -776,73 +812,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2024/05/01 13:21:31 [INFO] logging in user +2025/06/03 19:45:41 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2024/05/01 13:21:31 [INFO] logging in user username +2025/06/03 19:45:41 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2024/05/01 13:21:31 [INFO] logging in user username -2024/05/01 13:21:31 [INFO] request: POST /api/v1/authenticate -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000201200), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0xc0002102c0)}, GetBody:(func() (io.ReadCloser, error))(0x6a14c0), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42835", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 401 (401 Unauthorized) -2024/05/01 13:21:31 [DEBUG] response: ---- PASS: TestLogin_serverErrorMessage (0.01s) +2025/06/03 19:45:41 [INFO] logging in user username +2025/06/03 19:45:41 [INFO] request: POST /api/v1/authenticate +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002a2bd0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0xc0002ac200)}, GetBody:(func() (io.ReadCloser, error))(0x6a14c0), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36367", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 401 (401 Unauthorized) +2025/06/03 19:45:41 [DEBUG] response: +--- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2024/05/01 13:21:31 [INFO] logging in user sethloves -2024/05/01 13:21:31 [INFO] request: POST /api/v1/authenticate -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002aa3f0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0xc0002c00a0)}, GetBody:(func() (io.ReadCloser, error))(0x6a14c0), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36577", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] logging in user sethloves +2025/06/03 19:45:41 [INFO] request: POST /api/v1/authenticate +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc000127a70), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0xc0001185e0)}, GetBody:(func() (io.ReadCloser, error))(0x6a14c0), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38049", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2024/05/01 13:21:31 [DEBUG] setting atlas token (pX4*** (masked)) +2025/06/03 19:45:41 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2024/05/01 13:21:31 [INFO] request: GET /api/v1/token -2024/05/01 13:21:31 [DEBUG] request: appending token (a.a*** (masked)) -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002aaa20), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}, "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:"[::]:43565", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: ---- PASS: TestRequest_tokenAuth (0.01s) +2025/06/03 19:45:41 [INFO] request: GET /api/v1/token +2025/06/03 19:45:41 [DEBUG] request: appending token (a.a*** (masked)) +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0001c37a0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}, "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:"[::]: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.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: +--- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2024/05/01 13:21:31 [INFO] request: GET /_status/200 -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0003755f0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39837", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] request: GET /_status/200 +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0002a2f30), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46819", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2024/05/01 13:21:31 [INFO] request: GET /_rails-error -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000375b90), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34193", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 422 (422 Unprocessable Entity) -2024/05/01 13:21:31 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2025/06/03 19:45:41 [INFO] request: GET /_rails-error +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000392240), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46835", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 422 (422 Unprocessable Entity) +2025/06/03 19:45:41 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2024/05/01 13:21:31 [INFO] request: GET /_status/404 -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0003b2240), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44367", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 404 (404 Not Found) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] request: GET /_status/404 +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000392630), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34479", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 404 (404 Not Found) +2025/06/03 19:45:41 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2024/05/01 13:21:31 [INFO] request: GET /_json -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0003b27e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44199", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: {"ok": true} +2025/06/03 19:45:41 [INFO] request: GET /_json +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000392a20), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37085", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2024/05/01 13:21:31 [INFO] request: GET /_test -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0003b2e10), 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.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39939", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: {"RawPath":"","Host":"[::]:39939","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"]},"Body":""} +2025/06/03 19:45:41 [INFO] request: GET /_test +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000392e10), 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.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34311", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: {"RawPath":"","Host":"[::]:34311","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"]},"Body":""} --- PASS: TestClient_defaultHeaders (0.00s) === RUN TestTerraformConfigLatest -2024/05/01 13:21:31 [INFO] getting terraform configuration hashicorp/existing -2024/05/01 13:21:31 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc0003b34d0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38637", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] getting terraform configuration hashicorp/existing +2025/06/03 19:45:41 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc000496120), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39397", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "version": { "version": 5, @@ -851,23 +887,23 @@ } } ---- PASS: TestTerraformConfigLatest (0.01s) +--- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2024/05/01 13:21:31 [INFO] creating terraform configuration hashicorp/existing -2024/05/01 13:21:31 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0003b3b90), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0003d4480)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37773", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: +2025/06/03 19:45:41 [INFO] creating terraform configuration hashicorp/existing +2025/06/03 19:45:41 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc0002a38c0), 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.22.2)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc0002fa4b0)}, GetBody:(func() (io.ReadCloser, error))(0x6a1620), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32881", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:37773/_binstore/" + "upload_path": "http://[::]:32881/_binstore/" } -2024/05/01 13:21:31 [INFO] putting file: http://[::]:37773/_binstore/ -2024/05/01 13:21:31 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc000116cf0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37773", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/01 13:21:31 [INFO] response: 200 (200 OK) -2024/05/01 13:21:31 [DEBUG] response: ---- PASS: TestCreateTerraformConfigVersion (0.01s) +2025/06/03 19:45:41 [INFO] putting file: http://[::]:32881/_binstore/ +2025/06/03 19:45:41 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xc00041d0e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.2)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x6ca380), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32881", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/06/03 19:45:41 [INFO] response: 200 (200 OK) +2025/06/03 19:45:41 [DEBUG] response: +--- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) === RUN TestParseSlug_noSlashes @@ -877,7 +913,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.134s +ok github.com/hashicorp/atlas-go/v1 0.023s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -905,12 +941,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/1663669/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1663669/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/1492063 and its subdirectories -I: Current time: Wed May 1 01:21:46 -12 2024 -I: pbuilder-time-stamp: 1714569706 +I: removing directory /srv/workspace/pbuilder/1663669 and its subdirectories +I: Current time: Wed Jun 4 09:45:46 +14 2025 +I: pbuilder-time-stamp: 1748979946