Diff of the two buildlogs: -- --- b1/build.log 2024-05-05 13:35:57.273678770 +0000 +++ b2/build.log 2024-05-05 13:42:38.044623982 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 7 07:56:39 -12 2025 -I: pbuilder-time-stamp: 1749326199 +I: Current time: Mon May 6 03:36:00 +14 2024 +I: pbuilder-time-stamp: 1714916160 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 0001-disable-failing-test.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2464397/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1468367/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 5 13:36 /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/1468367/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1468367/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='e9af1e72b1db41128a83d65c8a2814cf' - 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='2464397' - PS1='# ' - PS2='> ' + INVOCATION_ID=8d53c2285f9f42a097d0e757af07d99b + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1468367 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.UuOedsQ8/pbuilderrc_ecrI --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.UuOedsQ8/b1 --logfile b1/build.log golang-github-hashicorp-hcl-v2_2.14.1-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.UuOedsQ8/pbuilderrc_DKdN --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.UuOedsQ8/b2 --logfile b2/build.log golang-github-hashicorp-hcl-v2_2.14.1-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 5 14:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2464397/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 5 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1468367/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -204,7 +236,7 @@ Get: 61 http://deb.debian.org/debian trixie/main amd64 golang-gopkg-vmihailenco-msgpack.v2-dev all 4.3.1-2 [27.5 kB] Get: 62 http://deb.debian.org/debian trixie/main amd64 golang-github-zclconf-go-cty-dev all 1.12.1-1 [177 kB] Get: 63 http://deb.debian.org/debian trixie/main amd64 golang-github-zclconf-go-cty-debug-dev all 0.0~git20191215.b22d67c-2 [8704 B] -Fetched 72.9 MB in 7s (10.4 MB/s) +Fetched 72.9 MB in 7s (10.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 ... 19695 files and directories currently installed.) @@ -471,7 +503,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-hashicorp-hcl-v2-2.14.1/ && 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-hcl-v2_2.14.1-2_source.changes +I: user script /srv/workspace/pbuilder/1468367/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1468367/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-hashicorp-hcl-v2-2.14.1/ && 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-hcl-v2_2.14.1-2_source.changes dpkg-buildpackage: info: source package golang-github-hashicorp-hcl-v2 dpkg-buildpackage: info: source version 2.14.1-2 dpkg-buildpackage: info: source distribution unstable @@ -493,32 +529,32 @@ dh_auto_build: warning: github.com/hashicorp/hcl/v2/hclwrite/fuzz contains no non-test Go files, removing it from build dh_auto_build: warning: github.com/hashicorp/hcl/v2/json/fuzz contains no non-test Go files, removing it from build dh_auto_build: warning: github.com/hashicorp/hcl/v2/specsuite contains no non-test Go files, removing it from build - cd _build && go install -trimpath -v -p 42 github.com/hashicorp/hcl/v2 github.com/hashicorp/hcl/v2/cmd/hcldec github.com/hashicorp/hcl/v2/cmd/hclfmt github.com/hashicorp/hcl/v2/cmd/hclspecsuite github.com/hashicorp/hcl/v2/ext/customdecode github.com/hashicorp/hcl/v2/ext/dynblock github.com/hashicorp/hcl/v2/ext/transform github.com/hashicorp/hcl/v2/ext/tryfunc github.com/hashicorp/hcl/v2/ext/typeexpr github.com/hashicorp/hcl/v2/ext/userfunc github.com/hashicorp/hcl/v2/gohcl github.com/hashicorp/hcl/v2/hcldec github.com/hashicorp/hcl/v2/hcled github.com/hashicorp/hcl/v2/hclparse github.com/hashicorp/hcl/v2/hclsimple github.com/hashicorp/hcl/v2/hclsyntax github.com/hashicorp/hcl/v2/hcltest github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/integrationtest github.com/hashicorp/hcl/v2/json -internal/itoa + cd _build && go install -trimpath -v -p 20 github.com/hashicorp/hcl/v2 github.com/hashicorp/hcl/v2/cmd/hcldec github.com/hashicorp/hcl/v2/cmd/hclfmt github.com/hashicorp/hcl/v2/cmd/hclspecsuite github.com/hashicorp/hcl/v2/ext/customdecode github.com/hashicorp/hcl/v2/ext/dynblock github.com/hashicorp/hcl/v2/ext/transform github.com/hashicorp/hcl/v2/ext/tryfunc github.com/hashicorp/hcl/v2/ext/typeexpr github.com/hashicorp/hcl/v2/ext/userfunc github.com/hashicorp/hcl/v2/gohcl github.com/hashicorp/hcl/v2/hcldec github.com/hashicorp/hcl/v2/hcled github.com/hashicorp/hcl/v2/hclparse github.com/hashicorp/hcl/v2/hclsimple github.com/hashicorp/hcl/v2/hclsyntax github.com/hashicorp/hcl/v2/hcltest github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/integrationtest github.com/hashicorp/hcl/v2/json +internal/coverage/rtcov +internal/godebugs +github.com/google/go-cmp/cmp/internal/flags internal/goarch -internal/unsafeheader -internal/race +internal/itoa internal/goos -encoding -math/bits +internal/goexperiment unicode/utf8 unicode -internal/coverage/rtcov +encoding +runtime/internal/syscall cmp -sync/atomic +internal/unsafeheader github.com/agext/levenshtein -runtime/internal/atomic -internal/goexperiment -github.com/hashicorp/hcl/v2/integrationtest -github.com/google/go-cmp/cmp/internal/flags -internal/cpu -internal/godebugs -runtime/internal/syscall unicode/utf16 -internal/nettrace -runtime/internal/math -internal/chacha8rand +internal/cpu +math/bits +internal/race +sync/atomic internal/abi +internal/chacha8rand +runtime/internal/atomic +runtime/internal/math +internal/nettrace +github.com/hashicorp/hcl/v2/integrationtest runtime/internal/sys slices internal/bytealg @@ -527,95 +563,95 @@ internal/reflectlite sync internal/testlog -internal/singleflight internal/bisect +internal/singleflight runtime/cgo +internal/godebug errors sort -internal/oserror +internal/intern +math/rand io +internal/oserror internal/safefilepath path -internal/godebug vendor/golang.org/x/net/dns/dnsmessage strconv +syscall +strings hash -internal/saferio -internal/intern bytes -math/rand -strings -reflect -syscall -hash/crc64 +internal/saferio hash/crc32 +hash/crc64 net/netip +reflect github.com/mitchellh/go-wordwrap golang.org/x/text/transform bufio regexp/syntax github.com/apparentlymart/go-textseg/textseg +internal/syscall/unix +internal/syscall/execenv +time regexp +internal/poll +io/fs +github.com/google/go-cmp/cmp/internal/diff +context +os internal/fmtsort encoding/binary github.com/google/go-cmp/cmp/internal/function -internal/syscall/execenv -internal/syscall/unix -time encoding/base64 -github.com/google/go-cmp/cmp/internal/diff -context -io/fs -internal/poll golang.org/x/sys/unix -os -io/ioutil -path/filepath fmt +path/filepath +io/ioutil +net os/exec -golang.org/x/term -github.com/zclconf/go-cty/cty/set encoding/json -github.com/google/go-cmp/cmp/internal/value +github.com/zclconf/go-cty/cty/set +runtime/debug encoding/hex encoding/csv -runtime/debug flag golang.org/x/text/unicode/norm +github.com/google/go-cmp/cmp/internal/value encoding/gob math/big github.com/google/go-cmp/cmp -golang.org/x/crypto/ssh/terminal +golang.org/x/term github.com/zclconf/go-cty/cty +golang.org/x/crypto/ssh/terminal github.com/zclconf/go-cty/cty/function github.com/zclconf/go-cty/cty/convert github.com/zclconf/go-cty-debug/ctydebug -net -github.com/hashicorp/hcl/v2 github.com/zclconf/go-cty/cty/gocty github.com/zclconf/go-cty/cty/json +github.com/hashicorp/hcl/v2 github.com/zclconf/go-cty/cty/function/stdlib -github.com/hashicorp/hcl/v2/hcled github.com/hashicorp/hcl/v2/ext/userfunc github.com/hashicorp/hcl/v2/ext/customdecode github.com/hashicorp/hcl/v2/ext/transform -github.com/hashicorp/hcl/v2/ext/tryfunc +github.com/hashicorp/hcl/v2/hcled github.com/hashicorp/hcl/v2/hcldec +github.com/hashicorp/hcl/v2/ext/tryfunc github.com/hashicorp/hcl/v2/ext/dynblock github.com/hashicorp/hcl/v2/hclsyntax +github.com/spf13/pflag +github.com/hashicorp/hcl/v2/hclwrite +github.com/hashicorp/hcl/v2/json github.com/hashicorp/hcl/v2/hcltest github.com/hashicorp/hcl/v2/ext/typeexpr -github.com/hashicorp/hcl/v2/json -github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/hclparse -github.com/hashicorp/hcl/v2/cmd/hclfmt github.com/hashicorp/hcl/v2/gohcl -github.com/hashicorp/hcl/v2/hclsimple -github.com/hashicorp/hcl/v2/cmd/hclspecsuite -github.com/spf13/pflag +github.com/hashicorp/hcl/v2/cmd/hclfmt github.com/hashicorp/hcl/v2/cmd/hcldec +github.com/hashicorp/hcl/v2/cmd/hclspecsuite +github.com/hashicorp/hcl/v2/hclsimple dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/hashicorp/hcl/v2 github.com/hashicorp/hcl/v2/cmd/hcldec github.com/hashicorp/hcl/v2/cmd/hclfmt github.com/hashicorp/hcl/v2/cmd/hclspecsuite github.com/hashicorp/hcl/v2/ext/customdecode github.com/hashicorp/hcl/v2/ext/dynblock github.com/hashicorp/hcl/v2/ext/transform github.com/hashicorp/hcl/v2/ext/tryfunc github.com/hashicorp/hcl/v2/ext/typeexpr github.com/hashicorp/hcl/v2/ext/userfunc github.com/hashicorp/hcl/v2/gohcl github.com/hashicorp/hcl/v2/hcldec github.com/hashicorp/hcl/v2/hcled github.com/hashicorp/hcl/v2/hclparse github.com/hashicorp/hcl/v2/hclsimple github.com/hashicorp/hcl/v2/hclsyntax github.com/hashicorp/hcl/v2/hclsyntax/fuzz github.com/hashicorp/hcl/v2/hcltest github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/hclwrite/fuzz github.com/hashicorp/hcl/v2/integrationtest github.com/hashicorp/hcl/v2/json github.com/hashicorp/hcl/v2/json/fuzz github.com/hashicorp/hcl/v2/specsuite + cd _build && go test -vet=off -v -p 20 github.com/hashicorp/hcl/v2 github.com/hashicorp/hcl/v2/cmd/hcldec github.com/hashicorp/hcl/v2/cmd/hclfmt github.com/hashicorp/hcl/v2/cmd/hclspecsuite github.com/hashicorp/hcl/v2/ext/customdecode github.com/hashicorp/hcl/v2/ext/dynblock github.com/hashicorp/hcl/v2/ext/transform github.com/hashicorp/hcl/v2/ext/tryfunc github.com/hashicorp/hcl/v2/ext/typeexpr github.com/hashicorp/hcl/v2/ext/userfunc github.com/hashicorp/hcl/v2/gohcl github.com/hashicorp/hcl/v2/hcldec github.com/hashicorp/hcl/v2/hcled github.com/hashicorp/hcl/v2/hclparse github.com/hashicorp/hcl/v2/hclsimple github.com/hashicorp/hcl/v2/hclsyntax github.com/hashicorp/hcl/v2/hclsyntax/fuzz github.com/hashicorp/hcl/v2/hcltest github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/hclwrite/fuzz github.com/hashicorp/hcl/v2/integrationtest github.com/hashicorp/hcl/v2/json github.com/hashicorp/hcl/v2/json/fuzz github.com/hashicorp/hcl/v2/specsuite === RUN TestDiagnosticTextWriter === RUN TestDiagnosticTextWriter/00 === RUN TestDiagnosticTextWriter/01 @@ -812,7 +848,7 @@ start: cty.NullVal(cty.EmptyObject) path: cty.Path{cty.GetAttrStep{Name:"foo"}} ops_test.go:257: : Attempt to get attribute from null value; This value is null, so it does not have any attributes. ---- PASS: TestApplyPath (0.00s) +--- PASS: TestApplyPath (0.01s) --- PASS: TestApplyPath/cty.StringVal("hello")_cty.Path(nil) (0.00s) --- PASS: TestApplyPath/cty.StringVal("hello")_cty.Path{cty.IndexStep{Key:cty.StringVal("boop")}} (0.00s) --- PASS: TestApplyPath/cty.StringVal("hello")_cty.Path{cty.IndexStep{Key:cty.NumberIntVal(0)}} (0.00s) @@ -844,19 +880,15 @@ --- PASS: TestApplyPath/cty.NullVal(cty.Map(cty.String))_cty.Path{cty.IndexStep{Key:cty.NumberIntVal(0)}} (0.00s) --- PASS: TestApplyPath/cty.NullVal(cty.EmptyObject)_cty.Path{cty.GetAttrStep{Name:"foo"}} (0.00s) === RUN TestIndex -=== RUN TestIndex/marked_map_key +=== RUN TestIndex/marked_object_key ops_test.go:373: testing Index - collection: cty.MapVal(map[string]cty.Value{"foo":cty.StringVal("a")}) + collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) key: cty.StringVal("foo").Mark("marked") -=== RUN TestIndex/missing_marked_map_key - ops_test.go:373: testing Index - collection: cty.MapVal(map[string]cty.Value{"foo":cty.StringVal("a")}) - key: cty.StringVal("bar").Mark("mark") - ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value. -=== RUN TestIndex/dynamic_key +=== RUN TestIndex/invalid_marked_object_key_type ops_test.go:373: testing Index - collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) - key: cty.DynamicVal + collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) + key: cty.ListVal([]cty.Value{cty.NullVal(cty.String)}).Mark("marked") + ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value: string required. === RUN TestIndex/missing_list_key ops_test.go:373: testing Index collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) @@ -867,62 +899,66 @@ collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) key: cty.NullVal(cty.Number).Mark("marked") ops_test.go:378: : Invalid index; Can't use a null value as an indexing key. +=== RUN TestIndex/dynamic_key + ops_test.go:373: testing Index + collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) + key: cty.DynamicVal +=== RUN TestIndex/missing_marked_map_key + ops_test.go:373: testing Index + collection: cty.MapVal(map[string]cty.Value{"foo":cty.StringVal("a")}) + key: cty.StringVal("bar").Mark("mark") + ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value. +=== RUN TestIndex/marked_key_to_maked_value + ops_test.go:373: testing Index + collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) + key: cty.NumberIntVal(0).Mark("marked") === RUN TestIndex/invalid_marked_key_type ops_test.go:373: testing Index collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) key: cty.StringVal("foo").Mark("marked") ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value: a number is required. -=== RUN TestIndex/marked_object_key +=== RUN TestIndex/marked_map_key ops_test.go:373: testing Index - collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) + collection: cty.MapVal(map[string]cty.Value{"foo":cty.StringVal("a")}) key: cty.StringVal("foo").Mark("marked") -=== RUN TestIndex/invalid_marked_object_key_type - ops_test.go:373: testing Index - collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) - key: cty.ListVal([]cty.Value{cty.NullVal(cty.String)}).Mark("marked") - ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value: string required. === RUN TestIndex/invalid_marked_object_key ops_test.go:373: testing Index collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) key: cty.NumberIntVal(0).Mark("marked") ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value. An object only supports looking up attributes by name, not by numeric index. -=== RUN TestIndex/marked_key_to_maked_value - ops_test.go:373: testing Index - collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) - key: cty.NumberIntVal(0).Mark("marked") --- PASS: TestIndex (0.00s) - --- PASS: TestIndex/marked_map_key (0.00s) - --- PASS: TestIndex/missing_marked_map_key (0.00s) - --- PASS: TestIndex/dynamic_key (0.00s) + --- PASS: TestIndex/marked_object_key (0.00s) + --- PASS: TestIndex/invalid_marked_object_key_type (0.00s) --- PASS: TestIndex/missing_list_key (0.00s) --- PASS: TestIndex/null_marked_key (0.00s) + --- PASS: TestIndex/dynamic_key (0.00s) + --- PASS: TestIndex/missing_marked_map_key (0.00s) + --- PASS: TestIndex/marked_key_to_maked_value (0.00s) --- PASS: TestIndex/invalid_marked_key_type (0.00s) - --- PASS: TestIndex/marked_object_key (0.00s) - --- PASS: TestIndex/invalid_marked_object_key_type (0.00s) + --- PASS: TestIndex/marked_map_key (0.00s) --- PASS: TestIndex/invalid_marked_object_key (0.00s) - --- PASS: TestIndex/marked_key_to_maked_value (0.00s) === RUN TestPosScanner === RUN TestPosScanner/empty === RUN TestPosScanner/single_line_with_trailing_UNIX_newline -=== RUN TestPosScanner/single_line_with_trailing_Windows_newline === RUN TestPosScanner/blank_line_with_UNIX_newlines === RUN TestPosScanner/blank_line_with_Windows_newlines === RUN TestPosScanner/two_lines_with_combiner_and_UNIX_newline +=== RUN TestPosScanner/two_lines_with_combiner_and_Windows_newline === RUN TestPosScanner/single_line +=== RUN TestPosScanner/single_line_with_trailing_Windows_newline === RUN TestPosScanner/two_lines_with_UNIX_newline === RUN TestPosScanner/two_lines_with_Windows_newline -=== RUN TestPosScanner/two_lines_with_combiner_and_Windows_newline --- PASS: TestPosScanner (0.00s) --- PASS: TestPosScanner/empty (0.00s) --- PASS: TestPosScanner/single_line_with_trailing_UNIX_newline (0.00s) - --- PASS: TestPosScanner/single_line_with_trailing_Windows_newline (0.00s) --- PASS: TestPosScanner/blank_line_with_UNIX_newlines (0.00s) --- PASS: TestPosScanner/blank_line_with_Windows_newlines (0.00s) --- PASS: TestPosScanner/two_lines_with_combiner_and_UNIX_newline (0.00s) + --- PASS: TestPosScanner/two_lines_with_combiner_and_Windows_newline (0.00s) --- PASS: TestPosScanner/single_line (0.00s) + --- PASS: TestPosScanner/single_line_with_trailing_Windows_newline (0.00s) --- PASS: TestPosScanner/two_lines_with_UNIX_newline (0.00s) --- PASS: TestPosScanner/two_lines_with_Windows_newline (0.00s) - --- PASS: TestPosScanner/two_lines_with_combiner_and_Windows_newline (0.00s) === RUN TestRangeOver === RUN TestRangeOver/:1,3-5<=>:1,2-6 === RUN TestRangeOver/:1,1-5<=>:1,2-6 @@ -1008,7 +1044,7 @@ --- PASS: TestExprAsKeyword/#04 (0.00s) --- PASS: TestExprAsKeyword/#05 (0.00s) PASS -ok github.com/hashicorp/hcl/v2 0.009s +ok github.com/hashicorp/hcl/v2 0.032s ? github.com/hashicorp/hcl/v2/cmd/hcldec [no test files] ? github.com/hashicorp/hcl/v2/cmd/hclfmt [no test files] ? github.com/hashicorp/hcl/v2/cmd/hclspecsuite [no test files] @@ -1038,39 +1074,39 @@ --- PASS: TestVariables/WalkVariables (0.00s) --- PASS: TestVariables/WalkExpandVariables (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/dynblock 0.007s +ok github.com/hashicorp/hcl/v2/ext/dynblock 0.067s === RUN TestDeep --- PASS: TestDeep (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/transform 0.004s +ok github.com/hashicorp/hcl/v2/ext/transform 0.064s === RUN TestTryFunc -=== RUN TestTryFunc/two_arguments,_first_succeeds -=== RUN TestTryFunc/two_arguments,_first_depends_on_unknowns -=== RUN TestTryFunc/two_arguments,_result_is_element_of_marked_list_ -=== RUN TestTryFunc/three_arguments,_all_fail -=== RUN TestTryFunc/no_arguments === RUN TestTryFunc/one_argument_succeeds === RUN TestTryFunc/two_arguments,_first_fails +=== RUN TestTryFunc/two_arguments,_first_depends_on_unknowns === RUN TestTryFunc/two_arguments,_first_succeeds_and_second_depends_on_unknowns +=== RUN TestTryFunc/no_arguments +=== RUN TestTryFunc/one_marked_argument_succeeds +=== RUN TestTryFunc/two_arguments,_first_succeeds === RUN TestTryFunc/two_arguments,_first_depends_on_unknowns_deeply === RUN TestTryFunc/two_arguments,_first_traverses_through_an_unkown === RUN TestTryFunc/two_arguments,_both_marked,_first_succeeds === RUN TestTryFunc/two_arguments,_both_marked,_second_succeeds -=== RUN TestTryFunc/one_marked_argument_succeeds ---- PASS: TestTryFunc (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_succeeds (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_depends_on_unknowns (0.00s) - --- PASS: TestTryFunc/two_arguments,_result_is_element_of_marked_list_ (0.00s) - --- PASS: TestTryFunc/three_arguments,_all_fail (0.00s) - --- PASS: TestTryFunc/no_arguments (0.00s) +=== RUN TestTryFunc/two_arguments,_result_is_element_of_marked_list_ +=== RUN TestTryFunc/three_arguments,_all_fail +--- PASS: TestTryFunc (0.01s) --- PASS: TestTryFunc/one_argument_succeeds (0.00s) --- PASS: TestTryFunc/two_arguments,_first_fails (0.00s) + --- PASS: TestTryFunc/two_arguments,_first_depends_on_unknowns (0.00s) --- PASS: TestTryFunc/two_arguments,_first_succeeds_and_second_depends_on_unknowns (0.00s) + --- PASS: TestTryFunc/no_arguments (0.00s) + --- PASS: TestTryFunc/one_marked_argument_succeeds (0.00s) + --- PASS: TestTryFunc/two_arguments,_first_succeeds (0.00s) --- PASS: TestTryFunc/two_arguments,_first_depends_on_unknowns_deeply (0.00s) --- PASS: TestTryFunc/two_arguments,_first_traverses_through_an_unkown (0.00s) --- PASS: TestTryFunc/two_arguments,_both_marked,_first_succeeds (0.00s) --- PASS: TestTryFunc/two_arguments,_both_marked,_second_succeeds (0.00s) - --- PASS: TestTryFunc/one_marked_argument_succeeds (0.00s) + --- PASS: TestTryFunc/two_arguments,_result_is_element_of_marked_list_ (0.00s) + --- PASS: TestTryFunc/three_arguments,_all_fail (0.00s) === RUN TestCanFunc === RUN TestCanFunc/traversal_through_unknown === RUN TestCanFunc/deep_unknown @@ -1084,39 +1120,39 @@ --- PASS: TestCanFunc/fails (0.00s) --- PASS: TestCanFunc/simple_unknown (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/tryfunc 0.005s +ok github.com/hashicorp/hcl/v2/ext/tryfunc 0.056s ? github.com/hashicorp/hcl/v2/hcled [no test files] ? github.com/hashicorp/hcl/v2/hclparse [no test files] === RUN TestDefaults_Apply -=== RUN TestDefaults_Apply/no_defaults -=== RUN TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden -=== RUN TestDefaults_Apply/map_of_objects_with_defaults_applied -=== RUN TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object -=== RUN TestDefaults_Apply/simple_object_with_defaults_applied === RUN TestDefaults_Apply/simple_object_with_optional_attributes_specified -=== RUN TestDefaults_Apply/map_of_objects_with_defaults_applied,_given_object_instead_of_map -=== RUN TestDefaults_Apply/list_of_objects_with_defaults_applied -=== RUN TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object -=== RUN TestDefaults_Apply/simple_object_with_defaults_but_unknown_value +=== RUN TestDefaults_Apply/simple_object_with_defaults_applied === RUN TestDefaults_Apply/object_with_explicit_null_for_attribute_with_default === RUN TestDefaults_Apply/nested_object_with_defaults_applied +=== RUN TestDefaults_Apply/map_of_objects_with_defaults_applied,_given_object_instead_of_map +=== RUN TestDefaults_Apply/simple_object_with_defaults_but_unknown_value +=== RUN TestDefaults_Apply/list_of_objects_with_defaults_applied === RUN TestDefaults_Apply/tuple_of_objects_with_defaults_applied === RUN TestDefaults_Apply/set_of_nested_objects,_no_default_sub-object +=== RUN TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden +=== RUN TestDefaults_Apply/no_defaults +=== RUN TestDefaults_Apply/map_of_objects_with_defaults_applied +=== RUN TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object +=== RUN TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object --- PASS: TestDefaults_Apply (0.00s) - --- PASS: TestDefaults_Apply/no_defaults (0.00s) - --- PASS: TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden (0.00s) - --- PASS: TestDefaults_Apply/map_of_objects_with_defaults_applied (0.00s) - --- PASS: TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object (0.00s) - --- PASS: TestDefaults_Apply/simple_object_with_defaults_applied (0.00s) --- PASS: TestDefaults_Apply/simple_object_with_optional_attributes_specified (0.00s) - --- PASS: TestDefaults_Apply/map_of_objects_with_defaults_applied,_given_object_instead_of_map (0.00s) - --- PASS: TestDefaults_Apply/list_of_objects_with_defaults_applied (0.00s) - --- PASS: TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object (0.00s) - --- PASS: TestDefaults_Apply/simple_object_with_defaults_but_unknown_value (0.00s) + --- PASS: TestDefaults_Apply/simple_object_with_defaults_applied (0.00s) --- PASS: TestDefaults_Apply/object_with_explicit_null_for_attribute_with_default (0.00s) --- PASS: TestDefaults_Apply/nested_object_with_defaults_applied (0.00s) + --- PASS: TestDefaults_Apply/map_of_objects_with_defaults_applied,_given_object_instead_of_map (0.00s) + --- PASS: TestDefaults_Apply/simple_object_with_defaults_but_unknown_value (0.00s) + --- PASS: TestDefaults_Apply/list_of_objects_with_defaults_applied (0.00s) --- PASS: TestDefaults_Apply/tuple_of_objects_with_defaults_applied (0.00s) --- PASS: TestDefaults_Apply/set_of_nested_objects,_no_default_sub-object (0.00s) + --- PASS: TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden (0.00s) + --- PASS: TestDefaults_Apply/no_defaults (0.00s) + --- PASS: TestDefaults_Apply/map_of_objects_with_defaults_applied (0.00s) + --- PASS: TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object (0.00s) + --- PASS: TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object (0.00s) === RUN TestGetType === RUN TestGetType/bool_(constraint=false) === RUN TestGetType/number_(constraint=false) @@ -1193,7 +1229,7 @@ get_type_test.go:338: :1,1-9: Invalid type specification; Keyword "optional" is valid only as a modifier for object type attributes. === RUN TestGetType/optional_(constraint=false) get_type_test.go:338: :1,1-9: Invalid type specification; The keyword "optional" is not a valid type specification. ---- PASS: TestGetType (0.00s) +--- PASS: TestGetType (0.02s) --- PASS: TestGetType/bool_(constraint=false) (0.00s) --- PASS: TestGetType/number_(constraint=false) (0.00s) --- PASS: TestGetType/string_(constraint=false) (0.00s) @@ -1230,7 +1266,7 @@ --- PASS: TestGetType/shwoop(string)_(constraint=false) (0.00s) --- PASS: TestGetType/list("string")_(constraint=false) (0.00s) --- PASS: TestGetType/list(object({}))_(constraint=false) (0.00s) - --- PASS: TestGetType/list(map(tuple([])))_(constraint=false) (0.00s) + --- PASS: TestGetType/list(map(tuple([])))_(constraint=false) (0.01s) --- PASS: TestGetType/object({name=string,age=optional(number)})_(constraint=true) (0.00s) --- PASS: TestGetType/object({name=string,meta=optional(any)})_(constraint=true) (0.00s) --- PASS: TestGetType/object({name=string,age=optional(number)})_(constraint=false) (0.00s) @@ -1268,7 +1304,7 @@ get_type_test.go:656: :1,62-66: Invalid default value for optional attribute; This default value is not compatible with the attribute's type constraint: number required. === RUN TestGetTypeDefaults/object({name=string,meta=optional(string,_"hello",_"world")}) get_type_test.go:656: :1,34-60: Invalid type specification; Optional attribute modifier expects at most two arguments: the attribute type, and a default value. ---- PASS: TestGetTypeDefaults (0.00s) +--- PASS: TestGetTypeDefaults (0.01s) --- PASS: TestGetTypeDefaults/bool (0.00s) --- PASS: TestGetTypeDefaults/number (0.00s) --- PASS: TestGetTypeDefaults/string (0.00s) @@ -1343,7 +1379,7 @@ --- PASS: TestConvertFunc/cty.NullVal(cty.DynamicPseudoType)_to_typeexpr.TypeConstraintVal(cty.Bool) (0.00s) --- PASS: TestConvertFunc/cty.StringVal("hello").Mark(1)_to_typeexpr.TypeConstraintVal(cty.String) (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/typeexpr 0.015s +ok github.com/hashicorp/hcl/v2/ext/typeexpr 0.082s === RUN TestDecodeUserFunctions === RUN TestDecodeUserFunctions/00 === RUN TestDecodeUserFunctions/01 @@ -1354,8 +1390,8 @@ === RUN TestDecodeUserFunctions/06 === RUN TestDecodeUserFunctions/07 === RUN TestDecodeUserFunctions/08 ---- PASS: TestDecodeUserFunctions (0.00s) - --- PASS: TestDecodeUserFunctions/00 (0.00s) +--- PASS: TestDecodeUserFunctions (0.01s) + --- PASS: TestDecodeUserFunctions/00 (0.01s) --- PASS: TestDecodeUserFunctions/01 (0.00s) --- PASS: TestDecodeUserFunctions/02 (0.00s) --- PASS: TestDecodeUserFunctions/03 (0.00s) @@ -1365,7 +1401,7 @@ --- PASS: TestDecodeUserFunctions/07 (0.00s) --- PASS: TestDecodeUserFunctions/08 (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/userfunc 0.004s +ok github.com/hashicorp/hcl/v2/ext/userfunc 0.031s === RUN TestDecodeBody === RUN TestDecodeBody/{} === RUN TestDecodeBody/{}#01 @@ -1405,7 +1441,7 @@ === RUN TestDecodeBody/{"nested":[{"a":"foo"}]} === RUN TestDecodeBody/{"nested":[{"a":"foo"}]}#01 === RUN TestDecodeBody/{"nested":[{"b":"bar"},{"b":"baz"}]} ---- PASS: TestDecodeBody (0.00s) +--- PASS: TestDecodeBody (0.01s) --- PASS: TestDecodeBody/{} (0.00s) --- PASS: TestDecodeBody/{}#01 (0.00s) --- PASS: TestDecodeBody/{}#02 (0.00s) @@ -1491,7 +1527,7 @@ === RUN ExampleEncodeIntoBody --- PASS: ExampleEncodeIntoBody (0.00s) PASS -ok github.com/hashicorp/hcl/v2/gohcl 0.011s +ok github.com/hashicorp/hcl/v2/gohcl 0.060s === RUN TestDecode === RUN TestDecode/00- === RUN TestDecode/01-a_=_1_ @@ -1558,7 +1594,7 @@ === RUN TestDecode/62-_b_"foo"_"bar"_{}_b_"bar"_"baz"_{}_ === RUN TestDecode/63-_b_"foo"_{}_ === RUN TestDecode/64-_b_"foo"_{__arg_=_true_}_b_"bar"_{__arg_=_1_}_ ---- PASS: TestDecode (0.01s) +--- PASS: TestDecode (0.02s) --- PASS: TestDecode/00- (0.00s) --- PASS: TestDecode/01-a_=_1_ (0.00s) --- PASS: TestDecode/02-a_=_1_ (0.00s) @@ -1591,7 +1627,7 @@ --- PASS: TestDecode/29-_b_{}_b_{}_b_{}_ (0.00s) --- PASS: TestDecode/30-_b_{}_b_{}_ (0.00s) --- PASS: TestDecode/31-_b_{__a_=_true_}_b_{__a_=_1_}_ (0.00s) - --- PASS: TestDecode/32-_b_{__a_=_true_}_b_{__a_=_"not_a_bool"_}_ (0.00s) + --- PASS: TestDecode/32-_b_{__a_=_true_}_b_{__a_=_"not_a_bool"_}_ (0.01s) --- PASS: TestDecode/33-_b_{}_b_{}_ (0.00s) --- PASS: TestDecode/34-_b_"foo"_"bar"_{}_b_"bar"_"baz"_{}_ (0.00s) --- PASS: TestDecode/35-_b_{__a_=_true_}_b_{__a_=_1_}_ (0.00s) @@ -1639,11 +1675,11 @@ --- PASS: TestDefaultSpec/primary_set (0.00s) --- PASS: TestDefaultSpec/primary_not_set (0.00s) === RUN TestValidateFuncSpec -=== RUN TestValidateFuncSpec/with_range === RUN TestValidateFuncSpec/without_range +=== RUN TestValidateFuncSpec/with_range --- PASS: TestValidateFuncSpec (0.00s) - --- PASS: TestValidateFuncSpec/with_range (0.00s) --- PASS: TestValidateFuncSpec/without_range (0.00s) + --- PASS: TestValidateFuncSpec/with_range (0.00s) === RUN TestVariables === RUN TestVariables/00- === RUN TestVariables/01-a_=_foo_ @@ -1663,7 +1699,7 @@ --- PASS: TestVariables/06-_b_{___a_=_foo___b_=_bar_}_ (0.00s) --- PASS: TestVariables/07-_b_{___a_=_foo_}_b_{___a_=_bar_}_c_{___a_=_baz_}_ (0.00s) PASS -ok github.com/hashicorp/hcl/v2/hcldec 0.014s +ok github.com/hashicorp/hcl/v2/hcldec 0.092s === RUN TestDecodeFile --- PASS: TestDecodeFile (0.00s) === RUN Example_nativeSyntax @@ -1671,7 +1707,7 @@ === RUN Example_jsonSyntax --- PASS: Example_jsonSyntax (0.00s) PASS -ok github.com/hashicorp/hcl/v2/hclsimple 0.007s +ok github.com/hashicorp/hcl/v2/hclsimple 0.049s === RUN TestNameSuggestion === RUN TestNameSuggestion/true === RUN TestNameSuggestion/false @@ -1697,7 +1733,7 @@ === RUN TestNameSuggestion/nul === RUN TestNameSuggestion/unll === RUN TestNameSuggestion/nll ---- PASS: TestNameSuggestion (0.00s) +--- PASS: TestNameSuggestion (0.02s) --- PASS: TestNameSuggestion/true (0.00s) --- PASS: TestNameSuggestion/false (0.00s) --- PASS: TestNameSuggestion/null (0.00s) @@ -1779,7 +1815,7 @@ === RUN TestTemplateExprParseAndValue/%{_for_s_in_secrets_}${s}%{_endfor_}#01 === RUN TestTemplateExprParseAndValue/%{_for_s_in_secrets_}${s}%{_endfor_}#02 === RUN TestTemplateExprParseAndValue/test_${target} ---- PASS: TestTemplateExprParseAndValue (0.01s) +--- PASS: TestTemplateExprParseAndValue (0.05s) --- PASS: TestTemplateExprParseAndValue/1 (0.00s) --- PASS: TestTemplateExprParseAndValue/(1) (0.00s) --- PASS: TestTemplateExprParseAndValue/true (0.00s) @@ -1787,7 +1823,7 @@ --- PASS: TestTemplateExprParseAndValue/hello_${"world"} (0.00s) --- PASS: TestTemplateExprParseAndValue/hello\nworld (0.00s) --- PASS: TestTemplateExprParseAndValue/hello_${12.5} (0.00s) - --- PASS: TestTemplateExprParseAndValue/silly_${"${"nesting"}"} (0.00s) + --- PASS: TestTemplateExprParseAndValue/silly_${"${"nesting"}"} (0.01s) --- PASS: TestTemplateExprParseAndValue/silly_${"${true}"} (0.00s) --- PASS: TestTemplateExprParseAndValue/hello_$${escaped} (0.00s) --- PASS: TestTemplateExprParseAndValue/hello_$$nonescape (0.00s) @@ -1806,7 +1842,7 @@ --- PASS: TestTemplateExprParseAndValue/%{_if_true_~}_%{~_if_false_~}_hello_%{~_else_~}_goodbye_%{~_endif_~}_%{~_endif_} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_if_false_~}_%{~_if_false_~}_hello_%{~_else_~}_goodbye_%{~_endif_~}_%{~_endif_} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_of_true_~}_hello_%{~_endif} (0.00s) - --- PASS: TestTemplateExprParseAndValue/%{_for_v_in_["a",_"b",_"c"]_}${v}%{_endfor_} (0.00s) + --- PASS: TestTemplateExprParseAndValue/%{_for_v_in_["a",_"b",_"c"]_}${v}%{_endfor_} (0.02s) --- PASS: TestTemplateExprParseAndValue/%{_for_v_in_["a",_"b",_"c"]_}_${v}_%{_endfor_} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_for_v_in_["a",_"b",_"c"]_~}_${v}_%{~_endfor_} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_for_v_in_[]_}${v}%{_endfor_} (0.00s) @@ -2015,10 +2051,10 @@ === RUN TestExpressionParseAndValue/false_?_["a",_"b"]:_var#01 === RUN TestExpressionParseAndValue/var.foo_?_1_:_0 === RUN TestExpressionParseAndValue/min(xs...) ---- PASS: TestExpressionParseAndValue (0.06s) +--- PASS: TestExpressionParseAndValue (0.17s) --- PASS: TestExpressionParseAndValue/1 (0.00s) --- PASS: TestExpressionParseAndValue/(1) (0.00s) - --- PASS: TestExpressionParseAndValue/(2+3) (0.00s) + --- PASS: TestExpressionParseAndValue/(2+3) (0.03s) --- PASS: TestExpressionParseAndValue/2*5+1 (0.00s) --- PASS: TestExpressionParseAndValue/9%8 (0.00s) --- PASS: TestExpressionParseAndValue/(2+unk) (0.00s) @@ -2035,7 +2071,7 @@ --- PASS: TestExpressionParseAndValue/(-_2) (0.00s) --- PASS: TestExpressionParseAndValue/(!_true) (0.00s) --- PASS: TestExpressionParseAndValue/(_____1_) (0.00s) - --- PASS: TestExpressionParseAndValue/(1 (0.00s) + --- PASS: TestExpressionParseAndValue/(1 (0.01s) --- PASS: TestExpressionParseAndValue/true (0.00s) --- PASS: TestExpressionParseAndValue/false (0.00s) --- PASS: TestExpressionParseAndValue/null (0.00s) @@ -2045,7 +2081,7 @@ --- PASS: TestExpressionParseAndValue/"hello\nworld" (0.00s) --- PASS: TestExpressionParseAndValue/"unclosed (0.00s) --- PASS: TestExpressionParseAndValue/"hello_${"world"}" (0.00s) - --- PASS: TestExpressionParseAndValue/"hello_${12.5}" (0.00s) + --- PASS: TestExpressionParseAndValue/"hello_${12.5}" (0.02s) --- PASS: TestExpressionParseAndValue/"silly_${"${"nesting"}"}" (0.00s) --- PASS: TestExpressionParseAndValue/"silly_${"${true}"}" (0.00s) --- PASS: TestExpressionParseAndValue/"hello_$${escaped}" (0.00s) @@ -2067,7 +2103,7 @@ --- PASS: TestExpressionParseAndValue/[] (0.00s) --- PASS: TestExpressionParseAndValue/[1] (0.00s) --- PASS: TestExpressionParseAndValue/[1,] (0.00s) - --- PASS: TestExpressionParseAndValue/[1,true] (0.00s) + --- PASS: TestExpressionParseAndValue/[1,true] (0.01s) --- PASS: TestExpressionParseAndValue/[___1,___true_] (0.00s) --- PASS: TestExpressionParseAndValue/{} (0.00s) --- PASS: TestExpressionParseAndValue/{"hello":_"world"} (0.00s) @@ -2142,7 +2178,7 @@ --- PASS: TestExpressionParseAndValue/nullobj.*.name (0.00s) --- PASS: TestExpressionParseAndValue/nulllist.*.name (0.00s) --- PASS: TestExpressionParseAndValue/["hello",_"goodbye"].* (0.00s) - --- PASS: TestExpressionParseAndValue/"hello".* (0.01s) + --- PASS: TestExpressionParseAndValue/"hello".* (0.00s) --- PASS: TestExpressionParseAndValue/[["hello"],_["world",_"unused"]].*.0 (0.00s) --- PASS: TestExpressionParseAndValue/[[{name:"foo"}],_[{name:"bar"},_{name:"baz"}]].*.0.name (0.00s) --- PASS: TestExpressionParseAndValue/[[[{name:"foo"}]],_[[{name:"bar"}],_[{name:"baz"}]]].*.0.0.name (0.00s) @@ -2192,7 +2228,7 @@ --- PASS: TestExpressionParseAndValue/true_?_["a",_"b"]_:_null (0.00s) --- PASS: TestExpressionParseAndValue/true_?_null:_["a",_"b"] (0.00s) --- PASS: TestExpressionParseAndValue/false_?_["a",_"b"]_:_null (0.00s) - --- PASS: TestExpressionParseAndValue/false_?_null:_["a",_"b"] (0.00s) + --- PASS: TestExpressionParseAndValue/false_?_null:_["a",_"b"] (0.02s) --- PASS: TestExpressionParseAndValue/false_?_null:_null (0.00s) --- PASS: TestExpressionParseAndValue/false_?_var:_{a_=_"b"} (0.00s) --- PASS: TestExpressionParseAndValue/true_?_["a",_"b"]:_var (0.00s) @@ -2217,27 +2253,27 @@ --- PASS: TestExpressionErrorMessages/true_?_{_a_=_true_}_:_{_a_=_true,_b_=_1_} (0.00s) --- PASS: TestExpressionErrorMessages/true_?_mapOf1Tuple_:_mapOf2Tuple (0.00s) === RUN TestFunctionCallExprValue -=== RUN TestFunctionCallExprValue/valid_call_with_arg_conversion === RUN TestFunctionCallExprValue/valid_call_with_unknown_arg_needing_conversion === RUN TestFunctionCallExprValue/valid_call_with_dynamic_arg -=== RUN TestFunctionCallExprValue/function_with_dynamic_return_type_unknown_arg +=== RUN TestFunctionCallExprValue/invalid_arg_type === RUN TestFunctionCallExprValue/unknown_function === RUN TestFunctionCallExprValue/valid_call_with_no_conversions === RUN TestFunctionCallExprValue/valid_call_with_unknown_arg -=== RUN TestFunctionCallExprValue/invalid_arg_type -=== RUN TestFunctionCallExprValue/function_with_dynamic_return_type +=== RUN TestFunctionCallExprValue/function_with_dynamic_return_type_unknown_arg === RUN TestFunctionCallExprValue/error_in_function +=== RUN TestFunctionCallExprValue/valid_call_with_arg_conversion +=== RUN TestFunctionCallExprValue/function_with_dynamic_return_type --- PASS: TestFunctionCallExprValue (0.00s) - --- PASS: TestFunctionCallExprValue/valid_call_with_arg_conversion (0.00s) --- PASS: TestFunctionCallExprValue/valid_call_with_unknown_arg_needing_conversion (0.00s) --- PASS: TestFunctionCallExprValue/valid_call_with_dynamic_arg (0.00s) - --- PASS: TestFunctionCallExprValue/function_with_dynamic_return_type_unknown_arg (0.00s) + --- PASS: TestFunctionCallExprValue/invalid_arg_type (0.00s) --- PASS: TestFunctionCallExprValue/unknown_function (0.00s) --- PASS: TestFunctionCallExprValue/valid_call_with_no_conversions (0.00s) --- PASS: TestFunctionCallExprValue/valid_call_with_unknown_arg (0.00s) - --- PASS: TestFunctionCallExprValue/invalid_arg_type (0.00s) - --- PASS: TestFunctionCallExprValue/function_with_dynamic_return_type (0.00s) + --- PASS: TestFunctionCallExprValue/function_with_dynamic_return_type_unknown_arg (0.00s) --- PASS: TestFunctionCallExprValue/error_in_function (0.00s) + --- PASS: TestFunctionCallExprValue/valid_call_with_arg_conversion (0.00s) + --- PASS: TestFunctionCallExprValue/function_with_dynamic_return_type (0.00s) === RUN TestExpressionAsTraversal --- PASS: TestExpressionAsTraversal (0.00s) === RUN TestStaticExpressionList @@ -2280,7 +2316,7 @@ === RUN TestNavigationContextDefRange/142 === RUN TestNavigationContextDefRange/180 === RUN TestNavigationContextDefRange/99999 ---- PASS: TestNavigationContextDefRange (0.00s) +--- PASS: TestNavigationContextDefRange (0.02s) --- PASS: TestNavigationContextDefRange/0 (0.00s) --- PASS: TestNavigationContextDefRange/2 (0.00s) --- PASS: TestNavigationContextDefRange/4 (0.00s) @@ -2451,7 +2487,7 @@ === RUN TestParseConfig/block_"unterminated_string_"name"_{} parser_test.go:2549: block "unterminated_string "name" {} ---- PASS: TestParseConfig (0.01s) +--- PASS: TestParseConfig (0.05s) --- PASS: TestParseConfig/#00 (0.00s) --- PASS: TestParseConfig/block_{}_ (0.00s) --- PASS: TestParseConfig/block_{} (0.00s) @@ -2460,7 +2496,7 @@ --- PASS: TestParseConfig/block_"foo"_{}_ (0.00s) --- PASS: TestParseConfig/block_foo_{}_ (0.00s) --- PASS: TestParseConfig/block_"invalid_${not_allowed_here}_foo"_{}_ (0.00s) - --- PASS: TestParseConfig/_block_"invalid"_1.2_{}_block_"valid"_{}_ (0.00s) + --- PASS: TestParseConfig/_block_"invalid"_1.2_{}_block_"valid"_{}_ (0.02s) --- PASS: TestParseConfig/block_"f\o"_{}_ (0.00s) --- PASS: TestParseConfig/block_"f\n"_{}_ (0.00s) --- PASS: TestParseConfig/a_=_1_ (0.00s) @@ -2494,71 +2530,71 @@ --- PASS: TestParseConfig/a_=_1, (0.00s) --- PASS: TestParseConfig/a_=_`str` (0.00s) --- PASS: TestParseConfig/a_=_'str' (0.00s) - --- PASS: TestParseConfig/a_=_sort(data.first.ref.attr)[count.index]_ (0.00s) + --- PASS: TestParseConfig/a_=_sort(data.first.ref.attr)[count.index]_ (0.02s) --- PASS: TestParseConfig/block_"unterminated_string_"name"_{} (0.00s) === RUN TestParseConfigDiagnostics -=== RUN TestParseConfigDiagnostics/unclosed_grouping_parentheses +=== RUN TestParseConfigDiagnostics/unclosed_quoted_template_at_literal_part parser_test.go:2826: - foo = (1 -=== RUN TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_any_expression) + foo = "${a} +=== RUN TestParseConfigDiagnostics/unclosed_function_call_(before_any_argument) parser_test.go:2826: - foo = [ -=== RUN TestParseConfigDiagnostics/unclosed_single-line_block_(no_contents) + foo = foo( +=== RUN TestParseConfigDiagnostics/unclosed_multi-line_block_(after_one_argument) parser_test.go:2826: blah { + a = 1 === RUN TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_element_separator) parser_test.go:2826: foo = [ a === RUN TestParseConfigDiagnostics/unclosed_function_call parser_test.go:2826: foo = boop("a" -=== RUN TestParseConfigDiagnostics/unclosed_function_call_(before_any_argument) - parser_test.go:2826: - foo = foo( -=== RUN TestParseConfigDiagnostics/unclosed_multi-line_block_(no_contents) +=== RUN TestParseConfigDiagnostics/unclosed_grouping_parentheses parser_test.go:2826: - blah { -=== RUN TestParseConfigDiagnostics/unclosed_single-line_block_(after_its_argument) + foo = (1 +=== RUN TestParseConfigDiagnostics/unclosed_template_interpolation_at_EOF parser_test.go:2826: - blah { a = 1 + foo = "${a === RUN TestParseConfigDiagnostics/unclosed_quoted_template_interpolation_at_closing_quote parser_test.go:2826: foo = "${a" -=== RUN TestParseConfigDiagnostics/unclosed_multi-line_block_(after_one_argument) +=== RUN TestParseConfigDiagnostics/unclosed_single-line_block_(no_contents) parser_test.go:2826: blah { - a = 1 -=== RUN TestParseConfigDiagnostics/unclosed_object_constructor_(before_equals) - parser_test.go:2826: - foo = { a -=== RUN TestParseConfigDiagnostics/unclosed_template_interpolation_at_EOF - parser_test.go:2826: - foo = "${a === RUN TestParseConfigDiagnostics/unclosed_object_constructor_(before_element_separator) parser_test.go:2826: foo = { a = 1 -=== RUN TestParseConfigDiagnostics/unclosed_quoted_template_at_literal_part +=== RUN TestParseConfigDiagnostics/unclosed_object_constructor_(before_equals) parser_test.go:2826: - foo = "${a} + foo = { a === RUN TestParseConfigDiagnostics/unclosed_object_constructor_(before_any_expression) parser_test.go:2826: foo = { ---- PASS: TestParseConfigDiagnostics (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_grouping_parentheses (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_any_expression) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_single-line_block_(no_contents) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_element_separator) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_function_call (0.00s) +=== RUN TestParseConfigDiagnostics/unclosed_multi-line_block_(no_contents) + parser_test.go:2826: + blah { +=== RUN TestParseConfigDiagnostics/unclosed_single-line_block_(after_its_argument) + parser_test.go:2826: + blah { a = 1 +=== RUN TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_any_expression) + parser_test.go:2826: + foo = [ +--- PASS: TestParseConfigDiagnostics (0.02s) + --- PASS: TestParseConfigDiagnostics/unclosed_quoted_template_at_literal_part (0.00s) --- PASS: TestParseConfigDiagnostics/unclosed_function_call_(before_any_argument) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_multi-line_block_(no_contents) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_single-line_block_(after_its_argument) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_quoted_template_interpolation_at_closing_quote (0.00s) --- PASS: TestParseConfigDiagnostics/unclosed_multi-line_block_(after_one_argument) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_object_constructor_(before_equals) (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_element_separator) (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_function_call (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_grouping_parentheses (0.00s) --- PASS: TestParseConfigDiagnostics/unclosed_template_interpolation_at_EOF (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_quoted_template_interpolation_at_closing_quote (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_single-line_block_(no_contents) (0.00s) --- PASS: TestParseConfigDiagnostics/unclosed_object_constructor_(before_element_separator) (0.00s) - --- PASS: TestParseConfigDiagnostics/unclosed_quoted_template_at_literal_part (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_object_constructor_(before_equals) (0.00s) --- PASS: TestParseConfigDiagnostics/unclosed_object_constructor_(before_any_expression) (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_multi-line_block_(no_contents) (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_single-line_block_(after_its_argument) (0.00s) + --- PASS: TestParseConfigDiagnostics/unclosed_tuple_constructor_(before_any_expression) (0.00s) === RUN TestPeeker --- PASS: TestPeeker (0.00s) === RUN TestValidIdentifier @@ -2708,7 +2744,7 @@ === RUN TestScanStringLit/hello__world === RUN TestScanStringLit/hello__world/quoted === RUN TestScanStringLit/hello__world/unquoted ---- PASS: TestScanStringLit (0.00s) +--- PASS: TestScanStringLit (0.01s) --- PASS: TestScanStringLit/#00 (0.00s) --- PASS: TestScanStringLit/#00/quoted (0.00s) --- PASS: TestScanStringLit/#00/unquoted (0.00s) @@ -2739,7 +2775,7 @@ --- PASS: TestScanStringLit/hello\U012345670123world (0.00s) --- PASS: TestScanStringLit/hello\U012345670123world/quoted (0.00s) --- PASS: TestScanStringLit/hello\U012345670123world/unquoted (0.00s) - --- PASS: TestScanStringLit/hello\Uabcdworld (0.00s) + --- PASS: TestScanStringLit/hello\Uabcdworld (0.01s) --- PASS: TestScanStringLit/hello\Uabcdworld/quoted (0.00s) --- PASS: TestScanStringLit/hello\Uabcdworld/unquoted (0.00s) --- PASS: TestScanStringLit/hello\Uabcworld (0.00s) @@ -2866,7 +2902,7 @@ === RUN TestScanTokens_normal/_�� === RUN TestScanTokens_normal/__#01 === RUN TestScanTokens_normal/locals_{___is_percent_=_percent_sign_==_"%"_?_true_:_false_}_ ---- PASS: TestScanTokens_normal (0.03s) +--- PASS: TestScanTokens_normal (0.04s) --- PASS: TestScanTokens_normal/#00 (0.00s) --- PASS: TestScanTokens_normal/_ (0.00s) --- PASS: TestScanTokens_normal/__ (0.00s) @@ -2889,13 +2925,13 @@ --- PASS: TestScanTokens_normal/"hello,_\"world\"!" (0.00s) --- PASS: TestScanTokens_normal/"hello_$$" (0.00s) --- PASS: TestScanTokens_normal/"hello_%%" (0.00s) - --- PASS: TestScanTokens_normal/"hello_$" (0.01s) + --- PASS: TestScanTokens_normal/"hello_$" (0.00s) --- PASS: TestScanTokens_normal/"hello_%" (0.00s) --- PASS: TestScanTokens_normal/"hello_$${world}" (0.00s) --- PASS: TestScanTokens_normal/"hello_%%{world}" (0.00s) --- PASS: TestScanTokens_normal/"hello_%${world}" (0.00s) --- PASS: TestScanTokens_normal/"${1}" (0.00s) - --- PASS: TestScanTokens_normal/"%{a}" (0.00s) + --- PASS: TestScanTokens_normal/"%{a}" (0.01s) --- PASS: TestScanTokens_normal/"${{}}" (0.00s) --- PASS: TestScanTokens_normal/"${""}" (0.00s) --- PASS: TestScanTokens_normal/"${"${a}"}" (0.00s) @@ -2904,7 +2940,7 @@ --- PASS: TestScanTokens_normal/<