Fri Apr 28 11:18:16 UTC 2023 I: starting to build golang-github-rogpeppe-go-internal/bookworm/i386 on jenkins on '2023-04-28 11:18' Fri Apr 28 11:18:16 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_10/12687/console.log Fri Apr 28 11:18:16 UTC 2023 I: Downloading source for bookworm/golang-github-rogpeppe-go-internal=1.9.0-1 --2023-04-28 11:18:16-- http://cdn-fastly.deb.debian.org/debian/pool/main/g/golang-github-rogpeppe-go-internal/golang-github-rogpeppe-go-internal_1.9.0-1.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2475 (2.4K) [text/prs.lines.tag] Saving to: ‘golang-github-rogpeppe-go-internal_1.9.0-1.dsc’ 0K .. 100% 225M=0s 2023-04-28 11:18:17 (225 MB/s) - ‘golang-github-rogpeppe-go-internal_1.9.0-1.dsc’ saved [2475/2475] Fri Apr 28 11:18:17 UTC 2023 I: golang-github-rogpeppe-go-internal_1.9.0-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: golang-github-rogpeppe-go-internal Binary: golang-github-rogpeppe-go-internal-dev, go-internal Architecture: any all Version: 1.9.0-1 Maintainer: Debian Go Packaging Team Uploaders: Anthony Fok Homepage: https://github.com/rogpeppe/go-internal Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-rogpeppe-go-internal Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-rogpeppe-go-internal.git Testsuite: autopkgtest-pkg-go Build-Depends: ca-certificates, debhelper-compat (= 13), dh-sequence-golang, golang-any, golang-github-pkg-diff-dev (>= 0.0~git20210226.20ebb0f) Package-List: go-internal deb golang optional arch=any golang-github-rogpeppe-go-internal-dev deb golang optional arch=all Checksums-Sha1: 69fbce5b5c6a1de2b2b70f2c0997677c55a88ef0 133671 golang-github-rogpeppe-go-internal_1.9.0.orig.tar.gz eb4ddb59a308166a9e0352dc8e2cdae688dbbb68 4284 golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz Checksums-Sha256: a8223943815523c3e49ac1731c323fd7b949b74ecfc151e8201064ab351a6f42 133671 golang-github-rogpeppe-go-internal_1.9.0.orig.tar.gz 5e99a9ddddfcd4c2d73a1c24f4b4b115a82b812612915b9fdc8dd5927c386db2 4284 golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz Files: 11e0eb1bdbcc1de7efd88ba73bbb5440 133671 golang-github-rogpeppe-go-internal_1.9.0.orig.tar.gz 193def97dc61142ff7e5add31918bdbe 4284 golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz Go-Import-Path: github.com/rogpeppe/go-internal -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmMNF6oQHGZva2FAZGVi aWFuLm9yZwAKCRDqJQC0EsWaz9usD/9Cx+9E814D08UK7V962m48ED4GtruueHPl DWWyA+xPnIatn5SalbXCViO9mb00grp8yxCFd0EOAkjVGxwLTnT+cz9x0M0C6P5A 291MiopOt+6zmEXlUPgIPWRO1TEW0m4stJ/MwVDUK+Uy6hKkBqtiSNl489YHGdYK X3gCaP4FmaR/B27btqvueZofgt5JraYWVmUl28fL63JYeCHwk8jrpgsMHWGv7Eww N7fyrpL1onTwUr7i1YZoDxAW7STrtBaRmx6UEovMVOnFLZVR33qXG0SckxAolESw OB7XCD+u0bQKEqoUaG+LfCU5HzPR53K3jwMvmMDjIvKCFwYsjE0htZqEyw+zghnU FK003MwlU8AWu+9Qt1qQH8/Xs2VWd75EwMUpahZ9O6hN5s2SDVeBi1o8K7ZqEeaV dwK+ogKazuFclSihqXRDkhlcJUBUhbJ8E5GCixiDoofurJPFukbuQhbU54U4Sx7e joVsqlI23uOeBiHqmMAN1kqXgGzXBOM6znsCMDzGB2eNBHitFjHEcCA4jM34rt/y OIS+rpnEctu22YIOOfrxwgqCLujbIT1buUAzSLFYByv41Kiyi56BDBSUT7R88Au/ TxmMuQJjXh1SfAbRQviTHHKhGiA4tK34yeOKbvWw6ErJeqUP2AKa232i3+89qoWy HKvg+SuyLQ== =0KeM -----END PGP SIGNATURE----- Fri Apr 28 11:18:17 UTC 2023 I: Checking whether the package is not for us Fri Apr 28 11:18:17 UTC 2023 I: Starting 1st build on remote node ionos6-i386.debian.net. Fri Apr 28 11:18:17 UTC 2023 I: Preparing to do remote build '1' on ionos6-i386.debian.net. Fri Apr 28 11:19:09 UTC 2023 I: Deleting $TMPDIR on ionos6-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu May 30 05:41:18 -12 2024 I: pbuilder-time-stamp: 1717090878 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [golang-github-rogpeppe-go-internal_1.9.0-1.dsc] I: copying [./golang-github-rogpeppe-go-internal_1.9.0.orig.tar.gz] I: copying [./golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Aug 29 07:46:50 2022 -12 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: issuer "foka@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-rogpeppe-go-internal_1.9.0-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-rogpeppe-go-internal in golang-github-rogpeppe-go-internal-1.9.0 dpkg-source: info: unpacking golang-github-rogpeppe-go-internal_1.9.0.orig.tar.gz dpkg-source: info: unpacking golang-github-rogpeppe-go-internal_1.9.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/76731/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 parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='c78b408890b94db49c86ed207986488a' 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='76731' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/pbuilderrc_Prh7 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/b1 --logfile b1/build.log golang-github-rogpeppe-go-internal_1.9.0-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://85.184.249.68:3128' I: uname -a Linux ionos6-i386 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux I: ls -l /bin total 6036 -rwxr-xr-x 1 root root 1408088 Apr 23 2023 bash -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp -rwxr-xr-x 1 root root 136916 Jan 5 2023 dash -rwxr-xr-x 1 root root 137160 Sep 20 2022 date -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd -rwxr-xr-x 1 root root 108940 Sep 20 2022 df -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir -rwxr-xr-x 1 root root 87760 Mar 22 2023 dmesg lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep -rwxr-xr-x 1 root root 34664 Sep 20 2022 false -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep -rwxr-xr-x 1 root root 84272 Mar 22 2023 findmnt -rwsr-xr-x 1 root root 30240 Mar 22 2023 fusermount -rwxr-xr-x 1 root root 218680 Jan 24 2023 grep -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip -rwxr-xr-x 1 root root 21916 Dec 19 2022 hostname -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln -rwxr-xr-x 1 root root 55600 Mar 22 2023 login -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls -rwxr-xr-x 1 root root 214568 Mar 22 2023 lsblk -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp -rwxr-xr-x 1 root root 63016 Mar 22 2023 more -rwsr-xr-x 1 root root 58912 Mar 22 2023 mount -rwxr-xr-x 1 root root 13856 Mar 22 2023 mountpoint -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts -rwxr-xr-x 1 root root 133224 Jan 5 2023 sed lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty -rwsr-xr-x 1 root root 83492 Mar 22 2023 su -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync -rwxr-xr-x 1 root root 598456 Apr 6 2023 tar -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch -rwxr-xr-x 1 root root 34664 Sep 20 2022 true -rwxr-xr-x 1 root root 17892 Mar 22 2023 ulockmgr_server -rwsr-xr-x 1 root root 30236 Mar 22 2023 umount -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir -rwxr-xr-x 1 root root 71216 Mar 22 2023 wdctl lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew I: user script /srv/workspace/pbuilder/76731/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: ca-certificates, debhelper-compat (= 13), dh-sequence-golang, golang-any, golang-github-pkg-diff-dev (>= 0.0~git20210226.20ebb0f) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19604 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on ca-certificates; however: Package ca-certificates is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-sequence-golang; however: Package dh-sequence-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-pkg-diff-dev (>= 0.0~git20210226.20ebb0f); however: Package golang-github-pkg-diff-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.19-go{a} golang-1.19-src{a} golang-any{a} golang-github-pkg-diff-dev{a} golang-go{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} openssl{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkg-config pkgconf wget 0 packages upgraded, 39 newly installed, 0 to remove and 0 not upgraded. Need to get 100 MB of archives. After unpacking 518 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main i386 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main i386 openssl i386 3.0.8-1 [1412 kB] Get: 3 http://deb.debian.org/debian bookworm/main i386 ca-certificates all 20230311 [153 kB] Get: 4 http://deb.debian.org/debian bookworm/main i386 libmagic-mgc i386 1:5.44-3 [305 kB] Get: 5 http://deb.debian.org/debian bookworm/main i386 libmagic1 i386 1:5.44-3 [114 kB] Get: 6 http://deb.debian.org/debian bookworm/main i386 file i386 1:5.44-3 [42.5 kB] Get: 7 http://deb.debian.org/debian bookworm/main i386 gettext-base i386 0.21-12 [162 kB] Get: 8 http://deb.debian.org/debian bookworm/main i386 libuchardet0 i386 0.0.7-1 [67.9 kB] Get: 9 http://deb.debian.org/debian bookworm/main i386 groff-base i386 1.22.4-10 [932 kB] Get: 10 http://deb.debian.org/debian bookworm/main i386 bsdextrautils i386 2.38.1-5+b1 [90.3 kB] Get: 11 http://deb.debian.org/debian bookworm/main i386 libpipeline1 i386 1.5.7-1 [40.0 kB] Get: 12 http://deb.debian.org/debian bookworm/main i386 man-db i386 2.11.2-2 [1397 kB] Get: 13 http://deb.debian.org/debian bookworm/main i386 m4 i386 1.4.19-3 [294 kB] Get: 14 http://deb.debian.org/debian bookworm/main i386 autoconf all 2.71-3 [332 kB] Get: 15 http://deb.debian.org/debian bookworm/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 16 http://deb.debian.org/debian bookworm/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 17 http://deb.debian.org/debian bookworm/main i386 autopoint all 0.21-12 [495 kB] Get: 18 http://deb.debian.org/debian bookworm/main i386 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 19 http://deb.debian.org/debian bookworm/main i386 libtool all 2.4.7-5 [517 kB] Get: 20 http://deb.debian.org/debian bookworm/main i386 dh-autoreconf all 20 [17.1 kB] Get: 21 http://deb.debian.org/debian bookworm/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 22 http://deb.debian.org/debian bookworm/main i386 libsub-override-perl all 0.09-4 [9304 B] Get: 23 http://deb.debian.org/debian bookworm/main i386 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 24 http://deb.debian.org/debian bookworm/main i386 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 25 http://deb.debian.org/debian bookworm/main i386 libelf1 i386 0.188-2.1 [179 kB] Get: 26 http://deb.debian.org/debian bookworm/main i386 dwz i386 0.15-1 [118 kB] Get: 27 http://deb.debian.org/debian bookworm/main i386 libicu72 i386 72.1-3 [9541 kB] Get: 28 http://deb.debian.org/debian bookworm/main i386 libxml2 i386 2.9.14+dfsg-1.2 [720 kB] Get: 29 http://deb.debian.org/debian bookworm/main i386 gettext i386 0.21-12 [1311 kB] Get: 30 http://deb.debian.org/debian bookworm/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 31 http://deb.debian.org/debian bookworm/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 32 http://deb.debian.org/debian bookworm/main i386 debhelper all 13.11.4 [942 kB] Get: 33 http://deb.debian.org/debian bookworm/main i386 dh-golang all 1.59 [27.8 kB] Get: 34 http://deb.debian.org/debian bookworm/main i386 golang-1.19-src all 1.19.8-2 [18.3 MB] Get: 35 http://deb.debian.org/debian bookworm/main i386 golang-1.19-go i386 1.19.8-2 [61.2 MB] Get: 36 http://deb.debian.org/debian bookworm/main i386 golang-src all 2:1.19~1 [5756 B] Get: 37 http://deb.debian.org/debian bookworm/main i386 golang-go i386 2:1.19~1 [45.0 kB] Get: 38 http://deb.debian.org/debian bookworm/main i386 golang-any i386 2:1.19~1 [5872 B] Get: 39 http://deb.debian.org/debian bookworm/main i386 golang-github-pkg-diff-dev all 0.0~git20210226.20ebb0f-1 [93.6 kB] Fetched 100 MB in 3s (34.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19604 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package openssl. Preparing to unpack .../01-openssl_3.0.8-1_i386.deb ... Unpacking openssl (3.0.8-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../02-ca-certificates_20230311_all.deb ... Unpacking ca-certificates (20230311) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.44-3_i386.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../04-libmagic1_1%3a5.44-3_i386.deb ... Unpacking libmagic1:i386 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.44-3_i386.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.21-12_i386.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../07-libuchardet0_0.0.7-1_i386.deb ... Unpacking libuchardet0:i386 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../08-groff-base_1.22.4-10_i386.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../09-bsdextrautils_2.38.1-5+b1_i386.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../10-libpipeline1_1.5.7-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../11-man-db_2.11.2-2_i386.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.19-3_i386.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../17-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../18-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../19-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../20-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../21-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../22-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../23-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../24-libelf1_0.188-2.1_i386.deb ... Unpacking libelf1:i386 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../25-dwz_0.15-1_i386.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../26-libicu72_72.1-3_i386.deb ... Unpacking libicu72:i386 (72.1-3) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../27-libxml2_2.9.14+dfsg-1.2_i386.deb ... Unpacking libxml2:i386 (2.9.14+dfsg-1.2) ... Selecting previously unselected package gettext. Preparing to unpack .../28-gettext_0.21-12_i386.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../29-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../30-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../31-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package dh-golang. Preparing to unpack .../32-dh-golang_1.59_all.deb ... Unpacking dh-golang (1.59) ... Selecting previously unselected package golang-1.19-src. Preparing to unpack .../33-golang-1.19-src_1.19.8-2_all.deb ... Unpacking golang-1.19-src (1.19.8-2) ... Selecting previously unselected package golang-1.19-go. Preparing to unpack .../34-golang-1.19-go_1.19.8-2_i386.deb ... Unpacking golang-1.19-go (1.19.8-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../35-golang-src_2%3a1.19~1_all.deb ... Unpacking golang-src (2:1.19~1) ... Selecting previously unselected package golang-go:i386. Preparing to unpack .../36-golang-go_2%3a1.19~1_i386.deb ... Unpacking golang-go:i386 (2:1.19~1) ... Selecting previously unselected package golang-any:i386. Preparing to unpack .../37-golang-any_2%3a1.19~1_i386.deb ... Unpacking golang-any:i386 (2:1.19~1) ... Selecting previously unselected package golang-github-pkg-diff-dev. Preparing to unpack .../38-golang-github-pkg-diff-dev_0.0~git20210226.20ebb0f-1_all.deb ... Unpacking golang-github-pkg-diff-dev (0.0~git20210226.20ebb0f-1) ... Setting up libpipeline1:i386 (1.5.7-1) ... Setting up libicu72:i386 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up golang-github-pkg-diff-dev (0.0~git20210226.20ebb0f-1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up libmagic1:i386 (1:5.44-3) ... Setting up gettext-base (0.21-12) ... Setting up golang-1.19-src (1.19.8-2) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up libuchardet0:i386 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up golang-src (2:1.19~1) ... Setting up openssl (3.0.8-1) ... Setting up libelf1:i386 (0.188-2.1) ... Setting up libxml2:i386 (2.9.14+dfsg-1.2) ... Setting up golang-1.19-go (1.19.8-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up golang-go:i386 (2:1.19~1) ... Setting up golang-any:i386 (2:1.19~1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20230311) ... Updating certificates in /etc/ssl/certs... 140 added, 0 removed; done. Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Setting up dh-golang (1.59) ... Processing triggers for libc-bin (2.36-9) ... Processing triggers for ca-certificates (20230311) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/golang-github-rogpeppe-go-internal-1.9.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-rogpeppe-go-internal_1.9.0-1_source.changes dpkg-buildpackage: info: source package golang-github-rogpeppe-go-internal dpkg-buildpackage: info: source version 1.9.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Anthony Fok dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 16 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar runtime/internal/syscall internal/goarch internal/unsafeheader internal/itoa internal/goos internal/race unicode/utf8 internal/goexperiment crypto/subtle internal/cpu runtime/internal/atomic crypto/internal/subtle unicode sync/atomic crypto/internal/boring/sig math/bits encoding unicode/utf16 github.com/rogpeppe/go-internal/semver internal/abi runtime/internal/math runtime/internal/sys internal/nettrace container/list vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle github.com/pkg/diff/intern internal/goversion 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 math internal/bytealg runtime internal/reflectlite sync internal/testlog math/rand internal/singleflight internal/sysinfo runtime/cgo errors sort github.com/rogpeppe/go-internal/par internal/oserror io internal/safefilepath path vendor/golang.org/x/net/dns/dnsmessage strconv crypto/internal/nistec/fiat syscall bytes hash crypto/internal/randutil strings hash/crc32 crypto crypto/rc4 vendor/golang.org/x/text/transform reflect net/http/internal/ascii bufio go/build/constraint regexp/syntax internal/syscall/unix internal/syscall/execenv time regexp crypto/internal/nistec context io/fs internal/poll os github.com/rogpeppe/go-internal/fmtsort encoding/binary internal/fmtsort encoding/base64 crypto/cipher crypto/md5 crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/curve25519/internal/field crypto/internal/edwards25519 encoding/pem crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 io/ioutil internal/godebug internal/lazyregexp github.com/rogpeppe/go-internal/lockedfile/internal/filelock path/filepath fmt crypto/sha256 crypto/sha512 crypto/aes crypto/hmac crypto/sha1 internal/intern vendor/golang.org/x/crypto/chacha20poly1305 net/netip vendor/golang.org/x/crypto/hkdf github.com/rogpeppe/go-internal/renameio os/exec github.com/rogpeppe/go-internal/internal/os/execpath internal/goroot net encoding/hex github.com/rogpeppe/go-internal/txtar github.com/rogpeppe/go-internal/module log flag net/url vendor/golang.org/x/crypto/curve25519 encoding/json compress/flate vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable net/http/internal math/big vendor/golang.org/x/text/unicode/norm github.com/pkg/diff/edit github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/cache runtime/debug runtime/trace vendor/golang.org/x/text/unicode/bidi go/token github.com/pkg/diff/ctxt github.com/pkg/diff/myers github.com/pkg/diff/write go/doc/comment internal/buildcfg github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/pkg/diff github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/cmd/txtar-addmod testing go/scanner github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-x archive/zip compress/gzip go/ast vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna github.com/rogpeppe/go-internal/dirhash go/internal/typeparams go/doc github.com/rogpeppe/go-internal/testenv go/parser crypto/internal/boring/bbig crypto/rand crypto/elliptic crypto/dsa encoding/asn1 crypto/ed25519 crypto/rsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte go/build crypto/ecdsa github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/gotooltest vendor/golang.org/x/net/http/httpproxy net/textproto crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls net/http/httptrace net/http github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/testscript debian/rules override_dh_auto_test make[1]: Entering directory '/build/golang-github-rogpeppe-go-internal-1.9.0' patch -N -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch patching file _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go Hunk #1 succeeded at 785 (offset 50 lines). GOPROXY= dh_auto_test cd _build && go test -vet=off -v -p 16 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar === RUN TestBasic --- PASS: TestBasic (0.01s) === RUN TestGrowth --- PASS: TestGrowth (1.16s) === 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.02s) === RUN TestCacheLog --- PASS: TestCacheLog (0.01s) === RUN TestCacheTrim --- PASS: TestCacheTrim (0.02s) === RUN TestDefaultDir --- PASS: TestDefaultDir (0.00s) === RUN TestHash --- PASS: TestHash (0.00s) === RUN TestHashFile --- PASS: TestHashFile (0.00s) PASS ok github.com/rogpeppe/go-internal/cache 1.236s === RUN TestScripts === RUN TestScripts/env_values === PAUSE TestScripts/env_values === RUN TestScripts/env_var_no_go === PAUSE TestScripts/env_var_no_go === RUN TestScripts/env_var_with_go === PAUSE TestScripts/env_var_with_go === RUN TestScripts/error === PAUSE TestScripts/error === RUN TestScripts/help === PAUSE TestScripts/help === RUN TestScripts/nogo === PAUSE TestScripts/nogo === RUN TestScripts/noproxy === PAUSE TestScripts/noproxy === RUN TestScripts/simple === PAUSE TestScripts/simple === RUN TestScripts/skip === PAUSE TestScripts/skip === RUN TestScripts/update === PAUSE TestScripts/update === RUN TestScripts/work === PAUSE TestScripts/work === CONT TestScripts/env_values === CONT TestScripts/noproxy === CONT TestScripts/update === CONT TestScripts/work === CONT TestScripts/error === CONT TestScripts/nogo === CONT TestScripts/help === CONT TestScripts/skip === CONT TestScripts/env_var_with_go === CONT TestScripts/env_var_no_go === CONT TestScripts/simple === CONT TestScripts/nogo testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # should support skip (0.000s) > unquote file.txt # We can't just set PATH to empty because we need the part of it that # contains the command names, so use a special builtin instead. (0.010s) > dropgofrompath > ! testscript -v file.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > go env FAIL: $WORK/.tmp/testscript3862173539/file.txt/script.txtar:1: unknown command "go" [stderr] error running file.txt in $WORK/.tmp/testscript3862173539/file.txt [exit status 1] > stdout 'unknown command "go"' > stderr 'error running file.txt in' PASS === CONT TestScripts/help testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # Simply sanity check on help output (0.011s) > ! testscript -help [stderr] The testscript command runs github.com/rogpeppe/go-internal/testscript scripts in a fresh temporary work directory tree. Usage: testscript [-v] [-e VAR[=value]]... [-u] [-work] files... The testscript command is designed to make it easy to create self-contained reproductions of command sequences. Each file is opened as a script and run as described in the documentation for github.com/rogpeppe/go-internal/testscript. The special filename "-" is interpreted as the standard input. As a special case, supporting files/directories in the .gomodproxy subdirectory will be served via a github.com/rogpeppe/go-internal/goproxytest server which is available to each script via the GOPROXY environment variable. The contents of the .gomodproxy subdirectory are not available to the script except via the proxy server. See the documentation for github.com/rogpeppe/go-internal/goproxytest for details on the format of these files/directories. Environment variables can be passed through to each script with the -e flag, where VAR is the name of the variable. Variables override testscript-defined values, with the exception of WORK which cannot be overridden. The -e flag can appear multiple times to specify multiple variables. The -u flag specifies that if a cmp command within a testscript fails and its second argument refers to a file inside the testscript file, the command will succeed and the testscript file will be updated to reflect the actual content. As such, this is the cmd/testcript equivalent of testscript.Params.UpdateScripts. The -work flag prints the temporary work directory path before running each script, and does not remove that directory when testscript exits. Examples ======== The following example, fruit.txtar, shows a simple reproduction that includes .gomodproxy supporting files: go get -m fruit.com go list fruit.com/... stdout 'fruit.com/fruit' -- go.mod -- module mod -- .gomodproxy/fruit.com_v1.0.0/.mod -- module fruit.com -- .gomodproxy/fruit.com_v1.0.0/.info -- {"Version":"v1.0.0","Time":"2018-10-22T18:45:39Z"} -- .gomodproxy/fruit.com_v1.0.0/fruit/fruit.go -- package fruit const Name = "Apple" Running testscript -v fruit.txtar we get: ... > go get -m fruit.com [stderr] go: finding fruit.com v1.0.0 > go list fruit.com/... [stdout] fruit.com/fruit [stderr] go: downloading fruit.com v1.0.0 > stdout 'fruit.com/fruit' PASS The following example, goimports.txtar, shows a simple reproduction involving goimports: go install golang.org/x/tools/cmd/goimports # check goimports help information exec goimports -d main.go stdout 'import "math"' -- go.mod -- module mod require golang.org/x/tools v0.0.0-20181221235234-d00ac6d27372 -- main.go -- package mod const Pi = math.Pi Running testscript -v goimports.txtar we get: ... > go install golang.org/x/tools/cmd/goimports [stderr] go: finding golang.org/x/tools v0.0.0-20181221235234-d00ac6d27372 go: downloading golang.org/x/tools v0.0.0-20181221235234-d00ac6d27372 # check goimports help information (0.015s) > exec goimports -d main.go [stdout] diff -u main.go.orig main.go --- main.go.orig 2019-01-08 16:03:35.861907738 +0000 +++ main.go 2019-01-08 16:03:35.861907738 +0000 @@ -1,3 +1,5 @@ package mod +import "math" + const Pi = math.Pi > stdout 'import "math"' PASS [exit status 2] > ! stdout .+ > stderr 'The testscript command' > stderr 'Examples' PASS === CONT TestScripts/work testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # Test that passing -work leaves behind the working directory # that contains the temporary directories within which the # script arguments are expanded. # # This test also covers the use of multiple scripts which share # the same basename, ensuring that the naming of the directories # within the working directory. (0.042s) > unquote file.txt dir/file.txt > testscript -v -work file.txt dir/file.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > exec true PASS WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > exec true PASS [stderr] temporary work directory: $WORK/.tmp/testscript1774228539 temporary work directory for file.txt: $WORK/.tmp/go-test-script2428100627/script-script temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script89539184/script-script > stderr '^temporary work directory: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' > stderr '^temporary work directory for dir[/\\]file.txt: \Q'$WORK'\E[/\\]\.tmp[/\\]' > expandone $WORK/.tmp/testscript*/file.txt/script.txtar > expandone $WORK/.tmp/testscript*/file.txt1/script.txtar PASS === CONT TestScripts/update testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # should support the -update flag (0.000s) > unquote in.txt res.txt # Should be an error to use -u with only stdin (0.004s) > stdin in.txt > ! testscript -u [stderr] cannot use -u when reading from stdin [exit status 1] > stderr 'cannot use -u when reading from stdin' # It is ok to use -u when reading from stdin and # a regular file (0.050s) > testscript -u - in.txt [stdout] PASS PASS $WORK/.tmp/testscript1494319847/in.txt/script.txtar updated > cmp in.txt res.txt PASS === CONT TestScripts/skip testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # should support skip (0.053s) > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > go version [stdout] go version go1.19.8 linux/386 > skip > stdout 'go version' > ! stderr .+ PASS === CONT TestScripts/env_var_no_go testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # Test passing environment variables to scripts with no go command on PATH # # This is the counterpart to env_var_with_go.txt (0.001s) > unquote noproxy.txt > unquote withproxy.txt > dropgofrompath > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= # no GOPROXY, no pass-through, no proxy (0.023s) > testscript -v noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > env BANANA BANANA= > env GOPATH GOPATH= > env GOPROXY GOPROXY= PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ # no GOPROXY, no pass-through, with proxy (0.007s) > testscript -v withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPROXY=http://127.0.0.1:45031/mod GONOSUMDB=* > env BANANA BANANA= > env GOPATH GOPATH= > env GOPROXY GOPROXY=http://127.0.0.1:45031/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ # no GOPROXY, with pass-through, no proxy (0.004s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= BANANA=banana GOPATH=$WORK/ourgopath GOPROXY= > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY= PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ # no GOPROXY, with pass-through, with proxy (0.007s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPROXY= GONOSUMDB=* BANANA=banana GOPATH=$WORK/ourgopath > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY= PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy # with GOPROXY, no pass-through, no proxy (0.004s) > testscript -v noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > env BANANA BANANA= > env GOPATH GOPATH= > env GOPROXY GOPROXY= PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=$ > ! stderr .+ # with GOPROXY, no pass-through, with proxy (0.005s) > testscript -v withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPROXY=http://127.0.0.1:43953/mod GONOSUMDB=* > env BANANA BANANA= > env GOPATH GOPATH= > env GOPROXY GOPROXY=http://127.0.0.1:43953/mod PASS > stdout ^BANANA=$ > stdout ^GOPATH=$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ # with GOPROXY, with pass-through, no proxy (0.004s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= BANANA=banana GOPATH=$WORK/ourgopath GOPROXY=file://$WORK/proxy > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY=file://$WORK/proxy PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ # with GOPROXY, with pass-through, with proxy (0.005s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/sbin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPROXY=file://$WORK/proxy GONOSUMDB=* BANANA=banana GOPATH=$WORK/ourgopath > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY=file://$WORK/proxy PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ PASS === CONT TestScripts/simple testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # With .gomodproxy supporting files, any GOPROXY from the # environment should be overridden by the test proxy. (0.067s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:35305/mod goversion=1.19 GONOSUMDB=* > go get -d fruit.com [stderr] go: downloading fruit.com v1.0.0 > go list -m [stdout] example.com/mod > stdout 'example.com/mod' > go list fruit.com/... [stdout] fruit.com/coretest fruit.com/fruit > stdout 'fruit.com/fruit' > stdout 'fruit.com/coretest' PASS > stdout 'example.com/mod' > ! stderr .+ PASS === CONT TestScripts/error testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # should support skip (0.000s) > unquote file.txt # stdin (0.043s) > stdin file.txt > ! testscript -v [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > exec false [exit status 1] FAIL: $WORK/.tmp/testscript3876117870/-/script.txtar:1: unexpected command failure [stderr] error running in $WORK/.tmp/testscript3876117870/- [exit status 1] > stderr 'error running in' # file-based (0.033s) > ! testscript -v file.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > exec false [exit status 1] FAIL: $WORK/.tmp/testscript2998731393/file.txt/script.txtar:1: unexpected command failure [stderr] error running file.txt in $WORK/.tmp/testscript2998731393/file.txt [exit status 1] > stderr 'error running file.txt in' PASS === CONT TestScripts/env_values testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # Test that passing env values, e.g. ENV1=val, works (0.000s) > unquote test.txt > env BLAH1= > env BLAH2=junk # Normal operation (0.050s) > testscript -e BLAH1=rubbish -e BLAH2 test.txt [stdout] PASS # It is an error to specify WORK. Note the error message # appears on stdout because it is written to the log output # of testscript, which has no concept of stderr. (0.031s) > ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt [stdout] FAIL: $WORK/.tmp/testscript1488877019/test.txt/script.txtar:0: cannot override WORK variable [stderr] error running test.txt in $WORK/.tmp/testscript1488877019/test.txt [exit status 1] > stdout 'cannot override WORK variable' PASS === CONT TestScripts/noproxy testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # With no .gomodproxy supporting files, we use the GOPROXY from # the environment. (0.140s) > env GOPROXY=0.1.2.3 > unquote file.txt > testscript -v file.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=0.1.2.3 goversion=1.19 > go env [stdout] GO111MODULE="" GOARCH="386" GOBIN="" GOCACHE="/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build" GOENV="/no-home/.config/go/env" GOEXE="" GOEXPERIMENT="" 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.19" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go-1.19/pkg/tool/linux_386" GOVCS="" GOVERSION="go1.19.8" GCCGO="gccgo" GO386="softfloat" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" 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 -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build1356971677=/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/env_var_with_go testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNALMODPATH=. GONOSUMDB=* # Test passing environment variables to scripts with the go command on PATH # # Below where we check the output of testscript -v, we have to match against # 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.000s) > unquote noproxy.txt > unquote withproxy.txt # Baseline (0.042s) > testscript -v noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > env BANANA BANANA= > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY GOPROXY=https://proxy.golang.org,direct PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ > env BANANA=banana > env GOPATH=$WORK/ourgopath > env GOPROXY= # no GOPROXY, no pass-through, no proxy (0.034s) > testscript -v noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 > env BANANA BANANA= > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY GOPROXY=https://proxy.golang.org,direct PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > [!go1.13] stdout ^GOPROXY=$ > [go1.13] stdout ^GOPROXY=https://proxy.golang.org,direct$ > ! stderr .+ # no GOPROXY, no pass-through, with proxy (0.031s) > testscript -v withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:44369/mod goversion=1.19 GONOSUMDB=* > env BANANA BANANA= > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY GOPROXY=http://127.0.0.1:44369/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ # no GOPROXY, with pass-through, no proxy (0.030s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/ourgopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY= goversion=1.19 BANANA=banana > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY= PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ # no GOPROXY, with pass-through, with proxy (0.028s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/ourgopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY= goversion=1.19 GONOSUMDB=* BANANA=banana > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY= PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$ > ! stderr .+ > setfilegoproxy $WORK/proxy # with GOPROXY, no pass-through, no proxy (0.027s) > testscript -v noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=file://$WORK/proxy goversion=1.19 > env BANANA BANANA= > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY GOPROXY=file://$WORK/proxy PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ # with GOPROXY, no pass-through, with proxy (0.029s) > testscript -v withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:33855/mod goversion=1.19 GONOSUMDB=* > env BANANA BANANA= > env GOPATH GOPATH=$WORK/.gopath > env GOPROXY GOPROXY=http://127.0.0.1:33855/mod PASS > stdout ^BANANA=$ > stdout '^GOPATH=\$WORK[/\\]\.gopath'$ > stdout ^GOPROXY=http://.*/mod$ > ! stderr .+ # with GOPROXY, with pass-through, no proxy (0.027s) > testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/ourgopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=file://$WORK/proxy goversion=1.19 BANANA=banana > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY=file://$WORK/proxy PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ # with GOPROXY, with pass-through, with proxy (0.028s) > testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt [stdout] WORK=$WORK PATH=/tmp/testscript-main2104176111/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/ourgopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=file://$WORK/proxy goversion=1.19 GONOSUMDB=* BANANA=banana > env BANANA BANANA=banana > env GOPATH GOPATH=$WORK/ourgopath > env GOPROXY GOPROXY=file://$WORK/proxy PASS > stdout ^BANANA=banana$ > stdout ^GOPATH=${WORK@R}[/\\]ourgopath$ > stdout ^GOPROXY=$GOPROXY$ > ! stderr .+ PASS --- PASS: TestScripts (0.04s) --- PASS: TestScripts/nogo (0.01s) --- PASS: TestScripts/help (0.02s) --- PASS: TestScripts/work (0.04s) --- PASS: TestScripts/update (0.05s) --- PASS: TestScripts/skip (0.05s) --- PASS: TestScripts/env_var_no_go (0.06s) --- PASS: TestScripts/simple (0.07s) --- PASS: TestScripts/error (0.08s) --- PASS: TestScripts/env_values (0.08s) --- PASS: TestScripts/noproxy (0.14s) --- PASS: TestScripts/env_var_with_go (0.28s) PASS ok github.com/rogpeppe/go-internal/cmd/testscript 0.324s === RUN TestScripts === RUN TestScripts/encode === PAUSE TestScripts/encode === RUN TestScripts/to_stdout === PAUSE TestScripts/to_stdout === RUN TestScripts/txtar-addmod-self === PAUSE TestScripts/txtar-addmod-self === CONT TestScripts/encode === CONT TestScripts/txtar-addmod-self === CONT TestScripts/to_stdout go proxy: no archive github.com/shurcooL v0.0.0-20171119174359-809beceb2371 go proxy: no archive github.com v0.0.0-20171119174359-809beceb2371 === CONT TestScripts/encode testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1490858024/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:33707/mod goversion=1.19 GONOSUMDB=* > mkdir $WORK/out > txtar-addmod $WORK/out github.com/shurcooL/httpfs@v0.0.0-20171119174359-809beceb2371 > ! stdout .+ > ! stderr .+ > exists $WORK/out/github.com_shurcoo!l_httpfs_v0.0.0-20171119174359-809beceb2371.txtar PASS === CONT TestScripts/to_stdout testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1490858024/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:33707/mod goversion=1.19 GONOSUMDB=* > unquote expect > txtar-addmod - github.com/gobin-testrepos/simple-main [stdout] -- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/.mod -- module github.com/gobin-testrepos/simple-main -- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/.info -- {"Version":"v1.0.0","Time":"2018-10-22T18:45:39Z"} -- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/go.mod -- module github.com/gobin-testrepos/simple-main -- .gomodproxy/github.com_gobin-testrepos_simple-main_v1.0.0/main.go -- package main import "fmt" func main() { fmt.Println("I am a simple module-based main") } > cmp stdout expect > ! stderr .+ PASS === CONT TestScripts/txtar-addmod-self testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1490858024/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:33707/mod goversion=1.19 GONOSUMDB=* > mkdir $WORK/out > txtar-addmod $WORK/out github.com/gobin-testrepos/simple-main > ! stdout .+ > ! stderr .+ > exists $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar > ! grep foobar $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar > txtar-addmod -all $WORK/out github.com/gobin-testrepos/simple-main > grep '-- foobar --' $WORK/out/github.com_gobin-testrepos_simple-main_v1.0.0.txtar PASS --- PASS: TestScripts (0.03s) --- PASS: TestScripts/encode (0.03s) --- PASS: TestScripts/to_stdout (0.04s) --- PASS: TestScripts/txtar-addmod-self (0.08s) PASS ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 0.116s === RUN TestScripts === RUN TestScripts/all === PAUSE TestScripts/all === RUN TestScripts/needquote === PAUSE TestScripts/needquote === RUN TestScripts/quote === PAUSE TestScripts/quote === RUN TestScripts/txtar-savedir-self === PAUSE TestScripts/txtar-savedir-self === CONT TestScripts/all === CONT TestScripts/quote === CONT TestScripts/txtar-savedir-self === CONT TestScripts/needquote === CONT TestScripts/txtar-savedir-self testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main527219203/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > 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/quote testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main527219203/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > unquote blah/withsep > unquote expect > txtar-c -quote blah [stdout] unquote withsep -- withsep -- >-- separator -- >foo > ! stderr .+ > cmp stdout expect PASS === CONT TestScripts/needquote testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main527219203/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > unquote blah/withsep > unquote expect > txtar-c blah [stdout] -- nosep -- bar [stderr] txtar-c: blah/withsep: ignoring file with txtar marker in > stderr 'txtar-c: blah.withsep: ignoring file with txtar marker in' > cmp stdout expect PASS === CONT TestScripts/all testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main527219203/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > unquote expect-all > unquote expect-no-all # Without the -a flag, it should ignore . files. (0.002s) > 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.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 --- PASS: TestScripts (0.00s) --- PASS: TestScripts/txtar-savedir-self (0.00s) --- PASS: TestScripts/quote (0.00s) --- PASS: TestScripts/needquote (0.00s) --- PASS: TestScripts/all (0.01s) PASS ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.009s ? github.com/rogpeppe/go-internal/cmd/txtar-goproxy [no test files] === RUN TestScripts === RUN TestScripts/extract-dir === PAUSE TestScripts/extract-dir === RUN TestScripts/extract-out-of-bounds === PAUSE TestScripts/extract-out-of-bounds === RUN TestScripts/extract-stdin === PAUSE TestScripts/extract-stdin === RUN TestScripts/extract === PAUSE TestScripts/extract === CONT TestScripts/extract-dir === CONT TestScripts/extract-stdin === CONT TestScripts/extract === CONT TestScripts/extract-out-of-bounds === CONT TestScripts/extract-dir testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1265280067/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > 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 PASS === CONT TestScripts/extract testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1265280067/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > unquote file.txtar > txtar-x file.txtar > cmp foo expect/foo > cmp a/b/bar expect/a/b/bar PASS === CONT TestScripts/extract-stdin testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1265280067/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > unquote file.txtar > stdin file.txtar > txtar-x > cmp foo expect/foo > cmp a/b/bar expect/a/b/bar PASS === CONT TestScripts/extract-out-of-bounds testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main1265280067/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > unquote file1.txtar file2.txtar > ! txtar-x file1.txtar [stderr] txtar-x: "../foo": outside parent directory [exit status 1] > stderr '"\.\./foo": outside parent directory' > ! txtar-x file2.txtar [stderr] txtar-x: "/foo": outside parent directory [exit status 1] > stderr '"/foo": outside parent directory' PASS --- PASS: TestScripts (0.00s) --- PASS: TestScripts/extract (0.00s) --- PASS: TestScripts/extract-stdin (0.00s) --- PASS: TestScripts/extract-dir (0.00s) --- PASS: TestScripts/extract-out-of-bounds (0.01s) PASS ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.009s === RUN TestHash1 --- PASS: TestHash1 (0.00s) === RUN TestHashDir --- PASS: TestHashDir (0.00s) === RUN TestHashZip --- PASS: TestHashZip (0.00s) === RUN TestDirFiles --- PASS: TestDirFiles (0.00s) PASS ok github.com/rogpeppe/go-internal/dirhash 0.005s === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestOrder --- PASS: TestOrder (0.00s) === RUN TestInterface --- PASS: TestInterface (0.00s) PASS ok github.com/rogpeppe/go-internal/fmtsort 0.004s === RUN TestScripts === RUN TestScripts/list === PAUSE TestScripts/list === CONT TestScripts/list testscript.go:429: WORK=$WORK PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=http://127.0.0.1:33679/mod goversion=1.19 GONOSUMDB=* # prior to go 1.12 you cannot list a module without a requirement (0.028s) > [!go1.12] go get fruit.com > go list -m -versions fruit.com [stdout] fruit.com v1.0.0 v1.1.0 > stdout 'v1.0.0 v1.1.0' > go get -d fruit.com@v1.0.0 [stderr] go: downloading fruit.com v1.0.0 go: added fruit.com v1.0.0 > go get -d fruit.com@v1.1.0 [stderr] go: downloading fruit.com v1.1.0 go: upgraded fruit.com v1.0.0 => v1.1.0 # On Go 1.18 and later, this will error out if GOPATH is ${WORK}/gopath, # as that places GOMODCACHE inside the Go module and "mod tidy" walks it. # "mod tidy" then complains about invalid import paths such as # "mod/gopath/pkg/mod/fruit.com@v1.1.0/fruit". # It's for that reason that we moved the default GOPATH to ${WORK}/.gopath. (0.005s) > go mod tidy [stderr] go: warning: "all" matched no packages PASS --- PASS: TestScripts (0.03s) --- PASS: TestScripts/list (0.04s) PASS ok github.com/rogpeppe/go-internal/goproxytest 0.069s === RUN TestSimple === RUN TestSimple/cover === PAUSE TestSimple/cover === RUN TestSimple/env === PAUSE TestSimple/env === RUN TestSimple/version === PAUSE TestSimple/version === CONT TestSimple/cover === CONT TestSimple/version === CONT TestSimple/env === CONT TestSimple/version testscript.go:429: WORK=$WORK PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal > go list -f '{{context.ReleaseTags}}' runtime [stdout] [go1.1 go1.2 go1.3 go1.4 go1.5 go1.6 go1.7 go1.8 go1.9 go1.10 go1.11 go1.12 go1.13 go1.14 go1.15 go1.16 go1.17 go1.18 go1.19] > [go1.11] [!go1.12] stdout go1\.11 > [go1.11] [!go1.12] ! stdout go1\.12 > [go1.12] stdout go1\.12 PASS === CONT TestSimple/env testscript.go:429: WORK=$WORK PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal # GOPATH and GOMODCACHE are not shared with the host, # but GOCACHE is. (0.105s) > go env [stdout] GO111MODULE="" GOARCH="386" GOBIN="" GOCACHE="/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build" GOENV="/no-home/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="386" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="$WORK/.gopath/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="$WORK/.gopath" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go-1.19" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go-1.19/pkg/tool/linux_386" GOVCS="" GOVERSION="go1.19.8" GCCGO="gccgo" GO386="softfloat" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" 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 -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build1169907151=/tmp/go-build -gno-record-gcc-switches" > stdout GOPATH=.*${WORK@R} > stdout GOMODCACHE=.*${WORK@R} > ! stdout GOCACHE=.*${WORK@R} PASS === CONT TestSimple/cover testscript.go:793: testscript.go:429: WORK=$WORK PATH=/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GOPATH=$WORK/.gopath CCACHE_DISABLE=1 GOARCH=386 GOOS=linux GOROOT=/usr/lib/go-1.19 GOCACHE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/go-build GOPROXY=https://proxy.golang.org,direct goversion=1.19 GOINTERNAL_MODULE=/build/golang-github-rogpeppe-go-internal-1.9.0/_build/src/github.com/rogpeppe/go-internal > unquote scripts/exec.txt > [darwin] skip 'Pending a fix for github.com/rogpeppe/go-internal/issues/130' # The module uses testscript itself. # Use the checked out module, based on where the test binary ran. (0.115s) > go mod edit -replace=github.com/rogpeppe/go-internal=${GOINTERNAL_MODULE} > go mod tidy [stderr] go: found github.com/rogpeppe/go-internal/gotooltest in github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000 go: found github.com/rogpeppe/go-internal/testscript in github.com/rogpeppe/go-internal v0.0.0-00010101000000-000000000000 go: github.com/rogpeppe/go-internal@v0.0.0-00010101000000-000000000000 requires github.com/pkg/diff@v0.0.0-20210226163009-20ebb0f2a09e: Get "https://proxy.golang.org/github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:55660->[::1]:53: read: connection refused [exit status 1] FAIL: testdata/cover.txt:8: unexpected go command failure SKIP: TestSimple/cover: Possible restricted network access --- PASS: TestSimple (0.03s) --- PASS: TestSimple/version (0.10s) --- PASS: TestSimple/env (0.11s) --- SKIP: TestSimple/cover (0.12s) PASS ok github.com/rogpeppe/go-internal/gotooltest 0.149s === RUN TestReadImports --- PASS: TestReadImports (0.00s) === RUN TestReadComments --- PASS: TestReadComments (0.00s) === RUN TestReadFailures --- PASS: TestReadFailures (0.00s) === RUN TestReadFailuresIgnored --- PASS: TestReadFailuresIgnored (0.00s) === RUN TestScan --- PASS: TestScan (0.00s) === RUN TestScanStar --- PASS: TestScanStar (0.00s) PASS ok github.com/rogpeppe/go-internal/imports 0.004s ? 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] ? github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll [no test files] === RUN TestDiff --- PASS: TestDiff (0.00s) PASS ok github.com/rogpeppe/go-internal/internal/textutil 0.006s === RUN TestMutexExcludes === PAUSE TestMutexExcludes === RUN TestReadWaitsForLock === PAUSE TestReadWaitsForLock === RUN TestCanLockExistingFile === PAUSE TestCanLockExistingFile === RUN TestSpuriousEDEADLK --- PASS: TestSpuriousEDEADLK (0.02s) === CONT TestMutexExcludes === CONT TestCanLockExistingFile === CONT TestMutexExcludes lockedfile_test.go:75: mu := MutexAt(_) === CONT TestReadWaitsForLock === CONT TestMutexExcludes lockedfile_test.go:81: unlock, _ := mu.Lock() lockedfile_test.go:84: mu2 := MutexAt(mu.Path) === CONT TestReadWaitsForLock lockedfile_test.go:124: WriteString("part 1\n") = lockedfile_test.go:146: WriteString("part 2\n") = === CONT TestMutexExcludes lockedfile_test.go:97: unlock() lockedfile_test.go:92: unlock2, _ := mu2.Lock() lockedfile_test.go:93: unlock2() === CONT TestReadWaitsForLock lockedfile_test.go:136: Read(_) = "part 1\npart 2\n" --- PASS: TestMutexExcludes (0.01s) --- PASS: TestCanLockExistingFile (0.01s) --- PASS: TestReadWaitsForLock (0.01s) PASS ok github.com/rogpeppe/go-internal/lockedfile 0.035s === RUN TestLockExcludesLock === PAUSE TestLockExcludesLock === RUN TestLockExcludesRLock === PAUSE TestLockExcludesRLock === RUN TestRLockExcludesOnlyLock === PAUSE TestRLockExcludesOnlyLock === RUN TestLockNotDroppedByExecCommand filelock_test.go:191: fd 7 = /tmp/TestLockNotDroppedByExecCommand2578665160 filelock_test.go:194: Lock(fd 7) = filelock_test.go:196: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand2578665160") filelock_test.go:207: Lock(fd 8) is blocked (as expected) filelock_test.go:208: Unlock(fd 7) = asm_386.s:1326: Lock(fd 8) = filelock_test.go:210: Unlock(fd 8) = --- PASS: TestLockNotDroppedByExecCommand (0.01s) === CONT TestLockExcludesLock filelock_test.go:125: fd 7 = /tmp/TestLockExcludesLock2838013738 filelock_test.go:128: fd 8 = os.Open("/tmp/TestLockExcludesLock2838013738") filelock_test.go:131: Lock(fd 7) = === CONT TestRLockExcludesOnlyLock === CONT TestLockExcludesRLock === CONT TestRLockExcludesOnlyLock filelock_test.go:157: fd 9 = /tmp/TestRLockExcludesOnlyLock3484345427 filelock_test.go:159: RLock(fd 9) = === CONT TestLockExcludesRLock filelock_test.go:141: fd 10 = /tmp/TestLockExcludesRLock2110905731 === CONT TestRLockExcludesOnlyLock filelock_test.go:161: fd 11 = os.Open("/tmp/TestRLockExcludesOnlyLock3484345427") === CONT TestLockExcludesRLock filelock_test.go:144: fd 12 = os.Open("/tmp/TestLockExcludesRLock2110905731") === CONT TestRLockExcludesOnlyLock filelock_test.go:173: RLock(fd 11) = === CONT TestLockExcludesRLock filelock_test.go:147: Lock(fd 10) = === CONT TestRLockExcludesOnlyLock filelock_test.go:176: fd 13 = os.Open("/tmp/TestRLockExcludesOnlyLock3484345427") === CONT TestLockExcludesLock filelock_test.go:132: Lock(fd 8) is blocked (as expected) filelock_test.go:133: Unlock(fd 7) = === CONT TestLockExcludesRLock filelock_test.go:148: RLock(fd 12) is blocked (as expected) filelock_test.go:149: Unlock(fd 10) = asm_386.s:1326: RLock(fd 12) = === CONT TestLockExcludesLock asm_386.s:1326: Lock(fd 8) = filelock_test.go:135: Unlock(fd 8) = === CONT TestLockExcludesRLock filelock_test.go:151: Unlock(fd 12) = --- PASS: TestLockExcludesLock (0.01s) === CONT TestRLockExcludesOnlyLock filelock_test.go:178: Lock(fd 13) is blocked (as expected) --- PASS: TestLockExcludesRLock (0.01s) === CONT TestRLockExcludesOnlyLock filelock_test.go:180: Unlock(fd 11) = filelock_test.go:182: Unlock(fd 9) = asm_386.s:1326: Lock(fd 13) = filelock_test.go:185: Unlock(fd 13) = --- PASS: TestRLockExcludesOnlyLock (0.01s) PASS ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.027s === RUN TestPrintGolden --- PASS: TestPrintGolden (0.00s) === RUN TestParseLax --- PASS: TestParseLax (0.00s) === RUN TestPrintParse --- PASS: TestPrintParse (0.00s) === RUN TestModulePath === RUN TestModulePath/module_"github.com/rsc/vgotest" === RUN TestModulePath/module_github.com/rsc/vgotest === RUN TestModulePath/module__"github.com/rsc/vgotest" === RUN TestModulePath/module__github.com/rsc/vgotest === RUN TestModulePath/module_`github.com/rsc/vgotest` === RUN TestModulePath/module_"github.com/rsc/vgotest/v2" === RUN TestModulePath/module_github.com/rsc/vgotest/v2 === RUN TestModulePath/module_"gopkg.in/yaml.v2" === RUN TestModulePath/module_gopkg.in/yaml.v2 === RUN TestModulePath/module_"gopkg.in/check.v1"_ === RUN TestModulePath/module_"gopkg.in/check.v1_" === RUN TestModulePath/module_gopkg.in/check.v1_ === RUN TestModulePath/module_"gopkg.in/check.v1"__ === RUN TestModulePath/module_gopkg.in/check.v1__ === RUN TestModulePath/module_"gopkg.in/check.v1"__#01 === RUN TestModulePath/module_gopkg.in/check.v1__#01 === RUN TestModulePath/module__"gopkg.in/check.v1"__ === RUN TestModulePath/module__gopkg.in/check.v1__ === RUN TestModulePath/module_"gopkg.in/check.v1"asd === RUN TestModulePath/module__"gopkg.in/check.v1"__#01 === RUN TestModulePath/module__gopkg.in/check.v1__#01 === RUN TestModulePath/module_"gopkg.in/check.v1"asd#01 === RUN TestModulePath/module___module_a/b/c_ === RUN TestModulePath/module_"___" === RUN TestModulePath/module___ === RUN TestModulePath/module_"__a/b/c__" === RUN TestModulePath/module_"github.com/rsc/vgotest1"_//_with_a_comment --- 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) --- 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/v2" (0.00s) --- PASS: TestModulePath/module_github.com/rsc/vgotest/v2 (0.00s) --- PASS: TestModulePath/module_"gopkg.in/yaml.v2" (0.00s) --- PASS: TestModulePath/module_gopkg.in/yaml.v2 (0.00s) --- PASS: TestModulePath/module_"gopkg.in/check.v1"_ (0.00s) --- PASS: TestModulePath/module_"gopkg.in/check.v1_" (0.00s) --- PASS: TestModulePath/module_gopkg.in/check.v1_ (0.00s) --- PASS: TestModulePath/module_"gopkg.in/check.v1"__ (0.00s) --- PASS: TestModulePath/module_gopkg.in/check.v1__ (0.00s) --- PASS: TestModulePath/module_"gopkg.in/check.v1"__#01 (0.00s) --- PASS: TestModulePath/module_gopkg.in/check.v1__#01 (0.00s) --- PASS: TestModulePath/module__"gopkg.in/check.v1"__ (0.00s) --- PASS: TestModulePath/module__gopkg.in/check.v1__ (0.00s) --- PASS: TestModulePath/module_"gopkg.in/check.v1"asd (0.00s) --- PASS: TestModulePath/module__"gopkg.in/check.v1"__#01 (0.00s) --- PASS: TestModulePath/module__gopkg.in/check.v1__#01 (0.00s) --- PASS: TestModulePath/module_"gopkg.in/check.v1"asd#01 (0.00s) --- PASS: TestModulePath/module___module_a/b/c_ (0.00s) --- PASS: TestModulePath/module_"___" (0.00s) --- PASS: TestModulePath/module___ (0.00s) --- PASS: TestModulePath/module_"__a/b/c__" (0.00s) --- PASS: TestModulePath/module_"github.com/rsc/vgotest1"_//_with_a_comment (0.00s) === RUN TestAddDropReplace === RUN TestAddDropReplace/#0 === RUN TestAddDropReplace/#1 === RUN TestAddDropReplace/#2 --- PASS: TestAddDropReplace (0.00s) --- PASS: TestAddDropReplace/#0 (0.00s) --- PASS: TestAddDropReplace/#1 (0.00s) --- PASS: TestAddDropReplace/#2 (0.00s) === RUN TestAddRequire === RUN TestAddRequire/#0 === RUN TestAddRequire/#1 === RUN TestAddRequire/#2 --- PASS: TestAddRequire (0.00s) --- PASS: TestAddRequire/#0 (0.00s) --- PASS: TestAddRequire/#1 (0.00s) --- PASS: TestAddRequire/#2 (0.00s) PASS ok github.com/rogpeppe/go-internal/modfile 0.006s === RUN TestCheck --- PASS: TestCheck (0.00s) === RUN TestCheckPath --- PASS: TestCheckPath (0.00s) === RUN TestSplitPathVersion --- PASS: TestSplitPathVersion (0.00s) === RUN TestEncodePath --- PASS: TestEncodePath (0.00s) === RUN TestDecodePath --- PASS: TestDecodePath (0.00s) PASS ok github.com/rogpeppe/go-internal/module 0.003s === RUN TestWork --- 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.027s ? github.com/rogpeppe/go-internal/renameio [no test files] === RUN TestIsValid --- PASS: TestIsValid (0.00s) === RUN TestCanonical --- PASS: TestCanonical (0.00s) === RUN TestMajor --- PASS: TestMajor (0.00s) === RUN TestMajorMinor --- PASS: TestMajorMinor (0.00s) === RUN TestPrerelease --- PASS: TestPrerelease (0.00s) === RUN TestBuild --- PASS: TestBuild (0.00s) === RUN TestCompare --- PASS: TestCompare (0.00s) === RUN TestMax --- PASS: TestMax (0.00s) PASS ok github.com/rogpeppe/go-internal/semver 0.005s ? github.com/rogpeppe/go-internal/testenv [no test files] === RUN TestCRLFInput === RUN TestCRLFInput/_ === RUN TestCRLFInput/_/script === PAUSE TestCRLFInput/_/script === CONT TestCRLFInput/_/script testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= > exists output.txt PASS --- PASS: TestCRLFInput (0.00s) --- PASS: TestCRLFInput/_ (0.00s) --- PASS: TestCRLFInput/_/script (0.00s) === RUN TestEnv --- PASS: TestEnv (0.00s) === RUN TestScripts === RUN TestScripts/big_diff === PAUSE TestScripts/big_diff === RUN TestScripts/cmpenv === PAUSE TestScripts/cmpenv === RUN TestScripts/command === PAUSE TestScripts/command === RUN TestScripts/commandstatus === PAUSE TestScripts/commandstatus === RUN TestScripts/cond === PAUSE TestScripts/cond === RUN TestScripts/cpstdout === PAUSE TestScripts/cpstdout === RUN TestScripts/defer === PAUSE TestScripts/defer === RUN TestScripts/evalsymlink === PAUSE TestScripts/evalsymlink === RUN TestScripts/exec_path_change === PAUSE TestScripts/exec_path_change === RUN TestScripts/execguard === PAUSE TestScripts/execguard === RUN TestScripts/exists === PAUSE TestScripts/exists === RUN TestScripts/hello === PAUSE TestScripts/hello === RUN TestScripts/interrupt === PAUSE TestScripts/interrupt === RUN TestScripts/long_diff === PAUSE TestScripts/long_diff === RUN TestScripts/nothing === PAUSE TestScripts/nothing === RUN TestScripts/readfile === PAUSE TestScripts/readfile === RUN TestScripts/regexpquote === PAUSE TestScripts/regexpquote === RUN TestScripts/setenv === PAUSE TestScripts/setenv === RUN TestScripts/setupfiles === PAUSE TestScripts/setupfiles === RUN TestScripts/stdin === PAUSE TestScripts/stdin === RUN TestScripts/testscript_explicit_exec === PAUSE TestScripts/testscript_explicit_exec === RUN TestScripts/testscript_update_script === PAUSE TestScripts/testscript_update_script === RUN TestScripts/testscript_update_script_actual_is_file === PAUSE TestScripts/testscript_update_script_actual_is_file === RUN TestScripts/testscript_update_script_expected_not_in_archive === PAUSE TestScripts/testscript_update_script_expected_not_in_archive === RUN TestScripts/testscript_update_script_quote === PAUSE TestScripts/testscript_update_script_quote === RUN TestScripts/testscript_update_script_stderr === PAUSE TestScripts/testscript_update_script_stderr === RUN TestScripts/values === PAUSE TestScripts/values === RUN TestScripts/wait === PAUSE TestScripts/wait === CONT TestScripts/big_diff === CONT TestScripts/nothing === CONT TestScripts/testscript_update_script === CONT TestScripts/testscript_update_script_stderr === CONT TestScripts/wait === CONT TestScripts/nothing testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # Intentionally blank file, used to test that -testwork doesn't remove the work directory (0.000s) PASS === CONT TestScripts/evalsymlink === CONT TestScripts/testscript_explicit_exec === CONT TestScripts/long_diff === CONT TestScripts/stdin === CONT TestScripts/setupfiles === CONT TestScripts/setenv === CONT TestScripts/regexpquote === CONT TestScripts/readfile === CONT TestScripts/setupfiles testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # check that the Setup function saw the unarchived files, # including the temp directory that's always created. (0.000s) > setup-filenames .tmp a b PASS === CONT TestScripts/cond === CONT TestScripts/defer === CONT TestScripts/setenv testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > setSpecialVal > exists $SPECIALVAL.txt > ensureSpecialVal PASS === CONT TestScripts/cpstdout === CONT TestScripts/command === CONT TestScripts/cond testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # test that exactly one of gc and gccgo is set (0.000s) > [gc] mkdir gc_true > [gccgo] mkdir gccgo_true > [gc] ! exists gccgo_true > [!gc] exists gccgo_true > [gccgo] ! exists gc_true > [!gccgo] exists gc_true # test that go version build tags are set (0.000s) > [go1.1] mkdir go1.x > [go2.1] mkdir go2.x > exists go1.x > ! exists go2.x # unix should be true on Linux and MacOS, but not on Windows. # Both platforms are tested on CI. (0.000s) > [unix] mkdir unix_true > [linux] exists unix_true > [darwin] exists unix_true > [windows] ! exists unix_true PASS === CONT TestScripts/defer testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > testdefer > testdefer > testdefer PASS === CONT TestScripts/commandstatus === CONT TestScripts/big_diff testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # Verify the behaviour of cmp in the case of a diff between two # large files (with a large diff) (0.004s) > unquote dir/script.txt > ! testscript dir > env WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > cmpenv stdout stdout.golden PASS === CONT TestScripts/testscript_update_script_expected_not_in_archive === CONT TestScripts/regexpquote testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > env XXX='hello)' > grep ^${XXX@R}$ file.txt PASS === CONT TestScripts/testscript_update_script_quote === CONT TestScripts/testscript_update_script_actual_is_file === CONT TestScripts/interrupt === CONT TestScripts/cmpenv === CONT TestScripts/hello === CONT TestScripts/exists === CONT TestScripts/long_diff testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # Verify the behaviour of cmp in the case of a small diff between # two large files (0.001s) > unquote dir/script.txt > ! testscript dir > env WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > cmpenv stdout stdout.golden PASS === CONT TestScripts/testscript_update_script_stderr testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > unquote scripts/testscript.txt > unquote testscript-new.txt > testscript -update scripts > cmp scripts/testscript.txt testscript-new.txt PASS === CONT TestScripts/execguard === CONT TestScripts/exec_path_change === CONT TestScripts/exists testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > 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/values testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > test-values PASS === CONT TestScripts/cmpenv testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > env $=$ > cmpenv file1 file2 PASS === CONT TestScripts/testscript_update_script_actual_is_file testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > unquote scripts/testscript.txt > unquote testscript-new.txt > testscript -update scripts > cmp scripts/testscript.txt testscript-new.txt PASS === CONT TestScripts/cpstdout testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > [!exec:cat] stop # hello world (0.035s) > exec cat hello.text [stdout] hello world > cp stdout got > cmp got hello.text > ! cmp got different.text > exists got > mv got new > ! exists got > cmp new hello.text PASS === CONT TestScripts/evalsymlink testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # 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.040s) > [windows] skip > exec pwd [stdout] $WORK > stdout ^$WORK$ > exec pwd -P [stdout] $WORK > stdout ^$WORK$ PASS === CONT TestScripts/hello testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > [!exec:cat] stop # hello world (0.036s) > exec cat hello.text [stdout] hello world > stdout 'hello world\n' > ! stderr . PASS === CONT TestScripts/testscript_update_script testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # Check that we support both txt and txtar extensions. (0.043s) > unquote scripts/testscript.txt > unquote testscript-new.txt > cp scripts/testscript.txt scripts/testscript2.txtar > testscript -update scripts > cmp scripts/testscript.txt testscript-new.txt > cmp scripts/testscript2.txtar testscript-new.txt PASS === CONT TestScripts/command testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > printargs a b 'c d' [stdout] ["printargs" "a" "b" "c d"] > stdout '\["printargs" "a" "b" "c d"\]\n' PASS === CONT TestScripts/readfile testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > fprintargs stdout stdout [stdout] stdout > testreadfile stdout > fprintargs stderr stderr [stderr] stderr > testreadfile stderr > testreadfile x/somefile PASS === CONT TestScripts/testscript_update_script_expected_not_in_archive testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # Verify that comparing stdout against a file not in the archive does nothing (0.041s) > unquote scripts/testscript.txt > cp scripts/testscript.txt unchanged > ! testscript -update scripts > cmp scripts/testscript.txt unchanged PASS === CONT TestScripts/execguard testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > [exec:nosuchcommand] exec nosuchcommand > [!exec:cat] stop > exec cat foo [stdout] foo > stdout 'foo\n' PASS === CONT TestScripts/testscript_update_script_quote testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > unquote scripts/testscript.txt > unquote testscript-new.txt > testscript -update scripts > cmp scripts/testscript.txt testscript-new.txt PASS === CONT TestScripts/stdin testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > [!exec:cat] skip > stdin hello.txt > exec cat [stdout] hello > stdout hello > exec cat > ! stdout hello > [!exec:cat] stop # Check that 'stdin stdout' works. (0.009s) > exec cat hello.txt [stdout] hello > stdin stdout > exec cat [stdout] hello > stdout hello PASS === CONT TestScripts/commandstatus testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > ! status 1 [exit status 1] > ! status 2 [exit status 2] > status 0 PASS === CONT TestScripts/wait testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > [!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.047s) > [windows] skip > exec echo foo [stdout] foo > stdout foo > exec echo foo & > exec echo bar & > ! exec false & # 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.003s) > wait [background] echo foo: exit status 0 [stdout] foo [background] echo bar: exit status 0 [stdout] bar [background] false: exit status 1 > stdout 'foo\nbar' > exec echo bg1 &b1& > exec echo bg2 &b2& > exec echo bg3 &b3& > exec echo bg4 &b4& > wait b3 [stdout] bg3 > stdout bg3 > wait b2 [stdout] bg2 > stdout bg2 > wait [background] echo bg1: exit status 0 [stdout] bg1 [background] echo bg4: exit status 0 [stdout] bg4 > stdout 'bg1\nbg4' # We should be able to start several background processes and wait for them # individually. # The end of the test should interrupt or kill any remaining background # programs. (0.001s) > [!exec:sleep] skip > ! exec sleep 86400 & [background] sleep 86400: signal: interrupt PASS === CONT TestScripts/testscript_explicit_exec testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # Check that RequireExplicitExec works; # it should reject `fprintargs` in favor of `exec fprintargs`, # but it shouldn't complain about `some-param-cmd`, # as that Params.Cmds entry won't work via `exec some-param-cmd`. (0.051s) > unquote scripts-implicit/testscript.txt > unquote scripts-explicit/testscript.txt > testscript scripts-implicit > testscript scripts-explicit > ! testscript -explicit-exec scripts-implicit > testscript -explicit-exec scripts-explicit PASS === CONT TestScripts/interrupt testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* > [windows] skip > signalcatcher & > waitfile catchsignal > interrupt > wait [background] signalcatcher: exit status 0 [stdout] caught interrupt > stdout 'caught interrupt' PASS === CONT TestScripts/exec_path_change testscript.go:429: WORK=$WORK PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= GONOSUMDB=* # 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.271s) > [!exec:go] skip > env HOME=$WORK${/}home > [windows] env USERPROFILE=$WORK\home > [windows] env LOCALAPPDATA=$WORK\appdata > cd go $WORK/go > exec go$exe version [stdout] go version go1.19.8 linux/386 > stdout 'go version' > exec go$exe build > env PATH=$WORK${/}go${:}$PATH > exec go$exe version [stdout] This is not go > stdout 'This is not go' PASS --- PASS: TestScripts (0.00s) --- PASS: TestScripts/nothing (0.00s) --- PASS: TestScripts/setupfiles (0.00s) --- PASS: TestScripts/setenv (0.00s) --- PASS: TestScripts/defer (0.00s) --- PASS: TestScripts/cond (0.00s) --- PASS: TestScripts/regexpquote (0.00s) --- PASS: TestScripts/big_diff (0.00s) --- PASS: TestScripts/testscript_update_script_stderr (0.01s) --- PASS: TestScripts/long_diff (0.00s) --- PASS: TestScripts/exists (0.03s) --- PASS: TestScripts/cmpenv (0.03s) --- PASS: TestScripts/values (0.00s) --- PASS: TestScripts/testscript_update_script_actual_is_file (0.03s) --- PASS: TestScripts/cpstdout (0.04s) --- PASS: TestScripts/evalsymlink (0.04s) --- PASS: TestScripts/hello (0.04s) --- PASS: TestScripts/testscript_update_script (0.04s) --- PASS: TestScripts/command (0.04s) --- PASS: TestScripts/readfile (0.04s) --- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.04s) --- PASS: TestScripts/execguard (0.04s) --- PASS: TestScripts/testscript_update_script_quote (0.04s) --- PASS: TestScripts/stdin (0.05s) --- PASS: TestScripts/commandstatus (0.05s) --- PASS: TestScripts/wait (0.05s) --- PASS: TestScripts/testscript_explicit_exec (0.05s) --- PASS: TestScripts/interrupt (0.05s) --- PASS: TestScripts/exec_path_change (0.32s) === RUN TestTestwork --- PASS: TestTestwork (1.39s) === RUN TestWorkdirRoot === RUN TestWorkdirRoot/run_tests === RUN TestWorkdirRoot/run_tests/nothing === PAUSE TestWorkdirRoot/run_tests/nothing === CONT TestWorkdirRoot/run_tests/nothing testscript.go:429: WORK=/tmp/2279429891/script-nothing PATH=/tmp/testscript-main4012449369/bin:/usr/lib/go-1.19/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games HOME=/no-home TMPDIR=$WORK/.tmp devnull=/dev/null /=/ :=: $=$ TESTSCRIPT_COVER_DIR= exe= # Intentionally empty test script; used to test Params.WorkdirRoot (0.000s) PASS --- PASS: TestWorkdirRoot (0.00s) --- PASS: TestWorkdirRoot/run_tests (0.00s) --- PASS: TestWorkdirRoot/run_tests/nothing (0.00s) === RUN TestBadDir --- PASS: TestBadDir (0.00s) === RUN TestUNIX2DOS --- PASS: TestUNIX2DOS (0.00s) PASS ok github.com/rogpeppe/go-internal/testscript 1.719s === RUN Test === RUN Test/basic === RUN Test/basic#01 --- PASS: Test (0.00s) --- PASS: Test/basic (0.00s) --- PASS: Test/basic#01 (0.00s) === RUN TestWrite --- PASS: TestWrite (0.00s) === RUN TestUnquote === RUN TestUnquote/no_final_newline === RUN TestUnquote/no_initial_> --- PASS: TestUnquote (0.00s) --- PASS: TestUnquote/no_final_newline (0.00s) --- PASS: TestUnquote/no_initial_> (0.00s) === RUN TestQuote === RUN TestQuote/empty === RUN TestQuote/one_line === RUN TestQuote/several_lines === RUN TestQuote/bad_data === RUN TestQuote/no_final_newline --- PASS: TestQuote (0.00s) --- PASS: TestQuote/empty (0.00s) --- PASS: TestQuote/one_line (0.00s) --- PASS: TestQuote/several_lines (0.00s) --- PASS: TestQuote/bad_data (0.00s) --- PASS: TestQuote/no_final_newline (0.00s) PASS ok github.com/rogpeppe/go-internal/txtar 0.003s patch -R -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch patching file _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go Hunk #1 succeeded at 785 (offset 50 lines). make[1]: Leaving directory '/build/golang-github-rogpeppe-go-internal-1.9.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang dh_auto_install -O--builddirectory=_build -O--buildsystem=golang cd _build && mkdir -p /build/golang-github-rogpeppe-go-internal-1.9.0/debian/tmp/usr cd _build && cp -r bin /build/golang-github-rogpeppe-go-internal-1.9.0/debian/tmp/usr dh_install -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_strip -a -O--builddirectory=_build -O--buildsystem=golang dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-addmod dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-c dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-x dh_makeshlibs -a -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -a -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dpkg-gencontrol: warning: package go-internal: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: package go-internal: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-github-rogpeppe-go-internal-dev' in '../golang-github-rogpeppe-go-internal-dev_1.9.0-1_all.deb'. dpkg-deb: building package 'go-internal' in '../go-internal_1.9.0-1_i386.deb'. dpkg-deb: building package 'go-internal-dbgsym' in '../go-internal-dbgsym_1.9.0-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo dpkg-genchanges --build=binary -O../golang-github-rogpeppe-go-internal_1.9.0-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) dpkg-genchanges: info: including full source code in upload I: copying local configuration 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/76731 and its subdirectories I: Current time: Thu May 30 05:42:08 -12 2024 I: pbuilder-time-stamp: 1717090928 Fri Apr 28 11:19:09 UTC 2023 I: 1st build successful. Starting 2nd build on remote node ionos2-i386.debian.net. Fri Apr 28 11:19:09 UTC 2023 I: Preparing to do remote build '2' on ionos2-i386.debian.net. Fri Apr 28 11:20:39 UTC 2023 I: Deleting $TMPDIR on ionos2-i386.debian.net. Fri Apr 28 11:20:39 UTC 2023 I: golang-github-rogpeppe-go-internal_1.9.0-1_i386.changes: Format: 1.8 Date: Mon, 29 Aug 2022 13:43:00 -0600 Source: golang-github-rogpeppe-go-internal Binary: go-internal go-internal-dbgsym golang-github-rogpeppe-go-internal-dev Architecture: i386 all Version: 1.9.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team Changed-By: Anthony Fok Description: go-internal - Selected Go-internal packages factored out from the standard libr golang-github-rogpeppe-go-internal-dev - Selected Go-internal packages factored out from the standard libr Changes: golang-github-rogpeppe-go-internal (1.9.0-1) unstable; urgency=medium . * New upstream version 1.9.0 * Remove dependency on golang-gopkg-errgo.v2-dev as per upstream * Bump Standards-Version to 4.6.1 (no change) Checksums-Sha1: 6af958c0f57cd620eaa9ac745e1226ac77e97a97 3818428 go-internal-dbgsym_1.9.0-1_i386.deb ae6b5c0f36a1c607d1b36bf567bb8a85d7773f68 2415492 go-internal_1.9.0-1_i386.deb 73de296f78a63ea0cf67f8b4c72b8e56b2ca89f5 116972 golang-github-rogpeppe-go-internal-dev_1.9.0-1_all.deb 59d296e3a38952d819f9c29e5ed0bfa7538eea8c 5801 golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo Checksums-Sha256: 899916f26751321d4a0dea62442679a4cd36e2c0bf5af733172f2dc50e846380 3818428 go-internal-dbgsym_1.9.0-1_i386.deb 910098d9285787b4e8e94c6569a639740725dd03704c9b7d2e2c57f6eb60394a 2415492 go-internal_1.9.0-1_i386.deb 86ce813db7dc8b0a3491e31501112066cddcd28258cb9ae030712b3a9d2ae919 116972 golang-github-rogpeppe-go-internal-dev_1.9.0-1_all.deb de0bb5548253da26fa8e67f3c6debab5f19cfaa1d16cc5c503588d9b7162cd22 5801 golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo Files: 222a32bf3e2cd58253ade7dd1a584c45 3818428 debug optional go-internal-dbgsym_1.9.0-1_i386.deb 7d425731a57f818f3fa78e28c22810cb 2415492 golang optional go-internal_1.9.0-1_i386.deb 6d435bef9c7267ac00504099a70310e0 116972 golang optional golang-github-rogpeppe-go-internal-dev_1.9.0-1_all.deb cb1bb98a79ddabe90831aa85afec33aa 5801 golang optional golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo Fri Apr 28 11:20:41 UTC 2023 I: diffoscope 241 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/golang-github-rogpeppe-go-internal_1.9.0-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/golang-github-rogpeppe-go-internal_1.9.0-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/golang-github-rogpeppe-go-internal_1.9.0-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/b1/golang-github-rogpeppe-go-internal_1.9.0-1_i386.changes /srv/reproducible-results/rbuild-debian/r-b-build.dRytMpuc/b2/golang-github-rogpeppe-go-internal_1.9.0-1_i386.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.432s) 0.432s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.086s) 0.086s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Fri Apr 28 11:20:43 UTC 2023 I: diffoscope 241 found no differences in the changes files, and a .buildinfo file also exists. Fri Apr 28 11:20:43 UTC 2023 I: golang-github-rogpeppe-go-internal from bookworm built successfully and reproducibly on i386. Fri Apr 28 11:20:44 UTC 2023 I: Submitting .buildinfo files to external archives: Fri Apr 28 11:20:44 UTC 2023 I: Submitting 8.0K b1/golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo.asc Fri Apr 28 11:20:45 UTC 2023 I: Submitting 8.0K b2/golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo.asc Fri Apr 28 11:20:46 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Fri Apr 28 11:20:46 UTC 2023 I: Done submitting .buildinfo files. Fri Apr 28 11:20:46 UTC 2023 I: Removing signed golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo.asc files: removed './b1/golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo.asc' removed './b2/golang-github-rogpeppe-go-internal_1.9.0-1_i386.buildinfo.asc'