Diff of the two buildlogs: -- --- b1/build.log 2024-07-29 18:48:27.807768244 +0000 +++ b2/build.log 2024-07-29 18:49:36.004867579 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 31 13:09:25 -12 2025 -I: pbuilder-time-stamp: 1756688965 +I: Current time: Tue Jul 30 08:48:30 +14 2024 +I: pbuilder-time-stamp: 1722278910 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./golang-github-rogpeppe-go-internal_1.6.2-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.iydKY366/trustedkeys.kbx': General error -gpgv: Signature made Thu Oct 22 21:09:39 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.FEIyHSJE/trustedkeys.kbx': General error +gpgv: Signature made Fri Oct 23 23:09:39 2020 +14 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: issuer "foka@debian.org" gpgv: Can't check signature: No public key @@ -28,134 +28,165 @@ dpkg-source: info: unpacking golang-github-rogpeppe-go-internal_1.6.2-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2416431/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/279015/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 Jul 30 08:48 /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/279015/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/279015/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=12 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='da726abf8fea4f16a27e087796381298' - 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='2416431' - PS1='# ' - PS2='> ' + INVOCATION_ID=82f16508a27d4cd1a030d6b99abbeee5 + 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=279015 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.zgI9J2bR/pbuilderrc_r2GO --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zgI9J2bR/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.6.2-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.zgI9J2bR/pbuilderrc_qKti --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.zgI9J2bR/b2 --logfile b2/build.log golang-github-rogpeppe-go-internal_1.6.2-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.9.7+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1~bpo12+1 (2024-07-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 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 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:47 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 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 5898 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 8049 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/2416431/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 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 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 30 08:48 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 2024 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 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 5898 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 8049 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/279015/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -239,7 +270,7 @@ Get: 40 http://deb.debian.org/debian bullseye/main amd64 golang-github-kr-pretty-dev all 0.2.1+git20200831.59b4212-1 [14.6 kB] Get: 41 http://deb.debian.org/debian bullseye/main amd64 golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-1 [32.1 kB] Get: 42 http://deb.debian.org/debian bullseye/main amd64 golang-gopkg-errgo.v2-dev all 2.1.0-2 [8980 B] -Fetched 79.7 MB in 2s (36.9 MB/s) +Fetched 79.7 MB in 1s (109 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19711 files and directories currently installed.) @@ -423,7 +454,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/ && 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.6.2-1_source.changes +I: user script /srv/workspace/pbuilder/279015/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/279015/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/ && 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.6.2-1_source.changes dpkg-buildpackage: info: source package golang-github-rogpeppe-go-internal dpkg-buildpackage: info: source version 1.6.2-1 dpkg-buildpackage: info: source distribution unstable @@ -442,134 +477,135 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -trimpath -v -p 12 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/race +internal/unsafeheader unicode/utf8 -unicode -encoding github.com/rogpeppe/go-internal/semver +unicode +runtime/internal/atomic math/bits unicode/utf16 runtime/internal/sys -internal/unsafeheader internal/cpu -runtime/internal/atomic -internal/nettrace +internal/race sync/atomic +internal/nettrace +encoding container/list crypto/internal/subtle crypto/subtle runtime/cgo vendor/golang.org/x/crypto/cryptobyte/asn1 -runtime/internal/math vendor/golang.org/x/crypto/internal/subtle +runtime/internal/math +internal/testlog internal/goversion internal/bytealg -internal/testlog github.com/rogpeppe/go-internal/internal/syscall/windows/registry -github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/syscall/windows math +github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll runtime -sync gopkg.in/errgo.v2/errors internal/reflectlite +sync internal/singleflight math/rand github.com/rogpeppe/go-internal/par -sort errors -strconv -io +sort internal/oserror +strconv vendor/golang.org/x/net/dns/dnsmessage +io syscall hash bytes -crypto/internal/randutil strings -crypto/hmac +crypto/internal/randutil hash/crc32 -vendor/golang.org/x/crypto/hkdf +crypto/hmac crypto -reflect crypto/rc4 -vendor/golang.org/x/text/transform +reflect +vendor/golang.org/x/crypto/hkdf path regexp/syntax bufio +vendor/golang.org/x/text/transform internal/syscall/unix -internal/syscall/execenv time +internal/syscall/execenv regexp -internal/fmtsort -github.com/rogpeppe/go-internal/fmtsort -encoding/binary context internal/poll +encoding/binary +github.com/rogpeppe/go-internal/fmtsort +internal/fmtsort +os encoding/base64 -crypto/sha512 +crypto/sha256 crypto/md5 crypto/sha1 vendor/golang.org/x/crypto/poly1305 -crypto/ed25519/internal/edwards25519 crypto/cipher -crypto/sha256 -os +crypto/ed25519/internal/edwards25519 +crypto/sha512 encoding/pem -crypto/des -crypto/aes -vendor/golang.org/x/crypto/chacha20 fmt path/filepath -internal/lazyregexp -github.com/rogpeppe/go-internal/lockedfile/internal/filelock runtime/debug net +internal/lazyregexp +github.com/rogpeppe/go-internal/lockedfile/internal/filelock +crypto/des +crypto/aes +vendor/golang.org/x/crypto/chacha20 io/ioutil os/exec github.com/rogpeppe/go-internal/renameio vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/chacha20poly1305 +github.com/rogpeppe/go-internal/internal/os/execpath encoding/hex flag compress/flate -github.com/rogpeppe/go-internal/module -encoding/json github.com/rogpeppe/go-internal/txtar -math/big +encoding/json +github.com/rogpeppe/go-internal/module log net/url +math/big vendor/golang.org/x/crypto/curve25519 github.com/rogpeppe/go-internal/cache -vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal +vendor/golang.org/x/text/unicode/bidi github.com/rogpeppe/go-internal/imports -github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/textutil runtime/trace gopkg.in/errgo.v2/fmt/errors -go/token -text/template/parse archive/zip compress/gzip testing -vendor/golang.org/x/text/secure/bidirule +go/token +text/template/parse internal/execabs github.com/rogpeppe/go-internal/cmd/txtar-addmod -go/scanner internal/goroot +vendor/golang.org/x/text/secure/bidirule github.com/rogpeppe/go-internal/cmd/txtar-c +go/scanner github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/modfile +vendor/golang.org/x/net/idna go/ast github.com/rogpeppe/go-internal/dirhash +text/template github.com/rogpeppe/go-internal/testenv -vendor/golang.org/x/net/idna crypto/rand crypto/elliptic encoding/asn1 @@ -577,17 +613,16 @@ github.com/rogpeppe/go-internal/testscript crypto/ed25519 crypto/rsa -text/template go/parser -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix go/doc crypto/ecdsa go/build github.com/rogpeppe/go-internal/gotooltest net/textproto -crypto/x509 vendor/golang.org/x/net/http/httpproxy +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -601,20 +636,20 @@ GOPROXY="" dh_auto_test cd obj-x86_64-linux-gnu && go test -vet=off -v -p 12 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.05s) +--- PASS: TestBasic (0.06s) === RUN TestGrowth ---- PASS: TestGrowth (1.89s) +--- PASS: TestGrowth (0.54s) === 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.04s) +--- PASS: TestVerifyPanic (0.01s) === RUN TestCacheLog ---- PASS: TestCacheLog (0.07s) +--- PASS: TestCacheLog (0.01s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.08s) +--- PASS: TestCacheTrim (0.02s) === RUN TestDefaultDir --- PASS: TestDefaultDir (0.00s) === RUN TestHash @@ -622,7 +657,7 @@ === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 2.150s +ok github.com/rogpeppe/go-internal/cache 0.660s === RUN TestScripts === RUN TestScripts/env_var_no_go === PAUSE TestScripts/env_var_no_go @@ -644,16 +679,17 @@ === PAUSE TestScripts/work === CONT TestScripts/env_var_no_go === CONT TestScripts/noproxy -=== CONT TestScripts/skip -=== CONT TestScripts/simple -=== CONT TestScripts/work +=== CONT TestScripts/help === CONT TestScripts/error === CONT TestScripts/env_var_with_go === CONT TestScripts/nogo +=== CONT TestScripts/skip +=== CONT TestScripts/work +=== CONT TestScripts/simple === CONT TestScripts/help testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -671,7 +707,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.012s) + # Simply sanity check on help output (0.005s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -792,7 +828,7 @@ === CONT TestScripts/nogo testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -810,7 +846,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.015s) + # should support skip (0.010s) > unquote file.txt > env PATH= > ! testscript -v file.txt @@ -826,19 +862,19 @@ exe= > go env - FAIL: $WORK/tmp/testscript636966758/0/script.txt:1: unknown command "go" + FAIL: $WORK/tmp/testscript976227873/0/script.txt:1: unknown command "go" [stderr] - error running file.txt in $WORK/tmp/testscript636966758/0 + error running file.txt in $WORK/tmp/testscript976227873/0 [exit status 1] > stdout 'unknown command "go"' > stderr 'error running file.txt in' PASS -=== CONT TestScripts/work +=== CONT TestScripts/skip testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -856,13 +892,13 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.079s) + # should support skip (0.034s) > unquote file.txt - > testscript -v -work file.txt + > testscript -v file.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -878,17 +914,19 @@ GOPROXY=https://proxy.golang.org,direct goversion=1.15 - > exec true - PASS - [stderr] - temporary work directory: $WORK/tmp/testscript873684802 - > stderr '\Qtemporary work directory: '$WORK'\E[/\\]tmp[/\\]' + > go version + [stdout] + go version go1.15.15 linux/amd64 + + > skip + > stdout 'go version' + > ! stderr .+ PASS -=== CONT TestScripts/skip +=== CONT TestScripts/work testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -906,13 +944,13 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.093s) + # should support skip (0.036s) > unquote file.txt - > testscript -v file.txt + > testscript -v -work file.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -928,19 +966,17 @@ GOPROXY=https://proxy.golang.org,direct goversion=1.15 - > go version - [stdout] - go version go1.15.15 linux/amd64 - - > skip - > stdout 'go version' - > ! stderr .+ + > exec true + PASS + [stderr] + temporary work directory: $WORK/tmp/testscript284250553 + > stderr '\Qtemporary work directory: '$WORK'\E[/\\]tmp[/\\]' PASS === CONT TestScripts/env_var_no_go testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -960,19 +996,19 @@ # Test passing environment variables to scripts with no go command on PATH # - # This is the counterpart to env_var_with_go.txt (0.002s) + # This is the counterpart to env_var_with_go.txt (0.000s) > unquote noproxy.txt > unquote withproxy.txt > dropgofrompath > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.012s) + # no GOPROXY, no pass-through, no proxy (0.005s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -991,19 +1027,19 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.014s) + # no GOPROXY, no pass-through, with proxy (0.006s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: exe= - GOPROXY=http://127.0.0.1:36559/mod + GOPROXY=http://127.0.0.1:34735/mod GONOSUMDB=* > env BANANA @@ -1011,18 +1047,18 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:36559/mod + GOPROXY=http://127.0.0.1:34735/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.005s) + # no GOPROXY, with pass-through, no proxy (0.006s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1044,12 +1080,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.029s) + # no GOPROXY, with pass-through, with proxy (0.006s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1073,12 +1109,12 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.012s) + # with GOPROXY, no pass-through, no proxy (0.004s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1097,19 +1133,19 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.014s) + # with GOPROXY, no pass-through, with proxy (0.006s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: exe= - GOPROXY=http://127.0.0.1:36749/mod + GOPROXY=http://127.0.0.1:41367/mod GONOSUMDB=* > env BANANA @@ -1117,18 +1153,18 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:36749/mod + GOPROXY=http://127.0.0.1:41367/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.009s) + # with GOPROXY, with pass-through, no proxy (0.004s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1150,12 +1186,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.014s) + # with GOPROXY, with pass-through, with proxy (0.004s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1183,7 +1219,7 @@ === CONT TestScripts/error testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1201,15 +1237,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.001s) + # should support skip (0.000s) > unquote file.txt - # stdin (0.075s) + # stdin (0.029s) > stdin file.txt > ! testscript -v [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1227,18 +1263,18 @@ > exec false [exit status 1] - FAIL: $WORK/tmp/testscript020189351/0/script.txt:1: unexpected command failure + FAIL: $WORK/tmp/testscript792849209/0/script.txt:1: unexpected command failure [stderr] - error running in $WORK/tmp/testscript020189351/0 + error running in $WORK/tmp/testscript792849209/0 [exit status 1] > stderr 'error running in' - # file-based (0.049s) + # file-based (0.027s) > ! testscript -v file.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1256,18 +1292,18 @@ > exec false [exit status 1] - FAIL: $WORK/tmp/testscript420015081/0/script.txt:1: unexpected command failure + FAIL: $WORK/tmp/testscript851396966/0/script.txt:1: unexpected command failure [stderr] - error running file.txt in $WORK/tmp/testscript420015081/0 + error running file.txt in $WORK/tmp/testscript851396966/0 [exit status 1] > stderr 'error running file.txt in' PASS -=== CONT TestScripts/simple +=== CONT TestScripts/noproxy testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1285,15 +1321,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (0.141s) + # With no .gomodproxy supporting files, we use the GOPROXY from + # the environment. (0.072s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1306,34 +1342,55 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:37213/mod + GOPROXY=0.1.2.3 goversion=1.15 - GONOSUMDB=* - - > go list -m - [stdout] - example.com/mod - > stdout 'example.com/mod' - > go list fruit.com/... + > go env [stdout] - fruit.com/coretest - fruit.com/fruit - - [stderr] - go: downloading fruit.com v1.0.0 + GO111MODULE="" + GOARCH="amd64" + GOBIN="" + GOCACHE="/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build" + GOENV="/no-home/.config/go/env" + GOEXE="" + GOFLAGS="" + GOHOSTARCH="amd64" + GOHOSTOS="linux" + GOINSECURE="" + GOMODCACHE="$WORK/gopath/pkg/mod" + GONOPROXY="" + GONOSUMDB="" + GOOS="linux" + GOPATH="$WORK/gopath" + GOPRIVATE="" + GOPROXY="0.1.2.3" + GOROOT="/usr/lib/go-1.15" + GOSUMDB="sum.golang.org" + GOTMPDIR="" + GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64" + GCCGO="gccgo" + AR="ar" + CC="gcc" + CXX="g++" + CGO_ENABLED="1" + GOMOD="" + CGO_CFLAGS="-g -O2" + CGO_CPPFLAGS="" + CGO_CXXFLAGS="-g -O2" + CGO_FFLAGS="-g -O2" + CGO_LDFLAGS="-g -O2" + PKG_CONFIG="pkg-config" + GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/tmp/go-build492181019=/tmp/go-build -gno-record-gcc-switches" - > stdout 'fruit.com/fruit' - > stdout 'fruit.com/coretest' + > [!windows] stdout '^GOPROXY="0.1.2.3"$' + > [windows] stdout '^set GOPROXY=0.1.2.3$' PASS - > stdout 'example.com/mod' - > ! stderr .+ PASS -=== CONT TestScripts/noproxy +=== CONT TestScripts/simple testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1351,15 +1408,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. (0.146s) + # With .gomodproxy supporting files, any GOPROXY from the + # environment should be overridden by the test proxy. (0.094s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1372,55 +1429,34 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=0.1.2.3 + GOPROXY=http://127.0.0.1:38435/mod goversion=1.15 + GONOSUMDB=* - > go env + > go list -m [stdout] - GO111MODULE="" - GOARCH="amd64" - GOBIN="" - GOCACHE="/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build" - GOENV="/no-home/.config/go/env" - GOEXE="" - GOFLAGS="" - GOHOSTARCH="amd64" - GOHOSTOS="linux" - GOINSECURE="" - GOMODCACHE="$WORK/gopath/pkg/mod" - GONOPROXY="" - GONOSUMDB="" - GOOS="linux" - GOPATH="$WORK/gopath" - GOPRIVATE="" - GOPROXY="0.1.2.3" - GOROOT="/usr/lib/go-1.15" - GOSUMDB="sum.golang.org" - GOTMPDIR="" - GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64" - GCCGO="gccgo" - AR="ar" - CC="gcc" - CXX="g++" - CGO_ENABLED="1" - GOMOD="" - CGO_CFLAGS="-g -O2" - CGO_CPPFLAGS="" - CGO_CXXFLAGS="-g -O2" - CGO_FFLAGS="-g -O2" - CGO_LDFLAGS="-g -O2" - PKG_CONFIG="pkg-config" - GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/tmp/go-build148810734=/tmp/go-build -gno-record-gcc-switches" + example.com/mod - > [!windows] stdout '^GOPROXY="0.1.2.3"$' - > [windows] stdout '^set GOPROXY=0.1.2.3$' + > stdout 'example.com/mod' + > go list fruit.com/... + [stdout] + fruit.com/coretest + fruit.com/fruit + + [stderr] + go: downloading fruit.com v1.0.0 + + > stdout 'fruit.com/fruit' + > stdout 'fruit.com/coretest' PASS + > stdout 'example.com/mod' + > ! stderr .+ PASS === CONT TestScripts/env_var_with_go testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1444,15 +1480,15 @@ # the string literal $WORK because testscript rewrites the actual directory # to $WORK. Hence we don't want to expand this script's $WORK in such a comparison. # - # This is the counterpart to env_var_no_go.txt (0.001s) + # This is the counterpart to env_var_no_go.txt (0.000s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.070s) + # Baseline (0.030s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1483,12 +1519,12 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.065s) + # no GOPROXY, no pass-through, no proxy (0.026s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1516,12 +1552,12 @@ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.044s) + # no GOPROXY, no pass-through, with proxy (0.023s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1534,7 +1570,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:36337/mod + GOPROXY=http://127.0.0.1:42875/mod goversion=1.15 GONOSUMDB=* @@ -1543,18 +1579,18 @@ > env GOPATH GOPATH=$WORK/gopath > env GOPROXY - GOPROXY=http://127.0.0.1:36337/mod + GOPROXY=http://127.0.0.1:42875/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.033s) + # no GOPROXY, with pass-through, no proxy (0.023s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1582,12 +1618,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.037s) + # no GOPROXY, with pass-through, with proxy (0.023s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1617,12 +1653,12 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.036s) + # with GOPROXY, no pass-through, no proxy (0.020s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1649,12 +1685,12 @@ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.045s) + # with GOPROXY, no pass-through, with proxy (0.021s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1667,7 +1703,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:36367/mod + GOPROXY=http://127.0.0.1:40105/mod goversion=1.15 GONOSUMDB=* @@ -1676,18 +1712,18 @@ > env GOPATH GOPATH=$WORK/gopath > env GOPROXY - GOPROXY=http://127.0.0.1:36367/mod + GOPROXY=http://127.0.0.1:40105/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.035s) + # with GOPROXY, with pass-through, no proxy (0.020s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1715,12 +1751,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.038s) + # with GOPROXY, with pass-through, with proxy (0.020s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1751,18 +1787,18 @@ > ! stderr .+ PASS ---- PASS: TestScripts (0.04s) +--- PASS: TestScripts (0.02s) --- PASS: TestScripts/help (0.01s) - --- PASS: TestScripts/nogo (0.02s) - --- PASS: TestScripts/work (0.08s) - --- PASS: TestScripts/skip (0.09s) - --- PASS: TestScripts/env_var_no_go (0.11s) - --- PASS: TestScripts/error (0.13s) - --- PASS: TestScripts/simple (0.14s) - --- PASS: TestScripts/noproxy (0.15s) - --- PASS: TestScripts/env_var_with_go (0.40s) + --- PASS: TestScripts/nogo (0.01s) + --- PASS: TestScripts/skip (0.04s) + --- PASS: TestScripts/work (0.04s) + --- PASS: TestScripts/env_var_no_go (0.04s) + --- PASS: TestScripts/error (0.06s) + --- PASS: TestScripts/noproxy (0.07s) + --- PASS: TestScripts/simple (0.09s) + --- PASS: TestScripts/env_var_with_go (0.21s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 0.451s +ok github.com/rogpeppe/go-internal/cmd/testscript 0.232s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -1778,7 +1814,7 @@ === CONT TestScripts/encode testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1791,7 +1827,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:43683/mod + GOPROXY=http://127.0.0.1:43753/mod goversion=1.15 GONOSUMDB=* @@ -1805,7 +1841,7 @@ === CONT TestScripts/to_stdout testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1818,7 +1854,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:43683/mod + GOPROXY=http://127.0.0.1:43753/mod goversion=1.15 GONOSUMDB=* @@ -1846,7 +1882,7 @@ === CONT TestScripts/txtar-addmod-self testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1859,7 +1895,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:43683/mod + GOPROXY=http://127.0.0.1:43753/mod goversion=1.15 GONOSUMDB=* @@ -1873,12 +1909,12 @@ > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txt PASS ---- PASS: TestScripts (0.03s) +--- PASS: TestScripts (0.02s) --- PASS: TestScripts/encode (0.07s) - --- PASS: TestScripts/to_stdout (0.15s) - --- PASS: TestScripts/txtar-addmod-self (0.21s) + --- PASS: TestScripts/to_stdout (0.08s) + --- PASS: TestScripts/txtar-addmod-self (0.12s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.248s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.146s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -1892,10 +1928,10 @@ === CONT TestScripts/quote === CONT TestScripts/txtar-savedir-self === CONT TestScripts/needquote -=== CONT TestScripts/quote +=== CONT TestScripts/txtar-savedir-self testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1903,22 +1939,30 @@ :=: exe= - > unquote blah/withsep > unquote expect - > txtar-c -quote blah + > txtar-c blah [stdout] - unquote withsep - -- withsep -- - >-- separator -- - >foo + -- go.mod -- + module example.com/blah + + -- main.go -- + package main + + import "fmt" + + func main() { + fmt.Println("Hello, world!") + } + -- subdir/x -- + x contents > ! stderr .+ > cmp stdout expect PASS -=== CONT TestScripts/txtar-savedir-self +=== CONT TestScripts/needquote testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1926,22 +1970,37 @@ :=: exe= + > unquote blah/withsep > unquote expect > txtar-c blah [stdout] - -- go.mod -- - module example.com/blah - - -- main.go -- - package main + -- 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 - import "fmt" +=== CONT TestScripts/quote + testscript.go:382: + WORK=$WORK + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/tmp + devnull=/dev/null + /=/ + :=: + exe= - func main() { - fmt.Println("Hello, world!") - } - -- subdir/x -- - x contents + > unquote blah/withsep + > unquote expect + > txtar-c -quote blah + [stdout] + unquote withsep + -- withsep -- + >-- separator -- + >foo > ! stderr .+ > cmp stdout expect PASS @@ -1949,7 +2008,7 @@ === CONT TestScripts/all testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1959,7 +2018,7 @@ > unquote expect-all > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.015s) + # Without the -a flag, it should ignore . files. (0.003s) > txtar-c blah [stdout] -- go.mod -- @@ -1975,7 +2034,7 @@ } > ! stderr .+ > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.005s) + # With the -a flag, it should include them. (0.002s) > txtar-c -a blah [stdout] -- .foo/foo -- @@ -1997,36 +2056,13 @@ > cmp stdout expect-all PASS -=== CONT TestScripts/needquote - testscript.go:382: - WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/tmp - devnull=/dev/null - /=/ - :=: - exe= - - > unquote blah/withsep - > unquote expect - > txtar-c 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' - > cmp stdout expect - PASS - --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/quote (0.02s) - --- PASS: TestScripts/txtar-savedir-self (0.02s) - --- PASS: TestScripts/all (0.02s) - --- PASS: TestScripts/needquote (0.03s) + --- PASS: TestScripts/txtar-savedir-self (0.00s) + --- PASS: TestScripts/needquote (0.00s) + --- PASS: TestScripts/quote (0.01s) + --- PASS: TestScripts/all (0.01s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.046s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.009s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2039,12 +2075,12 @@ === PAUSE TestScripts/extract === CONT TestScripts/extract-dir === CONT TestScripts/extract-stdin -=== CONT TestScripts/extract-out-of-bounds === CONT TestScripts/extract -=== CONT TestScripts/extract-stdin +=== CONT TestScripts/extract-out-of-bounds +=== CONT TestScripts/extract-dir testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2053,16 +2089,15 @@ 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-dir +=== CONT TestScripts/extract testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2071,15 +2106,15 @@ 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 +=== CONT TestScripts/extract-stdin testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2088,7 +2123,8 @@ 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 @@ -2096,7 +2132,7 @@ === CONT TestScripts/extract-out-of-bounds testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2118,12 +2154,12 @@ PASS --- PASS: TestScripts (0.00s) + --- PASS: TestScripts/extract-dir (0.00s) + --- PASS: TestScripts/extract (0.01s) --- PASS: TestScripts/extract-stdin (0.01s) - --- PASS: TestScripts/extract-dir (0.01s) - --- PASS: TestScripts/extract (0.02s) - --- PASS: TestScripts/extract-out-of-bounds (0.03s) + --- PASS: TestScripts/extract-out-of-bounds (0.01s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.036s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.017s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir @@ -2133,7 +2169,7 @@ === RUN TestDirFiles --- PASS: TestDirFiles (0.00s) PASS -ok github.com/rogpeppe/go-internal/dirhash 0.017s +ok github.com/rogpeppe/go-internal/dirhash 0.016s === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestOrder @@ -2141,14 +2177,14 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.021s +ok github.com/rogpeppe/go-internal/fmtsort 0.007s === RUN TestScripts === RUN TestScripts/list === PAUSE TestScripts/list === CONT TestScripts/list testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2161,11 +2197,11 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2/obj-x86_64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:40065/mod + GOPROXY=http://127.0.0.1:40661/mod goversion=1.15 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.120s) > [!go1.12] go get fruit.com > go list -m -versions fruit.com [stdout] @@ -2182,17 +2218,17 @@ PASS ---- PASS: TestScripts (0.03s) - --- PASS: TestScripts/list (0.10s) +--- PASS: TestScripts (0.02s) + --- PASS: TestScripts/list (0.12s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.136s +ok github.com/rogpeppe/go-internal/goproxytest 0.142s === RUN TestSimple === RUN TestSimple/version === PAUSE TestSimple/version === CONT TestSimple/version testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2217,10 +2253,10 @@ > [go1.12] stdout go1\.12 PASS ---- PASS: TestSimple (0.07s) - --- PASS: TestSimple/version (0.05s) +--- PASS: TestSimple (0.02s) + --- PASS: TestSimple/version (0.01s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.123s +ok github.com/rogpeppe/go-internal/gotooltest 0.035s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2234,7 +2270,7 @@ === RUN TestScanStar --- PASS: TestScanStar (0.00s) PASS -ok github.com/rogpeppe/go-internal/imports 0.026s +ok github.com/rogpeppe/go-internal/imports 0.005s ? 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] @@ -2242,7 +2278,7 @@ === RUN TestDiff --- PASS: TestDiff (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/textutil 0.019s +ok github.com/rogpeppe/go-internal/internal/textutil 0.017s === RUN TestMutexExcludes === PAUSE TestMutexExcludes === RUN TestReadWaitsForLock @@ -2250,7 +2286,7 @@ === RUN TestCanLockExistingFile === PAUSE TestCanLockExistingFile === RUN TestSpuriousEDEADLK ---- PASS: TestSpuriousEDEADLK (0.03s) +--- PASS: TestSpuriousEDEADLK (0.02s) === CONT TestMutexExcludes lockedfile_test.go:74: mu := MutexAt(_) lockedfile_test.go:80: unlock, _ := mu.Lock() @@ -2265,11 +2301,12 @@ --- PASS: TestMutexExcludes (0.01s) === CONT TestReadWaitsForLock lockedfile_test.go:145: WriteString("part 2\n") = - lockedfile_test.go:135: Read(_) = "part 1\npart 2\n" --- PASS: TestCanLockExistingFile (0.01s) ---- PASS: TestReadWaitsForLock (0.01s) +=== CONT TestReadWaitsForLock + lockedfile_test.go:135: Read(_) = "part 1\npart 2\n" +--- PASS: TestReadWaitsForLock (0.04s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 0.045s +ok github.com/rogpeppe/go-internal/lockedfile 0.071s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2277,56 +2314,52 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:190: fd 7 = /tmp/TestLockNotDroppedByExecCommand971860492 + filelock_test.go:190: fd 7 = /tmp/TestLockNotDroppedByExecCommand476436483 filelock_test.go:193: Lock(fd 7) = - filelock_test.go:195: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand971860492") + filelock_test.go:195: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand476436483") filelock_test.go:206: Lock(fd 8) is blocked (as expected) filelock_test.go:207: Unlock(fd 7) = asm_amd64.s:1374: Lock(fd 8) = filelock_test.go:209: Unlock(fd 8) = --- PASS: TestLockNotDroppedByExecCommand (0.02s) === CONT TestLockExcludesLock - filelock_test.go:124: fd 7 = /tmp/TestLockExcludesLock760748539 - filelock_test.go:127: fd 8 = os.Open("/tmp/TestLockExcludesLock760748539") + filelock_test.go:124: fd 7 = /tmp/TestLockExcludesLock883401094 + filelock_test.go:127: fd 8 = os.Open("/tmp/TestLockExcludesLock883401094") filelock_test.go:130: Lock(fd 7) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:156: fd 9 = /tmp/TestRLockExcludesOnlyLock602404126 + filelock_test.go:156: fd 9 = /tmp/TestRLockExcludesOnlyLock036566829 filelock_test.go:158: RLock(fd 9) = -=== CONT TestLockExcludesRLock -=== CONT TestRLockExcludesOnlyLock - filelock_test.go:160: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock602404126") + filelock_test.go:160: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock036566829") filelock_test.go:172: RLock(fd 10) = - filelock_test.go:175: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock602404126") + filelock_test.go:175: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock036566829") === CONT TestLockExcludesRLock - filelock_test.go:140: fd 12 = /tmp/TestLockExcludesRLock165942245 - filelock_test.go:143: fd 13 = os.Open("/tmp/TestLockExcludesRLock165942245") + filelock_test.go:140: fd 12 = /tmp/TestLockExcludesRLock807427752 + filelock_test.go:143: fd 13 = os.Open("/tmp/TestLockExcludesRLock807427752") filelock_test.go:146: Lock(fd 12) = -=== CONT TestLockExcludesLock - filelock_test.go:131: Lock(fd 8) is blocked (as expected) - filelock_test.go:132: Unlock(fd 7) = === CONT TestRLockExcludesOnlyLock filelock_test.go:177: Lock(fd 11) is blocked (as expected) filelock_test.go:179: Unlock(fd 10) = filelock_test.go:181: Unlock(fd 9) = +=== CONT TestLockExcludesLock + filelock_test.go:131: Lock(fd 8) is blocked (as expected) + filelock_test.go:132: Unlock(fd 7) = === CONT TestLockExcludesRLock filelock_test.go:147: RLock(fd 13) is blocked (as expected) -=== CONT TestRLockExcludesOnlyLock - asm_amd64.s:1374: Lock(fd 11) = -=== CONT TestLockExcludesRLock filelock_test.go:148: Unlock(fd 12) = === CONT TestRLockExcludesOnlyLock + asm_amd64.s:1374: Lock(fd 11) = filelock_test.go:184: Unlock(fd 11) = -=== CONT TestLockExcludesRLock - asm_amd64.s:1374: RLock(fd 13) = - filelock_test.go:150: Unlock(fd 13) = --- PASS: TestRLockExcludesOnlyLock (0.01s) ---- PASS: TestLockExcludesRLock (0.01s) === CONT TestLockExcludesLock asm_amd64.s:1374: Lock(fd 8) = filelock_test.go:134: Unlock(fd 8) = --- PASS: TestLockExcludesLock (0.01s) +=== CONT TestLockExcludesRLock + asm_amd64.s:1374: RLock(fd 13) = + filelock_test.go:150: Unlock(fd 13) = +--- PASS: TestLockExcludesRLock (0.01s) PASS -ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.054s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.046s === RUN TestPrintGolden --- PASS: TestPrintGolden (0.00s) === RUN TestParseLax @@ -2406,7 +2439,7 @@ --- PASS: TestAddRequire/#1 (0.00s) --- PASS: TestAddRequire/#2 (0.00s) PASS -ok github.com/rogpeppe/go-internal/modfile 0.011s +ok github.com/rogpeppe/go-internal/modfile 0.005s === RUN TestCheck --- PASS: TestCheck (0.00s) === RUN TestCheckPath @@ -2418,15 +2451,15 @@ === RUN TestDecodePath --- PASS: TestDecodePath (0.00s) PASS -ok github.com/rogpeppe/go-internal/module 0.010s +ok github.com/rogpeppe/go-internal/module 0.011s === RUN TestWork ---- PASS: TestWork (0.03s) +--- PASS: TestWork (0.00s) === RUN TestWorkParallel --- PASS: TestWorkParallel (0.00s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.053s +ok github.com/rogpeppe/go-internal/par 0.020s ? github.com/rogpeppe/go-internal/renameio [no test files] === RUN TestIsValid --- PASS: TestIsValid (0.00s) @@ -2445,7 +2478,7 @@ === RUN TestMax --- PASS: TestMax (0.00s) PASS -ok github.com/rogpeppe/go-internal/semver 0.006s +ok github.com/rogpeppe/go-internal/semver 0.005s ? github.com/rogpeppe/go-internal/testenv [no test files] === RUN TestCRLFInput === RUN TestCRLFInput/_ @@ -2454,7 +2487,7 @@ === CONT TestCRLFInput/_/script testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2520,13 +2553,12 @@ === RUN TestScripts/wait === PAUSE TestScripts/wait === CONT TestScripts/cmpenv -=== CONT TestScripts/testscript_update_script -=== CONT TestScripts/hello -=== CONT TestScripts/regexpquote +=== CONT TestScripts/readfile +=== CONT TestScripts/testscript_update_script_actual_is_file === CONT TestScripts/cmpenv testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2539,12 +2571,14 @@ > cmpenv file1 file2 PASS -=== CONT TestScripts/testscript_update_script_stderr -=== CONT TestScripts/exists -=== CONT TestScripts/regexpquote +=== CONT TestScripts/setupfiles +=== CONT TestScripts/wait +=== CONT TestScripts/nothing +=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/nothing testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2553,20 +2587,16 @@ exe= GONOSUMDB=* - > env XXX='hello)' - > grep ^${XXX@R}$ file.txt + # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS -=== CONT TestScripts/execguard -=== CONT TestScripts/command -=== CONT TestScripts/exec_path_change -=== CONT TestScripts/evalsymlink -=== CONT TestScripts/defer -=== CONT TestScripts/cpstdout -=== CONT TestScripts/defer +=== CONT TestScripts/stdin +=== CONT TestScripts/values +=== CONT TestScripts/interrupt +=== CONT TestScripts/setupfiles testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2575,16 +2605,20 @@ exe= GONOSUMDB=* - > testdefer - > testdefer - > testdefer + # check that the Setup function saw the unarchived files, + # including the temp directory that's always created. (0.000s) + > setup-filenames a b tmp PASS -=== CONT TestScripts/commandstatus -=== CONT TestScripts/hello +=== CONT TestScripts/setenv +=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/regexpquote +=== CONT TestScripts/values testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2593,21 +2627,13 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.005s) - > exec cat hello.text - [stdout] - hello world - > stdout 'hello world\n' - > ! stderr . + > test-values PASS -=== CONT TestScripts/interrupt -=== CONT TestScripts/nothing -=== CONT TestScripts/exists +=== CONT TestScripts/regexpquote testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2616,19 +2642,14 @@ 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 + > env XXX='hello)' + > grep ^${XXX@R}$ file.txt PASS -=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/setenv testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2637,21 +2658,17 @@ exe= GONOSUMDB=* - > unquote scripts/testscript.txt - > unquote testscript-new.txt - > testscript-update scripts - testscript: - PASS - $WORK/scripts/testscript.txt updated - - > cmp scripts/testscript.txt testscript-new.txt + > setSpecialVal + > exists $SPECIALVAL.txt + > ensureSpecialVal PASS -=== CONT TestScripts/setupfiles -=== CONT TestScripts/execguard +=== CONT TestScripts/cpstdout +=== CONT TestScripts/commandstatus +=== CONT TestScripts/defer testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2660,19 +2677,16 @@ exe= GONOSUMDB=* - > [exec:nosuchcommand] exec nosuchcommand - > [!exec:cat] stop - > exec cat foo - [stdout] - foo - > stdout 'foo\n' + > testdefer + > testdefer + > testdefer PASS -=== CONT TestScripts/stdin -=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/exists +=== CONT TestScripts/testscript_update_script_actual_is_file testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2691,10 +2705,10 @@ > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/setupfiles +=== CONT TestScripts/exists testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2703,54 +2717,21 @@ exe= GONOSUMDB=* - # check that the Setup function saw the unarchived files, - # including the temp directory that's always created. (0.000s) - > setup-filenames a b tmp + > 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/command - testscript.go:382: - WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/tmp - devnull=/dev/null - /=/ - :=: - exe= - GONOSUMDB=* - - > printargs a b 'c d' - [stdout] - ["printargs" "a" "b" "c d"] - > stdout '\["printargs" "a" "b" "c d"\]\n' - PASS - -=== CONT TestScripts/setenv -=== CONT TestScripts/wait -=== CONT TestScripts/testscript_update_script_expected_not_in_archive -=== CONT TestScripts/setenv - testscript.go:382: - WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/tmp - devnull=/dev/null - /=/ - :=: - exe= - GONOSUMDB=* - - > setSpecialVal - > exists $SPECIALVAL.txt - > ensureSpecialVal - PASS - +=== CONT TestScripts/hello === CONT TestScripts/testscript_update_script_quote -=== CONT TestScripts/cpstdout testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2759,20 +2740,20 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.020s) - > exec cat hello.text - [stdout] - hello world + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript-update scripts + testscript: + PASS + $WORK/scripts/testscript.txt updated - > cp stdout got - > cmp got hello.text + > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/testscript_update_script_actual_is_file +=== CONT TestScripts/testscript_update_script_stderr testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2791,10 +2772,11 @@ > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/values +=== CONT TestScripts/evalsymlink +=== CONT TestScripts/hello testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2803,14 +2785,19 @@ exe= GONOSUMDB=* - > test-values + > [!exec:cat] stop + # hello world (0.001s) + > exec cat hello.text + [stdout] + hello world + > stdout 'hello world\n' + > ! stderr . PASS === CONT TestScripts/readfile -=== CONT TestScripts/evalsymlink testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2819,24 +2806,23 @@ exe= GONOSUMDB=* - # 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.029s) - > [windows] skip - > exec pwd - [stdout] - $WORK - > stdout ^$WORK$ - > exec pwd -P + > echo stdout stdout [stdout] - $WORK - > stdout ^$WORK$ + stdout + > testreadfile stdout + > echo stderr stderr + [stderr] + stderr + > testreadfile stderr + > testreadfile x/somefile PASS -=== CONT TestScripts/interrupt +=== CONT TestScripts/execguard +=== CONT TestScripts/exec_path_change +=== CONT TestScripts/cpstdout testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2845,21 +2831,20 @@ exe= GONOSUMDB=* - > [windows] skip - > signalcatcher & - > waitfile catchsignal - > interrupt - > wait - [background] testscript.test: exit status 0 + > [!exec:cat] stop + # hello world (0.005s) + > exec cat hello.text [stdout] - caught interrupt - > stdout 'caught interrupt' + hello world + + > cp stdout got + > cmp got hello.text PASS -=== CONT TestScripts/nothing +=== CONT TestScripts/command testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2868,13 +2853,16 @@ exe= GONOSUMDB=* - # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) + > printargs a b 'c d' + [stdout] + ["printargs" "a" "b" "c d"] + > stdout '\["printargs" "a" "b" "c d"\]\n' PASS === CONT TestScripts/testscript_update_script_expected_not_in_archive testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2883,7 +2871,7 @@ exe= GONOSUMDB=* - # Verify that comparing stdout against a file not in the archive does nothing (0.021s) + # Verify that comparing stdout against a file not in the archive does nothing (0.007s) > unquote scripts/testscript.txt > cp scripts/testscript.txt unchanged > ! testscript-update scripts @@ -2902,10 +2890,10 @@ > cmp scripts/testscript.txt unchanged PASS -=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/testscript_update_script testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2924,10 +2912,10 @@ > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/readfile +=== CONT TestScripts/execguard testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2936,21 +2924,44 @@ exe= GONOSUMDB=* - > echo stdout stdout + > [exec:nosuchcommand] exec nosuchcommand + > [!exec:cat] stop + > exec cat foo [stdout] - stdout - > testreadfile stdout - > echo stderr stderr - [stderr] - stderr - > testreadfile stderr - > testreadfile x/somefile + foo + > stdout 'foo\n' + PASS + +=== CONT TestScripts/evalsymlink + testscript.go:382: + WORK=$WORK + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/tmp + devnull=/dev/null + /=/ + :=: + exe= + GONOSUMDB=* + + # 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.006s) + > [windows] skip + > exec pwd + [stdout] + $WORK + > stdout ^$WORK$ + > exec pwd -P + [stdout] + $WORK + > stdout ^$WORK$ PASS === CONT TestScripts/stdin testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -2969,7 +2980,7 @@ > exec cat > ! stdout hello > [!exec:cat] stop - # Check that 'stdin stdout' works. (0.023s) + # Check that 'stdin stdout' works. (0.005s) > exec cat hello.txt [stdout] hello @@ -2982,29 +2993,10 @@ > stdout hello PASS -=== CONT TestScripts/commandstatus - testscript.go:382: - WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/tmp - devnull=/dev/null - /=/ - :=: - exe= - GONOSUMDB=* - - > ! status 1 - [exit status 1] - > ! status 2 - [exit status 2] - > status 0 - PASS - === CONT TestScripts/wait testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -3016,7 +3008,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.036s) + # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.010s) > [windows] skip > exec echo foo [stdout] @@ -3028,7 +3020,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.001s) + # programs, in the order in which they were started. (0.000s) > wait [background] echo foo: exit status 0 [stdout] @@ -3039,16 +3031,58 @@ [background] false: exit status 1 > stdout 'foo\nbar' # The end of the test should interrupt or kill any remaining background - # programs. (0.008s) + # programs. (0.001s) > [!exec:sleep] skip > ! exec sleep 86400 & [background] sleep 86400: signal: interrupt PASS +=== CONT TestScripts/interrupt + testscript.go:382: + WORK=$WORK + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/tmp + devnull=/dev/null + /=/ + :=: + exe= + GONOSUMDB=* + + > [windows] skip + > signalcatcher & + > waitfile catchsignal + > interrupt + > wait + [background] testscript.test: exit status 0 + [stdout] + caught interrupt + > stdout 'caught interrupt' + PASS + +=== CONT TestScripts/commandstatus + testscript.go:382: + WORK=$WORK + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + HOME=/no-home + TMPDIR=$WORK/tmp + devnull=/dev/null + /=/ + :=: + exe= + GONOSUMDB=* + + > ! status 1 + [exit status 1] + > ! status 2 + [exit status 2] + > status 0 + PASS + === CONT TestScripts/exec_path_change testscript.go:382: WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -3058,7 +3092,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 (0.577s) + # or set directly within a script, exec should honour that PATH (0.198s) > [!exec:go] skip > env HOME=$WORK${/}home > [windows] env USERPROFILE=$WORK\home @@ -3079,39 +3113,39 @@ --- PASS: TestScripts (0.00s) --- PASS: TestScripts/cmpenv (0.00s) + --- PASS: TestScripts/nothing (0.00s) + --- PASS: TestScripts/setupfiles (0.00s) + --- PASS: TestScripts/values (0.00s) --- PASS: TestScripts/regexpquote (0.00s) - --- PASS: TestScripts/defer (0.00s) - --- PASS: TestScripts/testscript_update_script (0.01s) - --- PASS: TestScripts/execguard (0.01s) - --- PASS: TestScripts/command (0.02s) - --- PASS: TestScripts/setupfiles (0.01s) - --- PASS: TestScripts/testscript_update_script_stderr (0.02s) --- PASS: TestScripts/setenv (0.00s) - --- PASS: TestScripts/cpstdout (0.02s) - --- PASS: TestScripts/values (0.00s) + --- PASS: TestScripts/defer (0.00s) + --- PASS: TestScripts/exists (0.00s) --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s) - --- PASS: TestScripts/evalsymlink (0.03s) - --- PASS: TestScripts/interrupt (0.03s) - --- PASS: TestScripts/hello (0.04s) - --- PASS: TestScripts/exists (0.04s) - --- PASS: TestScripts/nothing (0.04s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.02s) - --- PASS: TestScripts/testscript_update_script_quote (0.02s) - --- PASS: TestScripts/readfile (0.03s) - --- PASS: TestScripts/stdin (0.05s) - --- PASS: TestScripts/commandstatus (0.06s) - --- PASS: TestScripts/wait (0.05s) - --- PASS: TestScripts/exec_path_change (0.61s) + --- PASS: TestScripts/testscript_update_script_stderr (0.00s) + --- PASS: TestScripts/testscript_update_script_quote (0.00s) + --- PASS: TestScripts/hello (0.00s) + --- PASS: TestScripts/readfile (0.01s) + --- PASS: TestScripts/cpstdout (0.01s) + --- PASS: TestScripts/command (0.00s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.01s) + --- PASS: TestScripts/execguard (0.00s) + --- PASS: TestScripts/testscript_update_script (0.01s) + --- PASS: TestScripts/evalsymlink (0.01s) + --- PASS: TestScripts/stdin (0.01s) + --- PASS: TestScripts/wait (0.01s) + --- PASS: TestScripts/interrupt (0.01s) + --- PASS: TestScripts/commandstatus (0.01s) + --- PASS: TestScripts/exec_path_change (0.21s) === RUN TestTestwork ---- PASS: TestTestwork (2.85s) +--- PASS: TestTestwork (0.90s) === RUN TestWorkdirRoot === RUN TestWorkdirRoot/run_tests === RUN TestWorkdirRoot/run_tests/nothing === PAUSE TestWorkdirRoot/run_tests/nothing === CONT TestWorkdirRoot/run_tests/nothing testscript.go:382: - WORK=/tmp/146412397/script-nothing - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + WORK=/tmp/183709246/script-nothing + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -3128,7 +3162,7 @@ === RUN TestBadDir --- PASS: TestBadDir (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 3.486s +ok github.com/rogpeppe/go-internal/testscript 1.125s === RUN Test === RUN Test/basic === RUN Test/basic#01 @@ -3156,7 +3190,7 @@ --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.014s +ok github.com/rogpeppe/go-internal/txtar 0.002s make[1]: Leaving directory '/build/reproducible-path/golang-github-rogpeppe-go-internal-1.6.2' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang @@ -3186,10 +3220,10 @@ dh_dwz: warning: compressed debug information (#931891). dh_strip -a -O--buildsystem=golang 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-goproxy dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/testscript -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-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-goproxy dh_makeshlibs -a -O--buildsystem=golang dh_shlibdeps -a -O--buildsystem=golang dh_installdeb -O--buildsystem=golang @@ -3206,12 +3240,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/279015/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/279015/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/2416431 and its subdirectories -I: Current time: Sun Aug 31 13:11:26 -12 2025 -I: pbuilder-time-stamp: 1756689086 +I: removing directory /srv/workspace/pbuilder/279015 and its subdirectories +I: Current time: Tue Jul 30 08:49:35 +14 2024 +I: pbuilder-time-stamp: 1722278975