Diff of the two buildlogs: -- --- b1/build.log 2024-05-17 02:30:08.762933313 +0000 +++ b2/build.log 2024-05-17 02:32:20.861317442 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 16 14:29:18 -12 2024 -I: pbuilder-time-stamp: 1715912958 +I: Current time: Fri May 17 16:30:12 +14 2024 +I: pbuilder-time-stamp: 1715913012 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/122581/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2832699/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 May 17 02:30 /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/2832699/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2832699/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='7b6b616726594632891b05e30e0d9036' - 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='122581' - PS1='# ' - PS2='> ' + INVOCATION_ID=36c221d0e0594c9b964db87edd2a4447 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2832699 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.Xk04EjwS/pbuilderrc_v1xc --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.Xk04EjwS/b1 --logfile b1/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Xk04EjwS/pbuilderrc_zEYZ --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.Xk04EjwS/b2 --logfile b2/build.log golang-github-hashicorp-atlas-go_0.0~git20230125.46e9b3e-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 15 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/122581/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 14 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2832699/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 arm64 golang-github-hashicorp-go-cleanhttp-dev all 0.5.2-1 [10.8 kB] Get: 38 http://deb.debian.org/debian trixie/main arm64 golang-github-hashicorp-go-version-dev all 1.6.0-1 [16.0 kB] Get: 39 http://deb.debian.org/debian trixie/main arm64 golang-github-hashicorp-go-rootcerts-dev all 1.0.2-2 [8356 B] -Fetched 59.0 MB in 0s (192 MB/s) +Fetched 59.0 MB in 1s (58.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19744 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/2832699/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2832699/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 @@ -347,36 +383,36 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 12 github.com/hashicorp/atlas-go/archive github.com/hashicorp/atlas-go/v1 -internal/goexperiment internal/goos -internal/goarch -unicode/utf8 internal/race internal/godebugs -internal/cpu +internal/unsafeheader +internal/goexperiment +internal/coverage/rtcov +internal/goarch internal/itoa -sync/atomic +unicode/utf8 runtime/internal/syscall -internal/unsafeheader +math/bits +internal/cpu +sync/atomic unicode +cmp +container/list +log/internal +crypto/internal/alias internal/abi internal/chacha8rand -internal/coverage/rtcov runtime/internal/math runtime/internal/sys -math/bits -cmp -log/internal -container/list -crypto/internal/alias +slices +math crypto/subtle crypto/internal/boring/sig unicode/utf16 -slices vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias -math encoding internal/bytealg runtime/internal/atomic @@ -384,79 +420,79 @@ internal/reflectlite sync internal/testlog -internal/bisect internal/singleflight +internal/bisect runtime/cgo errors sort internal/godebug -strconv io -crypto/internal/nistec/fiat -internal/safefilepath +strconv internal/oserror +internal/safefilepath path +crypto/internal/nistec/fiat vendor/golang.org/x/net/dns/dnsmessage +syscall math/rand -internal/intern bytes strings -hash -crypto/internal/randutil -syscall -hash/crc32 +internal/intern reflect -crypto +crypto/internal/randutil +hash crypto/rc4 net/netip +hash/crc32 +crypto vendor/golang.org/x/text/transform bufio regexp/syntax net/http/internal/ascii -regexp internal/syscall/unix time internal/syscall/execenv +regexp internal/fmtsort encoding/binary +internal/poll +io/fs +context +embed crypto/cipher +crypto/internal/edwards25519/field +crypto/internal/nistec crypto/md5 encoding/base64 -crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 -io/fs -internal/poll -context -encoding/pem +os crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/internal/edwards25519 -crypto/aes -crypto/sha256 -crypto/hmac +encoding/pem crypto/sha512 crypto/sha1 -embed +crypto/aes +crypto/hmac +crypto/sha256 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 -os -crypto/internal/nistec crypto/ecdh -io/ioutil fmt path/filepath -net +io/ioutil os/exec +net os/user -github.com/hashicorp/go-version compress/flate -encoding/hex +github.com/hashicorp/go-version +vendor/golang.org/x/text/unicode/norm math/big -encoding/json log -vendor/golang.org/x/text/unicode/norm +encoding/hex net/url +encoding/json vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable @@ -466,11 +502,11 @@ vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/elliptic -crypto/dsa -crypto/rand -crypto/internal/boring/bbig crypto/internal/bigmod +crypto/internal/boring/bbig encoding/asn1 +crypto/rand +crypto/dsa crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte @@ -478,9 +514,9 @@ crypto/ecdsa archive/tar github.com/hashicorp/atlas-go/archive -vendor/golang.org/x/net/http/httpproxy -net/textproto crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -494,25 +530,25 @@ === RUN TestArchiveOptsIsSet --- PASS: TestArchiveOptsIsSet (0.00s) === RUN TestArchive_file -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-file/foo.txt ---- PASS: TestArchive_file (0.00s) +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-file/foo.txt +--- PASS: TestArchive_file (0.04s) === RUN TestArchive_fileCompressed -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-file-compressed/file.tar.gz --- PASS: TestArchive_fileCompressed (0.00s) === RUN TestArchive_fileNoExist -2024/05/17 02:29:57 [INFO] creating archive from /tmp/test520663113 +2024/05/17 02:31:54 [INFO] creating archive from /tmp/test1633504985 --- PASS: TestArchive_fileNoExist (0.00s) === RUN TestArchive_fileWithOpts -2024/05/17 02:29:57 [INFO] creating archive from /tmp/test3662958411 +2024/05/17 02:31:54 [INFO] creating archive from /tmp/test1920919940 --- PASS: TestArchive_fileWithOpts (0.00s) === RUN TestArchive_dirExtra -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirExtra (0.00s) +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirExtra (0.01s) === RUN TestArchive_dirExtraDir -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-flat +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDir (0.00s) === RUN TestArchive_dirExtraDirHeader -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-flat +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-flat --- PASS: TestArchive_dirExtraDirHeader (0.00s) === RUN TestArchive_dirMode archive_test.go:205: Skip this test in Debian @@ -524,23 +560,23 @@ archive_test.go:249: Skip this test in Debian --- SKIP: TestArchive_dirWithSymlink (0.00s) === RUN TestArchive_dirWithSymlinkToFile -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-symlink-file/link ---- PASS: TestArchive_dirWithSymlinkToFile (0.00s) +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-symlink-file/link +--- PASS: TestArchive_dirWithSymlinkToFile (0.01s) === RUN TestArchive_dirNoVCS -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-flat ---- PASS: TestArchive_dirNoVCS (0.00s) +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-flat +--- PASS: TestArchive_dirNoVCS (0.01s) === RUN TestArchive_dirSubdirsNoVCS -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-subdir +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-subdir --- PASS: TestArchive_dirSubdirsNoVCS (0.00s) === RUN TestArchive_dirExclude -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirExclude (0.00s) +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirExclude (0.01s) === RUN TestArchive_dirInclude -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-subdir ---- PASS: TestArchive_dirInclude (0.00s) +2024/05/17 02:31:54 [INFO] creating archive from test-fixtures/archive-subdir +--- PASS: TestArchive_dirInclude (0.02s) === RUN TestArchive_dirIncludeStar -2024/05/17 02:29:57 [INFO] creating archive from test-fixtures/archive-subdir-splat ---- PASS: TestArchive_dirIncludeStar (0.00s) +2024/05/17 02:31:54 [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: @@ -590,15 +626,15 @@ vcs_test.go:240: --- SKIP: TestVCSPathDetect_hg_absolute (0.00s) PASS -ok github.com/hashicorp/atlas-go/archive 0.020s +ok github.com/hashicorp/atlas-go/archive 0.188s === RUN TestSlug_returnsSlug --- PASS: TestSlug_returnsSlug (0.00s) === RUN TestApp_fetchesApp -2024/05/17 02:30:02 [INFO] getting application hashicorp/existing -2024/05/17 02:30:02 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40000f6120), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35981", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] getting application hashicorp/existing +2024/05/17 02:32:08 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/existing +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40000f2120), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45319", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "username": "hashicorp", "name": "existing", @@ -606,44 +642,44 @@ "private": true } ---- PASS: TestApp_fetchesApp (0.00s) +--- PASS: TestApp_fetchesApp (0.01s) === RUN TestApp_returnsErrorNoApp -2024/05/17 02:30:02 [INFO] getting application hashicorp/newproject -2024/05/17 02:30:02 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001203f0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41261", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 404 (404 Not Found) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] getting application hashicorp/newproject +2024/05/17 02:32:08 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40000f27e0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39981", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 404 (404 Not Found) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestApp_returnsErrorNoApp (0.00s) === RUN TestCreateApp_createsAndReturnsApp -2024/05/17 02:30:02 [INFO] creating application hashicorp/newproject -2024/05/17 02:30:02 [INFO] request: POST /api/v1/vagrant/applications -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40000f6510), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x400009f6b0)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42669", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: {"username":"hashicorp","name":"newproject"} +2024/05/17 02:32:08 [INFO] creating application hashicorp/newproject +2024/05/17 02:32:08 [INFO] request: POST /api/v1/vagrant/applications +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40000f2e10), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40001a8360)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:60, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42423", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: {"username":"hashicorp","name":"newproject"} --- PASS: TestCreateApp_createsAndReturnsApp (0.00s) === RUN TestCreateApp_returnsErrorExistingApp -2024/05/17 02:30:02 [INFO] creating application hashicorp/existing -2024/05/17 02:30:02 [INFO] request: POST /api/v1/vagrant/applications -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000280360), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40002864b0)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33925", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 409 (409 Conflict) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] creating application hashicorp/existing +2024/05/17 02:32:08 [INFO] request: POST /api/v1/vagrant/applications +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40000f33b0), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40001a8c00)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:58, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35165", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 409 (409 Conflict) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestCreateApp_returnsErrorExistingApp (0.00s) === RUN TestUploadApp_createsAndReturnsVersion -2024/05/17 02:30:02 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] -2024/05/17 02:30:02 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000120990), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x4000111170)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34501", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: {"upload_path":"http://[::]:34501/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} -2024/05/17 02:30:02 [INFO] putting file: http://[::]:34501/_binstore/630e42d9-2364-2412-4121-18266770468e -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000120ea0), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34501", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: ---- PASS: TestUploadApp_createsAndReturnsVersion (0.00s) +2024/05/17 02:32:08 [INFO] uploading application hashicorp/existing (0 bytes) with metadata map["testing":%!q(bool=true)] +2024/05/17 02:32:08 [INFO] request: POST /api/v1/vagrant/applications/hashicorp/existing/versions +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40000f3a70), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40001a9860)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:45, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42137", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: {"upload_path":"http://[::]:42137/_binstore/630e42d9-2364-2412-4121-18266770468e","token":"630e42d9-2364-2412-4121-18266770468e","version":125} +2024/05/17 02:32:08 [INFO] putting file: http://[::]:42137/_binstore/630e42d9-2364-2412-4121-18266770468e +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x40001ca120), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42137", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: +--- PASS: TestUploadApp_createsAndReturnsVersion (0.01s) === RUN TestArtifact_fetchesArtifact -2024/05/17 02:30:02 [INFO] request: GET /api/v1/artifacts/hashicorp/existing -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400032c1b0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35915", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] request: GET /api/v1/artifacts/hashicorp/existing +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001ca5a0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45253", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "artifact": { "username": "hashicorp", @@ -654,18 +690,18 @@ --- PASS: TestArtifact_fetchesArtifact (0.00s) === RUN TestArtifact_returnsErrorNoArtifact -2024/05/17 02:30:02 [INFO] getting application hashicorp/newproject -2024/05/17 02:30:02 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400022a630), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44665", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 404 (404 Not Found) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] getting application hashicorp/newproject +2024/05/17 02:32:08 [INFO] request: GET /api/v1/vagrant/applications/hashicorp/newproject +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001cacf0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33107", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 404 (404 Not Found) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestArtifact_returnsErrorNoArtifact (0.00s) === RUN TestArtifactSearch_fetches -2024/05/17 02:30:02 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000121200), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:36195", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing1", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] request: GET /api/v1/artifacts/hashicorp/existing1/amazon-ami/search +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001cb290), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35933", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -676,11 +712,11 @@ --- PASS: TestArtifactSearch_fetches (0.00s) === RUN TestArtifactSearch_metadata -2024/05/17 02:30:02 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"bar":"943febbf-589f-401b-8f25-58f6d8786848", "foo":"bar"}} -2024/05/17 02:30:02 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400022ad80), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42095", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] searching artifacts: &atlas.ArtifactSearchOpts{User:"hashicorp", Name:"existing2", Type:"amazon-ami", Build:"", Version:"", Metadata:map[string]string{"bar":"943febbf-589f-401b-8f25-58f6d8786848", "foo":"bar"}} +2024/05/17 02:32:08 [INFO] request: GET /api/v1/artifacts/hashicorp/existing2/amazon-ami/search +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001cb9e0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33101", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "versions": [{ "username": "hashicorp", @@ -695,19 +731,19 @@ === RUN TestArtifactFileURL_nil --- PASS: TestArtifactFileURL_nil (0.00s) === RUN TestUploadArtifact -2024/05/17 02:30:02 [INFO] uploading artifact: hashicorp/existing (amazon-ami) -2024/05/17 02:30:02 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x400032ca20), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x400031ee40)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37285", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] uploading artifact: hashicorp/existing (amazon-ami) +2024/05/17 02:32:08 [INFO] request: POST /api/v1/artifacts/hashicorp/existing/amazon-ami +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40001ec2d0), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40001e2f30)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:86, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44237", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { - "upload_path": "http://[::]:37285/_binstore/" + "upload_path": "http://[::]:44237/_binstore/" } -2024/05/17 02:30:02 [INFO] putting file: http://[::]:37285/_binstore/ -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x400022b290), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37285", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] putting file: http://[::]:44237/_binstore/ +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x40001ec7e0), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44237", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestUploadArtifact (0.00s) === RUN TestMaskString_emptyString --- PASS: TestMaskString_emptyString (0.00s) @@ -720,11 +756,11 @@ === RUN TestBuildConfigVersion_slug --- PASS: TestBuildConfigVersion_slug (0.00s) === RUN TestBuildConfig_fetches -2024/05/17 02:30:02 [INFO] getting build configuration hashicorp/existing -2024/05/17 02:30:02 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400032cea0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35295", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] getting build configuration hashicorp/existing +2024/05/17 02:32:08 [INFO] request: GET /api/v1/packer/build-configurations/hashicorp/existing +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40001ecc60), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40369", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "username": "hashicorp", "name": "existing" @@ -732,11 +768,11 @@ --- PASS: TestBuildConfig_fetches (0.00s) === RUN TestCreateBuildConfig -2024/05/17 02:30:02 [INFO] creating build configuration hashicorp/new -2024/05/17 02:30:02 [INFO] request: POST /api/v1/packer/build-configurations -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000280b40), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x4000286f00)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38173", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] creating build configuration hashicorp/new +2024/05/17 02:32:08 [INFO] request: POST /api/v1/packer/build-configurations +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40001ed3b0), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x4000202900)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:61, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40689", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "username":"hashicorp", "name":"new", @@ -744,21 +780,21 @@ "private":true } ---- PASS: TestCreateBuildConfig (0.00s) +--- PASS: TestCreateBuildConfig (0.02s) === RUN TestUploadBuildConfigVersion -2024/05/17 02:30:02 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] -2024/05/17 02:30:02 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000121b00), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x4000402870)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35719", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] uploading build configuration version hashicorp/existing (0 bytes), with metadata map["testing":%!q(bool=true)] +2024/05/17 02:32:08 [INFO] request: POST /api/v1/packer/build-configurations/hashicorp/existing/versions +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40002805a0), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40002867e0)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:159, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38165", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { - "upload_path": "http://[::]:35719/_binstore/" + "upload_path": "http://[::]:38165/_binstore/" } -2024/05/17 02:30:02 [INFO] putting file: http://[::]:35719/_binstore/ -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000121e60), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:35719", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] putting file: http://[::]:38165/_binstore/ +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000280b40), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38165", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestUploadBuildConfigVersion (0.00s) === RUN TestDefaultClient_url --- PASS: TestDefaultClient_url (0.00s) @@ -775,73 +811,73 @@ === RUN TestNewClient_setsDefaultHTTPClient --- PASS: TestNewClient_setsDefaultHTTPClient (0.00s) === RUN TestLogin_missingUsername -2024/05/17 02:30:02 [INFO] logging in user +2024/05/17 02:32:08 [INFO] logging in user --- PASS: TestLogin_missingUsername (0.00s) === RUN TestLogin_missingPassword -2024/05/17 02:30:02 [INFO] logging in user username +2024/05/17 02:32:08 [INFO] logging in user username --- PASS: TestLogin_missingPassword (0.00s) === RUN TestLogin_serverErrorMessage -2024/05/17 02:30:02 [INFO] logging in user username -2024/05/17 02:30:02 [INFO] request: POST /api/v1/authenticate -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40004186c0), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x4000118620)}, GetBody:(func() (io.ReadCloser, error))(0x662900), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38855", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 401 (401 Unauthorized) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] logging in user username +2024/05/17 02:32:08 [INFO] request: POST /api/v1/authenticate +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x40002814d0), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x40002902e0)}, GetBody:(func() (io.ReadCloser, error))(0x662900), ContentLength:105, TransferEncoding:[]string(nil), Close:false, Host:"[::]:33331", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 401 (401 Unauthorized) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestLogin_serverErrorMessage (0.00s) === RUN TestLogin_success -2024/05/17 02:30:02 [INFO] logging in user sethloves -2024/05/17 02:30:02 [INFO] request: POST /api/v1/authenticate -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000281200), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x4000290460)}, GetBody:(func() (io.ReadCloser, error))(0x662900), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:41411", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] logging in user sethloves +2024/05/17 02:32:08 [INFO] request: POST /api/v1/authenticate +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000281a70), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*strings.Reader)(0x4000290440)}, GetBody:(func() (io.ReadCloser, error))(0x662900), ContentLength:103, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38633", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "token": "pX4AQ5vO7T-xJrxsnvlB0cfeF-tGUX-A-280LPxoryhDAbwmox7PKinMgA1F6R3BKaT" } -2024/05/17 02:30:02 [DEBUG] setting atlas token (pX4*** (masked)) +2024/05/17 02:32:08 [DEBUG] setting atlas token (pX4*** (masked)) --- PASS: TestLogin_success (0.00s) === RUN TestRequest_tokenAuth -2024/05/17 02:30:02 [INFO] request: GET /api/v1/token -2024/05/17 02:30:02 [DEBUG] request: appending token (a.a*** (masked)) -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000418c60), 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.3)"}, "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:"[::]:33479", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] request: GET /api/v1/token +2024/05/17 02:32:08 [DEBUG] request: appending token (a.a*** (masked)) +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000310120), 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.3)"}, "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:"[::]:38073", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestRequest_tokenAuth (0.00s) === RUN TestRequest_getsData -2024/05/17 02:30:02 [INFO] request: GET /_status/200 -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40004190e0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38221", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] request: GET /_status/200 +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40003106c0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42805", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestRequest_getsData (0.00s) === RUN TestRequest_railsError -2024/05/17 02:30:02 [INFO] request: GET /_rails-error -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000281950), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:42159", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 422 (422 Unprocessable Entity) -2024/05/17 02:30:02 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} +2024/05/17 02:32:08 [INFO] request: GET /_rails-error +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000310c60), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38099", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 422 (422 Unprocessable Entity) +2024/05/17 02:32:08 [DEBUG] response: {"errors": ["this is an error", "this is another error"]} --- PASS: TestRequest_railsError (0.00s) === RUN TestRequest_notFoundError -2024/05/17 02:30:02 [INFO] request: GET /_status/404 -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400032d710), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:37003", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 404 (404 Not Found) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] request: GET /_status/404 +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000311290), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38601", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 404 (404 Not Found) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestRequest_notFoundError (0.00s) === RUN TestRequestJSON_decodesData -2024/05/17 02:30:02 [INFO] request: GET /_json -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400032da70), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:39417", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: {"ok": true} +2024/05/17 02:32:08 [INFO] request: GET /_json +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000311830), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:38269", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: {"ok": true} --- PASS: TestRequestJSON_decodesData (0.00s) === RUN TestClient_defaultHeaders -2024/05/17 02:30:02 [INFO] request: GET /_test -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x400032def0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:34143", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: {"RawPath":"","Host":"[::]:34143","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.3)"]},"Body":""} +2024/05/17 02:32:08 [INFO] request: GET /_test +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000311e60), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:45795", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: {"RawPath":"","Host":"[::]:45795","Header":{"Accept-Encoding":["gzip"],"Atlas-Test":["default header test"],"Connection":["close"],"User-Agent":["AtlasGo/1.0 (+https://github.com/hashicorp/atlas-go; go1.22.3)"]},"Body":""} --- PASS: TestClient_defaultHeaders (0.00s) === RUN TestTerraformConfigLatest -2024/05/17 02:30:02 [INFO] getting terraform configuration hashicorp/existing -2024/05/17 02:30:02 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x4000500360), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:40883", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] getting terraform configuration hashicorp/existing +2024/05/17 02:32:08 [INFO] request: GET /api/v1/terraform/configurations/hashicorp/existing/versions/latest +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"GET", URL:(*url.URL)(0x40003345a0), 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.3)"}}, Body:io.ReadCloser(nil), GetBody:(func() (io.ReadCloser, error))(nil), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:32835", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "version": { "version": 5, @@ -852,20 +888,20 @@ --- PASS: TestTerraformConfigLatest (0.00s) === RUN TestCreateTerraformConfigVersion -2024/05/17 02:30:02 [INFO] creating terraform configuration hashicorp/existing -2024/05/17 02:30:02 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000500a20), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x4000377b00)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44771", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] creating terraform configuration hashicorp/existing +2024/05/17 02:32:08 [INFO] request: POST /api/v1/terraform/configurations/hashicorp/existing/versions +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"POST", URL:(*url.URL)(0x4000334990), 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.3)"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0x40003388d0)}, GetBody:(func() (io.ReadCloser, error))(0x662a70), ContentLength:80, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43507", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: { "version": 5, - "upload_path": "http://[::]:44771/_binstore/" + "upload_path": "http://[::]:43507/_binstore/" } -2024/05/17 02:30:02 [INFO] putting file: http://[::]:44771/_binstore/ -2024/05/17 02:30:02 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000500ea0), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:44771", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} -2024/05/17 02:30:02 [INFO] response: 200 (200 OK) -2024/05/17 02:30:02 [DEBUG] response: +2024/05/17 02:32:08 [INFO] putting file: http://[::]:43507/_binstore/ +2024/05/17 02:32:08 [DEBUG] raw request: &http.Request{Method:"PUT", URL:(*url.URL)(0x4000134360), 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.3)"}}, Body:http.noBody{}, GetBody:(func() (io.ReadCloser, error))(0x689280), ContentLength:0, TransferEncoding:[]string(nil), Close:false, Host:"[::]:43507", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:context.backgroundCtx{emptyCtx:context.emptyCtx{}}, pat:(*http.pattern)(nil), matches:[]string(nil), otherValues:map[string]string(nil)} +2024/05/17 02:32:08 [INFO] response: 200 (200 OK) +2024/05/17 02:32:08 [DEBUG] response: --- PASS: TestCreateTerraformConfigVersion (0.00s) === RUN TestParseSlug_emptyString --- PASS: TestParseSlug_emptyString (0.00s) @@ -876,7 +912,7 @@ === RUN TestParseSlug_goodString --- PASS: TestParseSlug_goodString (0.00s) PASS -ok github.com/hashicorp/atlas-go/v1 0.039s +ok github.com/hashicorp/atlas-go/v1 0.110s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -904,12 +940,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/2832699/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2832699/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/122581 and its subdirectories -I: Current time: Thu May 16 14:30:07 -12 2024 -I: pbuilder-time-stamp: 1715913007 +I: removing directory /srv/workspace/pbuilder/2832699 and its subdirectories +I: Current time: Fri May 17 16:32:19 +14 2024 +I: pbuilder-time-stamp: 1715913139