Diff of the two buildlogs: -- --- b1/build.log 2021-06-02 15:52:02.474683250 +0000 +++ b2/build.log 2021-06-02 15:52:49.684848686 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 2 03:45:50 -12 2021 -I: pbuilder-time-stamp: 1622648750 +I: Current time: Wed Jul 6 12:15:04 +14 2022 +I: pbuilder-time-stamp: 1657059304 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.J964cekj/trustedkeys.kbx': General error -gpgv: Signature made Thu Oct 22 21:09:39 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.ZP0TvGKK/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,137 +28,171 @@ 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/31732/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/56618/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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/56618/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/56618/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='c1741eff024c45ceaf71ba6222d1ed25' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='31732' - PS1='# ' - PS2='> ' + INVOCATION_ID=54239815ce3c4cb7ac8d49a7979212ed + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=56618 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.7XVW2x4cYf/pbuilderrc_EJxG --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7XVW2x4cYf/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.6.2-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.7XVW2x4cYf/pbuilderrc_h12g --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7XVW2x4cYf/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-rogpeppe-go-internal_1.6.2-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin - total 5804 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 01:23 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 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 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 1 21:26 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/31732/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 6 12:15 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 5 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/56618/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -242,7 +276,7 @@ Get: 40 http://deb.debian.org/debian bullseye/main i386 golang-github-kr-pretty-dev all 0.2.1+git20200831.59b4212-1 [14.6 kB] Get: 41 http://deb.debian.org/debian bullseye/main i386 golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-1 [32.1 kB] Get: 42 http://deb.debian.org/debian bullseye/main i386 golang-gopkg-errgo.v2-dev all 2.1.0-2 [8980 B] -Fetched 78.8 MB in 19s (4172 kB/s) +Fetched 78.8 MB in 1s (84.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 ... 19674 files and directories currently installed.) @@ -425,8 +459,44 @@ 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 i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (4436 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 ... 32283 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 +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 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 @@ -444,40 +514,40 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-i686-linux-gnu && go install -trimpath -v -p 10 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 -encoding + cd obj-i686-linux-gnu && go install -trimpath -v -p 18 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 -unicode -math/bits unicode/utf8 -sync/atomic +container/list unicode/utf16 -internal/cpu -runtime/internal/atomic +crypto/internal/subtle github.com/rogpeppe/go-internal/semver internal/nettrace -runtime/internal/sys -container/list -runtime/cgo -crypto/internal/subtle -crypto/subtle -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/testlog +unicode +internal/unsafeheader +sync/atomic vendor/golang.org/x/crypto/internal/subtle +vendor/golang.org/x/crypto/cryptobyte/asn1 +encoding +crypto/subtle +math/bits +internal/cpu +runtime/cgo +runtime/internal/atomic internal/goversion -github.com/rogpeppe/go-internal/internal/syscall/windows +runtime/internal/sys github.com/rogpeppe/go-internal/internal/syscall/windows/registry +github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll -runtime/internal/math internal/bytealg +internal/testlog +runtime/internal/math math runtime gopkg.in/errgo.v2/errors internal/reflectlite sync -math/rand internal/singleflight +math/rand github.com/rogpeppe/go-internal/par errors sort @@ -495,96 +565,96 @@ vendor/golang.org/x/crypto/hkdf crypto crypto/rc4 -reflect vendor/golang.org/x/text/transform +reflect bufio path regexp/syntax -internal/syscall/unix internal/syscall/execenv +internal/syscall/unix time regexp +context +internal/poll +os encoding/binary -github.com/rogpeppe/go-internal/fmtsort internal/fmtsort -internal/poll -context +github.com/rogpeppe/go-internal/fmtsort crypto/sha256 +encoding/base64 crypto/sha512 +crypto/md5 crypto/cipher -encoding/base64 crypto/sha1 -crypto/md5 crypto/ed25519/internal/edwards25519 vendor/golang.org/x/crypto/poly1305 encoding/pem -os -crypto/des -vendor/golang.org/x/crypto/chacha20 -crypto/aes -vendor/golang.org/x/crypto/chacha20poly1305 -internal/lazyregexp path/filepath -github.com/rogpeppe/go-internal/lockedfile/internal/filelock -runtime/debug fmt +internal/lazyregexp +runtime/debug +github.com/rogpeppe/go-internal/lockedfile/internal/filelock net +crypto/aes +crypto/des +vendor/golang.org/x/crypto/chacha20 io/ioutil os/exec +vendor/golang.org/x/crypto/chacha20poly1305 github.com/rogpeppe/go-internal/renameio +github.com/rogpeppe/go-internal/internal/os/execpath encoding/hex +github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/txtar flag -github.com/rogpeppe/go-internal/module -compress/flate log net/url -encoding/json -math/big -github.com/rogpeppe/go-internal/cache vendor/golang.org/x/crypto/curve25519 -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack +compress/flate mime mime/quotedprintable -net/http/internal +encoding/json github.com/rogpeppe/go-internal/imports -github.com/rogpeppe/go-internal/internal/os/execpath +net/http/internal +math/big +vendor/golang.org/x/text/unicode/norm github.com/rogpeppe/go-internal/internal/textutil -vendor/golang.org/x/text/secure/bidirule -archive/zip -compress/gzip runtime/trace gopkg.in/errgo.v2/fmt/errors go/token +github.com/rogpeppe/go-internal/cache +vendor/golang.org/x/text/unicode/bidi +github.com/rogpeppe/go-internal/lockedfile text/template/parse internal/execabs +github.com/rogpeppe/go-internal/modfile +github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-addmod +github.com/rogpeppe/go-internal/cmd/txtar-x +archive/zip +compress/gzip testing -github.com/rogpeppe/go-internal/cmd/txtar-c -vendor/golang.org/x/net/idna internal/goroot go/scanner -github.com/rogpeppe/go-internal/cmd/txtar-x +go/ast +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/net/idna github.com/rogpeppe/go-internal/dirhash +github.com/rogpeppe/go-internal/testenv +text/template +github.com/rogpeppe/go-internal/testscript crypto/rand -crypto/elliptic -encoding/asn1 crypto/dsa +encoding/asn1 +crypto/elliptic +go/parser crypto/ed25519 -go/ast crypto/rsa -github.com/rogpeppe/go-internal/testenv -text/template -github.com/rogpeppe/go-internal/testscript -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/rogpeppe/go-internal/lockedfile -github.com/rogpeppe/go-internal/modfile -crypto/ecdsa -go/parser +vendor/golang.org/x/crypto/cryptobyte go/doc +crypto/ecdsa go/build github.com/rogpeppe/go-internal/gotooltest vendor/golang.org/x/net/http/httpproxy @@ -601,30 +671,30 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/golang-github-rogpeppe-go-internal-1.6.2' GOPROXY="" dh_auto_test - cd obj-i686-linux-gnu && go test -vet=off -v -p 10 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar + cd obj-i686-linux-gnu && go test -vet=off -v -p 18 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.07s) +--- PASS: TestBasic (0.03s) === RUN TestGrowth ---- PASS: TestGrowth (12.97s) +--- PASS: TestGrowth (1.22s) === 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.12s) +--- PASS: TestVerifyPanic (0.02s) === RUN TestCacheLog ---- PASS: TestCacheLog (0.07s) +--- PASS: TestCacheLog (0.02s) === RUN TestCacheTrim ---- PASS: TestCacheTrim (0.31s) +--- PASS: TestCacheTrim (0.03s) === RUN TestDefaultDir --- PASS: TestDefaultDir (0.00s) === RUN TestHash --- PASS: TestHash (0.00s) === RUN TestHashFile ---- PASS: TestHashFile (0.01s) +--- PASS: TestHashFile (0.00s) PASS -ok github.com/rogpeppe/go-internal/cache 13.550s +ok github.com/rogpeppe/go-internal/cache 1.315s === RUN TestScripts === RUN TestScripts/env_var_no_go === PAUSE TestScripts/env_var_no_go @@ -646,17 +716,17 @@ === PAUSE TestScripts/work === CONT TestScripts/env_var_no_go === CONT TestScripts/noproxy -=== CONT TestScripts/help === CONT TestScripts/skip -=== CONT TestScripts/error -=== CONT TestScripts/simple === CONT TestScripts/work -=== CONT TestScripts/env_var_with_go +=== CONT TestScripts/simple === CONT TestScripts/nogo +=== CONT TestScripts/error +=== CONT TestScripts/help +=== 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 @@ -674,7 +744,7 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # Simply sanity check on help output (0.095s) + # Simply sanity check on help output (0.009s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts @@ -792,10 +862,10 @@ > stderr 'Examples' PASS -=== CONT TestScripts/skip +=== 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 @@ -813,13 +883,35 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.105s) + # should support skip (0.014s) > unquote file.txt - > testscript -v file.txt + > env PATH= + > ! testscript -v file.txt [stdout] WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + PATH= + HOME=/no-home + TMPDIR=$WORK/tmp + devnull=/dev/null + /=/ + :=: + exe= + + > go env + FAIL: $WORK/tmp/testscript428430721/0/script.txt:1: unknown command "go" + [stderr] + error running file.txt in $WORK/tmp/testscript428430721/0 + + [exit status 1] + > stdout 'unknown command "go"' + > stderr 'error running file.txt in' + PASS + +=== CONT TestScripts/work + 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 @@ -834,20 +926,42 @@ GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.15 + GOINTERNALMODPATH=. + GONOSUMDB=* - > go version + # should support skip (0.052s) + > unquote file.txt + > testscript -v -work file.txt [stdout] - go version go1.15.9 linux/386 - > skip - > stdout 'go version' - > ! stderr .+ + 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= + GOPATH=$WORK/gopath + CCACHE_DISABLE=1 + GOARCH=386 + GOOS=linux + GOROOT=/usr/lib/go-1.15 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.15 + + > exec true + PASS + [stderr] + temporary work directory: $WORK/tmp/testscript239906440 + > stderr '\Qtemporary work directory: '$WORK'\E[/\\]tmp[/\\]' PASS -=== CONT TestScripts/nogo +=== 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 @@ -865,35 +979,41 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.118s) + # should support skip (0.062s) > unquote file.txt - > env PATH= - > ! testscript -v file.txt + > testscript -v file.txt [stdout] WORK=$WORK - PATH= + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null /=/ :=: exe= + GOPATH=$WORK/gopath + CCACHE_DISABLE=1 + GOARCH=386 + GOOS=linux + GOROOT=/usr/lib/go-1.15 + GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build + GOPROXY=https://proxy.golang.org,direct + goversion=1.15 - > go env - FAIL: $WORK/tmp/testscript758840795/0/script.txt:1: unknown command "go" - [stderr] - error running file.txt in $WORK/tmp/testscript758840795/0 + > go version + [stdout] + go version go1.15.9 linux/386 - [exit status 1] - > stdout 'unknown command "go"' - > stderr 'error running file.txt in' + > skip + > stdout 'go version' + > ! stderr .+ 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 @@ -913,19 +1033,19 @@ # Test passing environment variables to scripts with no go command on PATH # - # This is the counterpart to env_var_with_go.txt (0.000s) + # This is the counterpart to env_var_with_go.txt (0.008s) > unquote noproxy.txt > unquote withproxy.txt > dropgofrompath > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.025s) + # no GOPROXY, no pass-through, no proxy (0.013s) > 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 @@ -944,19 +1064,19 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.026s) + # no GOPROXY, no pass-through, with proxy (0.012s) > 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:44759/mod + GOPROXY=http://127.0.0.1:35795/mod GONOSUMDB=* > env BANANA @@ -964,18 +1084,18 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:44759/mod + GOPROXY=http://127.0.0.1:35795/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.110s) + # no GOPROXY, with pass-through, no proxy (0.007s) > 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 @@ -997,12 +1117,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.027s) + # no GOPROXY, with pass-through, with proxy (0.011s) > 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 @@ -1026,12 +1146,12 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.027s) + # with GOPROXY, no pass-through, no proxy (0.010s) > 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 @@ -1050,19 +1170,19 @@ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.026s) + # with GOPROXY, no pass-through, with proxy (0.010s) > 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:41101/mod + GOPROXY=http://127.0.0.1:36875/mod GONOSUMDB=* > env BANANA @@ -1070,18 +1190,18 @@ > env GOPATH GOPATH= > env GOPROXY - GOPROXY=http://127.0.0.1:41101/mod + GOPROXY=http://127.0.0.1:36875/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.033s) + # with GOPROXY, with pass-through, no proxy (0.013s) > 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 @@ -1103,12 +1223,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.021s) + # with 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:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -1133,10 +1253,10 @@ > ! 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 @@ -1154,15 +1274,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With no .gomodproxy supporting files, we use the GOPROXY from - # the environment. (0.284s) + # With .gomodproxy supporting files, any GOPROXY from the + # environment should be overridden by the test proxy. (0.098s) > 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 @@ -1175,106 +1295,34 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=0.1.2.3 + GOPROXY=http://127.0.0.1:43935/mod goversion=1.15 + GONOSUMDB=* - > go env + > go list -m [stdout] - GO111MODULE="" - GOARCH="386" - GOBIN="" - GOCACHE="/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build" - GOENV="/no-home/.config/go/env" - GOEXE="" - GOFLAGS="" - GOHOSTARCH="386" - 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_386" - GCCGO="gccgo" - GO386="387" - 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 -m32 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/tmp/go-build231249581=/tmp/go-build -gno-record-gcc-switches" - - > [!windows] stdout '^GOPROXY="0.1.2.3"$' - > [windows] stdout '^set GOPROXY=0.1.2.3$' - PASS - PASS - -=== CONT TestScripts/work - testscript.go:382: - WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/tmp - devnull=/dev/null - /=/ - :=: - exe= - GOPATH=$WORK/gopath - CCACHE_DISABLE=1 - GOARCH=386 - GOOS=linux - GOROOT=/usr/lib/go-1.15 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.15 - GOINTERNALMODPATH=. - GONOSUMDB=* + example.com/mod - # should support skip (0.262s) - > unquote file.txt - > testscript -v -work file.txt + > stdout 'example.com/mod' + > go list fruit.com/... [stdout] + fruit.com/coretest + fruit.com/fruit - WORK=$WORK - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games - HOME=/no-home - TMPDIR=$WORK/tmp - devnull=/dev/null - /=/ - :=: - exe= - GOPATH=$WORK/gopath - CCACHE_DISABLE=1 - GOARCH=386 - GOOS=linux - GOROOT=/usr/lib/go-1.15 - GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=https://proxy.golang.org,direct - goversion=1.15 + [stderr] + go: downloading fruit.com v1.0.0 - > exec true + > stdout 'fruit.com/fruit' + > stdout 'fruit.com/coretest' PASS - [stderr] - temporary work directory: $WORK/tmp/testscript677484039 - > stderr '\Qtemporary work directory: '$WORK'\E[/\\]tmp[/\\]' + > stdout 'example.com/mod' + > ! stderr .+ PASS === 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 @@ -1292,15 +1340,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # should support skip (0.006s) + # should support skip (0.004s) > unquote file.txt - # stdin (0.181s) + # stdin (0.063s) > 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 @@ -1318,18 +1366,18 @@ > exec false [exit status 1] - FAIL: $WORK/tmp/testscript360635083/0/script.txt:1: unexpected command failure + FAIL: $WORK/tmp/testscript102588328/0/script.txt:1: unexpected command failure [stderr] - error running in $WORK/tmp/testscript360635083/0 + error running in $WORK/tmp/testscript102588328/0 [exit status 1] > stderr 'error running in' - # file-based (0.112s) + # file-based (0.039s) > ! 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 @@ -1347,18 +1395,18 @@ > exec false [exit status 1] - FAIL: $WORK/tmp/testscript232230016/0/script.txt:1: unexpected command failure + FAIL: $WORK/tmp/testscript597523875/0/script.txt:1: unexpected command failure [stderr] - error running file.txt in $WORK/tmp/testscript232230016/0 + error running file.txt in $WORK/tmp/testscript597523875/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 @@ -1376,15 +1424,15 @@ GOINTERNALMODPATH=. GONOSUMDB=* - # With .gomodproxy supporting files, any GOPROXY from the - # environment should be overridden by the test proxy. (0.314s) + # With no .gomodproxy supporting files, we use the GOPROXY from + # the environment. (0.117s) > 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 @@ -1397,34 +1445,56 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:37591/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="386" + GOBIN="" + GOCACHE="/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build" + GOENV="/no-home/.config/go/env" + GOEXE="" + GOFLAGS="" + GOHOSTARCH="386" + 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_386" + GCCGO="gccgo" + GO386="387" + 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 -m32 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/tmp/go-build246501305=/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/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 @@ -1448,15 +1518,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.005s) + # This is the counterpart to env_var_no_go.txt (0.006s) > unquote noproxy.txt > unquote withproxy.txt - # Baseline (0.156s) + # Baseline (0.052s) > 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 @@ -1487,12 +1557,12 @@ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= - # no GOPROXY, no pass-through, no proxy (0.096s) + # no GOPROXY, no pass-through, no proxy (0.043s) > 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 @@ -1520,12 +1590,12 @@ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ - # no GOPROXY, no pass-through, with proxy (0.082s) + # no GOPROXY, no pass-through, with proxy (0.030s) > 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 @@ -1538,7 +1608,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:38729/mod + GOPROXY=http://127.0.0.1:46149/mod goversion=1.15 GONOSUMDB=* @@ -1547,18 +1617,18 @@ > env GOPATH GOPATH=$WORK/gopath > env GOPROXY - GOPROXY=http://127.0.0.1:38729/mod + GOPROXY=http://127.0.0.1:46149/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # no GOPROXY, with pass-through, no proxy (0.068s) + # no GOPROXY, with pass-through, no proxy (0.026s) > 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 @@ -1586,12 +1656,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ - # no GOPROXY, with pass-through, with proxy (0.067s) + # no GOPROXY, with pass-through, with proxy (0.027s) > 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 @@ -1621,12 +1691,12 @@ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy - # with GOPROXY, no pass-through, no proxy (0.069s) + # with GOPROXY, no pass-through, no proxy (0.027s) > 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 @@ -1653,12 +1723,12 @@ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, no pass-through, with proxy (0.077s) + # with GOPROXY, no pass-through, with proxy (0.027s) > 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 @@ -1671,7 +1741,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:44345/mod + GOPROXY=http://127.0.0.1:36673/mod goversion=1.15 GONOSUMDB=* @@ -1680,18 +1750,18 @@ > env GOPATH GOPATH=$WORK/gopath > env GOPROXY - GOPROXY=http://127.0.0.1:44345/mod + GOPROXY=http://127.0.0.1:36673/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ - # with GOPROXY, with pass-through, no proxy (0.080s) + # with GOPROXY, with pass-through, no proxy (0.028s) > 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 @@ -1719,12 +1789,12 @@ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ - # with GOPROXY, with pass-through, with proxy (0.073s) + # with GOPROXY, with pass-through, with proxy (0.028s) > 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 @@ -1755,18 +1825,18 @@ > ! stderr .+ PASS ---- PASS: TestScripts (0.09s) - --- PASS: TestScripts/help (0.14s) - --- PASS: TestScripts/skip (0.14s) - --- PASS: TestScripts/nogo (0.13s) - --- PASS: TestScripts/env_var_no_go (0.30s) - --- PASS: TestScripts/noproxy (0.30s) - --- PASS: TestScripts/work (0.29s) - --- PASS: TestScripts/error (0.31s) - --- PASS: TestScripts/simple (0.34s) - --- PASS: TestScripts/env_var_with_go (0.84s) +--- PASS: TestScripts (0.03s) + --- PASS: TestScripts/help (0.02s) + --- PASS: TestScripts/nogo (0.02s) + --- PASS: TestScripts/work (0.06s) + --- PASS: TestScripts/skip (0.07s) + --- PASS: TestScripts/env_var_no_go (0.09s) + --- PASS: TestScripts/simple (0.10s) + --- PASS: TestScripts/error (0.11s) + --- PASS: TestScripts/noproxy (0.12s) + --- PASS: TestScripts/env_var_with_go (0.30s) PASS -ok github.com/rogpeppe/go-internal/cmd/testscript 0.964s +ok github.com/rogpeppe/go-internal/cmd/testscript 0.334s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode @@ -1777,12 +1847,12 @@ === CONT TestScripts/encode === CONT TestScripts/txtar-addmod-self === CONT TestScripts/to_stdout -go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 +go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 === 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 @@ -1795,7 +1865,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:38105/mod + GOPROXY=http://127.0.0.1:36155/mod goversion=1.15 GONOSUMDB=* @@ -1809,7 +1879,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 @@ -1822,7 +1892,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:38105/mod + GOPROXY=http://127.0.0.1:36155/mod goversion=1.15 GONOSUMDB=* @@ -1850,7 +1920,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 @@ -1863,7 +1933,7 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:38105/mod + GOPROXY=http://127.0.0.1:36155/mod goversion=1.15 GONOSUMDB=* @@ -1877,12 +1947,12 @@ > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txt PASS ---- PASS: TestScripts (0.05s) - --- PASS: TestScripts/encode (0.18s) - --- PASS: TestScripts/to_stdout (0.38s) - --- PASS: TestScripts/txtar-addmod-self (0.52s) +--- PASS: TestScripts (0.02s) + --- PASS: TestScripts/encode (0.06s) + --- PASS: TestScripts/to_stdout (0.11s) + --- PASS: TestScripts/txtar-addmod-self (0.14s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.590s +ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.165s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all @@ -1893,13 +1963,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 @@ -1919,10 +1988,10 @@ > cmp stdout expect PASS -=== CONT TestScripts/quote +=== 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 @@ -1930,22 +1999,50 @@ :=: exe= - > unquote blah/withsep - > unquote expect - > txtar-c -quote blah + > unquote expect-all + > unquote expect-no-all + # Without the -a flag, it should ignore . files. (0.006s) + > 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!") + } > ! stderr .+ - > cmp stdout expect + > cmp stdout expect-no-all + # With the -a flag, it should include them. (0.002s) + > txtar-c -a blah + [stdout] + -- .foo/foo -- + foo + -- .other -- + other + -- go.mod -- + module example.com/blah + + -- main.go -- + package main + + import "fmt" + + func main() { + fmt.Println("Hello, world!") + } + > ! stderr .+ + > cmp stdout expect-all PASS === 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 @@ -1973,10 +2070,10 @@ > cmp stdout expect PASS -=== CONT TestScripts/all +=== 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 @@ -1984,53 +2081,25 @@ :=: exe= - > unquote expect-all - > unquote expect-no-all - # Without the -a flag, it should ignore . files. (0.026s) - > txtar-c blah - [stdout] - -- go.mod -- - module example.com/blah - - -- main.go -- - package main - - import "fmt" - - func main() { - fmt.Println("Hello, world!") - } - > ! stderr .+ - > cmp stdout expect-no-all - # With the -a flag, it should include them. (0.016s) - > txtar-c -a blah + > unquote blah/withsep + > unquote expect + > txtar-c -quote blah [stdout] - -- .foo/foo -- - foo - -- .other -- - other - -- go.mod -- - module example.com/blah - - -- main.go -- - package main - - import "fmt" - - func main() { - fmt.Println("Hello, world!") - } + unquote withsep + -- withsep -- + >-- separator -- + >foo > ! stderr .+ - > cmp stdout expect-all + > cmp stdout expect PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/needquote (0.03s) - --- PASS: TestScripts/quote (0.04s) - --- PASS: TestScripts/txtar-savedir-self (0.04s) - --- PASS: TestScripts/all (0.04s) + --- PASS: TestScripts/needquote (0.01s) + --- PASS: TestScripts/all (0.01s) + --- PASS: TestScripts/txtar-savedir-self (0.01s) + --- PASS: TestScripts/quote (0.01s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.075s +ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.013s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir @@ -2048,7 +2117,7 @@ === 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 @@ -2065,7 +2134,7 @@ === 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 @@ -2083,7 +2152,7 @@ === 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 @@ -2100,7 +2169,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 @@ -2122,12 +2191,12 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/extract-dir (0.03s) - --- PASS: TestScripts/extract-stdin (0.03s) - --- PASS: TestScripts/extract (0.04s) - --- PASS: TestScripts/extract-out-of-bounds (0.04s) + --- PASS: TestScripts/extract-dir (0.01s) + --- PASS: TestScripts/extract-stdin (0.01s) + --- PASS: TestScripts/extract (0.01s) + --- PASS: TestScripts/extract-out-of-bounds (0.01s) PASS -ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.053s +ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.019s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir @@ -2137,7 +2206,7 @@ === RUN TestDirFiles --- PASS: TestDirFiles (0.00s) PASS -ok github.com/rogpeppe/go-internal/dirhash 0.024s +ok github.com/rogpeppe/go-internal/dirhash 0.016s === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestOrder @@ -2145,14 +2214,14 @@ === RUN TestInterface --- PASS: TestInterface (0.00s) PASS -ok github.com/rogpeppe/go-internal/fmtsort 0.029s +ok github.com/rogpeppe/go-internal/fmtsort 0.006s === 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 @@ -2165,11 +2234,11 @@ GOOS=linux GOROOT=/usr/lib/go-1.15 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.6.2/obj-i686-linux-gnu/go-build - GOPROXY=http://127.0.0.1:35239/mod + GOPROXY=http://127.0.0.1:37647/mod goversion=1.15 GONOSUMDB=* - # prior to go 1.12 you cannot list a module without a requirement (0.215s) + # prior to go 1.12 you cannot list a module without a requirement (0.093s) > [!go1.12] go get fruit.com > go list -m -versions fruit.com [stdout] @@ -2186,17 +2255,17 @@ PASS ---- PASS: TestScripts (0.07s) - --- PASS: TestScripts/list (0.22s) +--- PASS: TestScripts (0.03s) + --- PASS: TestScripts/list (0.09s) PASS -ok github.com/rogpeppe/go-internal/goproxytest 0.303s +ok github.com/rogpeppe/go-internal/goproxytest 0.126s === 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 @@ -2221,10 +2290,10 @@ > [go1.12] stdout go1\.12 PASS ---- PASS: TestSimple (0.11s) - --- PASS: TestSimple/version (0.08s) +--- PASS: TestSimple (0.03s) + --- PASS: TestSimple/version (0.02s) PASS -ok github.com/rogpeppe/go-internal/gotooltest 0.208s +ok github.com/rogpeppe/go-internal/gotooltest 0.052s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments @@ -2236,9 +2305,9 @@ === RUN TestScan --- PASS: TestScan (0.00s) === RUN TestScanStar ---- PASS: TestScanStar (0.01s) +--- PASS: TestScanStar (0.00s) PASS -ok github.com/rogpeppe/go-internal/imports 0.024s +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] @@ -2246,7 +2315,7 @@ === RUN TestDiff --- PASS: TestDiff (0.00s) PASS -ok github.com/rogpeppe/go-internal/internal/textutil 0.013s +ok github.com/rogpeppe/go-internal/internal/textutil 0.010s === RUN TestMutexExcludes === PAUSE TestMutexExcludes === RUN TestReadWaitsForLock @@ -2254,32 +2323,29 @@ === RUN TestCanLockExistingFile === PAUSE TestCanLockExistingFile === RUN TestSpuriousEDEADLK ---- PASS: TestSpuriousEDEADLK (0.03s) +--- PASS: TestSpuriousEDEADLK (0.02s) === CONT TestMutexExcludes === CONT TestCanLockExistingFile +=== CONT TestReadWaitsForLock === CONT TestMutexExcludes lockedfile_test.go:74: mu := MutexAt(_) === CONT TestReadWaitsForLock + lockedfile_test.go:123: WriteString("part 1\n") = === CONT TestMutexExcludes lockedfile_test.go:80: unlock, _ := mu.Lock() lockedfile_test.go:83: mu2 := MutexAt(mu.Path) === CONT TestReadWaitsForLock - lockedfile_test.go:123: WriteString("part 1\n") = -=== CONT TestMutexExcludes - lockedfile_test.go:96: unlock() -=== CONT TestReadWaitsForLock lockedfile_test.go:145: WriteString("part 2\n") = -=== CONT TestMutexExcludes - lockedfile_test.go:91: unlock2, _ := mu2.Lock() -=== CONT TestReadWaitsForLock lockedfile_test.go:135: Read(_) = "part 1\npart 2\n" === CONT TestMutexExcludes + lockedfile_test.go:96: unlock() + lockedfile_test.go:91: unlock2, _ := mu2.Lock() lockedfile_test.go:92: unlock2() +--- PASS: TestCanLockExistingFile (0.01s) --- PASS: TestMutexExcludes (0.01s) --- PASS: TestReadWaitsForLock (0.01s) ---- PASS: TestCanLockExistingFile (0.01s) PASS -ok github.com/rogpeppe/go-internal/lockedfile 0.058s +ok github.com/rogpeppe/go-internal/lockedfile 0.036s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock @@ -2287,56 +2353,55 @@ === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand - filelock_test.go:190: fd 7 = /tmp/TestLockNotDroppedByExecCommand324621153 + filelock_test.go:190: fd 7 = /tmp/TestLockNotDroppedByExecCommand507127819 filelock_test.go:193: Lock(fd 7) = - filelock_test.go:195: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand324621153") + filelock_test.go:195: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand507127819") filelock_test.go:206: Lock(fd 8) is blocked (as expected) filelock_test.go:207: Unlock(fd 7) = asm_386.s:1333: Lock(fd 8) = filelock_test.go:209: Unlock(fd 8) = ---- PASS: TestLockNotDroppedByExecCommand (0.03s) +--- PASS: TestLockNotDroppedByExecCommand (0.02s) +=== CONT TestLockExcludesLock + filelock_test.go:124: fd 7 = /tmp/TestLockExcludesLock038437870 +=== CONT TestRLockExcludesOnlyLock === CONT TestLockExcludesLock - filelock_test.go:124: fd 7 = /tmp/TestLockExcludesLock087993676 - filelock_test.go:127: fd 8 = os.Open("/tmp/TestLockExcludesLock087993676") + filelock_test.go:127: fd 8 = os.Open("/tmp/TestLockExcludesLock038437870") filelock_test.go:130: Lock(fd 7) = === CONT TestRLockExcludesOnlyLock - filelock_test.go:156: fd 9 = /tmp/TestRLockExcludesOnlyLock460787771 + filelock_test.go:156: fd 9 = /tmp/TestRLockExcludesOnlyLock890191989 filelock_test.go:158: RLock(fd 9) = - filelock_test.go:160: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock460787771") + filelock_test.go:160: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock890191989") filelock_test.go:172: RLock(fd 10) = - filelock_test.go:175: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock460787771") + filelock_test.go:175: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock890191989") === CONT TestLockExcludesRLock - filelock_test.go:140: fd 12 = /tmp/TestLockExcludesRLock813675614 - filelock_test.go:143: fd 13 = os.Open("/tmp/TestLockExcludesRLock813675614") + filelock_test.go:140: fd 12 = /tmp/TestLockExcludesRLock297143632 + filelock_test.go:143: fd 13 = os.Open("/tmp/TestLockExcludesRLock297143632") 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) + asm_386.s:1333: Lock(fd 8) = + filelock_test.go:134: Unlock(fd 8) = +--- PASS: TestLockExcludesLock (0.01s) === CONT TestRLockExcludesOnlyLock asm_386.s:1333: Lock(fd 11) = -=== CONT TestLockExcludesRLock - filelock_test.go:148: Unlock(fd 12) = -=== CONT TestRLockExcludesOnlyLock filelock_test.go:184: Unlock(fd 11) = -=== CONT TestLockExcludesLock - asm_386.s:1333: Lock(fd 8) = - filelock_test.go:134: Unlock(fd 8) = --- PASS: TestRLockExcludesOnlyLock (0.01s) ---- PASS: TestLockExcludesLock (0.01s) === CONT TestLockExcludesRLock + filelock_test.go:147: RLock(fd 13) is blocked (as expected) + filelock_test.go:148: Unlock(fd 12) = asm_386.s:1333: 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.057s +ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.033s === RUN TestPrintGolden ---- PASS: TestPrintGolden (0.01s) +--- PASS: TestPrintGolden (0.00s) === RUN TestParseLax --- PASS: TestParseLax (0.00s) === RUN TestPrintParse @@ -2414,7 +2479,7 @@ --- PASS: TestAddRequire/#1 (0.00s) --- PASS: TestAddRequire/#2 (0.00s) PASS -ok github.com/rogpeppe/go-internal/modfile 0.028s +ok github.com/rogpeppe/go-internal/modfile 0.005s === RUN TestCheck --- PASS: TestCheck (0.00s) === RUN TestCheckPath @@ -2426,15 +2491,15 @@ === RUN TestDecodePath --- PASS: TestDecodePath (0.00s) PASS -ok github.com/rogpeppe/go-internal/module 0.016s +ok github.com/rogpeppe/go-internal/module 0.012s === RUN TestWork ---- PASS: TestWork (0.05s) +--- PASS: TestWork (0.02s) === RUN TestWorkParallel --- PASS: TestWorkParallel (0.00s) === RUN TestCache --- PASS: TestCache (0.00s) PASS -ok github.com/rogpeppe/go-internal/par 0.057s +ok github.com/rogpeppe/go-internal/par 0.039s ? github.com/rogpeppe/go-internal/renameio [no test files] === RUN TestIsValid --- PASS: TestIsValid (0.00s) @@ -2453,7 +2518,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.009s ? github.com/rogpeppe/go-internal/testenv [no test files] === RUN TestCRLFInput === RUN TestCRLFInput/_ @@ -2462,7 +2527,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 @@ -2530,32 +2595,11 @@ === CONT TestScripts/cmpenv === CONT TestScripts/readfile === CONT TestScripts/testscript_update_script_actual_is_file -=== CONT TestScripts/nothing -=== CONT TestScripts/testscript_update_script_quote -=== CONT TestScripts/testscript_update_script -=== CONT TestScripts/interrupt -=== CONT TestScripts/testscript_update_script_expected_not_in_archive -=== CONT TestScripts/testscript_update_script_stderr -=== CONT TestScripts/evalsymlink -=== CONT TestScripts/nothing - 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=* - - # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) - PASS - +=== CONT TestScripts/wait === 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 @@ -2568,11 +2612,15 @@ > cmpenv file1 file2 PASS -=== CONT TestScripts/hello -=== CONT TestScripts/testscript_update_script_actual_is_file +=== CONT TestScripts/evalsymlink +=== CONT TestScripts/cpstdout +=== CONT TestScripts/exec_path_change +=== CONT TestScripts/defer +=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== 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 @@ -2581,21 +2629,20 @@ 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 + > testdefer + > testdefer + > testdefer PASS -=== CONT TestScripts/exists -=== CONT TestScripts/testscript_update_script_quote +=== CONT TestScripts/command +=== CONT TestScripts/interrupt +=== CONT TestScripts/setenv +=== CONT TestScripts/regexpquote +=== CONT TestScripts/hello +=== 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 @@ -2614,10 +2661,11 @@ > cmp scripts/testscript.txt testscript-new.txt PASS -=== CONT TestScripts/exists +=== CONT TestScripts/stdin +=== 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 @@ -2626,19 +2674,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/interrupt +=== 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 @@ -2647,25 +2690,17 @@ exe= GONOSUMDB=* - > [windows] skip - > signalcatcher & - > waitfile catchsignal - > interrupt - > wait - [background] testscript.test: exit status 0 - [stdout] - caught interrupt - > stdout 'caught interrupt' + > setSpecialVal + > exists $SPECIALVAL.txt + > ensureSpecialVal PASS -=== CONT TestScripts/execguard -=== CONT TestScripts/exec_path_change -=== CONT TestScripts/defer -=== CONT TestScripts/cpstdout -=== CONT TestScripts/defer +=== CONT TestScripts/testscript_update_script_stderr +=== CONT TestScripts/values +=== 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 @@ -2674,16 +2709,24 @@ exe= GONOSUMDB=* - > testdefer - > testdefer - > testdefer + > [!exec:cat] stop + # hello world (0.007s) + > exec cat hello.text + [stdout] + hello world + > stdout 'hello world\n' + > ! stderr . PASS +=== CONT TestScripts/nothing +=== CONT TestScripts/setupfiles +=== CONT TestScripts/testscript_update_script_quote === CONT TestScripts/commandstatus -=== CONT TestScripts/testscript_update_script +=== CONT TestScripts/exists +=== 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 @@ -2692,21 +2735,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 + > printargs a b 'c d' + [stdout] + ["printargs" "a" "b" "c d"] + > stdout '\["printargs" "a" "b" "c d"\]\n' PASS -=== CONT TestScripts/command === CONT TestScripts/execguard +=== 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 @@ -2715,18 +2754,22 @@ exe= GONOSUMDB=* - > [exec:nosuchcommand] exec nosuchcommand - > [!exec:cat] stop - > exec cat foo + > echo stdout stdout [stdout] - foo - > stdout 'foo\n' + stdout + > testreadfile stdout + > echo stderr stderr + [stderr] + stderr + > testreadfile stderr + > testreadfile x/somefile PASS -=== CONT TestScripts/readfile +=== 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 @@ -2735,21 +2778,13 @@ exe= GONOSUMDB=* - > echo stdout stdout - [stdout] - stdout - > testreadfile stdout - > echo stderr stderr - [stderr] - stderr - > testreadfile stderr - > testreadfile x/somefile + # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS === 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 @@ -2760,7 +2795,7 @@ # If ioutil.TempDir returns a sym linked dir (default behaviour in macOS for example) the # matcher will have problems with external programs that uses the real path. - # This script tests that $WORK is matched in a consistent way (also see #79). (0.117s) + # This script tests that $WORK is matched in a consistent way (also see #79). (0.019s) > [windows] skip > exec pwd [stdout] @@ -2772,34 +2807,10 @@ > stdout ^$WORK$ PASS -=== CONT TestScripts/stdin -=== CONT TestScripts/testscript_update_script_stderr - 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=* - - > 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 - PASS - -=== CONT TestScripts/setupfiles === 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 @@ -2809,7 +2820,7 @@ GONOSUMDB=* > [!exec:cat] stop - # hello world (0.013s) + # hello world (0.016s) > exec cat hello.text [stdout] hello world @@ -2818,11 +2829,10 @@ > cmp got hello.text PASS -=== CONT TestScripts/setenv -=== CONT TestScripts/testscript_update_script_expected_not_in_archive +=== 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 @@ -2831,31 +2841,13 @@ exe= GONOSUMDB=* - # Verify that comparing stdout against a file not in the archive does nothing (0.124s) - > unquote scripts/testscript.txt - > cp scripts/testscript.txt unchanged - > ! testscript-update scripts - testscript: - > echo stdout right - [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 + > test-values PASS -=== CONT TestScripts/regexpquote -=== CONT TestScripts/wait -=== CONT TestScripts/hello +=== 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 @@ -2864,20 +2856,21 @@ exe= GONOSUMDB=* - > [!exec:cat] stop - # hello world (0.096s) - > exec cat hello.text + > [windows] skip + > signalcatcher & + > waitfile catchsignal + > interrupt + > wait + [background] testscript.test: exit status 0 [stdout] - hello world - > stdout 'hello world\n' - > ! stderr . + caught interrupt + > stdout 'caught interrupt' PASS -=== CONT TestScripts/values -=== CONT TestScripts/setenv +=== 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 @@ -2886,15 +2879,15 @@ exe= GONOSUMDB=* - > setSpecialVal - > exists $SPECIALVAL.txt - > ensureSpecialVal + # 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/command +=== 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 @@ -2903,16 +2896,19 @@ exe= GONOSUMDB=* - > printargs a b 'c d' - [stdout] - ["printargs" "a" "b" "c d"] - > stdout '\["printargs" "a" "b" "c d"\]\n' + > 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/setupfiles +=== 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 @@ -2921,15 +2917,29 @@ 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 + # Verify that comparing stdout against a file not in the archive does nothing (0.023s) + > unquote scripts/testscript.txt + > cp scripts/testscript.txt unchanged + > ! testscript-update scripts + testscript: + > echo stdout right + [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 PASS -=== CONT TestScripts/regexpquote +=== 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 @@ -2938,14 +2948,18 @@ exe= GONOSUMDB=* - > env XXX='hello)' - > grep ^${XXX@R}$ file.txt + > [exec:nosuchcommand] exec nosuchcommand + > [!exec:cat] stop + > exec cat foo + [stdout] + foo + > stdout 'foo\n' PASS -=== CONT TestScripts/values +=== 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 @@ -2954,13 +2968,20 @@ exe= GONOSUMDB=* - > test-values + > unquote scripts/testscript.txt + > unquote testscript-new.txt + > testscript-update scripts + testscript: PASS + $WORK/scripts/testscript.txt updated -=== CONT TestScripts/commandstatus + > cmp scripts/testscript.txt testscript-new.txt + PASS + +=== 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 @@ -2969,17 +2990,20 @@ exe= GONOSUMDB=* - > ! status 1 - [exit status 1] - > ! status 2 - [exit status 2] - > status 0 + > 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 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 @@ -2991,7 +3015,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.046s) + # have coreutils like "echo" installed. Perhaps they emit CRLF? (0.027s) > [windows] skip > exec echo foo [stdout] @@ -3003,7 +3027,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.004s) > wait [background] echo foo: exit status 0 [stdout] @@ -3014,16 +3038,38 @@ [background] false: exit status 1 > stdout 'foo\nbar' # The end of the test should interrupt or kill any remaining background - # programs. (0.009s) + # programs. (0.007s) > [!exec:sleep] skip > ! exec sleep 86400 & [background] sleep 86400: signal: interrupt PASS +=== CONT TestScripts/testscript_update_script_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= + 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 + 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 @@ -3042,7 +3088,7 @@ > exec cat > ! stdout hello > [!exec:cat] stop - # Check that 'stdin stdout' works. (0.024s) + # Check that 'stdin stdout' works. (0.005s) > exec cat hello.txt [stdout] hello @@ -3055,10 +3101,29 @@ > stdout hello 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 @@ -3068,7 +3133,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.960s) + # or set directly within a script, exec should honour that PATH (0.344s) > [!exec:go] skip > env HOME=$WORK${/}home > [windows] env USERPROFILE=$WORK\home @@ -3088,40 +3153,40 @@ PASS --- PASS: TestScripts (0.00s) - --- PASS: TestScripts/nothing (0.02s) - --- PASS: TestScripts/testscript_update_script_actual_is_file (0.02s) - --- PASS: TestScripts/interrupt (0.04s) - --- PASS: TestScripts/cmpenv (0.06s) - --- PASS: TestScripts/exists (0.04s) - --- PASS: TestScripts/testscript_update_script_quote (0.06s) - --- PASS: TestScripts/defer (0.01s) - --- PASS: TestScripts/testscript_update_script (0.13s) - --- PASS: TestScripts/execguard (0.09s) - --- PASS: TestScripts/testscript_update_script_stderr (0.14s) - --- PASS: TestScripts/readfile (0.15s) - --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.15s) - --- PASS: TestScripts/cpstdout (0.08s) - --- PASS: TestScripts/evalsymlink (0.16s) - --- PASS: TestScripts/hello (0.15s) - --- PASS: TestScripts/setenv (0.02s) - --- PASS: TestScripts/setupfiles (0.03s) - --- PASS: TestScripts/command (0.04s) - --- PASS: TestScripts/regexpquote (0.03s) + --- PASS: TestScripts/cmpenv (0.00s) + --- PASS: TestScripts/defer (0.00s) + --- PASS: TestScripts/testscript_update_script_actual_is_file (0.01s) + --- PASS: TestScripts/regexpquote (0.01s) + --- PASS: TestScripts/setenv (0.01s) + --- PASS: TestScripts/hello (0.01s) + --- PASS: TestScripts/readfile (0.02s) + --- PASS: TestScripts/command (0.02s) + --- PASS: TestScripts/evalsymlink (0.03s) + --- PASS: TestScripts/interrupt (0.02s) + --- PASS: TestScripts/cpstdout (0.03s) + --- PASS: TestScripts/nothing (0.01s) + --- PASS: TestScripts/setupfiles (0.01s) --- PASS: TestScripts/values (0.01s) - --- PASS: TestScripts/commandstatus (0.13s) - --- PASS: TestScripts/wait (0.09s) - --- PASS: TestScripts/stdin (0.10s) - --- PASS: TestScripts/exec_path_change (1.06s) + --- PASS: TestScripts/exists (0.01s) + --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.03s) + --- PASS: TestScripts/execguard (0.01s) + --- PASS: TestScripts/testscript_update_script (0.02s) + --- PASS: TestScripts/testscript_update_script_stderr (0.03s) + --- PASS: TestScripts/wait (0.04s) + --- PASS: TestScripts/testscript_update_script_quote (0.02s) + --- PASS: TestScripts/stdin (0.04s) + --- PASS: TestScripts/commandstatus (0.03s) + --- PASS: TestScripts/exec_path_change (0.36s) === RUN TestTestwork ---- PASS: TestTestwork (3.58s) +--- PASS: TestTestwork (2.01s) === 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/558558500/script-nothing - PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games + WORK=/tmp/705673981/script-nothing + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path HOME=/no-home TMPDIR=$WORK/tmp devnull=/dev/null @@ -3132,13 +3197,13 @@ # Intentionally empty test script; used to test Params.WorkdirRoot (0.000s) PASS ---- PASS: TestWorkdirRoot (0.01s) +--- PASS: TestWorkdirRoot (0.00s) --- PASS: TestWorkdirRoot/run_tests (0.00s) - --- PASS: TestWorkdirRoot/run_tests/nothing (0.01s) + --- PASS: TestWorkdirRoot/run_tests/nothing (0.00s) === RUN TestBadDir --- PASS: TestBadDir (0.00s) PASS -ok github.com/rogpeppe/go-internal/testscript 4.734s +ok github.com/rogpeppe/go-internal/testscript 2.378s === RUN Test === RUN Test/basic === RUN Test/basic#01 @@ -3166,7 +3231,7 @@ --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS -ok github.com/rogpeppe/go-internal/txtar 0.006s +ok github.com/rogpeppe/go-internal/txtar 0.007s make[1]: Leaving directory '/build/golang-github-rogpeppe-go-internal-1.6.2' create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang @@ -3195,11 +3260,11 @@ dh_dwz: warning: Common issues include no debug information at all (missing -g) and 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-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-c 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-x dh_makeshlibs -a -O--buildsystem=golang dh_shlibdeps -a -O--buildsystem=golang dh_installdeb -O--buildsystem=golang @@ -3207,20 +3272,22 @@ dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'go-internal' in '../go-internal_1.6.2-1_i386.deb'. dpkg-deb: building package 'golang-github-rogpeppe-go-internal-dev' in '../golang-github-rogpeppe-go-internal-dev_1.6.2-1_all.deb'. +dpkg-deb: building package 'go-internal' in '../go-internal_1.6.2-1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../golang-github-rogpeppe-go-internal_1.6.2-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/56618/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/56618/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/31732 and its subdirectories -I: Current time: Wed Jun 2 03:52:01 -12 2021 -I: pbuilder-time-stamp: 1622649121 +I: removing directory /srv/workspace/pbuilder/56618 and its subdirectories +I: Current time: Wed Jul 6 12:15:49 +14 2022 +I: pbuilder-time-stamp: 1657059349