Diff of the two buildlogs: -- --- b1/build.log 2024-05-05 08:41:46.745056959 +0000 +++ b2/build.log 2024-05-05 08:43:25.984832107 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 4 20:37:42 -12 2024 -I: pbuilder-time-stamp: 1714898262 +I: Current time: Sun Jun 8 05:04:49 +14 2025 +I: pbuilder-time-stamp: 1749308689 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/2086074/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2738508/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 7 15:05 /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/2738508/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2738508/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d02a7135409d42c08fdd0511a9bd84e4' - 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='2086074' - PS1='# ' - PS2='> ' + INVOCATION_ID=ef4952b45fe643cfba80f5d754a20956 + 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=2738508 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.AwIXexJ7/pbuilderrc_waBd --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AwIXexJ7/b1 --logfile b1/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+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AwIXexJ7/pbuilderrc_odDp --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AwIXexJ7/b2 --logfile b2/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-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 5 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2086074/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 6 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2738508/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 unstable/main amd64 golang-gopkg-vmihailenco-msgpack.v2-dev all 4.3.1-2 [27.5 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 golang-github-zclconf-go-cty-dev all 1.12.1-1 [177 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 golang-github-zclconf-go-cty-debug-dev all 0.0~git20191215.b22d67c-2 [8704 B] -Fetched 72.9 MB in 8s (9577 kB/s) +Fetched 72.9 MB in 3s (22.7 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 ... 19699 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/2738508/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2738508/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,36 +529,36 @@ 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 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 + 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 cmp encoding -github.com/google/go-cmp/cmp/internal/flags -internal/godebugs github.com/agext/levenshtein +internal/nettrace unicode/utf16 -internal/goarch -internal/unsafeheader +github.com/hashicorp/hcl/v2/integrationtest +github.com/google/go-cmp/cmp/internal/flags internal/goos +internal/coverage/rtcov +internal/unsafeheader +runtime/internal/syscall +internal/godebugs +internal/itoa internal/race -internal/goexperiment +internal/goarch +unicode/utf8 unicode -sync/atomic -runtime/internal/atomic -runtime/internal/syscall math/bits -unicode/utf8 +runtime/internal/atomic +internal/goexperiment internal/cpu -internal/itoa -internal/nettrace -github.com/hashicorp/hcl/v2/integrationtest -internal/abi +sync/atomic runtime/internal/math internal/chacha8rand +internal/abi runtime/internal/sys slices -math internal/bytealg +math runtime internal/reflectlite sync @@ -534,88 +570,88 @@ sort internal/godebug io -internal/safefilepath -strconv -vendor/golang.org/x/net/dns/dnsmessage internal/oserror path +internal/safefilepath +vendor/golang.org/x/net/dns/dnsmessage +strconv internal/intern math/rand -bytes -hash syscall -strings +hash internal/saferio -github.com/mitchellh/go-wordwrap -golang.org/x/text/transform +bytes +strings hash/crc64 hash/crc32 +github.com/mitchellh/go-wordwrap +golang.org/x/text/transform net/netip reflect bufio regexp/syntax github.com/apparentlymart/go-textseg/textseg -regexp -internal/syscall/unix internal/syscall/execenv +internal/syscall/unix time -internal/fmtsort -encoding/binary -github.com/google/go-cmp/cmp/internal/function +regexp io/fs -github.com/google/go-cmp/cmp/internal/diff internal/poll context +github.com/google/go-cmp/cmp/internal/diff +os +internal/fmtsort +github.com/google/go-cmp/cmp/internal/function +encoding/binary encoding/base64 golang.org/x/sys/unix -os -fmt -path/filepath io/ioutil +path/filepath +fmt net os/exec github.com/zclconf/go-cty/cty/set -runtime/debug github.com/google/go-cmp/cmp/internal/value encoding/csv -golang.org/x/text/unicode/norm +runtime/debug +encoding/hex encoding/json flag -encoding/gob +golang.org/x/text/unicode/norm math/big -encoding/hex +encoding/gob github.com/google/go-cmp/cmp +github.com/zclconf/go-cty/cty golang.org/x/term golang.org/x/crypto/ssh/terminal -github.com/zclconf/go-cty/cty -github.com/zclconf/go-cty/cty/function github.com/zclconf/go-cty-debug/ctydebug +github.com/zclconf/go-cty/cty/function github.com/zclconf/go-cty/cty/convert -github.com/hashicorp/hcl/v2 -github.com/zclconf/go-cty/cty/json 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/ext/userfunc github.com/hashicorp/hcl/v2/ext/customdecode -github.com/hashicorp/hcl/v2/ext/transform github.com/hashicorp/hcl/v2/hcled -github.com/hashicorp/hcl/v2/hcldec +github.com/hashicorp/hcl/v2/ext/transform +github.com/hashicorp/hcl/v2/ext/userfunc github.com/hashicorp/hcl/v2/ext/tryfunc +github.com/hashicorp/hcl/v2/hcldec 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/ext/typeexpr github.com/hashicorp/hcl/v2/hcltest +github.com/hashicorp/hcl/v2/json +github.com/hashicorp/hcl/v2/hclwrite github.com/hashicorp/hcl/v2/hclparse -github.com/hashicorp/hcl/v2/gohcl 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/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 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 + 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 === RUN TestDiagnosticTextWriter === RUN TestDiagnosticTextWriter/00 === RUN TestDiagnosticTextWriter/01 @@ -844,85 +880,85 @@ --- 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_key_to_maked_value +=== RUN TestIndex/invalid_marked_object_key_type ops_test.go:373: testing Index - collection: cty.ListVal([]cty.Value{cty.StringVal("a")}) - key: cty.NumberIntVal(0).Mark("marked") + 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")}) key: cty.NumberIntVal(1).Mark("marked") ops_test.go:378: : Invalid index; The given key does not identify an element in this collection value: the given index is greater than or equal to the length of the collection. -=== RUN TestIndex/null_marked_key - ops_test.go:373: testing Index - 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/marked_map_key +=== RUN TestIndex/invalid_marked_key_type ops_test.go:373: testing Index - collection: cty.MapVal(map[string]cty.Value{"foo":cty.StringVal("a")}) + 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/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/invalid_marked_object_key_type +=== RUN TestIndex/marked_object_key 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. + key: cty.StringVal("foo").Mark("marked") === 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/invalid_marked_key_type +=== RUN TestIndex/marked_key_to_maked_value 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 + key: cty.NumberIntVal(0).Mark("marked") +=== RUN TestIndex/null_marked_key ops_test.go:373: testing Index - collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) + 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/marked_map_key + ops_test.go:373: testing Index + collection: cty.MapVal(map[string]cty.Value{"foo":cty.StringVal("a")}) key: cty.StringVal("foo").Mark("marked") --- PASS: TestIndex (0.00s) - --- PASS: TestIndex/marked_key_to_maked_value (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/marked_map_key (0.00s) - --- PASS: TestIndex/missing_marked_map_key (0.00s) - --- PASS: TestIndex/invalid_marked_object_key_type (0.00s) - --- PASS: TestIndex/invalid_marked_object_key (0.00s) --- PASS: TestIndex/invalid_marked_key_type (0.00s) + --- PASS: TestIndex/missing_marked_map_key (0.00s) --- PASS: TestIndex/marked_object_key (0.00s) + --- PASS: TestIndex/invalid_marked_object_key (0.00s) + --- PASS: TestIndex/marked_key_to_maked_value (0.00s) + --- PASS: TestIndex/null_marked_key (0.00s) + --- PASS: TestIndex/marked_map_key (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/two_lines_with_Windows_newline -=== RUN TestPosScanner/two_lines_with_combiner_and_UNIX_newline -=== RUN TestPosScanner/two_lines_with_combiner_and_Windows_newline === RUN TestPosScanner/single_line === RUN TestPosScanner/two_lines_with_UNIX_newline +=== RUN TestPosScanner/two_lines_with_Windows_newline === RUN TestPosScanner/blank_line_with_UNIX_newlines +=== RUN TestPosScanner/two_lines_with_combiner_and_Windows_newline +=== RUN TestPosScanner/empty +=== RUN TestPosScanner/single_line_with_trailing_Windows_newline === RUN TestPosScanner/blank_line_with_Windows_newlines +=== RUN TestPosScanner/two_lines_with_combiner_and_UNIX_newline +=== RUN TestPosScanner/single_line_with_trailing_UNIX_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/two_lines_with_Windows_newline (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/two_lines_with_UNIX_newline (0.00s) + --- PASS: TestPosScanner/two_lines_with_Windows_newline (0.00s) --- PASS: TestPosScanner/blank_line_with_UNIX_newlines (0.00s) + --- PASS: TestPosScanner/two_lines_with_combiner_and_Windows_newline (0.00s) + --- PASS: TestPosScanner/empty (0.00s) + --- PASS: TestPosScanner/single_line_with_trailing_Windows_newline (0.00s) --- PASS: TestPosScanner/blank_line_with_Windows_newlines (0.00s) + --- PASS: TestPosScanner/two_lines_with_combiner_and_UNIX_newline (0.00s) + --- PASS: TestPosScanner/single_line_with_trailing_UNIX_newline (0.00s) === RUN TestRangeOver === RUN TestRangeOver/:1,3-5<=>:1,2-6 === RUN TestRangeOver/:1,1-5<=>:1,2-6 @@ -1008,11 +1044,13 @@ --- PASS: TestExprAsKeyword/#04 (0.00s) --- PASS: TestExprAsKeyword/#05 (0.00s) PASS -ok github.com/hashicorp/hcl/v2 0.044s +ok github.com/hashicorp/hcl/v2 0.008s ? 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] ? github.com/hashicorp/hcl/v2/ext/customdecode [no test files] +? github.com/hashicorp/hcl/v2/hcled [no test files] +? github.com/hashicorp/hcl/v2/hclparse [no test files] === RUN TestExpand === RUN TestExpand/PartialDecode === RUN TestExpand/Decode @@ -1034,88 +1072,86 @@ === RUN TestVariables === RUN TestVariables/WalkVariables === RUN TestVariables/WalkExpandVariables ---- PASS: TestVariables (0.01s) +--- PASS: TestVariables (0.00s) --- PASS: TestVariables/WalkVariables (0.00s) --- PASS: TestVariables/WalkExpandVariables (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/dynblock 0.031s +ok github.com/hashicorp/hcl/v2/ext/dynblock 0.006s === RUN TestDeep --- PASS: TestDeep (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/transform 0.034s +ok github.com/hashicorp/hcl/v2/ext/transform 0.003s === RUN TestTryFunc +=== RUN TestTryFunc/no_arguments === RUN TestTryFunc/one_argument_succeeds === RUN TestTryFunc/one_marked_argument_succeeds -=== RUN TestTryFunc/two_arguments,_first_fails +=== 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,_second_succeeds -=== RUN TestTryFunc/no_arguments -=== RUN TestTryFunc/two_arguments,_first_succeeds +=== RUN TestTryFunc/two_arguments,_result_is_element_of_marked_list_ +=== RUN TestTryFunc/three_arguments,_all_fail +=== 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/two_arguments,_first_traverses_through_an_unkown === RUN TestTryFunc/two_arguments,_both_marked,_first_succeeds -=== RUN TestTryFunc/two_arguments,_result_is_element_of_marked_list_ -=== RUN TestTryFunc/three_arguments,_all_fail --- PASS: TestTryFunc (0.00s) + --- PASS: TestTryFunc/no_arguments (0.00s) --- PASS: TestTryFunc/one_argument_succeeds (0.00s) --- PASS: TestTryFunc/one_marked_argument_succeeds (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_fails (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,_second_succeeds (0.00s) - --- PASS: TestTryFunc/no_arguments (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_succeeds (0.00s) + --- PASS: TestTryFunc/two_arguments,_result_is_element_of_marked_list_ (0.00s) + --- PASS: TestTryFunc/three_arguments,_all_fail (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/two_arguments,_first_traverses_through_an_unkown (0.00s) --- PASS: TestTryFunc/two_arguments,_both_marked,_first_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/succeeds +=== RUN TestCanFunc/fails === RUN TestCanFunc/simple_unknown === RUN TestCanFunc/traversal_through_unknown === RUN TestCanFunc/deep_unknown -=== RUN TestCanFunc/succeeds -=== RUN TestCanFunc/fails --- PASS: TestCanFunc (0.00s) + --- PASS: TestCanFunc/succeeds (0.00s) + --- PASS: TestCanFunc/fails (0.00s) --- PASS: TestCanFunc/simple_unknown (0.00s) --- PASS: TestCanFunc/traversal_through_unknown (0.00s) --- PASS: TestCanFunc/deep_unknown (0.00s) - --- PASS: TestCanFunc/succeeds (0.00s) - --- PASS: TestCanFunc/fails (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/tryfunc 0.044s -? github.com/hashicorp/hcl/v2/hcled [no test files] -? github.com/hashicorp/hcl/v2/hclparse [no test files] +ok github.com/hashicorp/hcl/v2/ext/tryfunc 0.005s === RUN TestDefaults_Apply -=== RUN TestDefaults_Apply/simple_object_with_defaults_but_unknown_value -=== RUN TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object -=== RUN TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden +=== RUN TestDefaults_Apply/simple_object_with_defaults_applied +=== RUN TestDefaults_Apply/object_with_explicit_null_for_attribute_with_default === RUN TestDefaults_Apply/map_of_objects_with_defaults_applied === RUN TestDefaults_Apply/list_of_objects_with_defaults_applied -=== RUN TestDefaults_Apply/set_of_nested_objects,_no_default_sub-object +=== RUN TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object +=== RUN TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden === RUN TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object -=== RUN TestDefaults_Apply/no_defaults -=== RUN TestDefaults_Apply/simple_object_with_defaults_applied -=== RUN TestDefaults_Apply/nested_object_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/no_defaults +=== RUN TestDefaults_Apply/simple_object_with_defaults_but_unknown_value === RUN TestDefaults_Apply/simple_object_with_optional_attributes_specified -=== 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 --- PASS: TestDefaults_Apply (0.00s) - --- PASS: TestDefaults_Apply/simple_object_with_defaults_but_unknown_value (0.00s) - --- PASS: TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object (0.00s) - --- PASS: TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden (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/map_of_objects_with_defaults_applied (0.00s) --- PASS: TestDefaults_Apply/list_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,_empty_default_sub-object (0.00s) + --- PASS: TestDefaults_Apply/set_of_nested_objects,_nulls_in_default_sub-object_overridden (0.00s) --- PASS: TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object (0.00s) - --- PASS: TestDefaults_Apply/no_defaults (0.00s) - --- PASS: TestDefaults_Apply/simple_object_with_defaults_applied (0.00s) - --- PASS: TestDefaults_Apply/nested_object_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/no_defaults (0.00s) + --- PASS: TestDefaults_Apply/simple_object_with_defaults_but_unknown_value (0.00s) --- PASS: TestDefaults_Apply/simple_object_with_optional_attributes_specified (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) === RUN TestGetType === RUN TestGetType/bool_(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.01s) +--- PASS: TestGetType (0.00s) --- PASS: TestGetType/bool_(constraint=false) (0.00s) --- PASS: TestGetType/number_(constraint=false) (0.00s) --- PASS: TestGetType/string_(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.01s) +--- PASS: TestGetTypeDefaults (0.00s) --- 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.195s +ok github.com/hashicorp/hcl/v2/ext/typeexpr 0.012s === RUN TestDecodeUserFunctions === RUN TestDecodeUserFunctions/00 === RUN TestDecodeUserFunctions/01 @@ -1365,7 +1401,7 @@ --- PASS: TestDecodeUserFunctions/07 (0.00s) --- PASS: TestDecodeUserFunctions/08 (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/userfunc 0.029s +ok github.com/hashicorp/hcl/v2/ext/userfunc 0.006s === RUN TestDecodeBody === RUN TestDecodeBody/{} === RUN TestDecodeBody/{}#01 @@ -1491,7 +1527,7 @@ === RUN ExampleEncodeIntoBody --- PASS: ExampleEncodeIntoBody (0.00s) PASS -ok github.com/hashicorp/hcl/v2/gohcl 0.192s +ok github.com/hashicorp/hcl/v2/gohcl 0.008s === 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.02s) +--- PASS: TestDecode (0.01s) --- PASS: TestDecode/00- (0.00s) --- PASS: TestDecode/01-a_=_1_ (0.00s) --- PASS: TestDecode/02-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.204s +ok github.com/hashicorp/hcl/v2/hcldec 0.012s === 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.172s +ok github.com/hashicorp/hcl/v2/hclsimple 0.004s === RUN TestNameSuggestion === RUN TestNameSuggestion/true === RUN TestNameSuggestion/false @@ -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.02s) +--- PASS: TestTemplateExprParseAndValue (0.00s) --- PASS: TestTemplateExprParseAndValue/1 (0.00s) --- PASS: TestTemplateExprParseAndValue/(1) (0.00s) --- PASS: TestTemplateExprParseAndValue/true (0.00s) @@ -2015,7 +2051,7 @@ === RUN TestExpressionParseAndValue/false_?_["a",_"b"]:_var#01 === RUN TestExpressionParseAndValue/var.foo_?_1_:_0 === RUN TestExpressionParseAndValue/min(xs...) ---- PASS: TestExpressionParseAndValue (0.11s) +--- PASS: TestExpressionParseAndValue (0.02s) --- PASS: TestExpressionParseAndValue/1 (0.00s) --- PASS: TestExpressionParseAndValue/(1) (0.00s) --- PASS: TestExpressionParseAndValue/(2+3) (0.00s) @@ -2155,7 +2191,7 @@ --- PASS: TestExpressionParseAndValue/maps.*.x (0.00s) --- PASS: TestExpressionParseAndValue/["hello"][0] (0.00s) --- PASS: TestExpressionParseAndValue/["hello"].0 (0.00s) - --- PASS: TestExpressionParseAndValue/[["hello"]].0.0 (0.01s) + --- PASS: TestExpressionParseAndValue/[["hello"]].0.0 (0.00s) --- PASS: TestExpressionParseAndValue/[{greeting_=_"hello"}].0.greeting (0.00s) --- PASS: TestExpressionParseAndValue/[][0] (0.00s) --- PASS: TestExpressionParseAndValue/["hello"][negate(0)] (0.00s) @@ -2174,7 +2210,7 @@ --- PASS: TestExpressionParseAndValue/_<