Diff of the two buildlogs: -- --- b1/build.log 2023-05-01 02:24:25.966322057 +0000 +++ b2/build.log 2023-05-01 02:28:27.647726573 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 30 14:22:39 -12 2023 -I: pbuilder-time-stamp: 1682907759 +I: Current time: Sun Jun 2 22:47:32 +14 2024 +I: pbuilder-time-stamp: 1717318052 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-rogpeppe-go-internal_1.9.0.orig.tar.gz] I: copying [./golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Aug 29 07:46:50 2022 -12 +gpgv: Signature made Tue Aug 30 09:46:50 2022 +14 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: issuer "foka@debian.org" gpgv: Can't check signature: No public key @@ -26,135 +26,167 @@ dpkg-source: info: unpacking golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/635189/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/361089/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 2 22:47 /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/361089/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/361089/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='54f3913fc01c47e88e82a68e3a2664b1' - 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='635189' - PS1='# ' - PS2='> ' + INVOCATION_ID=c0f348ed29c7463da3273d2ac611ed44 + 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=361089 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.x0uokMNF/pbuilderrc_HOk8 --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.x0uokMNF/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.9.0-1.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://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.x0uokMNF/pbuilderrc_Loon --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.x0uokMNF/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-rogpeppe-go-internal_1.9.0-1.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 ionos11-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) 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 04:31 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 04:31 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/635189/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 2 22:47 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/361089/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -237,7 +269,7 @@ Get: 37 http://deb.debian.org/debian bookworm/main amd64 golang-go amd64 2:1.19~1 [45.0 kB] Get: 38 http://deb.debian.org/debian bookworm/main amd64 golang-any amd64 2:1.19~1 [5876 B] Get: 39 http://deb.debian.org/debian bookworm/main amd64 golang-github-pkg-diff-dev all 0.0~git20210226.20ebb0f-1 [93.6 kB] -Fetched 101 MB in 1s (88.8 MB/s) +Fetched 101 MB in 3s (40.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 ... 19596 files and directories currently installed.) @@ -414,8 +446,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-rogpeppe-go-internal-1.9.0/ && 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-rogpeppe-go-internal_1.9.0-1_source.changes +I: user script /srv/workspace/pbuilder/361089/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/361089/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/golang-github-rogpeppe-go-internal-1.9.0/ && 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-rogpeppe-go-internal_1.9.0-1_source.changes dpkg-buildpackage: info: source package golang-github-rogpeppe-go-internal dpkg-buildpackage: info: source version 1.9.0-1 dpkg-buildpackage: info: source distribution unstable @@ -433,27 +476,27 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 15 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar + cd _build && go install -trimpath -v -p 16 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar internal/goarch internal/unsafeheader internal/goos +internal/cpu +crypto/internal/boring/sig +sync/atomic internal/goexperiment -internal/race -unicode/utf8 +runtime/internal/syscall unicode -math/bits +unicode/utf8 internal/itoa +math/bits +internal/race crypto/subtle crypto/internal/subtle -runtime/internal/syscall runtime/internal/atomic -runtime/internal/math internal/abi -internal/cpu -crypto/internal/boring/sig -runtime/internal/sys -sync/atomic +runtime/internal/math encoding +runtime/internal/sys unicode/utf16 github.com/rogpeppe/go-internal/semver internal/nettrace @@ -475,118 +518,118 @@ internal/singleflight internal/sysinfo runtime/cgo +github.com/rogpeppe/go-internal/par errors sort -github.com/rogpeppe/go-internal/par io internal/oserror internal/safefilepath -strconv path +strconv vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat syscall bytes hash -strings crypto/internal/randutil +strings hash/crc32 -vendor/golang.org/x/text/transform crypto crypto/rc4 reflect +vendor/golang.org/x/text/transform bufio net/http/internal/ascii go/build/constraint regexp/syntax internal/syscall/execenv -internal/syscall/unix time +internal/syscall/unix regexp -internal/poll context +internal/poll io/fs -embed -os encoding/binary internal/fmtsort github.com/rogpeppe/go-internal/fmtsort +embed crypto/cipher encoding/base64 -crypto/md5 crypto/internal/edwards25519/field +crypto/md5 vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field crypto/internal/nistec -fmt -internal/godebug -io/ioutil -internal/lazyregexp -path/filepath -github.com/rogpeppe/go-internal/lockedfile/internal/filelock +os encoding/pem -internal/intern crypto/internal/edwards25519 -net/netip -vendor/golang.org/x/sys/cpu -crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -os/exec -github.com/rogpeppe/go-internal/renameio +crypto/internal/boring crypto/sha256 -crypto/aes crypto/sha512 -crypto/hmac +crypto/aes crypto/sha1 -vendor/golang.org/x/crypto/chacha20poly1305 +crypto/hmac vendor/golang.org/x/crypto/hkdf +io/ioutil +internal/godebug +fmt +path/filepath +internal/lazyregexp +github.com/rogpeppe/go-internal/lockedfile/internal/filelock +vendor/golang.org/x/sys/cpu +internal/intern +net/netip +vendor/golang.org/x/crypto/chacha20poly1305 +os/exec +github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/internal/os/execpath internal/goroot -net encoding/hex flag +github.com/rogpeppe/go-internal/module compress/flate github.com/rogpeppe/go-internal/txtar -encoding/json log net/url -math/big -github.com/rogpeppe/go-internal/module +mime vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/text/unicode/norm -mime +encoding/json mime/quotedprintable +math/big +vendor/golang.org/x/text/unicode/norm net/http/internal +net github.com/rogpeppe/go-internal/cache github.com/pkg/diff/edit -vendor/golang.org/x/text/unicode/bidi github.com/rogpeppe/go-internal/imports +runtime/debug +runtime/trace +vendor/golang.org/x/text/unicode/bidi github.com/pkg/diff/ctxt github.com/pkg/diff/myers github.com/pkg/diff/write -runtime/debug -runtime/trace go/token -archive/zip -compress/gzip -github.com/pkg/diff go/doc/comment internal/buildcfg -github.com/rogpeppe/go-internal/cmd/txtar-addmod -github.com/rogpeppe/go-internal/cmd/txtar-c -github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/internal/textutil -testing github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/modfile +github.com/rogpeppe/go-internal/cmd/txtar-addmod +github.com/rogpeppe/go-internal/cmd/txtar-c +testing +github.com/rogpeppe/go-internal/cmd/txtar-x +archive/zip +compress/gzip +github.com/pkg/diff go/scanner vendor/golang.org/x/text/secure/bidirule go/ast github.com/rogpeppe/go-internal/dirhash -vendor/golang.org/x/net/idna github.com/rogpeppe/go-internal/testenv +vendor/golang.org/x/net/idna crypto/rand crypto/elliptic crypto/internal/boring/bbig @@ -603,39 +646,39 @@ go/build github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/gotooltest +net/textproto vendor/golang.org/x/net/http/httpproxy crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http github.com/rogpeppe/go-internal/goproxytest -github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/testscript +github.com/rogpeppe/go-internal/cmd/txtar-goproxy debian/rules override_dh_auto_test make[1]: Entering directory '/build/golang-github-rogpeppe-go-internal-1.9.0' patch -N -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch patching file _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go Hunk #1 succeeded at 785 (offset 50 lines). GOPROXY= dh_auto_test - cd _build && go test -vet=off -v -p 15 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar + cd _build && go test -vet=off -v -p 16 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar === RUN TestBasic ---- PASS: TestBasic (0.01s) +--- PASS: TestBasic (0.02s) === RUN TestGrowth ---- PASS: TestGrowth (2.11s) +--- PASS: TestGrowth (3.57s) === RUN TestVerifyPanic cache_test.go:139: go: internal cache error: cache verify failed: id=0100000000000000000000000000000000000000000000000000000000000000 changed:<<< >>> old: cb8379ac2098aa165029e3938a51da0bcecfc008fd6795f401178647f96c5b34 3 new: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad 3 ---- PASS: TestVerifyPanic (0.01s) +--- PASS: TestVerifyPanic (0.03s) === RUN TestCacheLog ---- PASS: TestCacheLog (0.01s) +--- PASS: TestCacheLog (0.03s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.03s) +--- PASS: TestCacheTrim (0.07s) === RUN TestDefaultDir --- PASS: TestDefaultDir (0.00s) === RUN TestHash @@ -643,7 +686,7 @@ === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 2.198s +ok github.com/rogpeppe/go-internal/cache 3.761s === RUN TestScripts === RUN TestScripts/env_values === PAUSE TestScripts/env_values @@ -670,17 +713,67 @@ === CONT TestScripts/env_values === CONT TestScripts/noproxy === CONT TestScripts/work -=== CONT TestScripts/skip === CONT TestScripts/update +=== CONT TestScripts/skip === CONT TestScripts/simple === CONT TestScripts/error === CONT TestScripts/nogo === CONT TestScripts/help -=== CONT TestScripts/env_var_with_go === CONT TestScripts/env_var_no_go +=== CONT TestScripts/env_var_with_go +=== CONT TestScripts/nogo + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=amd64 + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + GOINTERNALMODPATH=. + GONOSUMDB=* + + # should support skip (0.000s) + > unquote file.txt + # We can't just set PATH to empty because we need the part of it that + # contains the command names, so use a special builtin instead. (0.177s) + > dropgofrompath + > ! testscript -v file.txt + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + + > go env + FAIL: $WORK/.tmp/testscript1813721251/file.txt/script.txtar:1: unknown command "go" + [stderr] + error running file.txt in $WORK/.tmp/testscript1813721251/file.txt + + [exit status 1] + > stdout 'unknown command "go"' + > stderr 'error running file.txt in' + PASS + === CONT TestScripts/help testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -700,7 +793,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.132s) + # Simply sanity check on help output (0.203s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -827,59 +920,9 @@ > stderr 'Examples' PASS -=== CONT TestScripts/nogo - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=amd64 - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - GOINTERNALMODPATH=. - GONOSUMDB=* - - # should support skip (0.000s) - > unquote file.txt - # We can't just set PATH to empty because we need the part of it that - # contains the command names, so use a special builtin instead. (0.158s) - > dropgofrompath - > ! testscript -v file.txt - [stdout] - WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - - > go env - FAIL: $WORK/.tmp/testscript3224907860/file.txt/script.txtar:1: unknown command "go" - [stderr] - error running file.txt in $WORK/.tmp/testscript3224907860/file.txt - - [exit status 1] - > stdout 'unknown command "go"' - > stderr 'error running file.txt in' - PASS - === CONT TestScripts/work testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -905,12 +948,12 @@ # # This test also covers the use of multiple scripts which share # the same basename, ensuring that the naming of the directories - # within the working directory. (0.230s) + # within the working directory. (0.247s) > unquote file.txt dir/file.txt > testscript -v -work file.txt dir/file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -931,7 +974,7 @@ > exec true PASS WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -952,9 +995,9 @@ > exec true PASS [stderr] - temporary work directory: $WORK/.tmp/testscript2866469720 - temporary work directory for file.txt: $WORK/.tmp/go-test-script2436382685/script-script - temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script126931186/script-script + temporary work directory: $WORK/.tmp/testscript1422926679 + temporary work directory for file.txt: $WORK/.tmp/go-test-script361915955/script-script + temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script1196457138/script-script > stderr '^temporary work directory: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for dir[/\\]file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' @@ -964,7 +1007,7 @@ === CONT TestScripts/skip testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -984,12 +1027,12 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.244s) + # should support skip (0.351s) > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1018,7 +1061,7 @@ === CONT TestScripts/update testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1040,7 +1083,7 @@ # should support the -update flag (0.000s) > unquote in.txt res.txt - # Should be an error to use -u with only stdin (0.116s) + # Should be an error to use -u with only stdin (0.110s) > stdin in.txt > ! testscript -u [stderr] @@ -1048,18 +1091,18 @@ [exit status 1] > stderr 'cannot use -u when reading from stdin' # It is ok to use -u when reading from stdin and - # a regular file (0.166s) + # a regular file (0.241s) > testscript -u - in.txt [stdout] PASS PASS - $WORK/.tmp/testscript2539755522/in.txt/script.txtar updated + $WORK/.tmp/testscript3516349680/in.txt/script.txtar updated > cmp in.txt res.txt PASS === CONT TestScripts/env_values testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1083,18 +1126,18 @@ > unquote test.txt > env BLAH1= > env BLAH2=junk - # Normal operation (0.111s) + # Normal operation (0.246s) > testscript -e BLAH1=rubbish -e BLAH2 test.txt [stdout] PASS # It is an error to specify WORK. Note the error message # appears on stdout because it is written to the log output - # of testscript, which has no concept of stderr. (0.180s) + # of testscript, which has no concept of stderr. (0.225s) > ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt [stdout] - FAIL: $WORK/.tmp/testscript2348418076/test.txt/script.txtar:0: cannot override WORK variable + FAIL: $WORK/.tmp/testscript1732611788/test.txt/script.txtar:0: cannot override WORK variable [stderr] - error running test.txt in $WORK/.tmp/testscript2348418076/test.txt + error running test.txt in $WORK/.tmp/testscript1732611788/test.txt [exit status 1] > stdout 'cannot override WORK variable' @@ -1102,7 +1145,7 @@ === CONT TestScripts/simple testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1123,13 +1166,13 @@ GONOSUMDB=* # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (0.297s) + # environment should be overridden by the test proxy. (0.506s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1144,7 +1187,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:42035/mod + GOPROXY=http://127.0.0.1:45323/mod goversion=1.19 GONOSUMDB=* @@ -1169,9 +1212,96 @@ > ! stderr .+ PASS +=== CONT TestScripts/error + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=amd64 + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + GOINTERNALMODPATH=. + GONOSUMDB=* + + # should support skip (0.000s) + > unquote file.txt + # stdin (0.351s) + > stdin file.txt + > ! testscript -v + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=amd64 + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + + > exec false + [exit status 1] + FAIL: $WORK/.tmp/testscript1714650064/-/script.txtar:1: unexpected command failure + [stderr] + error running in $WORK/.tmp/testscript1714650064/- + + [exit status 1] + > stderr 'error running in' + # file-based (0.226s) + > ! testscript -v file.txt + [stdout] + WORK=$WORK + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GOPATH=$WORK/.gopath + CCACHE_DISABLE=1 + GOARCH=amd64 + GOOS=linux + GOROOT=/usr/lib/go-1.19 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.19 + + > exec false + [exit status 1] + FAIL: $WORK/.tmp/testscript1282699533/file.txt/script.txtar:1: unexpected command failure + [stderr] + error running file.txt in $WORK/.tmp/testscript1282699533/file.txt + + [exit status 1] + > stderr 'error running file.txt in' + PASS + === CONT TestScripts/env_var_no_go testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1193,18 +1323,18 @@ # Test passing environment variables to scripts with no go command on PATH # - # This is the counterpart to env_var_with_go.txt (0.000s) + # This is the counterpart to env_var_with_go.txt (0.052s) > unquote noproxy.txt > unquote withproxy.txt > dropgofrompath > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.152s) + # no GOPROXY, no pass-through, no proxy (0.184s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1225,11 +1355,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.054s) + # no GOPROXY, no pass-through, with proxy (0.113s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1238,7 +1368,7 @@ $=$ TESTSCRIPT_COVER_DIR= exe= - GOPROXY=http://127.0.0.1:42259/mod + GOPROXY=http://127.0.0.1:46547/mod GONOSUMDB=* > env BANANA @@ -1246,17 +1376,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:42259/mod + GOPROXY=http://127.0.0.1:46547/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.028s) + # no GOPROXY, with pass-through, no proxy (0.029s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1280,11 +1410,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.030s) + # no GOPROXY, with pass-through, with proxy (0.070s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1310,11 +1440,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.032s) + # with GOPROXY, no pass-through, no proxy (0.040s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1335,11 +1465,11 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.021s) + # with GOPROXY, no pass-through, with proxy (0.052s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1348,7 +1478,7 @@ $=$ TESTSCRIPT_COVER_DIR= exe= - GOPROXY=http://127.0.0.1:35105/mod + GOPROXY=http://127.0.0.1:38059/mod GONOSUMDB=* > env BANANA @@ -1356,17 +1486,17 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:35105/mod + GOPROXY=http://127.0.0.1:38059/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.016s) + # with GOPROXY, with pass-through, no proxy (0.048s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1390,11 +1520,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.024s) + # with GOPROXY, with pass-through, with proxy (0.058s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/sbin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1421,96 +1551,9 @@ > ! stderr .+ PASS -=== CONT TestScripts/error - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=amd64 - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - GOINTERNALMODPATH=. - GONOSUMDB=* - - # should support skip (0.000s) - > unquote file.txt - # stdin (0.229s) - > stdin file.txt - > ! testscript -v - [stdout] - WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=amd64 - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - - > exec false - [exit status 1] - FAIL: $WORK/.tmp/testscript3485410292/-/script.txtar:1: unexpected command failure - [stderr] - error running in $WORK/.tmp/testscript3485410292/- - - [exit status 1] - > stderr 'error running in' - # file-based (0.145s) - > ! testscript -v file.txt - [stdout] - WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GOPATH=$WORK/.gopath - CCACHE_DISABLE=1 - GOARCH=amd64 - GOOS=linux - GOROOT=/usr/lib/go-1.19 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.19 - - > exec false - [exit status 1] - FAIL: $WORK/.tmp/testscript1701881699/file.txt/script.txtar:1: unexpected command failure - [stderr] - error running file.txt in $WORK/.tmp/testscript1701881699/file.txt - - [exit status 1] - > stderr 'error running file.txt in' - PASS - === CONT TestScripts/noproxy testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1531,13 +1574,13 @@ GONOSUMDB=* # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. (0.507s) + # the environment. (0.799s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1595,7 +1638,7 @@ CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" - GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build2049686580=/tmp/go-build -gno-record-gcc-switches" + GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build3439903839=/tmp/go-build -gno-record-gcc-switches" > [!windows] stdout '^GOPROXY="0.1.2.3"$' > [windows] stdout '^set GOPROXY=0.1.2.3$' @@ -1604,7 +1647,7 @@ === CONT TestScripts/env_var_with_go testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1633,11 +1676,11 @@ # This is the counterpart to env_var_no_go.txt (0.000s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.238s) + # Baseline (0.372s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1670,11 +1713,11 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.116s) + # no GOPROXY, no pass-through, no proxy (0.192s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1704,11 +1747,11 @@ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.120s) + # no GOPROXY, no pass-through, with proxy (0.216s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1723,7 +1766,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:42165/mod + GOPROXY=http://127.0.0.1:38891/mod goversion=1.19 GONOSUMDB=* @@ -1732,17 +1775,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:42165/mod + GOPROXY=http://127.0.0.1:38891/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.129s) + # no GOPROXY, with pass-through, no proxy (0.192s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1772,11 +1815,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.143s) + # no GOPROXY, with pass-through, with proxy (0.216s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1808,11 +1851,11 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.113s) + # with GOPROXY, no pass-through, no proxy (0.220s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1841,11 +1884,11 @@ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.175s) + # with GOPROXY, no pass-through, with proxy (0.248s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1860,7 +1903,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:42521/mod + GOPROXY=http://127.0.0.1:40695/mod goversion=1.19 GONOSUMDB=* @@ -1869,17 +1912,17 @@ > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY - GOPROXY=http://127.0.0.1:42521/mod + GOPROXY=http://127.0.0.1:40695/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.128s) + # with GOPROXY, with pass-through, no proxy (0.178s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1909,11 +1952,11 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.160s) + # with GOPROXY, with pass-through, with proxy (0.206s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/tmp/testscript-main1002638005/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main641731911/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1946,20 +1989,20 @@ > ! stderr .+ PASS ---- PASS: TestScripts (0.16s) - --- PASS: TestScripts/help (0.13s) - --- PASS: TestScripts/nogo (0.16s) - --- PASS: TestScripts/work (0.23s) - --- PASS: TestScripts/skip (0.24s) - --- PASS: TestScripts/update (0.28s) - --- PASS: TestScripts/env_values (0.29s) - --- PASS: TestScripts/simple (0.30s) - --- PASS: TestScripts/env_var_no_go (0.36s) - --- PASS: TestScripts/error (0.37s) - --- PASS: TestScripts/noproxy (0.51s) - --- PASS: TestScripts/env_var_with_go (1.32s) +--- PASS: TestScripts (0.21s) + --- PASS: TestScripts/nogo (0.18s) + --- PASS: TestScripts/help (0.20s) + --- PASS: TestScripts/work (0.25s) + --- PASS: TestScripts/skip (0.35s) + --- PASS: TestScripts/update (0.35s) + --- PASS: TestScripts/env_values (0.47s) + --- PASS: TestScripts/simple (0.51s) + --- PASS: TestScripts/error (0.58s) + --- PASS: TestScripts/env_var_no_go (0.65s) + --- PASS: TestScripts/noproxy (0.80s) + --- PASS: TestScripts/env_var_with_go (2.04s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 1.524s +ok github.com/rogpeppe/go-internal/cmd/testscript 2.288s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -1970,11 +2013,11 @@ === CONT TestScripts/encode === CONT TestScripts/txtar-addmod-self === CONT TestScripts/to_stdout -go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 +go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 === CONT TestScripts/encode testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main4166805254/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2052305855/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -1989,7 +2032,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:37443/mod + GOPROXY=http://127.0.0.1:37689/mod goversion=1.19 GONOSUMDB=* @@ -2002,7 +2045,7 @@ === CONT TestScripts/to_stdout testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main4166805254/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2052305855/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2017,7 +2060,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:37443/mod + GOPROXY=http://127.0.0.1:37689/mod goversion=1.19 GONOSUMDB=* @@ -2044,7 +2087,7 @@ === CONT TestScripts/txtar-addmod-self testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main4166805254/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main2052305855/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2059,7 +2102,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:37443/mod + GOPROXY=http://127.0.0.1:37689/mod goversion=1.19 GONOSUMDB=* @@ -2073,12 +2116,12 @@ > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar PASS ---- PASS: TestScripts (0.11s) - --- PASS: TestScripts/encode (0.15s) - --- PASS: TestScripts/to_stdout (0.16s) - --- PASS: TestScripts/txtar-addmod-self (0.41s) +--- PASS: TestScripts (0.28s) + --- PASS: TestScripts/encode (0.18s) + --- PASS: TestScripts/to_stdout (0.37s) + --- PASS: TestScripts/txtar-addmod-self (0.61s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.555s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.951s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -2094,7 +2137,7 @@ === CONT TestScripts/needquote === CONT TestScripts/txtar-savedir-self testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main2193538080/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1744370500/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2124,9 +2167,9 @@ > cmp stdout expect PASS -=== CONT TestScripts/needquote +=== CONT TestScripts/quote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main2193538080/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1744370500/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2138,19 +2181,19 @@ > unquote blah/withsep > unquote expect - > txtar-c blah + > txtar-c -quote blah [stdout] - -- nosep -- - bar - [stderr] - txtar-c: blah/withsep: ignoring file with txtar marker in - > stderr 'txtar-c: blah.withsep: ignoring file with txtar marker in' + unquote withsep + -- withsep -- + >-- separator -- + >foo + > ! stderr .+ > cmp stdout expect PASS -=== CONT TestScripts/quote +=== CONT TestScripts/needquote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main2193538080/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1744370500/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2162,19 +2205,19 @@ > unquote blah/withsep > unquote expect - > txtar-c -quote blah + > txtar-c blah [stdout] - unquote withsep - -- withsep -- - >-- separator -- - >foo - > ! stderr .+ + -- nosep -- + bar + [stderr] + txtar-c: blah/withsep: ignoring file with txtar marker in + > stderr 'txtar-c: blah.withsep: ignoring file with txtar marker in' > cmp stdout expect PASS === CONT TestScripts/all testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main2193538080/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1744370500/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2186,7 +2229,7 @@ > unquote expect-all > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.028s) + # Without the -a flag, it should ignore . files. (0.023s) > txtar-c blah [stdout] -- go.mod -- @@ -2202,7 +2245,7 @@ } > ! stderr .+ > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.036s) + # With the -a flag, it should include them. (0.056s) > txtar-c -a blah [stdout] -- .foo/foo -- @@ -2225,12 +2268,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/txtar-savedir-self (0.02s) - --- PASS: TestScripts/needquote (0.03s) - --- PASS: TestScripts/quote (0.05s) - --- PASS: TestScripts/all (0.07s) + --- PASS: TestScripts/txtar-savedir-self (0.03s) + --- PASS: TestScripts/quote (0.04s) + --- PASS: TestScripts/needquote (0.07s) + --- PASS: TestScripts/all (0.08s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.092s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.104s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2242,12 +2285,12 @@ === RUN TestScripts/extract === PAUSE TestScripts/extract === CONT TestScripts/extract-dir +=== CONT TestScripts/extract === CONT TestScripts/extract-stdin === CONT TestScripts/extract-out-of-bounds === CONT TestScripts/extract -=== CONT TestScripts/extract-dir testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main970646837/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1066195605/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2258,14 +2301,14 @@ exe= > unquote file.txtar - > txtar-x -C x/y file.txtar - > cmp x/y/foo expect/foo - > cmp x/y/a/b/bar expect/a/b/bar + > txtar-x file.txtar + > cmp foo expect/foo + > cmp a/b/bar expect/a/b/bar PASS -=== CONT TestScripts/extract-stdin +=== CONT TestScripts/extract-dir testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main970646837/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1066195605/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2276,15 +2319,14 @@ exe= > unquote file.txtar - > stdin file.txtar - > txtar-x - > cmp foo expect/foo - > cmp a/b/bar expect/a/b/bar + > txtar-x -C x/y file.txtar + > cmp x/y/foo expect/foo + > cmp x/y/a/b/bar expect/a/b/bar PASS -=== CONT TestScripts/extract +=== CONT TestScripts/extract-stdin testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main970646837/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1066195605/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2295,14 +2337,15 @@ exe= > unquote file.txtar - > txtar-x file.txtar + > stdin file.txtar + > txtar-x > cmp foo expect/foo > cmp a/b/bar expect/a/b/bar PASS === CONT TestScripts/extract-out-of-bounds testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main970646837/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main1066195605/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2326,12 +2369,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/extract-dir (0.02s) - --- PASS: TestScripts/extract-stdin (0.03s) --- PASS: TestScripts/extract (0.04s) - --- PASS: TestScripts/extract-out-of-bounds (0.07s) + --- PASS: TestScripts/extract-dir (0.05s) + --- PASS: TestScripts/extract-stdin (0.07s) + --- PASS: TestScripts/extract-out-of-bounds (0.11s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.086s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.150s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir @@ -2341,7 +2384,7 @@ === RUN TestDirFiles --- PASS: TestDirFiles (0.00s) PASS -ok github.com/rogpeppe/go-internal/dirhash 0.030s +ok github.com/rogpeppe/go-internal/dirhash 0.043s === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestOrder @@ -2349,13 +2392,13 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.026s +ok github.com/rogpeppe/go-internal/fmtsort 0.046s === RUN TestScripts === RUN TestScripts/list === PAUSE TestScripts/list === CONT TestScripts/list testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2370,11 +2413,11 @@ GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build - GOPROXY=http://127.0.0.1:43097/mod + GOPROXY=http://127.0.0.1:36431/mod goversion=1.19 GONOSUMDB=* - # prior to go 1.12 you cannot list a module without a requirement (0.091s) + # prior to go 1.12 you cannot list a module without a requirement (0.215s) > [!go1.12] go get fruit.com > go list -m -versions fruit.com [stdout] @@ -2395,17 +2438,17 @@ # as that places GOMODCACHE inside the Go module and "mod tidy" walks it. # "mod tidy" then complains about invalid import paths such as # "mod/gopath/pkg/mod/fruit.com@v1.1.0/fruit". - # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.025s) + # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.047s) > go mod tidy [stderr] go: warning: "all" matched no packages PASS ---- PASS: TestScripts (0.11s) - --- PASS: TestScripts/list (0.12s) +--- PASS: TestScripts (0.23s) + --- PASS: TestScripts/list (0.30s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.245s +ok github.com/rogpeppe/go-internal/goproxytest 0.578s === RUN TestSimple === RUN TestSimple/cover === PAUSE TestSimple/cover @@ -2418,7 +2461,7 @@ === CONT TestSimple/env === CONT TestSimple/version testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2448,7 +2491,7 @@ === CONT TestSimple/env testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2468,7 +2511,7 @@ GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal # GOPATH and GOMODCACHE are not shared with the host, - # but GOCACHE is. (0.398s) + # but GOCACHE is. (0.502s) > go env [stdout] GO111MODULE="" @@ -2509,7 +2552,7 @@ CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" - GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build881227437=/tmp/go-build -gno-record-gcc-switches" + GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build746057036=/tmp/go-build -gno-record-gcc-switches" > stdout GOPATH=.*${WORK@R} > stdout GOMODCACHE=.*${WORK@R} @@ -2519,7 +2562,7 @@ === CONT TestSimple/cover testscript.go:793: testscript.go:429: WORK=$WORK - PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2541,25 +2584,25 @@ > unquote scripts/exec.txt > [darwin] skip 'Pending a fix for github.com/rogpeppe/go-internal/issues/130' # The module uses testscript itself. - # Use the checked out module, based on where the test binary ran. (0.571s) + # Use the checked out module, based on where the test binary ran. (0.659s) > go mod edit -replace=github.com/rogpeppe/go-internal=${GOINTERNAL_MODULE} > go mod tidy [stderr] go: found github.com/rogpeppe/go-internal/gotooltest in github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000 go: found github.com/rogpeppe/go-internal/testscript in github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000 go: github.com/rogpeppe/go-internal@v0.0.0-00010101000000-000000000000 requires - github.com/pkg/diff@v0.0.0-20210226163009-20ebb0f2a09e: Get "https://proxy.golang.org/github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:33164->[::1]:53: read: connection refused + github.com/pkg/diff@v0.0.0-20210226163009-20ebb0f2a09e: Get "https://proxy.golang.org/github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:33820->[::1]:53: read: connection refused [exit status 1] FAIL: testdata/cover.txt:8: unexpected go command failure SKIP: TestSimple/cover: Possible restricted network access ---- PASS: TestSimple (0.09s) - --- PASS: TestSimple/version (0.39s) - --- PASS: TestSimple/env (0.40s) - --- SKIP: TestSimple/cover (0.57s) +--- PASS: TestSimple (0.16s) + --- PASS: TestSimple/version (0.37s) + --- PASS: TestSimple/env (0.50s) + --- SKIP: TestSimple/cover (0.66s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.695s +ok github.com/rogpeppe/go-internal/gotooltest 0.844s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2573,7 +2616,7 @@ === RUN TestScanStar --- PASS: TestScanStar (0.00s) PASS -ok github.com/rogpeppe/go-internal/imports 0.034s +ok github.com/rogpeppe/go-internal/imports 0.045s ? github.com/rogpeppe/go-internal/internal/os/execpath [no test files] ? github.com/rogpeppe/go-internal/internal/syscall/windows [no test files] ? github.com/rogpeppe/go-internal/internal/syscall/windows/registry [no test files] @@ -2581,7 +2624,7 @@ === RUN TestDiff --- PASS: TestDiff (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/textutil 0.036s +ok github.com/rogpeppe/go-internal/internal/textutil 0.055s === RUN TestMutexExcludes === PAUSE TestMutexExcludes === RUN TestReadWaitsForLock @@ -2599,17 +2642,16 @@ lockedfile_test.go:124: WriteString("part 1\n") = === CONT TestMutexExcludes lockedfile_test.go:97: unlock() + lockedfile_test.go:92: unlock2, _ := mu2.Lock() + lockedfile_test.go:93: unlock2() +--- PASS: TestMutexExcludes (0.01s) === CONT TestReadWaitsForLock lockedfile_test.go:146: WriteString("part 2\n") = lockedfile_test.go:136: Read(_) = "part 1\npart 2\n" --- PASS: TestReadWaitsForLock (0.01s) -=== CONT TestMutexExcludes - lockedfile_test.go:92: unlock2, _ := mu2.Lock() - lockedfile_test.go:93: unlock2() ---- PASS: TestMutexExcludes (0.02s) --- PASS: TestCanLockExistingFile (0.02s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 0.093s +ok github.com/rogpeppe/go-internal/lockedfile 0.095s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2617,65 +2659,58 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:191: fd 7 = /tmp/TestLockNotDroppedByExecCommand755099934 + filelock_test.go:191: fd 7 = /tmp/TestLockNotDroppedByExecCommand2720759534 filelock_test.go:194: Lock(fd 7) = - filelock_test.go:196: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand755099934") + filelock_test.go:196: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand2720759534") filelock_test.go:207: Lock(fd 8) is blocked (as expected) filelock_test.go:208: Unlock(fd 7) = asm_amd64.s:1594: Lock(fd 8) = filelock_test.go:210: Unlock(fd 8) = ---- PASS: TestLockNotDroppedByExecCommand (0.04s) +--- PASS: TestLockNotDroppedByExecCommand (0.06s) === CONT TestLockExcludesLock - filelock_test.go:125: fd 7 = /tmp/TestLockExcludesLock1749769053 - filelock_test.go:128: fd 8 = os.Open("/tmp/TestLockExcludesLock1749769053") + filelock_test.go:125: fd 7 = /tmp/TestLockExcludesLock2149576626 + filelock_test.go:128: fd 8 = os.Open("/tmp/TestLockExcludesLock2149576626") filelock_test.go:131: Lock(fd 7) = -=== CONT TestRLockExcludesOnlyLock -=== CONT TestLockExcludesRLock -=== CONT TestRLockExcludesOnlyLock - filelock_test.go:157: fd 9 = /tmp/TestRLockExcludesOnlyLock3301153209 === CONT TestLockExcludesRLock - filelock_test.go:141: fd 10 = /tmp/TestLockExcludesRLock1082313714 + filelock_test.go:141: fd 9 = /tmp/TestLockExcludesRLock4182406096 + filelock_test.go:144: fd 10 = os.Open("/tmp/TestLockExcludesRLock4182406096") + filelock_test.go:147: Lock(fd 9) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:159: RLock(fd 9) = -=== CONT TestLockExcludesRLock - filelock_test.go:144: fd 11 = os.Open("/tmp/TestLockExcludesRLock1082313714") -=== CONT TestRLockExcludesOnlyLock - filelock_test.go:161: fd 12 = os.Open("/tmp/TestRLockExcludesOnlyLock3301153209") + filelock_test.go:157: fd 11 = /tmp/TestRLockExcludesOnlyLock372617901 + filelock_test.go:159: RLock(fd 11) = + filelock_test.go:161: fd 12 = os.Open("/tmp/TestRLockExcludesOnlyLock372617901") filelock_test.go:173: RLock(fd 12) = -=== CONT TestLockExcludesRLock - filelock_test.go:147: Lock(fd 10) = -=== CONT TestRLockExcludesOnlyLock - filelock_test.go:176: fd 13 = os.Open("/tmp/TestRLockExcludesOnlyLock3301153209") -=== CONT TestLockExcludesRLock - filelock_test.go:148: RLock(fd 11) is blocked (as expected) - filelock_test.go:149: Unlock(fd 10) = + filelock_test.go:176: fd 13 = os.Open("/tmp/TestRLockExcludesOnlyLock372617901") === CONT TestLockExcludesLock filelock_test.go:132: Lock(fd 8) is blocked (as expected) filelock_test.go:133: Unlock(fd 7) = + asm_amd64.s:1594: Lock(fd 8) = === CONT TestRLockExcludesOnlyLock filelock_test.go:178: Lock(fd 13) is blocked (as expected) - filelock_test.go:180: Unlock(fd 12) = - filelock_test.go:182: Unlock(fd 9) = - asm_amd64.s:1594: Lock(fd 13) = === CONT TestLockExcludesLock - asm_amd64.s:1594: Lock(fd 8) = filelock_test.go:135: Unlock(fd 8) = +=== CONT TestRLockExcludesOnlyLock + filelock_test.go:180: Unlock(fd 12) = + filelock_test.go:182: Unlock(fd 11) = --- PASS: TestLockExcludesLock (0.02s) +=== CONT TestLockExcludesRLock + filelock_test.go:148: RLock(fd 10) is blocked (as expected) + filelock_test.go:149: Unlock(fd 9) = + asm_amd64.s:1594: RLock(fd 10) = + filelock_test.go:151: Unlock(fd 10) = +--- PASS: TestLockExcludesRLock (0.01s) === CONT TestRLockExcludesOnlyLock + asm_amd64.s:1594: Lock(fd 13) = filelock_test.go:185: Unlock(fd 13) = ---- PASS: TestRLockExcludesOnlyLock (0.02s) -=== CONT TestLockExcludesRLock - asm_amd64.s:1594: RLock(fd 11) = - filelock_test.go:151: Unlock(fd 11) = ---- PASS: TestLockExcludesRLock (0.02s) +--- PASS: TestRLockExcludesOnlyLock (0.01s) PASS -ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.098s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.121s === RUN TestPrintGolden --- PASS: TestPrintGolden (0.00s) === RUN TestParseLax --- PASS: TestParseLax (0.00s) === RUN TestPrintParse ---- PASS: TestPrintParse (0.00s) +--- PASS: TestPrintParse (0.01s) === RUN TestModulePath === RUN TestModulePath/module_"github.com/rsc/vgotest" === RUN TestModulePath/module_github.com/rsc/vgotest @@ -2749,7 +2784,7 @@ --- PASS: TestAddRequire/#1 (0.00s) --- PASS: TestAddRequire/#2 (0.00s) PASS -ok github.com/rogpeppe/go-internal/modfile 0.009s +ok github.com/rogpeppe/go-internal/modfile 0.048s === RUN TestCheck --- PASS: TestCheck (0.00s) === RUN TestCheckPath @@ -2761,15 +2796,15 @@ === RUN TestDecodePath --- PASS: TestDecodePath (0.00s) PASS -ok github.com/rogpeppe/go-internal/module 0.026s +ok github.com/rogpeppe/go-internal/module 0.051s === RUN TestWork ---- PASS: TestWork (0.02s) +--- PASS: TestWork (0.03s) === RUN TestWorkParallel --- PASS: TestWorkParallel (0.01s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.043s +ok github.com/rogpeppe/go-internal/par 0.072s ? github.com/rogpeppe/go-internal/renameio [no test files] === RUN TestIsValid --- PASS: TestIsValid (0.00s) @@ -2788,7 +2823,7 @@ === RUN TestMax --- PASS: TestMax (0.00s) PASS -ok github.com/rogpeppe/go-internal/semver 0.020s +ok github.com/rogpeppe/go-internal/semver 0.060s ? github.com/rogpeppe/go-internal/testenv [no test files] === RUN TestCRLFInput === RUN TestCRLFInput/_ @@ -2796,7 +2831,7 @@ === PAUSE TestCRLFInput/_/script === CONT TestCRLFInput/_/script testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2872,16 +2907,8 @@ === RUN TestScripts/wait === PAUSE TestScripts/wait === CONT TestScripts/big_diff -=== CONT TestScripts/exec_path_change -=== CONT TestScripts/readfile -=== CONT TestScripts/cond -=== CONT TestScripts/wait -=== CONT TestScripts/commandstatus -=== CONT TestScripts/command -=== CONT TestScripts/cmpenv -=== CONT TestScripts/cond testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2892,29 +2919,13 @@ exe= GONOSUMDB=* - # test that exactly one of gc and gccgo is set (0.000s) - > [gc] mkdir gc_true - > [gccgo] mkdir gccgo_true - > [gc] ! exists gccgo_true - > [!gc] exists gccgo_true - > [gccgo] ! exists gc_true - > [!gccgo] exists gc_true - # test that go version build tags are set (0.000s) - > [go1.1] mkdir go1.x - > [go2.1] mkdir go2.x - > exists go1.x - > ! exists go2.x - # unix should be true on Linux and MacOS, but not on Windows. - # Both platforms are tested on CI. (0.000s) - > [unix] mkdir unix_true - > [linux] exists unix_true - > [darwin] exists unix_true - > [windows] ! exists unix_true - PASS - -=== CONT TestScripts/cmpenv - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + # Verify the behaviour of cmp in the case of a diff between two + # large files (with a large diff) (0.003s) + > unquote dir/script.txt + > ! testscript dir + > env + WORK=$WORK + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2924,17 +2935,13 @@ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* - - > env $=$ - > cmpenv file1 file2 + > cmpenv stdout stdout.golden PASS -=== CONT TestScripts/interrupt -=== CONT TestScripts/values -=== CONT TestScripts/evalsymlink -=== CONT TestScripts/values +=== CONT TestScripts/wait +=== CONT TestScripts/nothing testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2945,13 +2952,12 @@ exe= GONOSUMDB=* - > test-values + # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS -=== CONT TestScripts/testscript_update_script_stderr -=== CONT TestScripts/defer +=== CONT TestScripts/values testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2962,15 +2968,15 @@ exe= GONOSUMDB=* - > testdefer - > testdefer - > testdefer + > test-values PASS -=== CONT TestScripts/cpstdout -=== CONT TestScripts/big_diff +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/long_diff testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -2981,13 +2987,13 @@ exe= GONOSUMDB=* - # Verify the behaviour of cmp in the case of a diff between two - # large files (with a large diff) (0.002s) + # Verify the behaviour of cmp in the case of a small diff between + # two large files (0.001s) > unquote dir/script.txt > ! testscript dir > env WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3000,10 +3006,11 @@ > cmpenv stdout stdout.golden PASS -=== CONT TestScripts/testscript_update_script_quote -=== CONT TestScripts/nothing +=== CONT TestScripts/interrupt +=== CONT TestScripts/hello +=== CONT TestScripts/exists testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3014,16 +3021,24 @@ exe= GONOSUMDB=* - # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) + > chmod 444 foo_r + > exists foo + > ! exists unfoo + # TODO The following line fails but probably should not. + # ! exists -readonly foo (0.000s) + > exists foo_r + > exists -readonly foo_r PASS -=== CONT TestScripts/long_diff -=== CONT TestScripts/exists === CONT TestScripts/testscript_explicit_exec === CONT TestScripts/execguard -=== CONT TestScripts/exists +=== CONT TestScripts/exec_path_change +=== CONT TestScripts/evalsymlink +=== CONT TestScripts/setenv +=== CONT TestScripts/stdin +=== CONT TestScripts/setenv testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3034,19 +3049,18 @@ exe= GONOSUMDB=* - > chmod 444 foo_r - > exists foo - > ! exists unfoo - # TODO The following line fails but probably should not. - # ! exists -readonly foo (0.000s) - > exists foo_r - > exists -readonly foo_r + > setSpecialVal + > exists $SPECIALVAL.txt + > ensureSpecialVal PASS -=== CONT TestScripts/hello +=== CONT TestScripts/setupfiles +=== CONT TestScripts/command === CONT TestScripts/testscript_update_script_actual_is_file +=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/testscript_update_script_expected_not_in_archive testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3057,16 +3071,16 @@ exe= GONOSUMDB=* + # Verify that comparing stdout against a file not in the archive does nothing (0.027s) > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt + > cp scripts/testscript.txt unchanged + > ! testscript -update scripts + > cmp scripts/testscript.txt unchanged PASS -=== CONT TestScripts/testscript_update_script_expected_not_in_archive -=== CONT TestScripts/long_diff +=== CONT TestScripts/regexpquote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3077,13 +3091,13 @@ exe= GONOSUMDB=* - # Verify the behaviour of cmp in the case of a small diff between - # two large files (0.001s) - > unquote dir/script.txt - > ! testscript dir - > env - WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + > env XXX='hello)' + > grep ^${XXX@R}$ file.txt + PASS + +=== CONT TestScripts/cmpenv + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3093,12 +3107,15 @@ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* - > cmpenv stdout stdout.golden + + > env $=$ + > cmpenv file1 file2 PASS -=== CONT TestScripts/command +=== CONT TestScripts/readfile +=== CONT TestScripts/testscript_update_script_actual_is_file testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3109,17 +3126,16 @@ exe= GONOSUMDB=* - > printargs a b 'c d' - [stdout] - ["printargs" "a" "b" "c d"] - > stdout '\["printargs" "a" "b" "c d"\]\n' + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/setupfiles -=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/cpstdout === CONT TestScripts/setupfiles testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3135,9 +3151,11 @@ > setup-filenames .tmp a b PASS -=== CONT TestScripts/setenv +=== CONT TestScripts/defer +=== CONT TestScripts/cond +=== CONT TestScripts/defer testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3148,15 +3166,14 @@ exe= GONOSUMDB=* - > setSpecialVal - > exists $SPECIALVAL.txt - > ensureSpecialVal + > testdefer + > testdefer + > testdefer PASS -=== CONT TestScripts/stdin -=== CONT TestScripts/hello +=== CONT TestScripts/testscript_update_script_quote testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3167,18 +3184,15 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.020s) - > exec cat hello.text - [stdout] - hello world - > stdout 'hello world\n' - > ! stderr . + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/regexpquote +=== CONT TestScripts/interrupt testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3189,13 +3203,20 @@ exe= GONOSUMDB=* - > env XXX='hello)' - > grep ^${XXX@R}$ file.txt + > [windows] skip + > signalcatcher & + > waitfile catchsignal + > interrupt + > wait + [background] signalcatcher: exit status 0 + [stdout] + caught interrupt + > stdout 'caught interrupt' PASS -=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/cond testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3206,15 +3227,29 @@ exe= GONOSUMDB=* - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt + # test that exactly one of gc and gccgo is set (0.020s) + > [gc] mkdir gc_true + > [gccgo] mkdir gccgo_true + > [gc] ! exists gccgo_true + > [!gc] exists gccgo_true + > [gccgo] ! exists gc_true + > [!gccgo] exists gc_true + # test that go version build tags are set (0.000s) + > [go1.1] mkdir go1.x + > [go2.1] mkdir go2.x + > exists go1.x + > ! exists go2.x + # unix should be true on Linux and MacOS, but not on Windows. + # Both platforms are tested on CI. (0.000s) + > [unix] mkdir unix_true + > [linux] exists unix_true + > [darwin] exists unix_true + > [windows] ! exists unix_true PASS -=== CONT TestScripts/interrupt +=== CONT TestScripts/hello testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3225,20 +3260,18 @@ exe= GONOSUMDB=* - > [windows] skip - > signalcatcher & - > waitfile catchsignal - > interrupt - > wait - [background] signalcatcher: exit status 0 + > [!exec:cat] stop + # hello world (0.083s) + > exec cat hello.text [stdout] - caught interrupt - > stdout 'caught interrupt' + hello world + > stdout 'hello world\n' + > ! stderr . PASS === CONT TestScripts/execguard testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3257,9 +3290,29 @@ > stdout 'foo\n' PASS +=== CONT TestScripts/commandstatus +=== CONT TestScripts/testscript_update_script_stderr + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GONOSUMDB=* + + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript -update scripts + > cmp scripts/testscript.txt testscript-new.txt + PASS + === CONT TestScripts/cpstdout testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3271,7 +3324,7 @@ GONOSUMDB=* > [!exec:cat] stop - # hello world (0.138s) + # hello world (0.131s) > exec cat hello.text [stdout] hello world @@ -3284,9 +3337,9 @@ > cmp new hello.text PASS -=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/command testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3297,15 +3350,15 @@ exe= GONOSUMDB=* - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript -update scripts - > cmp scripts/testscript.txt testscript-new.txt + > printargs a b 'c d' + [stdout] + ["printargs" "a" "b" "c d"] + > stdout '\["printargs" "a" "b" "c d"\]\n' PASS === CONT TestScripts/readfile testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3327,29 +3380,9 @@ > testreadfile x/somefile PASS -=== CONT TestScripts/testscript_update_script_expected_not_in_archive - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GONOSUMDB=* - - # Verify that comparing stdout against a file not in the archive does nothing (0.133s) - > unquote scripts/testscript.txt - > cp scripts/testscript.txt unchanged - > ! testscript -update scripts - > cmp scripts/testscript.txt unchanged - PASS - === CONT TestScripts/evalsymlink testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3362,7 +3395,7 @@ # If ioutil.TempDir returns a sym linked dir (default behaviour in macOS for example) the # matcher will have problems with external programs that uses the real path. - # This script tests that $WORK is matched in a consistent way (also see #79). (0.212s) + # This script tests that $WORK is matched in a consistent way (also see #79). (0.231s) > [windows] skip > exec pwd [stdout] @@ -3374,29 +3407,9 @@ > stdout ^$WORK$ PASS -=== CONT TestScripts/commandstatus - testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/.tmp - devnull=/dev/null - /=/ - :=: - $=$ - TESTSCRIPT_COVER_DIR= - exe= - GONOSUMDB=* - - > ! status 1 - [exit status 1] - > ! status 2 - [exit status 2] - > status 0 - PASS - === CONT TestScripts/testscript_update_script testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3407,7 +3420,7 @@ exe= GONOSUMDB=* - # Check that we support both txt and txtar extensions. (0.196s) + # Check that we support both txt and txtar extensions. (0.241s) > unquote scripts/testscript.txt > unquote testscript-new.txt > cp scripts/testscript.txt scripts/testscript2.txtar @@ -3418,7 +3431,7 @@ === CONT TestScripts/testscript_explicit_exec testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3432,7 +3445,7 @@ # Check that RequireExplicitExec works; # it should reject `fprintargs` in favor of `exec fprintargs`, # but it shouldn't complain about `some-param-cmd`, - # as that Params.Cmds entry won't work via `exec some-param-cmd`. (0.232s) + # as that Params.Cmds entry won't work via `exec some-param-cmd`. (0.316s) > unquote scripts-implicit/testscript.txt > unquote scripts-explicit/testscript.txt > testscript scripts-implicit @@ -3441,9 +3454,29 @@ > testscript -explicit-exec scripts-explicit PASS +=== CONT TestScripts/commandstatus + testscript.go:429: WORK=$WORK + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/.tmp + devnull=/dev/null + /=/ + :=: + $=$ + TESTSCRIPT_COVER_DIR= + exe= + GONOSUMDB=* + + > ! status 1 + [exit status 1] + > ! status 2 + [exit status 2] + > status 0 + PASS + === CONT TestScripts/stdin testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3464,7 +3497,7 @@ > exec cat > ! stdout hello > [!exec:cat] stop - # Check that 'stdin stdout' works. (0.048s) + # Check that 'stdin stdout' works. (0.072s) > exec cat hello.txt [stdout] hello @@ -3479,7 +3512,7 @@ === CONT TestScripts/wait testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3493,7 +3526,7 @@ > [!exec:echo] skip > [!exec:false] skip # TODO: the '\n' below doesn't work on Windows on Github Actions, which does - # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.259s) + # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.325s) > [windows] skip > exec echo foo [stdout] @@ -3505,7 +3538,7 @@ # Starting a background process should clear previous output. (0.000s) > ! stdout foo # Wait should set the output to the concatenated outputs of the background - # programs, in the order in which they were started. (0.096s) + # programs, in the order in which they were started. (0.065s) > wait [background] echo foo: exit status 0 [stdout] @@ -3538,7 +3571,7 @@ # We should be able to start several background processes and wait for them # individually. # The end of the test should interrupt or kill any remaining background - # programs. (0.008s) + # programs. (0.018s) > [!exec:sleep] skip > ! exec sleep 86400 & [background] sleep 86400: signal: interrupt @@ -3546,7 +3579,7 @@ === CONT TestScripts/exec_path_change testscript.go:429: WORK=$WORK - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3558,7 +3591,7 @@ GONOSUMDB=* # If the PATH environment variable is set in the testscript.Params.Setup phase - # or set directly within a script, exec should honour that PATH (1.240s) + # or set directly within a script, exec should honour that PATH (1.855s) > [!exec:go] skip > env HOME=$WORK${/}home > [windows] env USERPROFILE=$WORK\home @@ -3578,43 +3611,43 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/cmpenv (0.00s) - --- PASS: TestScripts/cond (0.00s) - --- PASS: TestScripts/values (0.00s) - --- PASS: TestScripts/defer (0.00s) --- PASS: TestScripts/big_diff (0.00s) - --- PASS: TestScripts/exists (0.03s) - --- PASS: TestScripts/nothing (0.05s) - --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s) - --- PASS: TestScripts/command (0.06s) - --- PASS: TestScripts/long_diff (0.05s) - --- PASS: TestScripts/setupfiles (0.00s) - --- PASS: TestScripts/setenv (0.00s) - --- PASS: TestScripts/hello (0.02s) + --- PASS: TestScripts/nothing (0.00s) + --- PASS: TestScripts/values (0.00s) + --- PASS: TestScripts/long_diff (0.00s) + --- PASS: TestScripts/exists (0.00s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.03s) --- PASS: TestScripts/regexpquote (0.00s) - --- PASS: TestScripts/testscript_update_script_stderr (0.09s) - --- PASS: TestScripts/interrupt (0.10s) - --- PASS: TestScripts/execguard (0.12s) - --- PASS: TestScripts/cpstdout (0.14s) - --- PASS: TestScripts/testscript_update_script_quote (0.15s) - --- PASS: TestScripts/readfile (0.17s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.13s) - --- PASS: TestScripts/evalsymlink (0.21s) - --- PASS: TestScripts/commandstatus (0.25s) - --- PASS: TestScripts/testscript_update_script (0.20s) - --- PASS: TestScripts/testscript_explicit_exec (0.26s) - --- PASS: TestScripts/stdin (0.27s) - --- PASS: TestScripts/wait (0.36s) - --- PASS: TestScripts/exec_path_change (1.26s) + --- PASS: TestScripts/cmpenv (0.00s) + --- PASS: TestScripts/testscript_update_script_actual_is_file (0.03s) + --- PASS: TestScripts/setupfiles (0.04s) + --- PASS: TestScripts/setenv (0.04s) + --- PASS: TestScripts/defer (0.02s) + --- PASS: TestScripts/testscript_update_script_quote (0.07s) + --- PASS: TestScripts/interrupt (0.06s) + --- PASS: TestScripts/cond (0.02s) + --- PASS: TestScripts/hello (0.08s) + --- PASS: TestScripts/execguard (0.08s) + --- PASS: TestScripts/testscript_update_script_stderr (0.13s) + --- PASS: TestScripts/cpstdout (0.13s) + --- PASS: TestScripts/command (0.18s) + --- PASS: TestScripts/readfile (0.23s) + --- PASS: TestScripts/evalsymlink (0.26s) + --- PASS: TestScripts/testscript_update_script (0.30s) + --- PASS: TestScripts/testscript_explicit_exec (0.32s) + --- PASS: TestScripts/commandstatus (0.24s) + --- PASS: TestScripts/stdin (0.36s) + --- PASS: TestScripts/wait (0.41s) + --- PASS: TestScripts/exec_path_change (1.89s) === RUN TestTestwork ---- PASS: TestTestwork (4.49s) +--- PASS: TestTestwork (6.42s) === RUN TestWorkdirRoot === RUN TestWorkdirRoot/run_tests === RUN TestWorkdirRoot/run_tests/nothing === PAUSE TestWorkdirRoot/run_tests/nothing === CONT TestWorkdirRoot/run_tests/nothing - testscript.go:429: WORK=/tmp/3645512609/script-nothing - PATH=/tmp/testscript-main3799605967/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + testscript.go:429: WORK=/tmp/3759163920/script-nothing + PATH=/tmp/testscript-main543742099/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null @@ -3635,7 +3668,7 @@ === RUN TestUNIX2DOS --- PASS: TestUNIX2DOS (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 5.779s +ok github.com/rogpeppe/go-internal/testscript 8.344s === RUN Test === RUN Test/basic === RUN Test/basic#01 @@ -3663,7 +3696,7 @@ --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.032s +ok github.com/rogpeppe/go-internal/txtar 0.054s patch -R -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch patching file _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go Hunk #1 succeeded at 785 (offset 50 lines). @@ -3685,9 +3718,9 @@ dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_strip -a -O--builddirectory=_build -O--buildsystem=golang +dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-addmod dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-c dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-x -dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-addmod dh_makeshlibs -a -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -a -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang @@ -3697,9 +3730,9 @@ dpkg-gencontrol: warning: package go-internal: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'go-internal' in '../go-internal_1.9.0-1_amd64.deb'. dpkg-deb: building package 'golang-github-rogpeppe-go-internal-dev' in '../golang-github-rogpeppe-go-internal-dev_1.9.0-1_all.deb'. dpkg-deb: building package 'go-internal-dbgsym' in '../go-internal-dbgsym_1.9.0-1_amd64.deb'. +dpkg-deb: building package 'go-internal' in '../go-internal_1.9.0-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-rogpeppe-go-internal_1.9.0-1_amd64.buildinfo dpkg-genchanges --build=binary -O../golang-github-rogpeppe-go-internal_1.9.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3707,12 +3740,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/361089/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/361089/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/635189 and its subdirectories -I: Current time: Sun Apr 30 14:24:25 -12 2023 -I: pbuilder-time-stamp: 1682907865 +I: removing directory /srv/workspace/pbuilder/361089 and its subdirectories +I: Current time: Sun Jun 2 22:51:29 +14 2024 +I: pbuilder-time-stamp: 1717318289