Diff of the two buildlogs: -- --- b1/build.log 2023-05-05 10:33:29.641367650 +0000 +++ b2/build.log 2023-05-05 10:38:37.859840610 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 4 22:29:59 -12 2023 -I: pbuilder-time-stamp: 1683282599 +I: Current time: Fri Jun 7 06:56:40 +14 2024 +I: pbuilder-time-stamp: 1717693000 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-hashicorp-hcl-v2_2.14.1.orig.tar.gz] I: copying [./golang-github-hashicorp-hcl-v2_2.14.1-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Oct 17 01:54:02 2022 -12 +gpgv: Signature made Tue Oct 18 03:54:02 2022 +14 gpgv: using RSA key B60EBF2984453C70D74CF478FF914AF0C2B35520 gpgv: issuer "kibi@debian.org" gpgv: Can't check signature: No public key @@ -28,135 +28,167 @@ 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/1940528/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3896174/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-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 06:57 /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/3896174/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3896174/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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=15' - DISTRIBUTION='bookworm' - 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]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='da74dba199fe4a4693059f3a2cecbd7b' - 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='1940528' - PS1='# ' - PS2='> ' + INVOCATION_ID=5a3d279ef83a41829113b7dde34da622 + 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=3896174 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.zcj6E0zd/pbuilderrc_Jq4U --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zcj6E0zd/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://78.137.99.97: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.zcj6E0zd/pbuilderrc_8uIv --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zcj6E0zd/b2 --logfile b2/build.log --extrapackages usrmerge 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://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1940528/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 7 06:57 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3896174/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -284,7 +316,7 @@ Get: 58 http://deb.debian.org/debian bookworm/main amd64 golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] Get: 59 http://deb.debian.org/debian bookworm/main amd64 golang-golang-x-term-dev all 0.3.0-1 [14.6 kB] Get: 60 http://deb.debian.org/debian bookworm/main amd64 golang-golang-x-crypto-dev all 1:0.4.0-1 [1449 kB] -Fetched 108 MB in 2s (43.9 MB/s) +Fetched 108 MB in 5s (23.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 ... 19596 files and directories currently installed.) @@ -538,8 +570,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/3896174/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3896174/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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 @@ -561,44 +604,44 @@ 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 15 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/unsafeheader + cd _build && go install -trimpath -v -p 16 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/goarch -internal/goos +unicode/utf16 +internal/unsafeheader internal/goexperiment -unicode/utf8 +internal/goos +internal/race unicode +unicode/utf8 internal/itoa -math/bits github.com/agext/levenshtein +math/bits encoding -internal/race +internal/cpu runtime/internal/atomic +runtime/internal/math runtime/internal/syscall -unicode/utf16 sync/atomic -internal/abi -runtime/internal/math runtime/internal/sys github.com/google/go-cmp/cmp/internal/flags internal/nettrace -internal/cpu github.com/hashicorp/hcl/v2/integrationtest +internal/abi internal/bytealg math runtime internal/reflectlite sync internal/testlog -math/rand internal/singleflight +math/rand runtime/cgo errors -sort io +strconv +sort internal/oserror internal/safefilepath -strconv path vendor/golang.org/x/net/dns/dnsmessage syscall @@ -610,73 +653,73 @@ github.com/mitchellh/go-wordwrap golang.org/x/text/transform reflect -bufio regexp/syntax -internal/syscall/execenv -internal/syscall/unix +bufio github.com/apparentlymart/go-textseg/textseg +internal/syscall/execenv time +internal/syscall/unix regexp -internal/poll io/fs -github.com/google/go-cmp/cmp/internal/diff context -os +github.com/google/go-cmp/cmp/internal/diff +internal/poll internal/fmtsort -encoding/binary github.com/google/go-cmp/cmp/internal/function +encoding/binary encoding/base64 golang.org/x/sys/unix +os fmt -internal/godebug io/ioutil path/filepath +internal/godebug internal/intern net/netip os/exec -github.com/zclconf/go-cty/cty/set +net +golang.org/x/term encoding/json -runtime/debug +github.com/zclconf/go-cty/cty/set +math/big github.com/google/go-cmp/cmp/internal/value encoding/csv encoding/hex +golang.org/x/text/unicode/norm flag +runtime/debug encoding/gob -golang.org/x/text/unicode/norm -math/big -net github.com/google/go-cmp/cmp -golang.org/x/term golang.org/x/crypto/ssh/terminal github.com/zclconf/go-cty/cty github.com/zclconf/go-cty/cty/convert -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/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/ext/transform +github.com/zclconf/go-cty/cty/function/stdlib github.com/spf13/pflag 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/hashicorp/hcl/v2/hclwrite +github.com/hashicorp/hcl/v2/hcltest github.com/hashicorp/hcl/v2/ext/typeexpr github.com/hashicorp/hcl/v2/json -github.com/hashicorp/hcl/v2/hcltest +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/cmd/hcldec github.com/hashicorp/hcl/v2/hclsimple github.com/hashicorp/hcl/v2/cmd/hclspecsuite +github.com/hashicorp/hcl/v2/cmd/hcldec dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 15 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 16 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 @@ -873,7 +916,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) @@ -910,6 +953,19 @@ 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_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") +=== 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_object_key ops_test.go:373: testing Index collection: cty.ObjectVal(map[string]cty.Value{"foo":cty.StringVal("a")}) @@ -938,51 +994,38 @@ 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 - ops_test.go:373: testing Index - collection: cty.MapVal(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. ---- PASS: TestIndex (0.00s) +--- PASS: TestIndex (0.01s) --- PASS: TestIndex/invalid_marked_key_type (0.00s) + --- PASS: TestIndex/marked_map_key (0.00s) + --- PASS: TestIndex/dynamic_key (0.00s) + --- PASS: TestIndex/missing_marked_map_key (0.00s) --- PASS: TestIndex/marked_object_key (0.00s) --- PASS: TestIndex/invalid_marked_object_key_type (0.00s) --- PASS: TestIndex/invalid_marked_object_key (0.00s) --- PASS: TestIndex/marked_key_to_maked_value (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) === RUN TestPosScanner +=== RUN TestPosScanner/two_lines_with_combiner_and_UNIX_newline === RUN TestPosScanner/empty === RUN TestPosScanner/single_line +=== RUN TestPosScanner/two_lines_with_UNIX_newline +=== RUN TestPosScanner/blank_line_with_UNIX_newlines +=== RUN TestPosScanner/blank_line_with_Windows_newlines === 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/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_UNIX_newline === RUN TestPosScanner/two_lines_with_combiner_and_Windows_newline --- PASS: TestPosScanner (0.00s) + --- PASS: TestPosScanner/two_lines_with_combiner_and_UNIX_newline (0.00s) --- PASS: TestPosScanner/empty (0.00s) --- PASS: TestPosScanner/single_line (0.00s) + --- PASS: TestPosScanner/two_lines_with_UNIX_newline (0.00s) + --- PASS: TestPosScanner/blank_line_with_UNIX_newlines (0.00s) + --- PASS: TestPosScanner/blank_line_with_Windows_newlines (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/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_UNIX_newline (0.00s) --- PASS: TestPosScanner/two_lines_with_combiner_and_Windows_newline (0.00s) === RUN TestRangeOver === RUN TestRangeOver/:1,3-5<=>:1,2-6 @@ -1069,7 +1112,7 @@ --- PASS: TestExprAsKeyword/#04 (0.00s) --- PASS: TestExprAsKeyword/#05 (0.00s) PASS -ok github.com/hashicorp/hcl/v2 0.036s +ok github.com/hashicorp/hcl/v2 0.041s ? 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] @@ -1099,82 +1142,82 @@ --- PASS: TestVariables/WalkVariables (0.00s) --- PASS: TestVariables/WalkExpandVariables (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/dynblock 0.061s +ok github.com/hashicorp/hcl/v2/ext/dynblock 0.053s === RUN TestDeep --- PASS: TestDeep (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/transform 0.048s +ok github.com/hashicorp/hcl/v2/ext/transform 0.058s === RUN TestTryFunc -=== RUN TestTryFunc/two_arguments,_both_marked,_first_succeeds === RUN TestTryFunc/two_arguments,_result_is_element_of_marked_list_ -=== RUN TestTryFunc/no_arguments -=== RUN TestTryFunc/one_argument_succeeds === RUN TestTryFunc/one_marked_argument_succeeds -=== RUN TestTryFunc/two_arguments,_first_depends_on_unknowns_deeply +=== RUN TestTryFunc/two_arguments,_first_succeeds +=== RUN TestTryFunc/two_arguments,_first_fails === 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,_both_marked,_second_succeeds -=== RUN TestTryFunc/three_arguments,_all_fail -=== RUN TestTryFunc/two_arguments,_first_succeeds -=== RUN TestTryFunc/two_arguments,_first_fails +=== RUN TestTryFunc/one_argument_succeeds === RUN TestTryFunc/two_arguments,_first_depends_on_unknowns +=== RUN TestTryFunc/two_arguments,_first_depends_on_unknowns_deeply +=== RUN TestTryFunc/three_arguments,_all_fail +=== RUN TestTryFunc/no_arguments --- PASS: TestTryFunc (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/no_arguments (0.00s) - --- PASS: TestTryFunc/one_argument_succeeds (0.00s) --- PASS: TestTryFunc/one_marked_argument_succeeds (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_depends_on_unknowns_deeply (0.00s) + --- PASS: TestTryFunc/two_arguments,_first_succeeds (0.00s) + --- PASS: TestTryFunc/two_arguments,_first_fails (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,_both_marked,_second_succeeds (0.00s) - --- PASS: TestTryFunc/three_arguments,_all_fail (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_succeeds (0.00s) - --- PASS: TestTryFunc/two_arguments,_first_fails (0.00s) + --- PASS: TestTryFunc/one_argument_succeeds (0.00s) --- PASS: TestTryFunc/two_arguments,_first_depends_on_unknowns (0.00s) + --- PASS: TestTryFunc/two_arguments,_first_depends_on_unknowns_deeply (0.00s) + --- PASS: TestTryFunc/three_arguments,_all_fail (0.00s) + --- PASS: TestTryFunc/no_arguments (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 --- 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 -ok github.com/hashicorp/hcl/v2/ext/tryfunc 0.052s +ok github.com/hashicorp/hcl/v2/ext/tryfunc 0.048s === RUN TestDefaults_Apply -=== RUN TestDefaults_Apply/set_of_nested_objects,_empty_default_sub-object -=== RUN TestDefaults_Apply/set_of_nested_objects,_overriding_default_sub-object +=== RUN TestDefaults_Apply/tuple_of_objects_with_defaults_applied +=== 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/list_of_objects_with_defaults_applied +=== RUN TestDefaults_Apply/map_of_objects_with_defaults_applied +=== RUN TestDefaults_Apply/set_of_nested_objects,_overriding_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/simple_object_with_defaults_applied +=== RUN TestDefaults_Apply/simple_object_with_optional_attributes_specified === RUN TestDefaults_Apply/nested_object_with_defaults_applied -=== RUN TestDefaults_Apply/no_defaults === RUN TestDefaults_Apply/object_with_explicit_null_for_attribute_with_default === RUN TestDefaults_Apply/map_of_objects_with_defaults_applied,_given_object_instead_of_map -=== 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/tuple_of_objects_with_defaults_applied === RUN TestDefaults_Apply/set_of_nested_objects,_no_default_sub-object --- PASS: TestDefaults_Apply (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) + --- PASS: TestDefaults_Apply/tuple_of_objects_with_defaults_applied (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/list_of_objects_with_defaults_applied (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/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/simple_object_with_optional_attributes_specified (0.00s) --- PASS: TestDefaults_Apply/nested_object_with_defaults_applied (0.00s) - --- PASS: TestDefaults_Apply/no_defaults (0.00s) --- PASS: TestDefaults_Apply/object_with_explicit_null_for_attribute_with_default (0.00s) --- PASS: TestDefaults_Apply/map_of_objects_with_defaults_applied,_given_object_instead_of_map (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/tuple_of_objects_with_defaults_applied (0.00s) --- PASS: TestDefaults_Apply/set_of_nested_objects,_no_default_sub-object (0.00s) === RUN TestGetType === RUN TestGetType/bool_(constraint=false) @@ -1252,7 +1295,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.02s) +--- PASS: TestGetType (0.01s) --- PASS: TestGetType/bool_(constraint=false) (0.00s) --- PASS: TestGetType/number_(constraint=false) (0.00s) --- PASS: TestGetType/string_(constraint=false) (0.00s) @@ -1294,7 +1337,7 @@ --- PASS: TestGetType/object({name=string,meta=optional(any)})_(constraint=true) (0.00s) --- PASS: TestGetType/object({name=string,age=optional(number)})_(constraint=false) (0.00s) --- PASS: TestGetType/object({name=string,meta=optional(any)})_(constraint=false) (0.00s) - --- PASS: TestGetType/object({name=string,meta=optional()})_(constraint=true) (0.01s) + --- PASS: TestGetType/object({name=string,meta=optional()})_(constraint=true) (0.00s) --- PASS: TestGetType/object({name=string,meta=optional(string,_"hello")})_(constraint=true) (0.00s) --- PASS: TestGetType/optional(string)_(constraint=false) (0.00s) --- PASS: TestGetType/optional_(constraint=false) (0.00s) @@ -1303,9 +1346,9 @@ === RUN TestGetTypeJSON/{"expr":"list(bool)"} === RUN TestGetTypeJSON/{"expr":"list"} get_type_test.go:410: :1,9-15: Invalid type specification; The list type constructor requires one argument specifying the element type. ---- PASS: TestGetTypeJSON (0.00s) +--- PASS: TestGetTypeJSON (0.01s) --- PASS: TestGetTypeJSON/{"expr":"bool"} (0.00s) - --- PASS: TestGetTypeJSON/{"expr":"list(bool)"} (0.00s) + --- PASS: TestGetTypeJSON/{"expr":"list(bool)"} (0.01s) --- PASS: TestGetTypeJSON/{"expr":"list"} (0.00s) === RUN TestGetTypeDefaults === RUN TestGetTypeDefaults/bool @@ -1327,7 +1370,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) @@ -1340,7 +1383,7 @@ --- PASS: TestGetTypeDefaults/object({_a_=_string,_b_=_optional(number,_5)_}) (0.00s) --- PASS: TestGetTypeDefaults/object({_a_=_optional(object({_b_=_optional(number,_5)_}),_{})_}) (0.00s) --- PASS: TestGetTypeDefaults/map(object({_a_=_string,_b_=_optional(number,_5)_})) (0.00s) - --- PASS: TestGetTypeDefaults/list(object({_a_=_string,_b_=_optional(number,_5)_})) (0.01s) + --- PASS: TestGetTypeDefaults/list(object({_a_=_string,_b_=_optional(number,_5)_})) (0.00s) --- PASS: TestGetTypeDefaults/set(object({_a_=_string,_b_=_optional(number,_5)_})) (0.00s) --- PASS: TestGetTypeDefaults/tuple([string,_bool,_object({_a_=_string,_b_=_optional(number,_5)_})]) (0.00s) --- PASS: TestGetTypeDefaults/object({_a_=_optional(string,_"hello"),_b_=_optional(number,_true)_}) (0.00s) @@ -1392,7 +1435,7 @@ === RUN TestConvertFunc/cty.NullVal(cty.Bool)_to_typeexpr.TypeConstraintVal(cty.Bool) === RUN TestConvertFunc/cty.NullVal(cty.DynamicPseudoType)_to_typeexpr.TypeConstraintVal(cty.Bool) === RUN TestConvertFunc/cty.StringVal("hello").Mark(1)_to_typeexpr.TypeConstraintVal(cty.String) ---- PASS: TestConvertFunc (0.00s) +--- PASS: TestConvertFunc (0.01s) --- PASS: TestConvertFunc/cty.StringVal("hello")_to_typeexpr.TypeConstraintVal(cty.String) (0.00s) --- PASS: TestConvertFunc/cty.True_to_typeexpr.TypeConstraintVal(cty.String) (0.00s) --- PASS: TestConvertFunc/cty.StringVal("hello")_to_typeexpr.TypeConstraintVal(cty.Bool) (0.00s) @@ -1402,7 +1445,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.067s +ok github.com/hashicorp/hcl/v2/ext/typeexpr 0.085s === RUN TestDecodeUserFunctions === RUN TestDecodeUserFunctions/00 === RUN TestDecodeUserFunctions/01 @@ -1424,7 +1467,7 @@ --- PASS: TestDecodeUserFunctions/07 (0.00s) --- PASS: TestDecodeUserFunctions/08 (0.00s) PASS -ok github.com/hashicorp/hcl/v2/ext/userfunc 0.048s +ok github.com/hashicorp/hcl/v2/ext/userfunc 0.008s === RUN TestDecodeBody === RUN TestDecodeBody/{} === RUN TestDecodeBody/{}#01 @@ -1464,7 +1507,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) @@ -1484,7 +1527,7 @@ --- PASS: TestDecodeBody/{"noodle":[]} (0.00s) --- PASS: TestDecodeBody/{"noodle":{}}#01 (0.00s) --- PASS: TestDecodeBody/{"noodle":[{}]}#01 (0.00s) - --- PASS: TestDecodeBody/{"noodle":[]}#01 (0.00s) + --- PASS: TestDecodeBody/{"noodle":[]}#01 (0.01s) --- PASS: TestDecodeBody/{"noodle":[{},{}]}#01 (0.00s) --- PASS: TestDecodeBody/{"noodle":[]}#02 (0.00s) --- PASS: TestDecodeBody/{"noodle":[{}]}#02 (0.00s) @@ -1548,9 +1591,9 @@ --- PASS: TestImpliedBodySchema/struct_{_Expr_hcl.Expression_"hcl:\"expr\""_}{Expr:hcl.Expression(nil)} (0.00s) --- PASS: TestImpliedBodySchema/struct_{_Meh_string_"hcl:\"meh,optional\""_}{Meh:""} (0.00s) === RUN ExampleEncodeIntoBody ---- PASS: ExampleEncodeIntoBody (0.00s) +--- PASS: ExampleEncodeIntoBody (0.01s) PASS -ok github.com/hashicorp/hcl/v2/gohcl 0.052s +ok github.com/hashicorp/hcl/v2/gohcl 0.091s === RUN TestDecode === RUN TestDecode/00- === RUN TestDecode/01-a_=_1_ @@ -1617,7 +1660,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.03s) +--- PASS: TestDecode (0.35s) --- PASS: TestDecode/00- (0.00s) --- PASS: TestDecode/01-a_=_1_ (0.00s) --- PASS: TestDecode/02-a_=_1_ (0.00s) @@ -1626,7 +1669,7 @@ --- PASS: TestDecode/05- (0.00s) --- PASS: TestDecode/06-a_=_1_ (0.00s) --- PASS: TestDecode/07-a_=_"1"_ (0.00s) - --- PASS: TestDecode/08-a_=_true_ (0.00s) + --- PASS: TestDecode/08-a_=_true_ (0.34s) --- PASS: TestDecode/09- (0.00s) --- PASS: TestDecode/10-_b_{_}_ (0.00s) --- PASS: TestDecode/11-_b_"baz"_{_}_ (0.00s) @@ -1661,7 +1704,7 @@ --- PASS: TestDecode/40-_b_"foo"_"bar"_{}_b_"foo"_"baz"_{}_ (0.00s) --- PASS: TestDecode/41-_b_"foo"_"bar"_{}_ (0.00s) --- PASS: TestDecode/42-_b_"bar"_{}_ (0.00s) - --- PASS: TestDecode/43-_b_"foo"_{}_b_"foo"_{}_ (0.02s) + --- PASS: TestDecode/43-_b_"foo"_{}_b_"foo"_{}_ (0.00s) --- PASS: TestDecode/44-_b_"foo"_"bar"_{}_b_"foo"_"bar"_{}_ (0.00s) --- PASS: TestDecode/45-_b_"foo"_"bar"_{}_b_"bar"_"baz"_{}_ (0.00s) --- PASS: TestDecode/46-_b_"foo"_{}_ (0.00s) @@ -1694,8 +1737,8 @@ === RUN TestDefaultSpec === RUN TestDefaultSpec/primary_set === RUN TestDefaultSpec/primary_not_set ---- PASS: TestDefaultSpec (0.01s) - --- PASS: TestDefaultSpec/primary_set (0.01s) +--- PASS: TestDefaultSpec (0.03s) + --- PASS: TestDefaultSpec/primary_set (0.03s) --- PASS: TestDefaultSpec/primary_not_set (0.00s) === RUN TestValidateFuncSpec === RUN TestValidateFuncSpec/without_range @@ -1722,7 +1765,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.081s +ok github.com/hashicorp/hcl/v2/hcldec 0.404s ? github.com/hashicorp/hcl/v2/hcled [no test files] ? github.com/hashicorp/hcl/v2/hclparse [no test files] === RUN TestDecodeFile @@ -1732,7 +1775,7 @@ === RUN Example_jsonSyntax --- PASS: Example_jsonSyntax (0.00s) PASS -ok github.com/hashicorp/hcl/v2/hclsimple 0.029s +ok github.com/hashicorp/hcl/v2/hclsimple 0.048s === RUN TestNameSuggestion === RUN TestNameSuggestion/true === RUN TestNameSuggestion/false @@ -1858,7 +1901,7 @@ --- PASS: TestTemplateExprParseAndValue/${"trim"_~}_trim (0.00s) --- PASS: TestTemplateExprParseAndValue/trim_${~"trim"~}_trim (0.00s) --- PASS: TestTemplateExprParseAndValue/_${~_true_~}_ (0.00s) - --- PASS: TestTemplateExprParseAndValue/${"hello_"}${~"trim"~}${"_hello"} (0.01s) + --- PASS: TestTemplateExprParseAndValue/${"hello_"}${~"trim"~}${"_hello"} (0.00s) --- PASS: TestTemplateExprParseAndValue/${true}${~"trim"~}${true} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_if_true_~}_hello_%{~_endif_} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_if_false_~}_hello_%{~_endif} (0.00s) @@ -1867,12 +1910,12 @@ --- 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.01s) --- 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) --- PASS: TestTemplateExprParseAndValue/%{_for_i,_v_in_["a",_"b",_"c"]_}${i}${v}%{_endfor_} (0.00s) - --- PASS: TestTemplateExprParseAndValue/%{_for_k,_v_in_{"A"_=_"a",_"B"_=_"b",_"C"_=_"c"}_}${k}${v}%{_endfor_} (0.02s) + --- PASS: TestTemplateExprParseAndValue/%{_for_k,_v_in_{"A"_=_"a",_"B"_=_"b",_"C"_=_"c"}_}${k}${v}%{_endfor_} (0.00s) --- PASS: TestTemplateExprParseAndValue/%{_for_v_in_["a",_"b",_"c"]_}${v}${nl}%{_endfor_} (0.00s) --- PASS: TestTemplateExprParseAndValue/\n (0.00s) --- PASS: TestTemplateExprParseAndValue/\uu1234 (0.00s) @@ -2076,7 +2119,7 @@ === RUN TestExpressionParseAndValue/false_?_["a",_"b"]:_var#01 === RUN TestExpressionParseAndValue/var.foo_?_1_:_0 === RUN TestExpressionParseAndValue/min(xs...) ---- PASS: TestExpressionParseAndValue (0.21s) +--- PASS: TestExpressionParseAndValue (0.04s) --- PASS: TestExpressionParseAndValue/1 (0.00s) --- PASS: TestExpressionParseAndValue/(1) (0.00s) --- PASS: TestExpressionParseAndValue/(2+3) (0.00s) @@ -2106,7 +2149,7 @@ --- PASS: TestExpressionParseAndValue/"hello\nworld" (0.00s) --- PASS: TestExpressionParseAndValue/"unclosed (0.00s) --- PASS: TestExpressionParseAndValue/"hello_${"world"}" (0.00s) - --- PASS: TestExpressionParseAndValue/"hello_${12.5}" (0.01s) + --- PASS: TestExpressionParseAndValue/"hello_${12.5}" (0.00s) --- PASS: TestExpressionParseAndValue/"silly_${"${"nesting"}"}" (0.00s) --- PASS: TestExpressionParseAndValue/"silly_${"${true}"}" (0.00s) --- PASS: TestExpressionParseAndValue/"hello_$${escaped}" (0.00s) @@ -2151,7 +2194,7 @@ --- PASS: TestExpressionParseAndValue/{___"hello"_=_"world"_} (0.00s) --- PASS: TestExpressionParseAndValue/{___"hello"_=_"world"___"goodbye"_=_"cruel_world"_} (0.00s) --- PASS: TestExpressionParseAndValue/{___"hello"_=_"world",___"goodbye"_=_"cruel_world"_} (0.00s) - --- PASS: TestExpressionParseAndValue/{___"hello"_=_"world",___"goodbye"_=_"cruel_world",_} (0.01s) + --- PASS: TestExpressionParseAndValue/{___"hello"_=_"world",___"goodbye"_=_"cruel_world",_} (0.00s) --- PASS: TestExpressionParseAndValue/{___for_k,_v_in_{hello:_"world"}:_k_=>_v_} (0.00s) --- PASS: TestExpressionParseAndValue/{___a_=_{___for_k,_v_in_{hello:_"world"}:_k_=>_v___}_} (0.00s) --- PASS: TestExpressionParseAndValue/{for_k,_v_in_{hello:_"world"}:_k_=>_v_if_k_==_"hello"} (0.00s) @@ -2163,7 +2206,7 @@ --- PASS: TestExpressionParseAndValue/{for_k,_v_in_{hello:_"world"}:_[]_=>_v} (0.00s) --- PASS: TestExpressionParseAndValue/{for_k,_v_in_{hello:_"world"}:_k_=>_k_if_k_==_"hello"} (0.00s) --- PASS: TestExpressionParseAndValue/{for_k,_v_in_{hello:_"world"}:_k_=>_foo} (0.00s) - --- PASS: TestExpressionParseAndValue/[for_k,_v_in_{hello:_"world"}:_"${k}=${v}"] (0.01s) + --- PASS: TestExpressionParseAndValue/[for_k,_v_in_{hello:_"world"}:_"${k}=${v}"] (0.00s) --- PASS: TestExpressionParseAndValue/[for_k,_v_in_{hello:_"world"}:_k_=>_v] (0.00s) --- PASS: TestExpressionParseAndValue/{for_v_in_{hello:_"world"}:_v} (0.00s) --- PASS: TestExpressionParseAndValue/{for_i,_v_in_["a",_"b",_"c",_"b",_"d"]:_v_=>_i...} (0.00s) @@ -2188,7 +2231,7 @@ --- PASS: TestExpressionParseAndValue/{for_v_in_things:_v_=>_"${v}-friend"}#01 (0.00s) --- PASS: TestExpressionParseAndValue/[for_x_in_things:_x_if_x_!=_secret] (0.00s) --- PASS: TestExpressionParseAndValue/{_for_k,_v_in_things:_k_=>_v_if_k_!=_secret_} (0.00s) - --- PASS: TestExpressionParseAndValue/[{name:_"Steve"},_{name:_"Ermintrude"}].*.name (0.01s) + --- PASS: TestExpressionParseAndValue/[{name:_"Steve"},_{name:_"Ermintrude"}].*.name (0.00s) --- PASS: TestExpressionParseAndValue/{name:_"Steve"}.*.name (0.00s) --- PASS: TestExpressionParseAndValue/null[*] (0.00s) --- PASS: TestExpressionParseAndValue/{name:_"Steve"}[*].name (0.00s) @@ -2233,7 +2276,7 @@ --- PASS: TestExpressionParseAndValue/_<