Diff of the two buildlogs: -- --- b1/build.log 2024-04-11 18:35:08.527247398 +0000 +++ b2/build.log 2024-04-11 18:39:58.794867451 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 11 06:27:17 -12 2024 -I: pbuilder-time-stamp: 1712860037 +I: Current time: Fri Apr 12 08:35:25 +14 2024 +I: pbuilder-time-stamp: 1712860525 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/27867/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21557/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 Apr 11 18:35 /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/21557/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21557/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='trixie' - 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='f0d78b11df41490a8e233616a4770210' - 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='27867' - PS1='# ' - PS2='> ' + INVOCATION_ID=82358fc4dc554b08afda161160550338 + 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=21557 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.7gPZSmou/pbuilderrc_BA74 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7gPZSmou/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' - SUDO_GID='116' - SUDO_UID='112' - 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.7gPZSmou/pbuilderrc_tn4t --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.7gPZSmou/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 cbxi4b 6.1.0-18-armmp #1 SMP Debian 6.1.76-1 (2024-02-01) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-arm64 #1 SMP Debian 6.1.76-1 (2024-02-01) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 11 11:27 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/27867/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 10 11:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/21557/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 trixie/main armhf golang-github-hashicorp-go-cleanhttp-dev all 0.5.2-1 [10.8 kB] Get: 38 http://deb.debian.org/debian trixie/main armhf golang-github-hashicorp-go-version-dev all 1.6.0-1 [16.0 kB] Get: 39 http://deb.debian.org/debian trixie/main armhf golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 58.8 MB in 7s (8725 kB/s) +Fetched 58.8 MB in 2s (28.3 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 ... 19635 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/21557/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/21557/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,20 +382,20 @@ 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/goarch + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 internal/unsafeheader -internal/cpu +internal/goarch internal/coverage/rtcov -internal/abi -internal/chacha8rand -internal/bytealg +internal/cpu internal/godebugs internal/goexperiment +internal/abi +internal/chacha8rand internal/goos runtime/internal/math -runtime/internal/atomic runtime/internal/sys +internal/bytealg +runtime/internal/atomic runtime/internal/syscall internal/race sync/atomic @@ -367,110 +403,110 @@ unicode/utf8 internal/itoa math/bits -runtime -math cmp -slices log/internal +slices +math container/list crypto/internal/alias crypto/internal/boring/sig unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace +runtime vendor/golang.org/x/crypto/internal/alias encoding -crypto/subtle internal/reflectlite sync +crypto/subtle internal/testlog internal/bisect runtime/cgo -internal/godebug +internal/singleflight +sort errors +internal/godebug io strconv bytes -reflect -sort internal/oserror syscall internal/safefilepath +reflect path strings -internal/syscall/unix -time -internal/syscall/execenv bufio -internal/fmtsort -encoding/binary hash hash/crc32 regexp/syntax +internal/syscall/unix +time +internal/syscall/execenv +regexp crypto +crypto/internal/nistec/fiat +crypto/internal/randutil internal/poll io/fs +internal/fmtsort +encoding/binary context -crypto/cipher -regexp os +crypto/cipher +crypto/internal/edwards25519/field crypto/internal/boring +math/rand crypto/aes crypto/des -crypto/internal/edwards25519/field -crypto/internal/nistec/fiat -crypto/internal/randutil -math/rand crypto/sha512 +crypto/internal/edwards25519 +crypto/hmac +crypto/md5 fmt path/filepath io/ioutil os/exec -crypto/internal/edwards25519 +crypto/rc4 +crypto/sha1 +crypto/sha256 os/user compress/flate -compress/gzip github.com/hashicorp/go-version log crypto/internal/nistec math/big -crypto/ecdh -archive/tar -crypto/hmac -crypto/md5 -crypto/rc4 -crypto/sha1 -crypto/sha256 +compress/gzip encoding/hex encoding/base64 -github.com/hashicorp/atlas-go/archive +crypto/ecdh encoding/pem +vendor/golang.org/x/net/dns/dnsmessage +internal/intern +net/netip +net/url +net +vendor/golang.org/x/crypto/chacha20 crypto/elliptic +archive/tar crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand -crypto/dsa crypto/ed25519 crypto/rsa -vendor/golang.org/x/net/dns/dnsmessage +github.com/hashicorp/atlas-go/archive vendor/golang.org/x/crypto/cryptobyte +crypto/dsa crypto/x509/pkix -internal/singleflight -internal/intern -net/netip -crypto/ecdsa -net/url -vendor/golang.org/x/crypto/chacha20 -net vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/hkdf encoding/json vendor/golang.org/x/crypto/chacha20poly1305 +crypto/ecdsa vendor/golang.org/x/text/transform vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable @@ -480,8 +516,8 @@ vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 -vendor/golang.org/x/net/http/httpguts mime/multipart +vendor/golang.org/x/net/http/httpguts crypto/tls net/http/httptrace github.com/hashicorp/go-rootcerts @@ -489,30 +525,30 @@ 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 -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-file/foo.txt +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-file/foo.txt --- PASS: TestArchive_file (0.04s) === RUN TestArchive_fileCompressed -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2024/04/11 18:33:34 [INFO] creating archive from /tmp/test661694665 +2024/04/11 18:39:17 [INFO] creating archive from /tmp/test2152279148 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2024/04/11 18:33:34 [INFO] creating archive from /tmp/test1844551867 +2024/04/11 18:39:17 [INFO] creating archive from /tmp/test1765537333 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.02s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.04s) === RUN TestArchive_dirExtraDir -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-flat +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDir (0.02s) === RUN TestArchive_dirExtraDirHeader -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtraDirHeader (0.04s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtraDirHeader (0.03s) === RUN TestArchive_dirMode archive_test.go:205: Skip this test in Debian --- SKIP: TestArchive_dirMode (0.00s) @@ -523,23 +559,23 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-symlink-file/link ---- PASS: TestArchive_dirWithSymlinkToFile (0.04s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-symlink-file/link +--- PASS: TestArchive_dirWithSymlinkToFile (0.03s) === RUN TestArchive_dirNoVCS -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-flat +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirNoVCS (0.03s) === RUN TestArchive_dirSubdirsNoVCS -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirSubdirsNoVCS (0.04s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirSubdirsNoVCS (0.03s) === RUN TestArchive_dirExclude -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirExclude (0.03s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirExclude (0.02s) === RUN TestArchive_dirInclude -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirInclude (0.03s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirInclude (0.02s) === RUN TestArchive_dirIncludeStar -2024/04/11 18:33:34 [INFO] creating archive from test-fixtures/archive-subdir-splat ---- PASS: TestArchive_dirIncludeStar (0.04s) +2024/04/11 18:39:17 [INFO] creating archive from test-fixtures/archive-subdir-splat +--- PASS: TestArchive_dirIncludeStar (0.02s) === RUN TestArchive_git archive_test.go:399: git not found, skipping archive_test.go:400: @@ -554,7 +590,7 @@ --- SKIP: TestArchive_hg (0.00s) === RUN TestArchive_hgSubdir archive_test.go:509: ---- SKIP: TestArchive_hgSubdir (0.00s) +--- SKIP: TestArchive_hgSubdir (0.01s) === RUN TestReadCloseRemover --- PASS: TestReadCloseRemover (0.00s) === RUN TestVCSPreflight @@ -589,15 +625,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.397s +ok github.com/hashicorp/atlas-go/archive 0.331s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2024/04/11 18:34:34 [INFO] getting application hashicorp/existing -2024/04/11 18:34:34 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x191a2d0), 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:"[::]:45983", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] getting application hashicorp/existing +2024/04/11 18:39:38 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x247e2d0), 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:"[::]:38239", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -605,44 +641,44 @@ "private": true } ---- PASS: TestApp_fetchesApp (0.01s) +--- PASS: TestApp_fetchesApp (0.00s) === RUN TestApp_returnsErrorNoApp -2024/04/11 18:34:34 [INFO] getting application hashicorp/newproject -2024/04/11 18:34:34 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x191a690), 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:"[::]:35705", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 404 (404 Not Found) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] getting application hashicorp/newproject +2024/04/11 18:39:38 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x247e820), 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:"[::]:43693", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 404 (404 Not Found) +2024/04/11 18:39:38 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2024/04/11 18:34:34 [INFO] creating application hashicorp/newproject -2024/04/11 18:34:34 [INFO] request: POST /api/v1/vagrant/applications -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18942d0), 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)(0x1896150)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38317", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2024/04/11 18:39:38 [INFO] creating application hashicorp/newproject +2024/04/11 18:39:38 [INFO] request: POST /api/v1/vagrant/applications +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x247ed20), 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)(0x24925d0)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44147", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2024/04/11 18:34:34 [INFO] creating application hashicorp/existing -2024/04/11 18:34:34 [INFO] request: POST /api/v1/vagrant/applications -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18782d0), 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)(0x187c138)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42113", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 409 (409 Conflict) -2024/04/11 18:34:34 [DEBUG] response: ---- PASS: TestCreateApp_returnsErrorExistingApp (0.01s) +2024/04/11 18:39:38 [INFO] creating application hashicorp/existing +2024/04/11 18:39:38 [INFO] request: POST /api/v1/vagrant/applications +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x25a02d0), 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)(0x2584108)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39715", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 409 (409 Conflict) +2024/04/11 18:39:38 [DEBUG] response: +--- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2024/04/11 18:34:34 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2024/04/11 18:34:34 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x191ac30), 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)(0x193a588)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44815", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: {"upload_path":"http://[::]:44815/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2024/04/11 18:34:34 [INFO] putting file: http://[::]:44815/_binstore/630e42d9-2364-2412-4121-18266770468e -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x18947d0), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44815", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: ---- PASS: TestUploadApp_createsAndReturnsVersion (0.01s) +2024/04/11 18:39:38 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2024/04/11 18:39:38 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x25a08c0), 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)(0x2584408)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35075", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: {"upload_path":"http://[::]:35075/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2024/04/11 18:39:38 [INFO] putting file: http://[::]:35075/_binstore/630e42d9-2364-2412-4121-18266770468e +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x247efa0), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35075", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: +--- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) === RUN TestArtifact_fetchesArtifact -2024/04/11 18:34:34 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x18786e0), 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:"[::]:33415", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x247f400), 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:"[::]:35539", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -653,18 +689,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2024/04/11 18:34:34 [INFO] getting application hashicorp/newproject -2024/04/11 18:34:34 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1894c80), 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:"[::]:41185", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 404 (404 Not Found) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] getting application hashicorp/newproject +2024/04/11 18:39:38 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x247f9a0), 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:"[::]:37743", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 404 (404 Not Found) +2024/04/11 18:39:38 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2024/04/11 18:34:34 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2024/04/11 18:34:34 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1878b40), 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:"[::]:44919", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2024/04/11 18:39:38 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x247fe50), 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:"[::]:32947", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -675,11 +711,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2024/04/11 18:34:34 [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/04/11 18:34:34 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x191b180), 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:"[::]:46459", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [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/04/11 18:39:38 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x2618550), 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:"[::]:38245", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -694,20 +730,20 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2024/04/11 18:34:34 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2024/04/11 18:34:34 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x191b860), 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)(0x193ab10)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36709", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2024/04/11 18:39:38 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2618dc0), 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)(0x24933b0)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40425", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { - "upload_path": "http://[::]:36709/_binstore/" + "upload_path": "http://[::]:40425/_binstore/" } -2024/04/11 18:34:34 [INFO] putting file: http://[::]:36709/_binstore/ -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1895090), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36709", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: ---- PASS: TestUploadArtifact (0.01s) +2024/04/11 18:39:38 [INFO] putting file: http://[::]:40425/_binstore/ +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x2619180), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40425", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: +--- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) === RUN TestMaskString_threeString @@ -719,11 +755,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2024/04/11 18:34:34 [INFO] getting build configuration hashicorp/existing -2024/04/11 18:34:34 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1879090), 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:"[::]:35649", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] getting build configuration hashicorp/existing +2024/04/11 18:39:38 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26195e0), 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:"[::]:40421", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -731,11 +767,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2024/04/11 18:34:34 [INFO] creating build configuration hashicorp/new -2024/04/11 18:34:34 [INFO] request: POST /api/v1/packer/build-configurations -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x191bd60), 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)(0x193ad98)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33825", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] creating build configuration hashicorp/new +2024/04/11 18:39:38 [INFO] request: POST /api/v1/packer/build-configurations +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2619b80), 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)(0x2493a70)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45397", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -745,20 +781,20 @@ --- PASS: TestCreateBuildConfig (0.00s) === RUN TestUploadBuildConfigVersion -2024/04/11 18:34:34 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2024/04/11 18:34:34 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18956d0), 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)(0x1896ac8)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40693", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2024/04/11 18:39:38 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x2636320), 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)(0x2493de8)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43267", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { - "upload_path": "http://[::]:40693/_binstore/" + "upload_path": "http://[::]:43267/_binstore/" } -2024/04/11 18:34:34 [INFO] putting file: http://[::]:40693/_binstore/ -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x1879450), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40693", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: ---- PASS: TestUploadBuildConfigVersion (0.01s) +2024/04/11 18:39:38 [INFO] putting file: http://[::]:43267/_binstore/ +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x25a0cd0), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43267", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: +--- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) === RUN TestDefaultClient_urlFromEnvVar @@ -774,73 +810,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2024/04/11 18:34:34 [INFO] logging in user +2024/04/11 18:39:38 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2024/04/11 18:34:34 [INFO] logging in user username +2024/04/11 18:39:38 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2024/04/11 18:34:34 [INFO] logging in user username -2024/04/11 18:34:34 [INFO] request: POST /api/v1/authenticate -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18f83c0), 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)(0x1896e28)}, GetBody:(func() (io.ReadCloser, error))(0x2ef0c0), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42759", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 401 (401 Unauthorized) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] logging in user username +2024/04/11 18:39:38 [INFO] request: POST /api/v1/authenticate +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x25a1900), 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)(0x25849a8)}, GetBody:(func() (io.ReadCloser, error))(0x2ef0c0), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44159", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 401 (401 Unauthorized) +2024/04/11 18:39:38 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2024/04/11 18:34:34 [INFO] logging in user sethloves -2024/04/11 18:34:34 [INFO] request: POST /api/v1/authenticate -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x18f8780), 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)(0x1897038)}, GetBody:(func() (io.ReadCloser, error))(0x2ef0c0), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35723", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] logging in user sethloves +2024/04/11 18:39:38 [INFO] request: POST /api/v1/authenticate +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x25a1d60), 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)(0x2584be8)}, GetBody:(func() (io.ReadCloser, error))(0x2ef0c0), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43137", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2024/04/11 18:34:34 [DEBUG] setting atlas token (pX4*** (masked)) +2024/04/11 18:39:38 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2024/04/11 18:34:34 [INFO] request: GET /api/v1/token -2024/04/11 18:34:34 [DEBUG] request: appending token (a.a*** (masked)) -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1a126e0), 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:"[::]:38757", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] request: GET /api/v1/token +2024/04/11 18:39:38 [DEBUG] request: appending token (a.a*** (masked)) +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x25fc370), 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:"[::]:41741", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2024/04/11 18:34:34 [INFO] request: GET /_status/200 -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x18f8c30), 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:"[::]:33513", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] request: GET /_status/200 +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x25fc7d0), 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:"[::]:35909", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2024/04/11 18:34:34 [INFO] request: GET /_rails-error -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1879ae0), 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:"[::]:34325", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 422 (422 Unprocessable Entity) -2024/04/11 18:34:34 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2024/04/11 18:39:38 [INFO] request: GET /_rails-error +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x25fcc80), 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:"[::]:45823", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 422 (422 Unprocessable Entity) +2024/04/11 18:39:38 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2024/04/11 18:34:34 [INFO] request: GET /_status/404 -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1aca000), 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:"[::]:45609", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 404 (404 Not Found) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] request: GET /_status/404 +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26a0320), 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:"[::]:42743", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 404 (404 Not Found) +2024/04/11 18:39:38 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2024/04/11 18:34:34 [INFO] request: GET /_json -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x1aca3c0), 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:"[::]:42255", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: {"ok": true} +2024/04/11 18:39:38 [INFO] request: GET /_json +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26a07d0), 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:"[::]:36075", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2024/04/11 18:34:34 [INFO] request: GET /_test -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x19ba410), 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:"[::]:43409", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: {"RawPath":"","Host":"[::]:43409","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":""} +2024/04/11 18:39:38 [INFO] request: GET /_test +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26a0c80), 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:"[::]:39915", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: {"RawPath":"","Host":"[::]:39915","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/04/11 18:34:34 [INFO] getting terraform configuration hashicorp/existing -2024/04/11 18:34:34 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x18f90e0), 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:"[::]:34377", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] getting terraform configuration hashicorp/existing +2024/04/11 18:39:38 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x26a1220), 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:"[::]:38579", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "version": { "version": 5, @@ -851,21 +887,21 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2024/04/11 18:34:34 [INFO] creating terraform configuration hashicorp/existing -2024/04/11 18:34:34 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x19ba960), 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)(0x193b338)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39071", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: +2024/04/11 18:39:38 [INFO] creating terraform configuration hashicorp/existing +2024/04/11 18:39:38 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x26a1810), 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)(0x26849f0)}, GetBody:(func() (io.ReadCloser, error))(0x2ef214), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45505", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:39071/_binstore/" + "upload_path": "http://[::]:45505/_binstore/" } -2024/04/11 18:34:34 [INFO] putting file: http://[::]:39071/_binstore/ -2024/04/11 18:34:34 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x18f9400), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39071", Form:url.Values(nil), PostForm:url.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/04/11 18:34:34 [INFO] response: 200 (200 OK) -2024/04/11 18:34:34 [DEBUG] response: ---- PASS: TestCreateTerraformConfigVersion (0.01s) +2024/04/11 18:39:38 [INFO] putting file: http://[::]:45505/_binstore/ +2024/04/11 18:39:38 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x26a1c20), 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))(0x3185d4), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45505", Form:url.Values(nil), PostForm:url.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/04/11 18:39:38 [INFO] response: 200 (200 OK) +2024/04/11 18:39:38 [DEBUG] response: +--- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) === RUN TestParseSlug_noSlashes @@ -875,7 +911,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.150s +ok github.com/hashicorp/atlas-go/v1 0.073s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -903,12 +939,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/21557/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21557/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/27867 and its subdirectories -I: Current time: Thu Apr 11 06:35:04 -12 2024 -I: pbuilder-time-stamp: 1712860504 +I: removing directory /srv/workspace/pbuilder/21557 and its subdirectories +I: Current time: Fri Apr 12 08:39:54 +14 2024 +I: pbuilder-time-stamp: 1712860794