Diff of the two buildlogs: -- --- b1/build.log 2025-01-05 05:33:30.336696758 +0000 +++ b2/build.log 2025-01-05 05:37:12.318560225 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 4 17:29:49 -12 2025 -I: pbuilder-time-stamp: 1736054989 +I: Current time: Sun Jan 5 19:33:39 +14 2025 +I: pbuilder-time-stamp: 1736055219 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,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/18239/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15885/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Jan 5 05:33 /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/15885/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15885/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='42339ef148654967af27a2b9a3089e16' - 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='18239' - PS1='# ' - PS2='> ' + INVOCATION_ID=8d10015f71a942e98edcc6dd63d2a60a + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=15885 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.2Mpt7HJi/pbuilderrc_kIt6 --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.2Mpt7HJi/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.2Mpt7HJi/pbuilderrc_b3za --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.2Mpt7HJi/b2 --logfile b2/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18239/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/15885/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -154,7 +186,7 @@ Get: 37 http://deb.debian.org/debian unstable/main armhf golang-github-hashicorp-go-cleanhttp-dev all 0.5.2-1 [10.8 kB] Get: 38 http://deb.debian.org/debian unstable/main armhf golang-github-hashicorp-go-version-dev all 1.6.0-1 [16.0 kB] Get: 39 http://deb.debian.org/debian unstable/main armhf golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 62.4 MB in 5s (12.5 MB/s) +Fetched 62.4 MB in 4s (17.3 MB/s) Preconfiguring packages ... 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 ... 19566 files and directories currently installed.) @@ -325,7 +357,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/15885/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/15885/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 @@ -343,152 +379,152 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 -internal/unsafeheader + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 internal/goarch -internal/cpu +internal/unsafeheader internal/byteorder -internal/abi -internal/chacha8rand -internal/bytealg +internal/cpu internal/coverage/rtcov +internal/abi internal/godebugs +internal/chacha8rand internal/goexperiment -internal/profilerecord internal/goos +internal/bytealg +internal/profilerecord internal/runtime/atomic internal/runtime/syscall internal/stringslite runtime/internal/math runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic unicode +internal/runtime/exithook unicode/utf8 cmp internal/itoa -runtime math/bits -math internal/asan internal/msan log/internal +math container/list crypto/internal/alias crypto/internal/boring/sig +runtime unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding +iter +crypto/subtle internal/reflectlite sync -iter slices -crypto/subtle internal/weak maps -internal/bisect internal/testlog +internal/bisect runtime/cgo +internal/singleflight errors io +sort strconv bytes internal/oserror -reflect path internal/godebug +reflect syscall strings -time -internal/syscall/unix -internal/syscall/execenv bufio -internal/fmtsort -sort -encoding/binary -io/fs -internal/filepathlite -internal/poll hash -regexp/syntax hash/crc32 -context +regexp/syntax +time +internal/syscall/unix +internal/syscall/execenv +regexp crypto -os crypto/cipher crypto/internal/boring -regexp crypto/aes crypto/des +io/fs +internal/fmtsort +encoding/binary +internal/poll +context +internal/filepathlite crypto/internal/edwards25519/field -crypto/internal/nistec/fiat crypto/internal/randutil +crypto/internal/nistec/fiat +os math/rand +crypto/sha512 +crypto/internal/edwards25519 +crypto/hmac +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 +crypto/md5 +crypto/rc4 +crypto/sha1 +crypto/sha256 fmt path/filepath io/ioutil +vendor/golang.org/x/sys/cpu os/exec +vendor/golang.org/x/crypto/sha3 +encoding/base64 +vendor/golang.org/x/net/dns/dnsmessage +encoding/pem os/user compress/flate -compress/gzip github.com/hashicorp/go-version log crypto/internal/nistec +compress/gzip math/big +encoding/hex +math/rand/v2 +internal/concurrent +unique crypto/ecdh -archive/tar -crypto/sha512 -crypto/internal/edwards25519 -crypto/hmac +net/netip +net/url +encoding/json crypto/elliptic crypto/internal/bigmod -github.com/hashicorp/atlas-go/archive crypto/internal/boring/bbig encoding/asn1 crypto/rand -vendor/golang.org/x/crypto/chacha20 crypto/ed25519 -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/sys/cpu crypto/internal/hpke -vendor/golang.org/x/crypto/sha3 +crypto/internal/mlkem768 +archive/tar vendor/golang.org/x/crypto/cryptobyte -crypto/md5 -crypto/rc4 crypto/rsa -crypto/internal/mlkem768 -crypto/ecdsa -crypto/sha1 -crypto/sha256 crypto/dsa -encoding/hex -encoding/base64 -vendor/golang.org/x/net/dns/dnsmessage crypto/x509/pkix -encoding/pem -internal/singleflight -math/rand/v2 -net/url -internal/concurrent -unique -encoding/json +net vendor/golang.org/x/text/transform -net/netip +crypto/ecdsa vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule +github.com/hashicorp/atlas-go/archive vendor/golang.org/x/text/unicode/norm -net vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime mime/quotedprintable -vendor/golang.org/x/net/idna net/http/internal net/http/internal/ascii +vendor/golang.org/x/net/idna vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 @@ -501,29 +537,29 @@ github.com/hashicorp/go-cleanhttp github.com/hashicorp/atlas-go/v1 dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.01s) +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.02s) === RUN TestArchive_fileCompressed -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2025/01/05 05:32:42 [INFO] creating archive from /tmp/test3141099993 +2025/01/05 05:36:40 [INFO] creating archive from /tmp/test2553120712 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2025/01/05 05:32:42 [INFO] creating archive from /tmp/test512975754 +2025/01/05 05:36:40 [INFO] creating archive from /tmp/test4038018935 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-flat +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtra (0.01s) === RUN TestArchive_dirExtraDir -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDir (0.01s) +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDir (0.03s) === RUN TestArchive_dirExtraDirHeader -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-flat +2025/01/05 05:36:40 [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 @@ -535,22 +571,22 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-symlink-file/link +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-symlink-file/link --- PASS: TestArchive_dirWithSymlinkToFile (0.01s) === RUN TestArchive_dirNoVCS -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.01s) +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.02s) === RUN TestArchive_dirSubdirsNoVCS -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.01s) +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.02s) === RUN TestArchive_dirExclude -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirExclude (0.01s) +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirExclude (0.02s) === RUN TestArchive_dirInclude -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirInclude (0.00s) +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirInclude (0.01s) === RUN TestArchive_dirIncludeStar -2025/01/05 05:32:42 [INFO] creating archive from test-fixtures/archive-subdir-splat +2025/01/05 05:36:40 [INFO] creating archive from test-fixtures/archive-subdir-splat --- PASS: TestArchive_dirIncludeStar (0.01s) === RUN TestArchive_git archive_test.go:399: git not found, skipping @@ -601,15 +637,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.096s +ok github.com/hashicorp/atlas-go/archive 0.194s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2025/01/05 05:33:12 [INFO] getting application hashicorp/existing -2025/01/05 05:33:12 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x252c1e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41575", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] getting application hashicorp/existing +2025/01/05 05:36:55 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd081e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40545", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -619,42 +655,42 @@ --- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2025/01/05 05:33:12 [INFO] getting application hashicorp/newproject -2025/01/05 05:33:12 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26980f0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42315", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 404 (404 Not Found) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] getting application hashicorp/newproject +2025/01/05 05:36:55 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd08500), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42037", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 404 (404 Not Found) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2025/01/05 05:33:12 [INFO] creating application hashicorp/newproject -2025/01/05 05:33:12 [INFO] request: POST /api/v1/vagrant/applications -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x24a21e0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x249e1c8)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35379", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2025/01/05 05:36:55 [INFO] creating application hashicorp/newproject +2025/01/05 05:36:55 [INFO] request: POST /api/v1/vagrant/applications +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xe1c230), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xe22108)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32899", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2025/01/05 05:33:12 [INFO] creating application hashicorp/existing -2025/01/05 05:33:12 [INFO] request: POST /api/v1/vagrant/applications -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x24a2550), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x249e360)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33721", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 409 (409 Conflict) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] creating application hashicorp/existing +2025/01/05 05:36:55 [INFO] request: POST /api/v1/vagrant/applications +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xe1c550), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xe22288)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37807", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 409 (409 Conflict) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2025/01/05 05:33:12 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2025/01/05 05:33:12 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x247a4b0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x26161e0)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41323", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: {"upload_path":"http://[::]:41323/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2025/01/05 05:33:12 [INFO] putting file: http://[::]:41323/_binstore/630e42d9-2364-2412-4121-18266770468e -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x247a780), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41323", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2025/01/05 05:36:55 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc984b0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xcac1e0)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39691", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: {"upload_path":"http://[::]:39691/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2025/01/05 05:36:55 [INFO] putting file: http://[::]:39691/_binstore/630e42d9-2364-2412-4121-18266770468e +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xd08960), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39691", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2025/01/05 05:33:12 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2698640), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40507", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd92230), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43069", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -665,18 +701,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2025/01/05 05:33:12 [INFO] getting application hashicorp/newproject -2025/01/05 05:33:12 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x247abe0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43899", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 404 (404 Not Found) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] getting application hashicorp/newproject +2025/01/05 05:36:55 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc98910), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40355", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 404 (404 Not Found) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2025/01/05 05:33:12 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x24a2b40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45679", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd92690), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41473", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -687,11 +723,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2025/01/05 05:33:12 [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/01/05 05:33:12 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x252c6e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44203", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [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/01/05 05:36:55 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd92b40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34191", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -706,19 +742,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2025/01/05 05:33:12 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2025/01/05 05:33:12 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2698d20), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x268e600)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33287", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2025/01/05 05:36:55 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc98fa0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xcac720)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36713", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { - "upload_path": "http://[::]:33287/_binstore/" + "upload_path": "http://[::]:36713/_binstore/" } -2025/01/05 05:33:12 [INFO] putting file: http://[::]:33287/_binstore/ -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2699040), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33287", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] putting file: http://[::]:36713/_binstore/ +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xe1ca50), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36713", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -731,11 +767,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2025/01/05 05:33:12 [INFO] getting build configuration hashicorp/existing -2025/01/05 05:33:12 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x252cb40), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46463", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] getting build configuration hashicorp/existing +2025/01/05 05:36:55 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc99310), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42117", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -743,11 +779,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2025/01/05 05:33:12 [INFO] creating build configuration hashicorp/new -2025/01/05 05:33:12 [INFO] request: POST /api/v1/packer/build-configurations -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x252cf00), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x2534888)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41121", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] creating build configuration hashicorp/new +2025/01/05 05:36:55 [INFO] request: POST /api/v1/packer/build-configurations +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xc996d0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xcacae0)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42191", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -757,19 +793,19 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2025/01/05 05:33:12 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2025/01/05 05:33:12 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x247b1d0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x2616858)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41963", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2025/01/05 05:36:55 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xd09180), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xd0e9a8)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39189", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { - "upload_path": "http://[::]:41963/_binstore/" + "upload_path": "http://[::]:39189/_binstore/" } -2025/01/05 05:33:12 [INFO] putting file: http://[::]:41963/_binstore/ -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x252d2c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41963", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] putting file: http://[::]:39189/_binstore/ +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xd92ff0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39189", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) @@ -786,73 +822,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2025/01/05 05:33:12 [INFO] logging in user +2025/01/05 05:36:55 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2025/01/05 05:33:12 [INFO] logging in user username +2025/01/05 05:36:55 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2025/01/05 05:33:12 [INFO] logging in user username -2025/01/05 05:33:12 [INFO] request: POST /api/v1/authenticate -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x247b8b0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x2616b88)}, GetBody:(func() (io.ReadCloser, error))(0x31d24c), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41055", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 401 (401 Unauthorized) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] logging in user username +2025/01/05 05:36:55 [INFO] request: POST /api/v1/authenticate +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xd09810), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0xd0ed20)}, GetBody:(func() (io.ReadCloser, error))(0x31d24c), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45627", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 401 (401 Unauthorized) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2025/01/05 05:33:12 [INFO] logging in user sethloves -2025/01/05 05:33:12 [INFO] request: POST /api/v1/authenticate -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x247bc20), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x2616d38)}, GetBody:(func() (io.ReadCloser, error))(0x31d24c), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41551", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] logging in user sethloves +2025/01/05 05:36:55 [INFO] request: POST /api/v1/authenticate +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xd93270), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0xd8e990)}, GetBody:(func() (io.ReadCloser, error))(0x31d24c), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43095", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2025/01/05 05:33:12 [DEBUG] setting atlas token (pX4*** (masked)) +2025/01/05 05:36:55 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2025/01/05 05:33:12 [INFO] request: GET /api/v1/token -2025/01/05 05:33:12 [DEBUG] request: appending token (a.a*** (masked)) -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x252d770), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}, "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:"[::]:33197", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] request: GET /api/v1/token +2025/01/05 05:36:55 [DEBUG] request: appending token (a.a*** (masked)) +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xe1d040), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}, "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:"[::]:39923", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2025/01/05 05:33:12 [INFO] request: GET /_status/200 -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2650140), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43975", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] request: GET /_status/200 +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd09bd0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44235", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2025/01/05 05:33:12 [INFO] request: GET /_rails-error -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2699450), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44269", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 422 (422 Unprocessable Entity) -2025/01/05 05:33:12 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2025/01/05 05:36:55 [INFO] request: GET /_rails-error +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xd935e0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46223", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 422 (422 Unprocessable Entity) +2025/01/05 05:36:55 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2025/01/05 05:33:12 [INFO] request: GET /_status/404 -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x252dc70), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39463", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 404 (404 Not Found) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] request: GET /_status/404 +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xe9c050), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:46553", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 404 (404 Not Found) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2025/01/05 05:33:12 [INFO] request: GET /_json -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26997c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44679", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: {"ok": true} +2025/01/05 05:36:55 [INFO] request: GET /_json +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xc99c70), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40837", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2025/01/05 05:33:12 [INFO] request: GET /_test -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2650550), 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.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39771", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: {"RawPath":"","Host":"[::]:39771","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"]},"Body":""} +2025/01/05 05:36:55 [INFO] request: GET /_test +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xe9c500), 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.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45367", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: {"RawPath":"","Host":"[::]:45367","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"]},"Body":""} --- PASS: TestClient_defaultHeaders (0.00s) === RUN TestTerraformConfigLatest -2025/01/05 05:33:12 [INFO] getting terraform configuration hashicorp/existing -2025/01/05 05:33:12 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2650870), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44061", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] getting terraform configuration hashicorp/existing +2025/01/05 05:36:55 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0xcf20a0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38167", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "version": { "version": 5, @@ -863,20 +899,20 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2025/01/05 05:33:12 [INFO] creating terraform configuration hashicorp/existing -2025/01/05 05:33:12 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x25b82d0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x2534fc0)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42363", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] creating terraform configuration hashicorp/existing +2025/01/05 05:36:55 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0xcf24b0), 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.23.4)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xcad128)}, GetBody:(func() (io.ReadCloser, error))(0x31d380), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38591", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:42363/_binstore/" + "upload_path": "http://[::]:38591/_binstore/" } -2025/01/05 05:33:12 [INFO] putting file: http://[::]:42363/_binstore/ -2025/01/05 05:33:12 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2699ae0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42363", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2025/01/05 05:33:12 [INFO] response: 200 (200 OK) -2025/01/05 05:33:12 [DEBUG] response: +2025/01/05 05:36:55 [INFO] putting file: http://[::]:38591/_binstore/ +2025/01/05 05:36:55 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0xe9c8c0), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.23.4)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x344da4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38591", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), Pattern:"", ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2025/01/05 05:36:55 [INFO] response: 200 (200 OK) +2025/01/05 05:36:55 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -887,7 +923,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.066s +ok github.com/hashicorp/atlas-go/v1 0.059s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -915,12 +951,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/15885/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15885/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/18239 and its subdirectories -I: Current time: Sat Jan 4 17:33:26 -12 2025 -I: pbuilder-time-stamp: 1736055206 +I: removing directory /srv/workspace/pbuilder/15885 and its subdirectories +I: Current time: Sun Jan 5 19:37:08 +14 2025 +I: pbuilder-time-stamp: 1736055428