Diff of the two buildlogs: -- --- b1/build.log 2021-07-19 19:48:48.324094063 +0000 +++ b2/build.log 2021-07-19 19:51:49.561257516 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 21 14:10:18 -12 2022 -I: pbuilder-time-stamp: 1661134218 +I: Current time: Tue Jul 20 09:49:41 +14 2021 +I: pbuilder-time-stamp: 1626724181 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,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.ID6MTJri/trustedkeys.kbx': General error -gpgv: Signature made Thu Oct 22 21:09:39 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.FP29F9nM/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 @@ -27,135 +27,169 @@ 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/9985/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/894/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/894/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/894/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='arm64' - 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]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='9985' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=894 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/tmp.pEkQFsmMdG/pbuilderrc_CbbZ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.pEkQFsmMdG/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.6.2-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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/tmp.pEkQFsmMdG/pbuilderrc_FY8u --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.pEkQFsmMdG/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-rogpeppe-go-internal_1.6.2-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink9-arm64 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Feb 7 2021 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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Feb 7 2021 more - -rwsr-xr-x 1 root root 51360 Feb 7 2021 mount - -rwxr-xr-x 1 root root 14496 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 03:48 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Feb 7 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Feb 7 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/9985/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Feb 8 04:38 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Feb 8 04:38 more + -rwsr-xr-x 1 root root 51360 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 14496 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 20 09:49 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 18 23:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Feb 8 04:38 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/894/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -239,7 +273,7 @@ Get: 40 http://deb.debian.org/debian bullseye/main arm64 golang-github-kr-pretty-dev all 0.2.1+git20200831.59b4212-1 [14.6 kB] Get: 41 http://deb.debian.org/debian bullseye/main arm64 golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-1 [32.1 kB] Get: 42 http://deb.debian.org/debian bullseye/main arm64 golang-gopkg-errgo.v2-dev all 2.1.0-2 [8980 B] -Fetched 74.9 MB in 1s (57.8 MB/s) +Fetched 74.9 MB in 1s (64.9 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 ... 19646 files and directories currently installed.) @@ -422,8 +456,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 5s (11.6 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 32255 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/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 +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -443,33 +514,33 @@ dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 8 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/unsafeheader -runtime/internal/sys internal/cpu internal/race -unicode/utf8 +runtime/internal/sys runtime/internal/atomic unicode -sync/atomic +unicode/utf8 math/bits -runtime/internal/math +sync/atomic encoding +runtime/internal/math unicode/utf16 github.com/rogpeppe/go-internal/semver -internal/nettrace internal/bytealg -runtime/cgo -internal/testlog +internal/nettrace container/list +internal/testlog math crypto/internal/subtle +runtime/cgo crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle internal/goversion github.com/rogpeppe/go-internal/internal/syscall/windows +github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/syscall/windows/registry runtime -github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll gopkg.in/errgo.v2/errors internal/reflectlite sync @@ -478,21 +549,21 @@ github.com/rogpeppe/go-internal/par errors sort -io -strconv internal/oserror +io vendor/golang.org/x/net/dns/dnsmessage +strconv syscall -bytes hash +bytes crypto/internal/randutil strings -crypto/hmac hash/crc32 +crypto/hmac vendor/golang.org/x/crypto/hkdf -crypto/rc4 crypto reflect +crypto/rc4 vendor/golang.org/x/text/transform path bufio @@ -504,25 +575,25 @@ context internal/poll internal/fmtsort -github.com/rogpeppe/go-internal/fmtsort encoding/binary os +github.com/rogpeppe/go-internal/fmtsort +crypto/sha256 encoding/base64 crypto/sha512 crypto/cipher crypto/md5 crypto/sha1 -crypto/sha256 crypto/ed25519/internal/edwards25519 -encoding/pem vendor/golang.org/x/crypto/poly1305 -crypto/aes +encoding/pem fmt path/filepath net +runtime/debug +crypto/aes crypto/des vendor/golang.org/x/crypto/chacha20 -runtime/debug internal/lazyregexp github.com/rogpeppe/go-internal/lockedfile/internal/filelock io/ioutil @@ -531,15 +602,15 @@ github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/internal/os/execpath encoding/hex -github.com/rogpeppe/go-internal/txtar github.com/rogpeppe/go-internal/module +github.com/rogpeppe/go-internal/txtar flag +log compress/flate encoding/json -log +math/big github.com/rogpeppe/go-internal/cache net/url -math/big vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm @@ -553,15 +624,15 @@ github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/textutil runtime/trace -go/token gopkg.in/errgo.v2/fmt/errors +go/token +testing text/template/parse internal/execabs -testing github.com/rogpeppe/go-internal/cmd/txtar-addmod internal/goroot -go/scanner vendor/golang.org/x/net/idna +go/scanner github.com/rogpeppe/go-internal/cmd/txtar-c crypto/rand crypto/elliptic @@ -572,21 +643,21 @@ github.com/rogpeppe/go-internal/testenv go/ast text/template -github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/cmd/txtar-x +github.com/rogpeppe/go-internal/testscript +github.com/rogpeppe/go-internal/dirhash vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/lockedfile +github.com/rogpeppe/go-internal/modfile crypto/ecdsa go/parser -github.com/rogpeppe/go-internal/modfile go/doc go/build -github.com/rogpeppe/go-internal/gotooltest vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 +github.com/rogpeppe/go-internal/gotooltest vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -600,9 +671,9 @@ GOPROXY="" dh_auto_test cd obj-aarch64-linux-gnu && go test -vet=off -v -p 8 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.02s) === RUN TestGrowth ---- PASS: TestGrowth (2.87s) +--- PASS: TestGrowth (2.79s) === RUN TestVerifyPanic cache_test.go:139: go: internal cache error: cache verify failed: id=0100000000000000000000000000000000000000000000000000000000000000 changed:<<< @@ -613,7 +684,7 @@ === RUN TestCacheLog --- PASS: TestCacheLog (0.03s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.06s) +--- PASS: TestCacheTrim (0.07s) === RUN TestDefaultDir --- PASS: TestDefaultDir (0.00s) === RUN TestHash @@ -621,7 +692,7 @@ === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 3.043s +ok github.com/rogpeppe/go-internal/cache 2.947s === RUN TestScripts === RUN TestScripts/env_var_no_go === PAUSE TestScripts/env_var_no_go @@ -643,16 +714,16 @@ === PAUSE TestScripts/work === CONT TestScripts/env_var_no_go === CONT TestScripts/noproxy -=== CONT TestScripts/skip === CONT TestScripts/work +=== CONT TestScripts/skip +=== CONT TestScripts/simple === CONT TestScripts/help -=== CONT TestScripts/nogo === CONT TestScripts/error === CONT TestScripts/env_var_with_go === 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 @@ -670,7 +741,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.015s) + # Simply sanity check on help output (0.019s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -788,11 +859,10 @@ > stderr 'Examples' PASS -=== CONT TestScripts/simple === 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 +880,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.029s) + # should support skip (0.101s) > unquote file.txt > env PATH= > ! testscript -v file.txt @@ -826,9 +896,9 @@ exe= > go env - FAIL: $WORK/tmp/testscript150592918/0/script.txt:1: unknown command "go" + FAIL: $WORK/tmp/testscript946898145/0/script.txt:1: unknown command "go" [stderr] - error running file.txt in $WORK/tmp/testscript150592918/0 + error running file.txt in $WORK/tmp/testscript946898145/0 [exit status 1] > stdout 'unknown command "go"' @@ -838,7 +908,7 @@ === 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 @@ -856,13 +926,13 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.109s) + # should support skip (0.154s) > unquote 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 @@ -881,14 +951,14 @@ > exec true PASS [stderr] - temporary work directory: $WORK/tmp/testscript996347236 + temporary work directory: $WORK/tmp/testscript787341871 > stderr '\Qtemporary work directory: '$WORK'\E[/\\]tmp[/\\]' PASS === 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 @@ -906,13 +976,13 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.127s) + # should support skip (0.188s) > 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 @@ -940,7 +1010,7 @@ === 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 @@ -967,12 +1037,12 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.030s) + # no GOPROXY, no pass-through, no proxy (0.022s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -991,19 +1061,19 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.025s) + # no GOPROXY, no pass-through, with proxy (0.085s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: exe= - GOPROXY=http://127.0.0.1:39703/mod + GOPROXY=http://127.0.0.1:43953/mod GONOSUMDB=* > env BANANA @@ -1011,18 +1081,18 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:39703/mod + GOPROXY=http://127.0.0.1:43953/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.035s) + # no GOPROXY, with pass-through, no proxy (0.029s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1044,12 +1114,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.026s) + # no GOPROXY, with pass-through, with proxy (0.019s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1073,12 +1143,12 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.012s) + # with GOPROXY, no pass-through, no proxy (0.019s) > testscript -v noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1097,19 +1167,19 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.017s) + # with GOPROXY, no pass-through, with proxy (0.013s) > testscript -v withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: exe= - GOPROXY=http://127.0.0.1:40653/mod + GOPROXY=http://127.0.0.1:37881/mod GONOSUMDB=* > env BANANA @@ -1117,18 +1187,18 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:40653/mod + GOPROXY=http://127.0.0.1:37881/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.019s) + # with GOPROXY, with pass-through, no proxy (0.022s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1150,12 +1220,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.032s) + # with GOPROXY, with pass-through, with proxy (0.013s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/sbin:/bin:/usr/games + PATH=/usr/sbin:/sbin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1183,7 +1253,7 @@ === 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 @@ -1202,14 +1272,14 @@ GONOSUMDB=* # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (0.192s) + # environment should be overridden by the test proxy. (0.278s) > 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 @@ -1222,7 +1292,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:40023/mod + GOPROXY=http://127.0.0.1:46141/mod goversion=1.15 GONOSUMDB=* @@ -1249,7 +1319,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 @@ -1269,13 +1339,13 @@ # should support skip (0.000s) > unquote file.txt - # stdin (0.145s) + # stdin (0.193s) > 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 @@ -1293,18 +1363,18 @@ > exec false [exit status 1] - FAIL: $WORK/tmp/testscript910333031/0/script.txt:1: unexpected command failure + FAIL: $WORK/tmp/testscript447113964/0/script.txt:1: unexpected command failure [stderr] - error running in $WORK/tmp/testscript910333031/0 + error running in $WORK/tmp/testscript447113964/0 [exit status 1] > stderr 'error running in' - # file-based (0.122s) + # file-based (0.119s) > ! 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 @@ -1322,9 +1392,9 @@ > exec false [exit status 1] - FAIL: $WORK/tmp/testscript470433572/0/script.txt:1: unexpected command failure + FAIL: $WORK/tmp/testscript858888870/0/script.txt:1: unexpected command failure [stderr] - error running file.txt in $WORK/tmp/testscript470433572/0 + error running file.txt in $WORK/tmp/testscript858888870/0 [exit status 1] > stderr 'error running file.txt in' @@ -1333,7 +1403,7 @@ === 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 @@ -1352,14 +1422,14 @@ GONOSUMDB=* # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. (0.333s) + # the environment. (0.368s) > 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 @@ -1410,7 +1480,7 @@ CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" - GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/tmp/go-build190805266=/tmp/go-build -gno-record-gcc-switches" + GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/tmp/go-build630538915=/tmp/go-build -gno-record-gcc-switches" > [!windows] stdout '^GOPROXY="0.1.2.3"$' > [windows] stdout '^set GOPROXY=0.1.2.3$' @@ -1420,7 +1490,7 @@ === 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 +1514,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.002s) + # This is the counterpart to env_var_no_go.txt (0.000s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.134s) + # Baseline (0.196s) > 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 +1553,12 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.125s) + # no GOPROXY, no pass-through, no proxy (0.103s) > 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 +1586,12 @@ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.077s) + # no GOPROXY, no pass-through, with proxy (0.095s) > 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 +1604,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:42377/mod + GOPROXY=http://127.0.0.1:36305/mod goversion=1.15 GONOSUMDB=* @@ -1543,18 +1613,18 @@ > env GOPATH GOPATH=$WORK/gopath > env GOPROXY - GOPROXY=http://127.0.0.1:42377/mod + GOPROXY=http://127.0.0.1:36305/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.076s) + # no GOPROXY, with pass-through, no proxy (0.077s) > 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 +1652,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.069s) + # no GOPROXY, with pass-through, with proxy (0.063s) > 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 +1687,12 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.057s) + # with GOPROXY, no pass-through, no proxy (0.086s) > 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 +1719,12 @@ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.058s) + # with GOPROXY, no pass-through, with proxy (0.066s) > 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 +1737,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:33285/mod + GOPROXY=http://127.0.0.1:35435/mod goversion=1.15 GONOSUMDB=* @@ -1676,18 +1746,18 @@ > env GOPATH GOPATH=$WORK/gopath > env GOPROXY - GOPROXY=http://127.0.0.1:33285/mod + GOPROXY=http://127.0.0.1:35435/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.069s) + # with GOPROXY, with pass-through, no proxy (0.061s) > 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 +1785,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.058s) + # with GOPROXY, with pass-through, with proxy (0.063s) > 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 @@ -1753,16 +1823,16 @@ --- PASS: TestScripts (0.09s) --- PASS: TestScripts/help (0.02s) - --- PASS: TestScripts/nogo (0.03s) - --- PASS: TestScripts/work (0.11s) - --- PASS: TestScripts/skip (0.13s) - --- PASS: TestScripts/env_var_no_go (0.20s) - --- PASS: TestScripts/simple (0.19s) - --- PASS: TestScripts/error (0.27s) - --- PASS: TestScripts/noproxy (0.33s) - --- PASS: TestScripts/env_var_with_go (0.73s) + --- PASS: TestScripts/nogo (0.10s) + --- PASS: TestScripts/work (0.15s) + --- PASS: TestScripts/skip (0.19s) + --- PASS: TestScripts/env_var_no_go (0.22s) + --- PASS: TestScripts/simple (0.28s) + --- PASS: TestScripts/error (0.31s) + --- PASS: TestScripts/noproxy (0.37s) + --- PASS: TestScripts/env_var_with_go (0.81s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 0.828s +ok github.com/rogpeppe/go-internal/cmd/testscript 0.919s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -1778,7 +1848,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 +1861,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:41495/mod + GOPROXY=http://127.0.0.1:34681/mod goversion=1.15 GONOSUMDB=* @@ -1805,7 +1875,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 +1888,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:41495/mod + GOPROXY=http://127.0.0.1:34681/mod goversion=1.15 GONOSUMDB=* @@ -1846,7 +1916,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 +1929,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:41495/mod + GOPROXY=http://127.0.0.1:34681/mod goversion=1.15 GONOSUMDB=* @@ -1873,12 +1943,12 @@ > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txt PASS ---- PASS: TestScripts (0.10s) - --- PASS: TestScripts/encode (0.13s) - --- PASS: TestScripts/to_stdout (0.17s) - --- PASS: TestScripts/txtar-addmod-self (0.26s) +--- PASS: TestScripts (0.07s) + --- PASS: TestScripts/encode (0.11s) + --- PASS: TestScripts/to_stdout (0.18s) + --- PASS: TestScripts/txtar-addmod-self (0.35s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.376s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.421s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -1889,13 +1959,12 @@ === RUN TestScripts/txtar-savedir-self === PAUSE TestScripts/txtar-savedir-self === CONT TestScripts/all -=== CONT TestScripts/quote -=== CONT TestScripts/needquote === CONT TestScripts/txtar-savedir-self === CONT TestScripts/quote +=== 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 @@ -1905,20 +1974,51 @@ > unquote blah/withsep > unquote expect - > txtar-c -quote blah + > txtar-c blah [stdout] - unquote withsep - -- withsep -- - >-- separator -- - >foo + -- 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/txtar-savedir-self + 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= + + > unquote expect + > txtar-c blah + [stdout] + -- 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/needquote +=== CONT TestScripts/quote 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 @@ -1928,20 +2028,20 @@ > 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/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 @@ -1951,7 +2051,7 @@ > unquote expect-all > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.036s) + # Without the -a flag, it should ignore . files. (0.019s) > txtar-c blah [stdout] -- go.mod -- @@ -1967,7 +2067,7 @@ } > ! stderr .+ > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.032s) + # With the -a flag, it should include them. (0.038s) > txtar-c -a blah [stdout] -- .foo/foo -- @@ -1989,44 +2089,13 @@ > cmp stdout expect-all PASS -=== CONT TestScripts/txtar-savedir-self - 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 expect - > txtar-c blah - [stdout] - -- 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 - --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/quote (0.02s) - --- PASS: TestScripts/needquote (0.04s) - --- PASS: TestScripts/all (0.07s) - --- PASS: TestScripts/txtar-savedir-self (0.07s) + --- PASS: TestScripts/needquote (0.03s) + --- PASS: TestScripts/txtar-savedir-self (0.03s) + --- PASS: TestScripts/quote (0.04s) + --- PASS: TestScripts/all (0.06s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.127s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.077s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2041,10 +2110,10 @@ === CONT TestScripts/extract === CONT TestScripts/extract-stdin === CONT TestScripts/extract-out-of-bounds -=== CONT TestScripts/extract +=== 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,15 +2122,15 @@ exe= > unquote file.txtar - > txtar-x file.txtar - > 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 @@ -2070,15 +2139,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-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 @@ -2096,7 +2165,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 +2187,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/extract (0.01s) - --- PASS: TestScripts/extract-dir (0.02s) - --- PASS: TestScripts/extract-stdin (0.04s) - --- PASS: TestScripts/extract-out-of-bounds (0.06s) + --- PASS: TestScripts/extract-dir (0.04s) + --- PASS: TestScripts/extract (0.04s) + --- PASS: TestScripts/extract-stdin (0.05s) + --- PASS: TestScripts/extract-out-of-bounds (0.10s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.090s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.120s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir @@ -2133,7 +2202,7 @@ === RUN TestDirFiles --- PASS: TestDirFiles (0.00s) PASS -ok github.com/rogpeppe/go-internal/dirhash 0.039s +ok github.com/rogpeppe/go-internal/dirhash 0.016s === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestOrder @@ -2141,14 +2210,14 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.038s +ok github.com/rogpeppe/go-internal/fmtsort 0.034s === 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 +2230,11 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-aarch64-linux-gnu/go-build - GOPROXY=http://127.0.0.1:42315/mod + GOPROXY=http://127.0.0.1:39751/mod goversion=1.15 GONOSUMDB=* - # prior to go 1.12 you cannot list a module without a requirement (0.056s) + # prior to go 1.12 you cannot list a module without a requirement (0.048s) > [!go1.12] go get fruit.com > go list -m -versions fruit.com [stdout] @@ -2182,17 +2251,17 @@ PASS ---- PASS: TestScripts (0.08s) - --- PASS: TestScripts/list (0.06s) +--- PASS: TestScripts (0.06s) + --- PASS: TestScripts/list (0.05s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.144s +ok github.com/rogpeppe/go-internal/goproxytest 0.118s === 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 +2286,10 @@ > [go1.12] stdout go1\.12 PASS ---- PASS: TestSimple (0.15s) - --- PASS: TestSimple/version (0.15s) +--- PASS: TestSimple (0.17s) + --- PASS: TestSimple/version (0.11s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.326s +ok github.com/rogpeppe/go-internal/gotooltest 0.304s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2242,7 +2311,7 @@ === RUN TestDiff --- PASS: TestDiff (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/textutil 0.033s +ok github.com/rogpeppe/go-internal/internal/textutil 0.037s === RUN TestMutexExcludes === PAUSE TestMutexExcludes === RUN TestReadWaitsForLock @@ -2260,17 +2329,18 @@ lockedfile_test.go:123: WriteString("part 1\n") = === CONT TestMutexExcludes lockedfile_test.go:96: unlock() ---- PASS: TestCanLockExistingFile (0.01s) === CONT TestReadWaitsForLock lockedfile_test.go:145: WriteString("part 2\n") = - lockedfile_test.go:135: Read(_) = "part 1\npart 2\n" ---- PASS: TestReadWaitsForLock (0.01s) === CONT TestMutexExcludes lockedfile_test.go:91: unlock2, _ := mu2.Lock() lockedfile_test.go:92: unlock2() +--- PASS: TestCanLockExistingFile (0.02s) --- PASS: TestMutexExcludes (0.02s) +=== CONT TestReadWaitsForLock + lockedfile_test.go:135: Read(_) = "part 1\npart 2\n" +--- PASS: TestReadWaitsForLock (0.02s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 0.094s +ok github.com/rogpeppe/go-internal/lockedfile 0.104s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2278,57 +2348,59 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:190: fd 7 = /tmp/TestLockNotDroppedByExecCommand932956138 + filelock_test.go:190: fd 7 = /tmp/TestLockNotDroppedByExecCommand105509494 filelock_test.go:193: Lock(fd 7) = - filelock_test.go:195: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand932956138") + filelock_test.go:195: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand105509494") filelock_test.go:206: Lock(fd 8) is blocked (as expected) filelock_test.go:207: Unlock(fd 7) = asm_arm64.s:1136: Lock(fd 8) = filelock_test.go:209: Unlock(fd 8) = --- PASS: TestLockNotDroppedByExecCommand (0.03s) === CONT TestLockExcludesLock - filelock_test.go:124: fd 7 = /tmp/TestLockExcludesLock173295169 - filelock_test.go:127: fd 8 = os.Open("/tmp/TestLockExcludesLock173295169") + filelock_test.go:124: fd 7 = /tmp/TestLockExcludesLock739738973 + filelock_test.go:127: fd 8 = os.Open("/tmp/TestLockExcludesLock739738973") filelock_test.go:130: Lock(fd 7) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:156: fd 9 = /tmp/TestRLockExcludesOnlyLock230551212 + filelock_test.go:156: fd 9 = /tmp/TestRLockExcludesOnlyLock278282008 filelock_test.go:158: RLock(fd 9) = - filelock_test.go:160: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock230551212") + filelock_test.go:160: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock278282008") filelock_test.go:172: RLock(fd 10) = - filelock_test.go:175: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock230551212") + filelock_test.go:175: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock278282008") === CONT TestLockExcludesRLock - filelock_test.go:140: fd 12 = /tmp/TestLockExcludesRLock942160923 - filelock_test.go:143: fd 13 = os.Open("/tmp/TestLockExcludesRLock942160923") + filelock_test.go:140: fd 12 = /tmp/TestLockExcludesRLock279864727 + filelock_test.go:143: fd 13 = os.Open("/tmp/TestLockExcludesRLock279864727") filelock_test.go:146: Lock(fd 12) = -=== 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) = + filelock_test.go:147: RLock(fd 13) is blocked (as expected) === 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) filelock_test.go:148: Unlock(fd 12) = +=== CONT TestLockExcludesLock + filelock_test.go:132: Unlock(fd 7) = +=== CONT TestLockExcludesRLock asm_arm64.s:1136: RLock(fd 13) = filelock_test.go:150: Unlock(fd 13) = +=== CONT TestLockExcludesLock + asm_arm64.s:1136: Lock(fd 8) = + filelock_test.go:134: Unlock(fd 8) = --- PASS: TestLockExcludesRLock (0.01s) === CONT TestRLockExcludesOnlyLock + filelock_test.go:177: Lock(fd 11) is blocked (as expected) +--- PASS: TestLockExcludesLock (0.01s) +=== CONT TestRLockExcludesOnlyLock + filelock_test.go:179: Unlock(fd 10) = + filelock_test.go:181: Unlock(fd 9) = asm_arm64.s:1136: Lock(fd 11) = filelock_test.go:184: Unlock(fd 11) = --- PASS: TestRLockExcludesOnlyLock (0.01s) -=== CONT TestLockExcludesLock - asm_arm64.s:1136: Lock(fd 8) = - filelock_test.go:134: Unlock(fd 8) = ---- PASS: TestLockExcludesLock (0.01s) PASS -ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.098s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.076s === 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 @@ -2357,7 +2429,7 @@ === RUN TestModulePath/module___ === RUN TestModulePath/module_"__a/b/c__" === RUN TestModulePath/module_"github.com/rsc/vgotest1"_//_with_a_comment ---- PASS: TestModulePath (0.01s) +--- PASS: TestModulePath (0.00s) --- PASS: TestModulePath/module_"github.com/rsc/vgotest" (0.00s) --- PASS: TestModulePath/module_github.com/rsc/vgotest (0.00s) --- PASS: TestModulePath/module__"github.com/rsc/vgotest" (0.00s) @@ -2402,7 +2474,7 @@ --- PASS: TestAddRequire/#1 (0.00s) --- PASS: TestAddRequire/#2 (0.00s) PASS -ok github.com/rogpeppe/go-internal/modfile 0.047s +ok github.com/rogpeppe/go-internal/modfile 0.052s === RUN TestCheck --- PASS: TestCheck (0.00s) === RUN TestCheckPath @@ -2414,15 +2486,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.024s === RUN TestWork ---- PASS: TestWork (0.04s) +--- PASS: TestWork (0.06s) === RUN TestWorkParallel --- PASS: TestWorkParallel (0.00s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.071s +ok github.com/rogpeppe/go-internal/par 0.092s ? github.com/rogpeppe/go-internal/renameio [no test files] === RUN TestIsValid --- PASS: TestIsValid (0.00s) @@ -2441,7 +2513,7 @@ === RUN TestMax --- PASS: TestMax (0.00s) PASS -ok github.com/rogpeppe/go-internal/semver 0.012s +ok github.com/rogpeppe/go-internal/semver 0.016s ? github.com/rogpeppe/go-internal/testenv [no test files] === RUN TestCRLFInput === RUN TestCRLFInput/_ @@ -2450,7 +2522,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 @@ -2515,13 +2587,28 @@ === PAUSE TestScripts/values === RUN TestScripts/wait === PAUSE TestScripts/wait -=== CONT TestScripts/wait === CONT TestScripts/cmpenv -=== CONT TestScripts/nothing +=== CONT TestScripts/values +=== CONT TestScripts/wait +=== CONT TestScripts/values + 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=* + + > test-values + PASS + === 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 @@ -2534,11 +2621,13 @@ > cmpenv file1 file2 PASS -=== CONT TestScripts/evalsymlink -=== CONT TestScripts/nothing +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/stdin +=== 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 @@ -2547,15 +2636,17 @@ exe= GONOSUMDB=* - # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) + # 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/interrupt -=== CONT TestScripts/hello -=== CONT TestScripts/defer +=== CONT TestScripts/nothing +=== CONT TestScripts/setenv +=== 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 @@ -2564,18 +2655,13 @@ exe= GONOSUMDB=* - > testdefer - > testdefer - > testdefer + # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS -=== CONT TestScripts/exists -=== CONT TestScripts/execguard -=== CONT TestScripts/cpstdout -=== CONT TestScripts/exists +=== 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 @@ -2584,21 +2670,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/exec_path_change -=== CONT TestScripts/commandstatus -=== CONT TestScripts/hello +=== CONT TestScripts/interrupt +=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/testscript_update_script_actual_is_file +=== 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 @@ -2607,20 +2690,14 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.016s) - > exec cat hello.text - [stdout] - hello world - > stdout 'hello world\n' - > ! stderr . + > env XXX='hello)' + > grep ^${XXX@R}$ file.txt PASS -=== CONT TestScripts/command -=== CONT TestScripts/execguard +=== 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 @@ -2629,18 +2706,15 @@ exe= GONOSUMDB=* - > [exec:nosuchcommand] exec nosuchcommand - > [!exec:cat] stop - > exec cat foo - [stdout] - foo - > stdout 'foo\n' + > testdefer + > testdefer + > testdefer PASS -=== CONT TestScripts/interrupt +=== 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 @@ -2649,22 +2723,22 @@ exe= GONOSUMDB=* - > [windows] skip - > signalcatcher & - > waitfile catchsignal - > interrupt - > wait - [background] testscript.test: exit status 0 - [stdout] - caught interrupt - > stdout 'caught interrupt' + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript-update scripts + testscript: PASS + $WORK/scripts/testscript.txt updated -=== CONT TestScripts/testscript_update_script_actual_is_file -=== CONT TestScripts/cpstdout + > cmp scripts/testscript.txt testscript-new.txt + PASS + +=== CONT TestScripts/readfile +=== CONT TestScripts/testscript_update_script +=== 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 @@ -2673,22 +2747,21 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.022s) - > 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/values -=== CONT TestScripts/testscript_update_script_stderr -=== CONT TestScripts/values +=== CONT TestScripts/command +=== CONT TestScripts/interrupt 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 @@ -2697,14 +2770,21 @@ exe= GONOSUMDB=* - > test-values + > [windows] skip + > signalcatcher & + > waitfile catchsignal + > interrupt + > wait + [background] testscript.test: exit status 0 + [stdout] + caught interrupt + > stdout 'caught interrupt' PASS === CONT TestScripts/testscript_update_script_quote -=== 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 @@ -2723,11 +2803,12 @@ > cmp scripts/testscript.txt testscript-new.txt PASS +=== CONT TestScripts/commandstatus +=== CONT TestScripts/cpstdout === CONT TestScripts/testscript_update_script_expected_not_in_archive -=== 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 @@ -2736,24 +2817,30 @@ 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.042s) - > [windows] skip - > exec pwd - [stdout] - $WORK - > stdout ^$WORK$ - > exec pwd -P + # Verify that comparing stdout against a file not in the archive does nothing (0.022s) + > unquote scripts/testscript.txt + > cp scripts/testscript.txt unchanged + > ! testscript-update scripts + testscript: + > echo stdout right [stdout] - $WORK - > stdout ^$WORK$ + right + > cp file expect + > cmp stdout expect + [diff -stdout +expect] + -right + +wrong + + FAIL: $WORK/scripts/testscript.txt:3: stdout and expect differ + + > cmp scripts/testscript.txt unchanged PASS -=== CONT TestScripts/setupfiles +=== CONT TestScripts/execguard +=== 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 @@ -2762,16 +2849,17 @@ 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 + > printargs a b 'c d' + [stdout] + ["printargs" "a" "b" "c d"] + > stdout '\["printargs" "a" "b" "c d"\]\n' PASS +=== CONT TestScripts/hello === CONT TestScripts/testscript_update_script -=== 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 @@ -2790,11 +2878,11 @@ > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/stdin -=== CONT TestScripts/command +=== CONT TestScripts/exists +=== 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 @@ -2803,16 +2891,21 @@ exe= GONOSUMDB=* - > printargs a b 'c d' + > [!exec:cat] stop + # hello world (0.009s) + > exec cat hello.text [stdout] - ["printargs" "a" "b" "c d"] - > stdout '\["printargs" "a" "b" "c d"\]\n' + hello world + + > cp stdout got + > cmp got hello.text PASS -=== CONT TestScripts/setenv +=== CONT TestScripts/exec_path_change +=== 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 @@ -2821,15 +2914,20 @@ exe= GONOSUMDB=* - > setSpecialVal - > exists $SPECIALVAL.txt - > ensureSpecialVal + > 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/testscript_update_script_quote +=== CONT TestScripts/evalsymlink +=== 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 @@ -2838,22 +2936,18 @@ 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 + > [exec:nosuchcommand] exec nosuchcommand + > [!exec:cat] stop + > exec cat foo + [stdout] + foo + > stdout 'foo\n' PASS -=== CONT TestScripts/regexpquote -=== CONT TestScripts/readfile -=== CONT TestScripts/regexpquote +=== 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 @@ -2862,14 +2956,19 @@ exe= GONOSUMDB=* - > env XXX='hello)' - > grep ^${XXX@R}$ file.txt + > [!exec:cat] stop + # hello world (0.009s) + > exec cat hello.text + [stdout] + hello world + > stdout 'hello world\n' + > ! stderr . PASS -=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== CONT TestScripts/readfile 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 @@ -2878,29 +2977,21 @@ exe= GONOSUMDB=* - # Verify that comparing stdout against a file not in the archive does nothing (0.045s) - > unquote scripts/testscript.txt - > cp scripts/testscript.txt unchanged - > ! testscript-update scripts - testscript: - > echo stdout right + > echo stdout stdout [stdout] - right - > cp file expect - > cmp stdout expect - [diff -stdout +expect] - -right - +wrong - - FAIL: $WORK/scripts/testscript.txt:3: stdout and expect differ - - > cmp scripts/testscript.txt unchanged + stdout + > testreadfile stdout + > echo stderr stderr + [stderr] + stderr + > testreadfile stderr + > testreadfile x/somefile 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 @@ -2912,7 +3003,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.077s) + # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.051s) > [windows] skip > exec echo foo [stdout] @@ -2924,7 +3015,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.003s) > wait [background] echo foo: exit status 0 [stdout] @@ -2935,16 +3026,16 @@ [background] false: exit status 1 > stdout 'foo\nbar' # The end of the test should interrupt or kill any remaining background - # programs. (0.019s) + # programs. (0.001s) > [!exec:sleep] skip > ! exec sleep 86400 & [background] sleep 86400: signal: interrupt PASS -=== CONT TestScripts/testscript_update_script +=== 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 @@ -2953,20 +3044,24 @@ 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 + # 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.025s) + > [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 @@ -2985,7 +3080,7 @@ > exec cat > ! stdout hello > [!exec:cat] stop - # Check that 'stdin stdout' works. (0.027s) + # Check that 'stdin stdout' works. (0.031s) > exec cat hello.txt [stdout] hello @@ -3001,7 +3096,7 @@ === CONT TestScripts/commandstatus 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 @@ -3017,33 +3112,10 @@ > status 0 PASS -=== CONT TestScripts/readfile - 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=* - - > echo stdout stdout - [stdout] - stdout - > testreadfile stdout - > echo stderr stderr - [stderr] - stderr - > testreadfile stderr - > testreadfile x/somefile - 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 @@ -3053,7 +3125,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.927s) + # or set directly within a script, exec should honour that PATH (0.791s) > [!exec:go] skip > env HOME=$WORK${/}home > [windows] env USERPROFILE=$WORK\home @@ -3073,40 +3145,40 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/cmpenv (0.00s) - --- PASS: TestScripts/nothing (0.00s) - --- PASS: TestScripts/defer (0.00s) - --- PASS: TestScripts/exists (0.00s) - --- PASS: TestScripts/hello (0.02s) - --- PASS: TestScripts/execguard (0.02s) - --- PASS: TestScripts/interrupt (0.02s) - --- PASS: TestScripts/cpstdout (0.02s) --- PASS: TestScripts/values (0.00s) - --- PASS: TestScripts/testscript_update_script_actual_is_file (0.01s) - --- PASS: TestScripts/evalsymlink (0.04s) + --- PASS: TestScripts/cmpenv (0.00s) --- PASS: TestScripts/setupfiles (0.00s) - --- PASS: TestScripts/testscript_update_script_stderr (0.02s) - --- PASS: TestScripts/command (0.03s) + --- PASS: TestScripts/nothing (0.00s) --- PASS: TestScripts/setenv (0.00s) - --- PASS: TestScripts/testscript_update_script_quote (0.03s) --- PASS: TestScripts/regexpquote (0.00s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.05s) - --- PASS: TestScripts/wait (0.10s) - --- PASS: TestScripts/testscript_update_script (0.05s) + --- PASS: TestScripts/defer (0.00s) + --- PASS: TestScripts/testscript_update_script_actual_is_file (0.00s) + --- PASS: TestScripts/testscript_update_script_stderr (0.01s) + --- PASS: TestScripts/interrupt (0.02s) + --- PASS: TestScripts/testscript_update_script_quote (0.02s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.02s) + --- PASS: TestScripts/command (0.02s) + --- PASS: TestScripts/testscript_update_script (0.03s) + --- PASS: TestScripts/cpstdout (0.01s) + --- PASS: TestScripts/exists (0.00s) + --- PASS: TestScripts/execguard (0.01s) + --- PASS: TestScripts/hello (0.01s) + --- PASS: TestScripts/readfile (0.05s) + --- PASS: TestScripts/wait (0.06s) + --- PASS: TestScripts/evalsymlink (0.03s) --- PASS: TestScripts/stdin (0.06s) - --- PASS: TestScripts/commandstatus (0.10s) - --- PASS: TestScripts/readfile (0.06s) - --- PASS: TestScripts/exec_path_change (0.98s) + --- PASS: TestScripts/commandstatus (0.05s) + --- PASS: TestScripts/exec_path_change (0.82s) === RUN TestTestwork ---- PASS: TestTestwork (7.51s) +--- PASS: TestTestwork (6.93s) === 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/781299664/script-nothing - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + WORK=/tmp/848772778/script-nothing + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -3123,7 +3195,7 @@ === RUN TestBadDir --- PASS: TestBadDir (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 8.508s +ok github.com/rogpeppe/go-internal/testscript 7.794s === RUN Test === RUN Test/basic === RUN Test/basic#01 @@ -3151,7 +3223,7 @@ --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.010s +ok github.com/rogpeppe/go-internal/txtar 0.012s make[1]: Leaving directory '/build/golang-github-rogpeppe-go-internal-1.6.2' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang @@ -3181,10 +3253,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/testscript +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/txtar-addmod 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-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-goproxy dh_makeshlibs -a -O--buildsystem=golang dh_shlibdeps -a -O--buildsystem=golang dh_installdeb -O--buildsystem=golang @@ -3201,12 +3273,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/894/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/894/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/9985 and its subdirectories -I: Current time: Sun Aug 21 14:11:47 -12 2022 -I: pbuilder-time-stamp: 1661134307 +I: removing directory /srv/workspace/pbuilder/894 and its subdirectories +I: Current time: Tue Jul 20 09:51:23 +14 2021 +I: pbuilder-time-stamp: 1626724283