golang-github-rogpeppe-go-internal →
1.9.0-1 →
armhf → 2022-09-02 10:04:43
sbuild (Debian sbuild) 0.78.1 (09 February 2019) on test2019
+====================================================================================+
| golang-github-rogpeppe-go-internal 1.9.0-1 (armhf) Fri, 02 Sep 2022 09:52:20 +0000 |
+====================================================================================+
Package: golang-github-rogpeppe-go-internal
Version: 1.9.0-1
Source Version: 1.9.0-1
Distribution: bookworm-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
Build Type: any
I: NOTICE: Log filtering will replace 'var/run/schroot/mount/bookworm-staging-armhf-sbuild-ea530996-773b-4512-9bda-985be5c7e461' with '<<CHROOT>>'
I: NOTICE: Log filtering will replace 'build/golang-github-rogpeppe-go-internal-uEXGea/resolver-c9KDW2' with '<<RESOLVERDIR>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 http://172.17.4.1/private bookworm-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private bookworm-staging/main Sources [13.2 MB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf Packages [14.1 MB]
Fetched 27.4 MB in 15s (1869 kB/s)
Reading package lists...
W: http://172.17.4.1/private/dists/bookworm-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Check APT
---------
Checking available source versions...
Download source files with APT
------------------------------
Reading package lists...
NOTICE: 'golang-github-rogpeppe-go-internal' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/go-team/packages/golang-github-rogpeppe-go-internal.git
Please use:
git clone https://salsa.debian.org/go-team/packages/golang-github-rogpeppe-go-internal.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 140 kB of source archives.
Get:1 http://172.17.4.1/private bookworm-staging/main golang-github-rogpeppe-go-internal 1.9.0-1 (dsc) [2475 B]
Get:2 http://172.17.4.1/private bookworm-staging/main golang-github-rogpeppe-go-internal 1.9.0-1 (tar) [134 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main golang-github-rogpeppe-go-internal 1.9.0-1 (diff) [4284 B]
Fetched 140 kB in 0s (1176 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/golang-github-rogpeppe-go-internal-uEXGea/golang-github-rogpeppe-go-internal-1.9.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/golang-github-rogpeppe-go-internal-uEXGea' with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: ca-certificates, debhelper-compat (= 13), dh-sequence-golang, golang-any, golang-github-pkg-diff-dev (>= 0.0~git20210226.20ebb0f), build-essential, fakeroot
Filtered Build-Depends: ca-certificates, debhelper-compat (= 13), dh-sequence-golang, golang-any, golang-github-pkg-diff-dev (>= 0.0~git20210226.20ebb0f), build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [435 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [519 B]
Fetched 1911 B in 0s (34.6 kB/s)
Reading package lists...
Reading package lists...
Install main build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
krb5-locales libpam-cap
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
autoconf automake autopoint autotools-dev bsdextrautils ca-certificates
debhelper dh-autoreconf dh-golang dh-strip-nondeterminism dmsetup dwz file
gettext gettext-base golang-1.18-go golang-1.18-src golang-any
golang-github-pkg-diff-dev golang-go golang-src groff-base intltool-debian
libapparmor1 libarchive-zip-perl libargon2-1 libcryptsetup12
libdebhelper-perl libdevmapper1.02.1 libelf1 libfdisk1
libfile-stripnondeterminism-perl libicu71 libip4tc2 libjson-c5 libkmod2
libmagic-mgc libmagic1 libpipeline1 libsub-override-perl libsystemd-shared
libtool libuchardet0 libxml2 m4 man-db openssl po-debconf systemd
Suggested packages:
autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
libasprintf-dev libgettextpo-dev bzr | brz git mercurial subversion groff
libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less
www-browser libmail-box-perl systemd-container systemd-homed systemd-userdbd
systemd-boot libfido2-1 libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0
policykit-1
Recommended packages:
curl | wget | lynx pkg-config libarchive-cpio-perl libltdl-dev
libmail-sendmail-perl default-dbus-system-bus | dbus-system-bus
systemd-timesyncd | time-daemon
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev bsdextrautils ca-certificates
debhelper dh-autoreconf dh-golang dh-strip-nondeterminism dmsetup dwz file
gettext gettext-base golang-1.18-go golang-1.18-src golang-any
golang-github-pkg-diff-dev golang-go golang-src groff-base intltool-debian
libapparmor1 libarchive-zip-perl libargon2-1 libcryptsetup12
libdebhelper-perl libdevmapper1.02.1 libelf1 libfdisk1
libfile-stripnondeterminism-perl libicu71 libip4tc2 libjson-c5 libkmod2
libmagic-mgc libmagic1 libpipeline1 libsub-override-perl libsystemd-shared
libtool libuchardet0 libxml2 m4 man-db openssl po-debconf
sbuild-build-depends-main-dummy systemd
0 upgraded, 50 newly installed, 0 to remove and 17 not upgraded.
Need to get 96.4 MB of archives.
After this operation, 506 MB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [944 B]
Get:2 http://172.17.4.1/private bookworm-staging/main armhf libargon2-1 armhf 0~20171227-0.3 [19.6 kB]
Get:3 http://172.17.4.1/private bookworm-staging/main armhf dmsetup armhf 2:1.02.185-1 [91.8 kB]
Get:4 http://172.17.4.1/private bookworm-staging/main armhf libdevmapper1.02.1 armhf 2:1.02.185-1 [134 kB]
Get:5 http://172.17.4.1/private bookworm-staging/main armhf libjson-c5 armhf 0.16-1 [40.0 kB]
Get:6 http://172.17.4.1/private bookworm-staging/main armhf libcryptsetup12 armhf 2:2.5.0-2 [225 kB]
Get:7 http://172.17.4.1/private bookworm-staging/main armhf libfdisk1 armhf 2.38.1-1 [237 kB]
Get:8 http://172.17.4.1/private bookworm-staging/main armhf libkmod2 armhf 30+20220630-3 [51.8 kB]
Get:9 http://172.17.4.1/private bookworm-staging/main armhf libapparmor1 armhf 3.0.7-1 [98.9 kB]
Get:10 http://172.17.4.1/private bookworm-staging/main armhf libip4tc2 armhf 1.8.8-1 [32.9 kB]
Get:11 http://172.17.4.1/private bookworm-staging/main armhf libsystemd-shared armhf 251.3-1+rpi1 [1526 kB]
Get:12 http://172.17.4.1/private bookworm-staging/main armhf systemd armhf 251.3-1+rpi1 [2985 kB]
Get:13 http://172.17.4.1/private bookworm-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:14 http://172.17.4.1/private bookworm-staging/main armhf groff-base armhf 1.22.4-8 [793 kB]
Get:15 http://172.17.4.1/private bookworm-staging/main armhf bsdextrautils armhf 2.38.1-1 [137 kB]
Get:16 http://172.17.4.1/private bookworm-staging/main armhf libpipeline1 armhf 1.5.6-2 [34.2 kB]
Get:17 http://172.17.4.1/private bookworm-staging/main armhf man-db armhf 2.10.2-2 [1364 kB]
Get:18 http://172.17.4.1/private bookworm-staging/main armhf openssl armhf 3.0.5-2 [1372 kB]
Get:19 http://172.17.4.1/private bookworm-staging/main armhf ca-certificates all 20211016 [156 kB]
Get:20 http://172.17.4.1/private bookworm-staging/main armhf libmagic-mgc armhf 1:5.41-4 [295 kB]
Get:21 http://172.17.4.1/private bookworm-staging/main armhf libmagic1 armhf 1:5.41-4 [120 kB]
Get:22 http://172.17.4.1/private bookworm-staging/main armhf file armhf 1:5.41-4 [65.8 kB]
Get:23 http://172.17.4.1/private bookworm-staging/main armhf gettext-base armhf 0.21-8 [171 kB]
Get:24 http://172.17.4.1/private bookworm-staging/main armhf m4 armhf 1.4.19-1 [260 kB]
Get:25 http://172.17.4.1/private bookworm-staging/main armhf autoconf all 2.71-2 [343 kB]
Get:26 http://172.17.4.1/private bookworm-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:27 http://172.17.4.1/private bookworm-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:28 http://172.17.4.1/private bookworm-staging/main armhf autopoint all 0.21-8 [510 kB]
Get:29 http://172.17.4.1/private bookworm-staging/main armhf libdebhelper-perl all 13.9 [195 kB]
Get:30 http://172.17.4.1/private bookworm-staging/main armhf libtool all 2.4.7-4 [526 kB]
Get:31 http://172.17.4.1/private bookworm-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:32 http://172.17.4.1/private bookworm-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:33 http://172.17.4.1/private bookworm-staging/main armhf libsub-override-perl all 0.09-3 [10.4 kB]
Get:34 http://172.17.4.1/private bookworm-staging/main armhf libfile-stripnondeterminism-perl all 1.13.0-1 [26.6 kB]
Get:35 http://172.17.4.1/private bookworm-staging/main armhf dh-strip-nondeterminism all 1.13.0-1 [15.8 kB]
Get:36 http://172.17.4.1/private bookworm-staging/main armhf libelf1 armhf 0.187-1 [175 kB]
Get:37 http://172.17.4.1/private bookworm-staging/main armhf dwz armhf 0.14-1 [83.0 kB]
Get:38 http://172.17.4.1/private bookworm-staging/main armhf libicu71 armhf 71.1-3 [8855 kB]
Get:39 http://172.17.4.1/private bookworm-staging/main armhf libxml2 armhf 2.9.14+dfsg-1 [591 kB]
Get:40 http://172.17.4.1/private bookworm-staging/main armhf gettext armhf 0.21-8 [1219 kB]
Get:41 http://172.17.4.1/private bookworm-staging/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB]
Get:42 http://172.17.4.1/private bookworm-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:43 http://172.17.4.1/private bookworm-staging/main armhf debhelper all 13.9 [1070 kB]
Get:44 http://172.17.4.1/private bookworm-staging/main armhf dh-golang all 1.58 [27.5 kB]
Get:45 http://172.17.4.1/private bookworm-staging/main armhf golang-1.18-src all 1.18.4-2+rpi1 [15.6 MB]
Get:46 http://172.17.4.1/private bookworm-staging/main armhf golang-1.18-go armhf 1.18.4-2+rpi1 [55.4 MB]
Get:47 http://172.17.4.1/private bookworm-staging/main armhf golang-src all 2:1.18~3 [5680 B]
Get:48 http://172.17.4.1/private bookworm-staging/main armhf golang-go armhf 2:1.18~3 [44.3 kB]
Get:49 http://172.17.4.1/private bookworm-staging/main armhf golang-any armhf 2:1.18~3 [5800 B]
Get:50 http://172.17.4.1/private bookworm-staging/main armhf golang-github-pkg-diff-dev all 0.0~git20210226.20ebb0f-1 [93.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 96.4 MB in 11s (8395 kB/s)
Selecting previously unselected package libargon2-1:armhf.
(Reading database ... 14686 files and directories currently installed.)
Preparing to unpack .../00-libargon2-1_0~20171227-0.3_armhf.deb ...
Unpacking libargon2-1:armhf (0~20171227-0.3) ...
Selecting previously unselected package dmsetup.
Preparing to unpack .../01-dmsetup_2%3a1.02.185-1_armhf.deb ...
Unpacking dmsetup (2:1.02.185-1) ...
Selecting previously unselected package libdevmapper1.02.1:armhf.
Preparing to unpack .../02-libdevmapper1.02.1_2%3a1.02.185-1_armhf.deb ...
Unpacking libdevmapper1.02.1:armhf (2:1.02.185-1) ...
Selecting previously unselected package libjson-c5:armhf.
Preparing to unpack .../03-libjson-c5_0.16-1_armhf.deb ...
Unpacking libjson-c5:armhf (0.16-1) ...
Selecting previously unselected package libcryptsetup12:armhf.
Preparing to unpack .../04-libcryptsetup12_2%3a2.5.0-2_armhf.deb ...
Unpacking libcryptsetup12:armhf (2:2.5.0-2) ...
Selecting previously unselected package libfdisk1:armhf.
Preparing to unpack .../05-libfdisk1_2.38.1-1_armhf.deb ...
Unpacking libfdisk1:armhf (2.38.1-1) ...
Selecting previously unselected package libkmod2:armhf.
Preparing to unpack .../06-libkmod2_30+20220630-3_armhf.deb ...
Unpacking libkmod2:armhf (30+20220630-3) ...
Selecting previously unselected package libapparmor1:armhf.
Preparing to unpack .../07-libapparmor1_3.0.7-1_armhf.deb ...
Unpacking libapparmor1:armhf (3.0.7-1) ...
Selecting previously unselected package libip4tc2:armhf.
Preparing to unpack .../08-libip4tc2_1.8.8-1_armhf.deb ...
Unpacking libip4tc2:armhf (1.8.8-1) ...
Selecting previously unselected package libsystemd-shared:armhf.
Preparing to unpack .../09-libsystemd-shared_251.3-1+rpi1_armhf.deb ...
Unpacking libsystemd-shared:armhf (251.3-1+rpi1) ...
Selecting previously unselected package systemd.
Preparing to unpack .../10-systemd_251.3-1+rpi1_armhf.deb ...
Unpacking systemd (251.3-1+rpi1) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../11-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../12-groff-base_1.22.4-8_armhf.deb ...
Unpacking groff-base (1.22.4-8) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../13-bsdextrautils_2.38.1-1_armhf.deb ...
Unpacking bsdextrautils (2.38.1-1) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../14-libpipeline1_1.5.6-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.6-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../15-man-db_2.10.2-2_armhf.deb ...
Unpacking man-db (2.10.2-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../16-openssl_3.0.5-2_armhf.deb ...
Unpacking openssl (3.0.5-2) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../17-ca-certificates_20211016_all.deb ...
Unpacking ca-certificates (20211016) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../18-libmagic-mgc_1%3a5.41-4_armhf.deb ...
Unpacking libmagic-mgc (1:5.41-4) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../19-libmagic1_1%3a5.41-4_armhf.deb ...
Unpacking libmagic1:armhf (1:5.41-4) ...
Selecting previously unselected package file.
Preparing to unpack .../20-file_1%3a5.41-4_armhf.deb ...
Unpacking file (1:5.41-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../21-gettext-base_0.21-8_armhf.deb ...
Unpacking gettext-base (0.21-8) ...
Selecting previously unselected package m4.
Preparing to unpack .../22-m4_1.4.19-1_armhf.deb ...
Unpacking m4 (1.4.19-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../23-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../24-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../25-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 .../26-autopoint_0.21-8_all.deb ...
Unpacking autopoint (0.21-8) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../27-libdebhelper-perl_13.9_all.deb ...
Unpacking libdebhelper-perl (13.9) ...
Selecting previously unselected package libtool.
Preparing to unpack .../28-libtool_2.4.7-4_all.deb ...
Unpacking libtool (2.4.7-4) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../29-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../30-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 .../31-libsub-override-perl_0.09-3_all.deb ...
Unpacking libsub-override-perl (0.09-3) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../32-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../33-dh-strip-nondeterminism_1.13.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../34-libelf1_0.187-1_armhf.deb ...
Unpacking libelf1:armhf (0.187-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../35-dwz_0.14-1_armhf.deb ...
Unpacking dwz (0.14-1) ...
Selecting previously unselected package libicu71:armhf.
Preparing to unpack .../36-libicu71_71.1-3_armhf.deb ...
Unpacking libicu71:armhf (71.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../37-libxml2_2.9.14+dfsg-1_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../38-gettext_0.21-8_armhf.deb ...
Unpacking gettext (0.21-8) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../39-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../40-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../41-debhelper_13.9_all.deb ...
Unpacking debhelper (13.9) ...
Selecting previously unselected package dh-golang.
Preparing to unpack .../42-dh-golang_1.58_all.deb ...
Unpacking dh-golang (1.58) ...
Selecting previously unselected package golang-1.18-src.
Preparing to unpack .../43-golang-1.18-src_1.18.4-2+rpi1_all.deb ...
Unpacking golang-1.18-src (1.18.4-2+rpi1) ...
Selecting previously unselected package golang-1.18-go.
Preparing to unpack .../44-golang-1.18-go_1.18.4-2+rpi1_armhf.deb ...
Unpacking golang-1.18-go (1.18.4-2+rpi1) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../45-golang-src_2%3a1.18~3_all.deb ...
Unpacking golang-src (2:1.18~3) ...
Selecting previously unselected package golang-go:armhf.
Preparing to unpack .../46-golang-go_2%3a1.18~3_armhf.deb ...
Unpacking golang-go:armhf (2:1.18~3) ...
Selecting previously unselected package golang-any:armhf.
Preparing to unpack .../47-golang-any_2%3a1.18~3_armhf.deb ...
Unpacking golang-any:armhf (2:1.18~3) ...
Selecting previously unselected package golang-github-pkg-diff-dev.
Preparing to unpack .../48-golang-github-pkg-diff-dev_0.0~git20210226.20ebb0f-1_all.deb ...
Unpacking golang-github-pkg-diff-dev (0.0~git20210226.20ebb0f-1) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../49-sbuild-build-depends-main-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up libip4tc2:armhf (1.8.8-1) ...
Setting up libpipeline1:armhf (1.5.6-2) ...
Setting up libicu71:armhf (71.1-3) ...
Setting up libapparmor1:armhf (3.0.7-1) ...
Setting up bsdextrautils (2.38.1-1) ...
Setting up golang-github-pkg-diff-dev (0.0~git20210226.20ebb0f-1) ...
Setting up libmagic-mgc (1:5.41-4) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libargon2-1:armhf (0~20171227-0.3) ...
Setting up libdebhelper-perl (13.9) ...
Setting up libmagic1:armhf (1:5.41-4) ...
Setting up gettext-base (0.21-8) ...
Setting up m4 (1.4.19-1) ...
Setting up file (1:5.41-4) ...
Setting up autotools-dev (20220109.1) ...
Setting up autopoint (0.21-8) ...
Setting up golang-1.18-src (1.18.4-2+rpi1) ...
Setting up autoconf (2.71-2) ...
Setting up libfdisk1:armhf (2.38.1-1) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-3) ...
Setting up golang-src (2:1.18~3) ...
Setting up openssl (3.0.5-2) ...
Setting up libelf1:armhf (0.187-1) ...
Setting up libjson-c5:armhf (0.16-1) ...
Setting up libxml2:armhf (2.9.14+dfsg-1) ...
Setting up libkmod2:armhf (30+20220630-3) ...
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.0-1) ...
Setting up gettext (0.21-8) ...
Setting up libtool (2.4.7-4) ...
Setting up golang-1.18-go (1.18.4-2+rpi1) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up dh-autoreconf (20) ...
Setting up ca-certificates (20211016) ...
Updating certificates in /etc/ssl/certs...
127 added, 0 removed; done.
Setting up libsystemd-shared:armhf (251.3-1+rpi1) ...
Setting up dh-strip-nondeterminism (1.13.0-1) ...
Setting up dwz (0.14-1) ...
Setting up groff-base (1.22.4-8) ...
Setting up golang-go:armhf (2:1.18~3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up golang-any:armhf (2:1.18~3) ...
Setting up libdevmapper1.02.1:armhf (2:1.02.185-1) ...
Setting up dmsetup (2:1.02.185-1) ...
Setting up libcryptsetup12:armhf (2:2.5.0-2) ...
Setting up systemd (251.3-1+rpi1) ...
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service → /lib/systemd/system/systemd-pstore.service.
Initializing machine ID from random generator.
Setting up man-db (2.10.2-2) ...
Not building database; man-db/auto-update is not 'true'.
Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer.
Setting up debhelper (13.9) ...
Setting up dh-golang (1.58) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.33-8+rpi1) ...
Processing triggers for ca-certificates (20211016) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
+------------------------------------------------------------------------------+
| Check architectures |
+------------------------------------------------------------------------------+
Arch check ok (armhf included in any all)
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 4.19.20-v7+ #1 SMP Mon Mar 18 11:37:02 GMT 2019 armhf (armv7l)
Toolchain package versions: binutils_2.38.90.20220713-2+rpi1 dpkg-dev_1.21.9+rpi1 g++-12_12.1.0-7+rpi1 gcc-12_12.1.0-7+rpi1 libc6-dev_2.33-8+rpi1 libstdc++-12-dev_12.1.0-7+rpi1 libstdc++6_12.1.0-7+rpi1 linux-libc-dev_5.18.14-1+rpi1
Package versions: adduser_3.123 apt_2.5.2 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-8 autotools-dev_20220109.1 base-files_12.2+rpi1 base-passwd_3.6.0 bash_5.1-6.1 binutils_2.38.90.20220713-2+rpi1 binutils-arm-linux-gnueabihf_2.38.90.20220713-2+rpi1 binutils-common_2.38.90.20220713-2+rpi1 bsdextrautils_2.38.1-1 bsdutils_1:2.38.1-1 build-essential_12.9 bzip2_1.0.8-5+b2 ca-certificates_20211016 coreutils_8.32-4.1 cpp_4:12.1.0-3+rpi1 cpp-12_12.1.0-7+rpi1 dash_0.5.11+git20210903+057cd650a4ed-8 debconf_1.5.79 debhelper_13.9 debianutils_5.7-0.3 dh-autoreconf_20 dh-golang_1.58 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-1 dirmngr_2.2.35-3 dmsetup_2:1.02.185-1 dpkg_1.21.9+rpi1 dpkg-dev_1.21.9+rpi1 dwz_0.14-1 e2fsprogs_1.46.5-2 fakeroot_1.29-1 file_1:5.41-4 findutils_4.9.0-3 g++_4:12.1.0-3+rpi1 g++-12_12.1.0-7+rpi1 gcc_4:12.1.0-3+rpi1 gcc-12_12.1.0-7+rpi1 gcc-12-base_12.1.0-7+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-8 gettext-base_0.21-8 gnupg_2.2.35-3 gnupg-l10n_2.2.35-3 gnupg-utils_2.2.35-3 golang-1.18-go_1.18.4-2+rpi1 golang-1.18-src_1.18.4-2+rpi1 golang-any_2:1.18~3 golang-github-pkg-diff-dev_0.0~git20210226.20ebb0f-1 golang-go_2:1.18~3 golang-src_2:1.18~3 gpg_2.2.35-3 gpg-agent_2.2.35-3 gpg-wks-client_2.2.35-3 gpg-wks-server_2.2.35-3 gpgconf_2.2.35-3 gpgsm_2.2.35-3 gpgv_2.2.35-3 grep_3.7-1 groff-base_1.22.4-8 gzip_1.12-1 hostname_3.23 init-system-helpers_1.64 intltool-debian_0.35.0+20060710.5 iputils-ping_3:20211215-1 krb5-locales_1.20-1 libacl1_2.3.1-1 libapparmor1_3.0.7-1 libapt-pkg6.0_2.5.2 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan8_12.1.0-7+rpi1 libassuan0_2.5.5-4 libatomic1_12.1.0-7+rpi1 libattr1_1:2.5.1-1 libaudit-common_1:3.0.7-1 libaudit1_1:3.0.7-1+b1 libbinutils_2.38.90.20220713-2+rpi1 libblkid1_2.38.1-1 libbz2-1.0_1.0.8-5+b2 libc-bin_2.33-8+rpi1 libc-dev-bin_2.33-8+rpi1 libc6_2.33-8+rpi1 libc6-dev_2.33-8+rpi1 libcap-ng0_0.8.3-1 libcap2_1:2.44-1 libcap2-bin_1:2.44-1 libcc1-0_12.1.0-7+rpi1 libcom-err2_1.46.5-2 libcrypt-dev_1:4.4.28-2 libcrypt1_1:4.4.28-2 libcryptsetup12_2:2.5.0-2 libctf-nobfd0_2.38.90.20220713-2+rpi1 libctf0_2.38.90.20220713-2+rpi1 libdb5.3_5.3.28+dfsg1-0.10 libdebconfclient0_0.263 libdebhelper-perl_13.9 libdevmapper1.02.1_2:1.02.185-1 libdpkg-perl_1.21.9+rpi1 libelf1_0.187-1 libext2fs2_1.46.5-2 libfakeroot_1.29-1 libfdisk1_2.38.1-1 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libgcc-12-dev_12.1.0-7+rpi1 libgcc-s1_12.1.0-7+rpi1 libgcrypt20_1.10.1-2+b2 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libgmp10_2:6.2.1+dfsg1-1 libgnutls30_3.7.7-2 libgomp1_12.1.0-7+rpi1 libgpg-error0_1.45-2 libgssapi-krb5-2_1.20-1 libhogweed6_3.8.1-2 libicu71_71.1-3 libidn2-0_2.3.3-1 libip4tc2_1.8.8-1 libisl23_0.25-1 libjson-c5_0.16-1 libk5crypto3_1.20-1 libkeyutils1_1.6.3-1 libkmod2_30+20220630-3 libkrb5-3_1.20-1 libkrb5support0_1.20-1 libksba8_1.6.0-3 libldap-2.5-0_2.5.12+dfsg-2 liblz4-1_1.9.3-2 liblzma5_5.2.5-2.1 libmagic-mgc_1:5.41-4 libmagic1_1:5.41-4 libmount1_2.38.1-1 libmpc3_1.2.1-2 libmpfr6_4.1.0-3 libncursesw6_6.3+20220423-2 libnettle8_3.8.1-2 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libp11-kit0_0.24.1-1 libpam-cap_1:2.44-1 libpam-modules_1.5.2-2 libpam-modules-bin_1.5.2-2 libpam-runtime_1.5.2-2 libpam0g_1.5.2-2 libpcre2-8-0_10.40-1+b2 libpcre3_2:8.39-14 libperl5.32_5.32.1-6 libperl5.34_5.34.0-5 libpipeline1_1.5.6-2 libreadline8_8.1.2-1.2 libsasl2-2_2.1.28+dfsg-7 libsasl2-modules-db_2.1.28+dfsg-7 libseccomp2_2.5.4-1+rpi1 libselinux1_3.4-1 libsemanage-common_3.4-1 libsemanage2_3.4-1 libsepol1_3.1-1 libsepol2_3.4-2 libsmartcols1_2.38.1-1 libsqlite3-0_3.39.2-1 libss2_1.46.5-2 libssl1.1_1.1.1o-1 libssl3_3.0.5-2 libstdc++-12-dev_12.1.0-7+rpi1 libstdc++6_12.1.0-7+rpi1 libsub-override-perl_0.09-3 libsystemd-shared_251.3-1+rpi1 libsystemd0_251.3-1+rpi1 libtasn1-6_4.18.0-4 libtinfo6_6.3+20220423-2 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-4 libubsan1_12.1.0-7+rpi1 libuchardet0_0.0.7-1 libudev1_251.3-1+rpi1 libunistring2_1.0-1 libuuid1_2.38.1-1 libxml2_2.9.14+dfsg-1 libxxhash0_0.8.1-1 libzstd1_1.5.2+dfsg-1 linux-libc-dev_5.18.14-1+rpi1 login_1:4.11.1+dfsg1-2 logsave_1.46.5-2 lsb-base_11.2+rpi1 m4_1.4.19-1 make_4.3-4.1 man-db_2.10.2-2 mawk_1.3.4.20200120-3.1 mount_2.38.1-1 nano_6.4-1 ncurses-base_6.3+20220423-2 ncurses-bin_6.3+20220423-2 openssl_3.0.5-2 passwd_1:4.11.1+dfsg1-2 patch_2.7.6-7 perl_5.34.0-5 perl-base_5.34.0-5 perl-modules-5.32_5.32.1-6 perl-modules-5.34_5.34.0-5 pinentry-curses_1.2.0-2 po-debconf_1.0.21+nmu1 raspbian-archive-keyring_20120528.2 readline-common_8.1.2-1.2 rpcsvc-proto_1.4.2-4 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sgml-base_1.30 systemd_251.3-1+rpi1 sysvinit-utils_3.04-1 tar_1.34+dfsg-1 tzdata_2022c-1 util-linux_2.38.1-1 util-linux-extra_2.38.1-1 xz-utils_5.2.5-2.1 zlib1g_1:1.2.11.dfsg-4.1
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
-----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 <team+pkg-go@tracker.debian.org>
Uploaders: Anthony Fok <foka@debian.org>
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-----
gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/tmp/dpkg-verify-sig.Q86CM_UU/trustedkeys.kbx': General error
gpgv: Signature made Mon Aug 29 19:46:50 2022 UTC
gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF
gpgv: issuer "foka@debian.org"
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify signature ./golang-github-rogpeppe-go-internal_1.9.0-1.dsc
dpkg-source: info: extracting golang-github-rogpeppe-go-internal in /<<PKGBUILDDIR>>
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
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/112/bus
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
INVOCATION_ID=d1c922bed77e43309a96ad86c8684399
JOURNAL_STREAM=8:28455
LANG=en_GB.UTF-8
LC_ALL=C.UTF-8
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/
SCHROOT_ALIAS_NAME=bookworm-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=bookworm-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=117
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=bookworm-staging-armhf-sbuild-ea530996-773b-4512-9bda-985be5c7e461
SCHROOT_UID=112
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd
XDG_RUNTIME_DIR=/run/user/112
XDG_SESSION_CLASS=background
XDG_SESSION_ID=c7753
XDG_SESSION_TYPE=unspecified
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage -us -uc -mRaspbian pi4 based autobuilder <root@raspbian.org> -B -rfakeroot
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-source --before-build .
dpkg-buildpackage: info: host architecture armhf
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-arch
dh binary-arch --builddirectory=_build --buildsystem=golang
dh_update_autotools_config -a -O--builddirectory=_build -O--buildsystem=golang
dh_autoreconf -a -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure -a -O--builddirectory=_build -O--buildsystem=golang
dh_auto_build -a -O--builddirectory=_build -O--buildsystem=golang
cd _build && go install -trimpath -v -p 4 github.com/rogpeppe/go-internal/cache github.com/rogpeppe/go-internal/cmd/testscript github.com/rogpeppe/go-internal/cmd/txtar-addmod github.com/rogpeppe/go-internal/cmd/txtar-c github.com/rogpeppe/go-internal/cmd/txtar-goproxy github.com/rogpeppe/go-internal/cmd/txtar-x github.com/rogpeppe/go-internal/dirhash github.com/rogpeppe/go-internal/fmtsort github.com/rogpeppe/go-internal/goproxytest github.com/rogpeppe/go-internal/gotooltest github.com/rogpeppe/go-internal/imports github.com/rogpeppe/go-internal/internal/os/execpath github.com/rogpeppe/go-internal/internal/syscall/windows github.com/rogpeppe/go-internal/internal/syscall/windows/registry github.com/rogpeppe/go-internal/internal/syscall/windows/sysdll github.com/rogpeppe/go-internal/internal/textutil github.com/rogpeppe/go-internal/lockedfile github.com/rogpeppe/go-internal/lockedfile/internal/filelock github.com/rogpeppe/go-internal/modfile github.com/rogpeppe/go-internal/module github.com/rogpeppe/go-internal/par github.com/rogpeppe/go-internal/renameio github.com/rogpeppe/go-internal/semver github.com/rogpeppe/go-internal/testenv github.com/rogpeppe/go-internal/testscript github.com/rogpeppe/go-internal/txtar
internal/unsafeheader
internal/goexperiment
internal/goarch
internal/cpu
internal/goos
runtime/internal/syscall
internal/abi
runtime/internal/math
runtime/internal/sys
internal/race
sync/atomic
internal/bytealg
unicode
runtime/internal/atomic
unicode/utf8
math/bits
internal/itoa
encoding
unicode/utf16
github.com/rogpeppe/go-internal/semver
math
runtime
internal/nettrace
container/list
crypto/internal/subtle
crypto/subtle
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
internal/reflectlite
sync
internal/singleflight
math/rand
internal/testlog
runtime/cgo
internal/sysinfo
github.com/rogpeppe/go-internal/par
errors
sort
io
internal/oserror
strconv
syscall
bytes
hash
reflect
crypto
path
strings
internal/syscall/unix
time
internal/syscall/execenv
bufio
hash/crc32
vendor/golang.org/x/net/dns/dnsmessage
crypto/elliptic/internal/fiat
internal/poll
io/fs
encoding/binary
internal/fmtsort
os
context
crypto/sha256
encoding/base64
crypto/cipher
crypto/internal/randutil
crypto/sha512
crypto/ed25519/internal/edwards25519/field
crypto/aes
fmt
io/ioutil
path/filepath
internal/godebug
internal/intern
net/netip
crypto/des
crypto/ed25519/internal/edwards25519
crypto/elliptic/internal/nistec
net
encoding/hex
github.com/rogpeppe/go-internal/cache
flag
compress/flate
encoding/json
github.com/rogpeppe/go-internal/module
github.com/rogpeppe/go-internal/txtar
log
archive/zip
compress/gzip
math/big
crypto/hmac
crypto/md5
crypto/rc4
crypto/sha1
encoding/pem
net/url
vendor/golang.org/x/crypto/chacha20
vendor/golang.org/x/crypto/internal/poly1305
vendor/golang.org/x/crypto/curve25519/internal/field
vendor/golang.org/x/crypto/chacha20poly1305
vendor/golang.org/x/crypto/hkdf
vendor/golang.org/x/text/transform
vendor/golang.org/x/crypto/curve25519
vendor/golang.org/x/text/unicode/bidi
vendor/golang.org/x/text/unicode/norm
crypto/rand
crypto/elliptic
encoding/asn1
crypto/ed25519
vendor/golang.org/x/crypto/cryptobyte
crypto/rsa
crypto/dsa
crypto/x509/pkix
vendor/golang.org/x/text/secure/bidirule
crypto/ecdsa
vendor/golang.org/x/net/http2/hpack
vendor/golang.org/x/net/idna
mime
mime/quotedprintable
net/http/internal
net/http/internal/ascii
regexp/syntax
github.com/pkg/diff/edit
github.com/pkg/diff/ctxt
github.com/pkg/diff/myers
github.com/pkg/diff/write
github.com/rogpeppe/go-internal/imports
github.com/pkg/diff
os/exec
runtime/debug
crypto/x509
net/textproto
vendor/golang.org/x/net/http/httpproxy
regexp
github.com/rogpeppe/go-internal/internal/os/execpath
runtime/trace
vendor/golang.org/x/net/http/httpguts
mime/multipart
testing
go/token
go/build/constraint
go/scanner
internal/lazyregexp
text/template/parse
go/ast
crypto/tls
github.com/rogpeppe/go-internal/testenv
internal/buildcfg
internal/execabs
internal/goroot
github.com/rogpeppe/go-internal/cmd/txtar-addmod
text/template
go/internal/typeparams
go/parser
github.com/rogpeppe/go-internal/cmd/txtar-c
go/doc
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/internal/textutil
github.com/rogpeppe/go-internal/lockedfile/internal/filelock
github.com/rogpeppe/go-internal/modfile
go/build
github.com/rogpeppe/go-internal/lockedfile
net/http/httptrace
net/http
github.com/rogpeppe/go-internal/renameio
github.com/rogpeppe/go-internal/testscript
github.com/rogpeppe/go-internal/gotooltest
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 '/<<PKGBUILDDIR>>'
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 4 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.32s)
=== RUN TestGrowth
--- PASS: TestGrowth (21.81s)
=== 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.19s)
=== RUN TestCacheLog
--- PASS: TestCacheLog (0.22s)
=== RUN TestCacheTrim
--- PASS: TestCacheTrim (0.61s)
=== 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 23.177s
=== 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/work
=== CONT TestScripts/nogo
=== CONT TestScripts/skip
=== CONT TestScripts/nogo
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# should support skip (0.002s)
> 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.046s)
> dropgofrompath
> ! testscript -v file.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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/testscript2339186462/file.txt/script.txtar:1: unknown command "go"
[stderr]
error running file.txt in $WORK/.tmp/testscript2339186462/file.txt
[exit status 1]
> stdout 'unknown command "go"'
> stderr 'error running file.txt in'
PASS
=== CONT TestScripts/simple
=== CONT TestScripts/work
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
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.666s)
> unquote file.txt dir/file.txt
> testscript -v -work file.txt dir/file.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> exec true
PASS
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> exec true
PASS
[stderr]
temporary work directory: $WORK/.tmp/testscript901875128
temporary work directory for file.txt: $WORK/.tmp/go-test-script1533847829/script-script
temporary work directory for dir/file.txt: $WORK/.tmp/go-test-script3012045779/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/noproxy
=== CONT TestScripts/skip
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# should support skip (0.818s)
> unquote file.txt
> testscript -v file.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> go version
[stdout]
go version go1.18.4 linux/arm
> skip
> stdout 'go version'
> ! stderr .+
PASS
=== CONT TestScripts/help
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# Simply sanity check on help output (0.034s)
> ! 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/error
=== CONT TestScripts/simple
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# With .gomodproxy supporting files, any GOPROXY from the
# environment should be overridden by the test proxy. (0.820s)
> env GOPROXY=0.1.2.3
> unquote file.txt
> testscript -v file.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:44287/mod
goversion=1.18
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/env_var_with_go
=== CONT TestScripts/env_values
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# Test that passing env values, e.g. ENV1=val, works (0.001s)
> unquote test.txt
> env BLAH1=
> env BLAH2=junk
# Normal operation (0.764s)
> 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.487s)
> ! testscript -e BLAH1=rubbish -e BLAH2 -e WORK test.txt
[stdout]
FAIL: $WORK/.tmp/testscript3902786998/test.txt/script.txtar:0: cannot override WORK variable
[stderr]
error running test.txt in $WORK/.tmp/testscript3902786998/test.txt
[exit status 1]
> stdout 'cannot override WORK variable'
PASS
=== CONT TestScripts/env_var_no_go
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
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.002s)
> unquote noproxy.txt
> unquote withproxy.txt
> dropgofrompath
> env BANANA=banana
> env GOPATH=$WORK/ourgopath
> env GOPROXY=
# no GOPROXY, no pass-through, no proxy (0.058s)
> testscript -v noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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.050s)
> testscript -v withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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:44463/mod
GONOSUMDB=*
> env BANANA
BANANA=
> env GOPATH
GOPATH=
> env GOPROXY
GOPROXY=http://127.0.0.1:44463/mod
PASS
> stdout ^BANANA=$
> stdout ^GOPATH=$
> stdout ^GOPROXY=http://.*/mod$
> ! stderr .+
# no GOPROXY, with pass-through, no proxy (0.021s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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.048s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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.031s)
> testscript -v noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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.033s)
> testscript -v withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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:36953/mod
GONOSUMDB=*
> env BANANA
BANANA=
> env GOPATH
GOPATH=
> env GOPROXY
GOPROXY=http://127.0.0.1:36953/mod
PASS
> stdout ^BANANA=$
> stdout ^GOPATH=$
> stdout ^GOPROXY=http://.*/mod$
> ! stderr .+
# with GOPROXY, with pass-through, no proxy (0.040s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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.031s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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/update
=== CONT TestScripts/error
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# should support skip (0.001s)
> unquote file.txt
# stdin (0.507s)
> stdin file.txt
> ! testscript -v
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> exec false
[exit status 1]
FAIL: $WORK/.tmp/testscript1005780640/-/script.txtar:1: unexpected command failure
[stderr]
error running <stdin> in $WORK/.tmp/testscript1005780640/-
[exit status 1]
> stderr 'error running <stdin> in'
# file-based (0.422s)
> ! testscript -v file.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> exec false
[exit status 1]
FAIL: $WORK/.tmp/testscript3723447599/file.txt/script.txtar:1: unexpected command failure
[stderr]
error running file.txt in $WORK/.tmp/testscript3723447599/file.txt
[exit status 1]
> stderr 'error running file.txt in'
PASS
=== CONT TestScripts/noproxy
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# With no .gomodproxy supporting files, we use the GOPROXY from
# the environment. (1.139s)
> env GOPROXY=0.1.2.3
> unquote file.txt
> testscript -v file.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=0.1.2.3
goversion=1.18
> go env
[stdout]
GO111MODULE=""
GOARCH="arm"
GOBIN=""
GOCACHE="/<<PKGBUILDDIR>>/_build/go-build"
GOENV="/no-home/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm"
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.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.18/pkg/tool/linux_arm"
GOVCS=""
GOVERSION="go1.18.4"
GCCGO="gccgo"
GOARM="6"
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 -marm -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build4144278552=/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/update
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNALMODPATH=.
GONOSUMDB=*
# should support the -update flag (0.001s)
> unquote in.txt res.txt
# Should be an error to use -u with only stdin (0.034s)
> 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.399s)
> testscript -u - in.txt
[stdout]
PASS
PASS
$WORK/.tmp/testscript1658099879/in.txt/script.txtar updated
> cmp in.txt res.txt
PASS
=== CONT TestScripts/env_var_with_go
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
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.001s)
> unquote noproxy.txt
> unquote withproxy.txt
# Baseline (0.555s)
> testscript -v noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> 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.363s)
> testscript -v noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
> 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.298s)
> testscript -v withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:35933/mod
goversion=1.18
GONOSUMDB=*
> env BANANA
BANANA=
> env GOPATH
GOPATH=$WORK/.gopath
> env GOPROXY
GOPROXY=http://127.0.0.1:35933/mod
PASS
> stdout ^BANANA=$
> stdout '^GOPATH=\$WORK[/\\]\.gopath'$
> stdout ^GOPROXY=http://.*/mod$
> ! stderr .+
# no GOPROXY, with pass-through, no proxy (0.249s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=
goversion=1.18
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.241s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=
goversion=1.18
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.239s)
> testscript -v noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=file://$WORK/proxy
goversion=1.18
> 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.259s)
> testscript -v withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:42341/mod
goversion=1.18
GONOSUMDB=*
> env BANANA
BANANA=
> env GOPATH
GOPATH=$WORK/.gopath
> env GOPROXY
GOPROXY=http://127.0.0.1:42341/mod
PASS
> stdout ^BANANA=$
> stdout '^GOPATH=\$WORK[/\\]\.gopath'$
> stdout ^GOPROXY=http://.*/mod$
> ! stderr .+
# with GOPROXY, with pass-through, no proxy (0.232s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY noproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=file://$WORK/proxy
goversion=1.18
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.244s)
> testscript -v -e BANANA -e GOPATH -e GOPROXY withproxy.txt
[stdout]
WORK=$WORK
PATH=/tmp/testscript-main1262010950/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=file://$WORK/proxy
goversion=1.18
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.33s)
--- PASS: TestScripts/nogo (0.05s)
--- PASS: TestScripts/work (0.68s)
--- PASS: TestScripts/skip (0.82s)
--- PASS: TestScripts/help (0.04s)
--- PASS: TestScripts/simple (0.82s)
--- PASS: TestScripts/env_values (1.26s)
--- PASS: TestScripts/env_var_no_go (0.32s)
--- PASS: TestScripts/error (0.93s)
--- PASS: TestScripts/noproxy (1.14s)
--- PASS: TestScripts/update (0.44s)
--- PASS: TestScripts/env_var_with_go (2.68s)
PASS
ok github.com/rogpeppe/go-internal/cmd/testscript 3.925s
=== 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-main3543588679/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:45327/mod
goversion=1.18
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-main3543588679/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:45327/mod
goversion=1.18
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-main3543588679/bin:/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:45327/mod
goversion=1.18
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.24s)
--- PASS: TestScripts/encode (0.22s)
--- PASS: TestScripts/to_stdout (0.74s)
--- PASS: TestScripts/txtar-addmod-self (1.46s)
PASS
ok github.com/rogpeppe/go-internal/cmd/txtar-addmod 1.730s
=== 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/txtar-savedir-self
=== CONT TestScripts/quote
=== CONT TestScripts/needquote
=== CONT TestScripts/txtar-savedir-self
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main4171106664/bin:/usr/local/sbin:/usr/local/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-main4171106664/bin:/usr/local/sbin:/usr/local/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-main4171106664/bin:/usr/local/sbin:/usr/local/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-main4171106664/bin:/usr/local/sbin:/usr/local/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.049s)
> txtar-c blah
[stdout]
-- go.mod --
module example.com/blah
-- main.go --
package main
import "fmt"
func main() {
fmt.Println("Hello, world!")
}
> ! stderr .+
> cmp stdout expect-no-all
# With the -a flag, it should include them. (0.016s)
> txtar-c -a blah
[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/quote (0.05s)
--- PASS: TestScripts/txtar-savedir-self (0.05s)
--- PASS: TestScripts/needquote (0.06s)
--- PASS: TestScripts/all (0.08s)
PASS
ok github.com/rogpeppe/go-internal/cmd/txtar-c 0.114s
? 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
=== CONT TestScripts/extract-out-of-bounds
=== CONT TestScripts/extract-stdin
=== CONT TestScripts/extract-dir
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main3252154233/bin:/usr/local/sbin:/usr/local/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-main3252154233/bin:/usr/local/sbin:/usr/local/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-out-of-bounds
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main3252154233/bin:/usr/local/sbin:/usr/local/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
=== CONT TestScripts/extract-stdin
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main3252154233/bin:/usr/local/sbin:/usr/local/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
--- PASS: TestScripts (0.00s)
--- PASS: TestScripts/extract-dir (0.06s)
--- PASS: TestScripts/extract-out-of-bounds (0.06s)
--- PASS: TestScripts/extract (0.07s)
--- PASS: TestScripts/extract-stdin (0.07s)
PASS
ok github.com/rogpeppe/go-internal/cmd/txtar-x 0.108s
=== RUN TestHash1
--- PASS: TestHash1 (0.00s)
=== RUN TestHashDir
--- PASS: TestHashDir (0.00s)
=== RUN TestHashZip
--- PASS: TestHashZip (0.01s)
=== RUN TestDirFiles
--- PASS: TestDirFiles (0.00s)
PASS
ok github.com/rogpeppe/go-internal/dirhash 0.025s
=== 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.034s
=== RUN TestScripts
=== RUN TestScripts/list
=== PAUSE TestScripts/list
=== CONT TestScripts/list
testscript.go:429: WORK=$WORK
PATH=/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=http://127.0.0.1:44259/mod
goversion=1.18
GONOSUMDB=*
# prior to go 1.12 you cannot list a module without a requirement (0.145s)
> [!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.021s)
> go mod tidy
[stderr]
go: warning: "all" matched no packages
PASS
--- PASS: TestScripts (0.36s)
--- PASS: TestScripts/list (0.18s)
PASS
ok github.com/rogpeppe/go-internal/goproxytest 0.564s
=== 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/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNAL_MODULE=/<<PKGBUILDDIR>>/_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.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/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNAL_MODULE=/<<PKGBUILDDIR>>/_build/src/github.com/rogpeppe/go-internal
# GOPATH and GOMODCACHE are not shared with the host,
# but GOCACHE is. (0.954s)
> go env
[stdout]
GO111MODULE=""
GOARCH="arm"
GOBIN=""
GOCACHE="/<<PKGBUILDDIR>>/_build/go-build"
GOENV="/no-home/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm"
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.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.18/pkg/tool/linux_arm"
GOVCS=""
GOVERSION="go1.18.4"
GCCGO="gccgo"
GOARM="6"
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 -marm -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK/.tmp/go-build1815272478=/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:429: WORK=$WORK
PATH=/usr/local/sbin:/usr/local/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=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
GOINTERNAL_MODULE=/<<PKGBUILDDIR>>/_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. (2.253s)
> 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: downloading github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e
# First, a 'go test' run without coverage. (11.377s)
> go test -vet=off
[stdout]
PASS
ok test 1.782s
> stdout 'PASS'
> ! stdout 'total coverage'
# Then, a 'go test' run with -coverprofile.
# Assuming testscript works well, this results in the basic coverage being 0%,
# since the test binary does not directly run any non-test code.
# The total coverage after merging profiles should end up being 100%,
# as long as all three sub-profiles are accounted for.
# Marking all printlns as covered requires all edge cases to work well. (5.497s)
> go test -vet=off -coverprofile=cover.out -v
[stdout]
=== RUN TestFoo
=== RUN TestFoo/exec
=== PAUSE TestFoo/exec
=== CONT TestFoo/exec
testscript.go:429: WORK=$WORK
PATH=$WORK/.tmp/testscript-main3674981053/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
HOME=/no-home
TMPDIR=$WORK/.tmp
devnull=/dev/null
/=/
:=:
$=$
TESTSCRIPT_COVER_DIR=$WORK/.tmp/testscript-main3674981053/cover
exe=
GOPATH=$WORK/.gopath
CCACHE_DISABLE=1
GOARCH=arm
GOOS=linux
GOROOT=/usr/lib/go-1.18
GOCACHE=/<<PKGBUILDDIR>>/_build/go-build
GOPROXY=https://proxy.golang.org,direct
goversion=1.18
# Note that foo always fails, to prevent "go build" from doing anything.
# Running the command directly; trigger the first path. (0.028s)
> ! foo 1
[stderr]
first path
[exit status 1]
# Running the command via exec; trigger the second path. (0.019s)
> ! exec foo 2
[stderr]
second path
[exit status 1]
# Running the command indirectly, via toolexec; trigger the third path. (0.788s)
> ! go build -a -toolexec=foo runtime
[stderr]
go tool compile: exit status 1
third path
[exit status 1]
PASS
--- PASS: TestFoo (0.55s)
--- PASS: TestFoo/exec (0.84s)
PASS
coverage: 0.0% of statements
total coverage: 100.0% of statements
ok test 1.464s
> stdout 'PASS'
> stdout '^coverage: 0\.0%'
> stdout '^total coverage: 100\.0%'
> ! stdout 'malformed coverage' # written by "go test" if cover.out is invalid
> exists cover.out
PASS
--- PASS: TestSimple (0.29s)
--- PASS: TestSimple/version (0.49s)
--- PASS: TestSimple/env (0.96s)
--- PASS: TestSimple/cover (19.20s)
PASS
ok github.com/rogpeppe/go-internal/gotooltest 19.508s
=== 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.01s)
=== RUN TestScanStar
--- PASS: TestScanStar (0.00s)
PASS
ok github.com/rogpeppe/go-internal/imports 0.045s
? github.com/rogpeppe/go-internal/internal/os/execpath [no test files]
? github.com/rogpeppe/go-internal/internal/syscall/windows [no test files]
? github.com/rogpeppe/go-internal/internal/syscall/windows/registry [no test files]
? 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.038s
=== RUN TestMutexExcludes
=== PAUSE TestMutexExcludes
=== RUN TestReadWaitsForLock
=== PAUSE TestReadWaitsForLock
=== RUN TestCanLockExistingFile
=== PAUSE TestCanLockExistingFile
=== RUN TestSpuriousEDEADLK
--- PASS: TestSpuriousEDEADLK (0.03s)
=== CONT TestMutexExcludes
lockedfile_test.go:75: mu := MutexAt(_)
lockedfile_test.go:81: unlock, _ := mu.Lock()
lockedfile_test.go:84: mu2 := MutexAt(mu.Path)
=== CONT TestCanLockExistingFile
=== CONT TestReadWaitsForLock
lockedfile_test.go:124: WriteString("part 1\n") = <nil>
=== CONT TestMutexExcludes
lockedfile_test.go:97: unlock()
=== CONT TestReadWaitsForLock
lockedfile_test.go:146: WriteString("part 2\n") = <nil>
--- PASS: TestCanLockExistingFile (0.01s)
=== CONT TestReadWaitsForLock
lockedfile_test.go:136: Read(_) = "part 1\npart 2\n"
--- PASS: TestReadWaitsForLock (0.01s)
=== CONT TestMutexExcludes
lockedfile_test.go:92: unlock2, _ := mu2.Lock()
lockedfile_test.go:93: unlock2()
--- PASS: TestMutexExcludes (0.02s)
PASS
ok github.com/rogpeppe/go-internal/lockedfile 0.071s
=== RUN TestLockExcludesLock
=== PAUSE TestLockExcludesLock
=== RUN TestLockExcludesRLock
=== PAUSE TestLockExcludesRLock
=== RUN TestRLockExcludesOnlyLock
=== PAUSE TestRLockExcludesOnlyLock
=== RUN TestLockNotDroppedByExecCommand
filelock_test.go:191: fd 7 = /tmp/TestLockNotDroppedByExecCommand396566178
filelock_test.go:194: Lock(fd 7) = <nil>
filelock_test.go:196: fd 8 = os.Open("/tmp/TestLockNotDroppedByExecCommand396566178")
filelock_test.go:207: Lock(fd 8) is blocked (as expected)
filelock_test.go:208: Unlock(fd 7) = <nil>
asm_arm.s:824: Lock(fd 8) = <nil>
filelock_test.go:210: Unlock(fd 8) = <nil>
--- PASS: TestLockNotDroppedByExecCommand (0.04s)
=== CONT TestLockExcludesLock
=== CONT TestRLockExcludesOnlyLock
=== CONT TestLockExcludesLock
filelock_test.go:125: fd 7 = /tmp/TestLockExcludesLock3934751615
=== CONT TestRLockExcludesOnlyLock
filelock_test.go:157: fd 8 = /tmp/TestRLockExcludesOnlyLock934763508
=== CONT TestLockExcludesLock
filelock_test.go:128: fd 9 = os.Open("/tmp/TestLockExcludesLock3934751615")
filelock_test.go:131: Lock(fd 7) = <nil>
=== CONT TestRLockExcludesOnlyLock
filelock_test.go:159: RLock(fd 8) = <nil>
=== CONT TestLockExcludesRLock
filelock_test.go:141: fd 11 = /tmp/TestLockExcludesRLock3548032123
filelock_test.go:144: fd 12 = os.Open("/tmp/TestLockExcludesRLock3548032123")
filelock_test.go:147: Lock(fd 11) = <nil>
=== CONT TestRLockExcludesOnlyLock
filelock_test.go:161: fd 10 = os.Open("/tmp/TestRLockExcludesOnlyLock934763508")
filelock_test.go:173: RLock(fd 10) = <nil>
filelock_test.go:176: fd 13 = os.Open("/tmp/TestRLockExcludesOnlyLock934763508")
=== CONT TestLockExcludesLock
filelock_test.go:132: Lock(fd 9) is blocked (as expected)
filelock_test.go:133: Unlock(fd 7) = <nil>
asm_arm.s:824: Lock(fd 9) = <nil>
filelock_test.go:135: Unlock(fd 9) = <nil>
--- PASS: TestLockExcludesLock (0.01s)
=== CONT TestLockExcludesRLock
filelock_test.go:148: RLock(fd 12) is blocked (as expected)
filelock_test.go:149: Unlock(fd 11) = <nil>
=== CONT TestRLockExcludesOnlyLock
filelock_test.go:178: Lock(fd 13) is blocked (as expected)
filelock_test.go:180: Unlock(fd 10) = <nil>
filelock_test.go:182: Unlock(fd 8) = <nil>
=== CONT TestLockExcludesRLock
asm_arm.s:824: RLock(fd 12) = <nil>
=== CONT TestRLockExcludesOnlyLock
asm_arm.s:824: Lock(fd 13) = <nil>
filelock_test.go:185: Unlock(fd 13) = <nil>
=== CONT TestLockExcludesRLock
filelock_test.go:151: Unlock(fd 12) = <nil>
--- PASS: TestRLockExcludesOnlyLock (0.02s)
--- PASS: TestLockExcludesRLock (0.01s)
PASS
ok github.com/rogpeppe/go-internal/lockedfile/internal/filelock 0.070s
=== RUN TestPrintGolden
--- PASS: TestPrintGolden (0.00s)
=== RUN TestParseLax
--- PASS: TestParseLax (0.00s)
=== RUN TestPrintParse
--- PASS: TestPrintParse (0.02s)
=== 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.01s)
--- 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.091s
=== RUN TestCheck
--- PASS: TestCheck (0.00s)
=== RUN TestCheckPath
--- PASS: TestCheckPath (0.01s)
=== 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.032s
=== RUN TestWork
--- PASS: TestWork (0.12s)
=== RUN TestWorkParallel
--- PASS: TestWorkParallel (0.01s)
=== RUN TestCache
--- PASS: TestCache (0.00s)
PASS
ok github.com/rogpeppe/go-internal/par 0.137s
? 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.014s
? 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-main1564897862/bin:/usr/local/sbin:/usr/local/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.01s)
--- 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
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/wait
=== CONT TestScripts/hello
=== CONT TestScripts/defer
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/cpstdout
=== CONT TestScripts/big_diff
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.014s)
> unquote dir/script.txt
> ! testscript dir
> env
WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/evalsymlink
=== CONT TestScripts/hello
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.321s)
> exec cat hello.text
[stdout]
hello world
> stdout 'hello world\n'
> ! stderr .
PASS
=== CONT TestScripts/exists
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/execguard
=== CONT TestScripts/cpstdout
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.320s)
> 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/exec_path_change
=== CONT TestScripts/execguard
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/long_diff
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.004s)
> unquote dir/script.txt
> ! testscript dir
> env
WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/commandstatus
=== CONT TestScripts/evalsymlink
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.353s)
> [windows] skip
> exec pwd
[stdout]
$WORK
> stdout ^$WORK$
> exec pwd -P
[stdout]
$WORK
> stdout ^$WORK$
PASS
=== CONT TestScripts/cond
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/command
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/cmpenv
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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
=== CONT TestScripts/commandstatus
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/values
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/testscript_update_script_stderr
=== CONT TestScripts/wait
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.411s)
> [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.080s)
> 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.022s)
> [!exec:sleep] skip
> ! exec sleep 86400 &
[background] sleep 86400: signal: interrupt
PASS
=== CONT TestScripts/testscript_update_script_quote
=== CONT TestScripts/testscript_update_script
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.145s)
> 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/testscript_update_script_expected_not_in_archive
=== CONT TestScripts/testscript_update_script_stderr
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/testscript_update_script_actual_is_file
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/interrupt
=== CONT TestScripts/testscript_update_script_quote
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/testscript_update_script_expected_not_in_archive
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.063s)
> unquote scripts/testscript.txt
> cp scripts/testscript.txt unchanged
> ! testscript -update scripts
> cmp scripts/testscript.txt unchanged
PASS
=== CONT TestScripts/setupfiles
=== CONT TestScripts/testscript_explicit_exec
=== CONT TestScripts/setupfiles
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/stdin
=== CONT TestScripts/interrupt
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/regexpquote
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/setenv
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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/readfile
=== CONT TestScripts/stdin
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.026s)
> exec cat hello.txt
[stdout]
hello
> stdin stdout
> exec cat
[stdout]
hello
> stdout hello
PASS
=== CONT TestScripts/readfile
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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_explicit_exec
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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.070s)
> 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/exec_path_change
testscript.go:429: WORK=$WORK
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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 (1.986s)
> [!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.18.4 linux/arm
> 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.01s)
--- PASS: TestScripts/nothing (0.00s)
--- PASS: TestScripts/defer (0.00s)
--- PASS: TestScripts/big_diff (0.02s)
--- PASS: TestScripts/hello (0.32s)
--- PASS: TestScripts/exists (0.00s)
--- PASS: TestScripts/cpstdout (0.32s)
--- PASS: TestScripts/execguard (0.02s)
--- PASS: TestScripts/long_diff (0.01s)
--- PASS: TestScripts/evalsymlink (0.35s)
--- PASS: TestScripts/cond (0.00s)
--- PASS: TestScripts/command (0.01s)
--- PASS: TestScripts/cmpenv (0.00s)
--- PASS: TestScripts/commandstatus (0.13s)
--- PASS: TestScripts/values (0.00s)
--- PASS: TestScripts/wait (0.52s)
--- PASS: TestScripts/testscript_update_script (0.15s)
--- PASS: TestScripts/testscript_update_script_stderr (0.09s)
--- PASS: TestScripts/testscript_update_script_actual_is_file (0.01s)
--- PASS: TestScripts/testscript_update_script_quote (0.09s)
--- PASS: TestScripts/testscript_update_script_expected_not_in_archive (0.07s)
--- PASS: TestScripts/setupfiles (0.01s)
--- PASS: TestScripts/interrupt (0.03s)
--- PASS: TestScripts/regexpquote (0.00s)
--- PASS: TestScripts/setenv (0.00s)
--- PASS: TestScripts/stdin (0.05s)
--- PASS: TestScripts/readfile (0.05s)
--- PASS: TestScripts/testscript_explicit_exec (0.08s)
--- PASS: TestScripts/exec_path_change (2.14s)
=== RUN TestTestwork
--- PASS: TestTestwork (12.54s)
=== 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/2477757178/script-nothing
PATH=/tmp/testscript-main1564897862/bin:/usr/local/sbin:/usr/local/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 15.057s
=== 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.030s
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 '/<<PKGBUILDDIR>>'
create-stamp debian/debhelper-build-stamp
dh_testroot -a -O--builddirectory=_build -O--buildsystem=golang
dh_prep -a -O--builddirectory=_build -O--buildsystem=golang
dh_auto_install -a -O--builddirectory=_build -O--buildsystem=golang
cd _build && mkdir -p /<<PKGBUILDDIR>>/debian/tmp/usr
cd _build && cp -r bin /<<PKGBUILDDIR>>/debian/tmp/usr
dh_install -a -O--builddirectory=_build -O--buildsystem=golang
dh_installdocs -a -O--builddirectory=_build -O--buildsystem=golang
dh_installchangelogs -a -O--builddirectory=_build -O--buildsystem=golang
dh_installsystemduser -a -O--builddirectory=_build -O--buildsystem=golang
dh_perl -a -O--builddirectory=_build -O--buildsystem=golang
dh_link -a -O--builddirectory=_build -O--buildsystem=golang
dh_strip_nondeterminism -a -O--builddirectory=_build -O--buildsystem=golang
dh_compress -a -O--builddirectory=_build -O--buildsystem=golang
dh_fixperms -a -O--builddirectory=_build -O--buildsystem=golang
dh_missing -a -O--builddirectory=_build -O--buildsystem=golang
dh_strip -a -O--builddirectory=_build -O--buildsystem=golang
dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-addmod
dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-c
dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-x
dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/txtar-goproxy
dh_strip: warning: Could not find the BuildID in debian/go-internal/usr/bin/testscript
dh_makeshlibs -a -O--builddirectory=_build -O--buildsystem=golang
dh_shlibdeps -a -O--builddirectory=_build -O--buildsystem=golang
dh_installdeb -a -O--builddirectory=_build -O--buildsystem=golang
dh_golang -a -O--builddirectory=_build -O--buildsystem=golang
dh_gencontrol -a -O--builddirectory=_build -O--buildsystem=golang
dpkg-gencontrol: warning: package go-internal: substitution variable ${misc:Static-Built-Using} unused, but is defined
dh_md5sums -a -O--builddirectory=_build -O--buildsystem=golang
dh_builddeb -a -O--builddirectory=_build -O--buildsystem=golang
dpkg-deb: building package 'go-internal' in '../go-internal_1.9.0-1_armhf.deb'.
dpkg-genbuildinfo --build=any -O../golang-github-rogpeppe-go-internal_1.9.0-1_armhf.buildinfo
dpkg-genchanges --build=any -mRaspbian pi4 based autobuilder <root@raspbian.org> -O../golang-github-rogpeppe-go-internal_1.9.0-1_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2022-09-02T10:04:34Z
Finished
--------
I: Built successfully
+------------------------------------------------------------------------------+
| Changes |
+------------------------------------------------------------------------------+
golang-github-rogpeppe-go-internal_1.9.0-1_armhf.changes:
---------------------------------------------------------
Format: 1.8
Date: Mon, 29 Aug 2022 13:43:00 -0600
Source: golang-github-rogpeppe-go-internal
Binary: go-internal
Architecture: armhf
Version: 1.9.0-1
Distribution: bookworm-staging
Urgency: medium
Maintainer: Raspbian pi4 based autobuilder <root@raspbian.org>
Changed-By: Anthony Fok <foka@debian.org>
Description:
go-internal - 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:
d67f769049225fb440a50b8b7b6c48aebf06201a 2134232 go-internal_1.9.0-1_armhf.deb
ffca8726d84dccbc54c1d1a304cb7fa85c375c17 5527 golang-github-rogpeppe-go-internal_1.9.0-1_armhf.buildinfo
Checksums-Sha256:
5f173a07264346d6681ac8cb76df991b14ed910db0c2a58ec759071c0efecddc 2134232 go-internal_1.9.0-1_armhf.deb
b014816d7b4e5c3811a80a5239bdfde827c6e49d30f0cac682e81b29cf797b72 5527 golang-github-rogpeppe-go-internal_1.9.0-1_armhf.buildinfo
Files:
9e61c300cf7ee1849733187977d39d2b 2134232 golang optional go-internal_1.9.0-1_armhf.deb
a89d0640cf30f5d28207bcd467d83748 5527 golang optional golang-github-rogpeppe-go-internal_1.9.0-1_armhf.buildinfo
+------------------------------------------------------------------------------+
| Buildinfo |
+------------------------------------------------------------------------------+
Format: 1.0
Source: golang-github-rogpeppe-go-internal
Binary: go-internal
Architecture: armhf
Version: 1.9.0-1
Checksums-Md5:
9e61c300cf7ee1849733187977d39d2b 2134232 go-internal_1.9.0-1_armhf.deb
Checksums-Sha1:
d67f769049225fb440a50b8b7b6c48aebf06201a 2134232 go-internal_1.9.0-1_armhf.deb
Checksums-Sha256:
5f173a07264346d6681ac8cb76df991b14ed910db0c2a58ec759071c0efecddc 2134232 go-internal_1.9.0-1_armhf.deb
Build-Origin: Raspbian
Build-Architecture: armhf
Build-Date: Fri, 02 Sep 2022 10:04:32 +0000
Build-Path: /<<PKGBUILDDIR>>
Installed-Build-Depends:
adduser (= 3.123),
autoconf (= 2.71-2),
automake (= 1:1.16.5-1.3),
autopoint (= 0.21-8),
autotools-dev (= 20220109.1),
base-files (= 12.2+rpi1),
base-passwd (= 3.6.0),
bash (= 5.1-6.1),
binutils (= 2.38.90.20220713-2+rpi1),
binutils-arm-linux-gnueabihf (= 2.38.90.20220713-2+rpi1),
binutils-common (= 2.38.90.20220713-2+rpi1),
bsdextrautils (= 2.38.1-1),
bsdutils (= 1:2.38.1-1),
build-essential (= 12.9),
bzip2 (= 1.0.8-5+b2),
ca-certificates (= 20211016),
coreutils (= 8.32-4.1),
cpp (= 4:12.1.0-3+rpi1),
cpp-12 (= 12.1.0-7+rpi1),
dash (= 0.5.11+git20210903+057cd650a4ed-8),
debconf (= 1.5.79),
debhelper (= 13.9),
debianutils (= 5.7-0.3),
dh-autoreconf (= 20),
dh-golang (= 1.58),
dh-strip-nondeterminism (= 1.13.0-1),
diffutils (= 1:3.8-1),
dmsetup (= 2:1.02.185-1),
dpkg (= 1.21.9+rpi1),
dpkg-dev (= 1.21.9+rpi1),
dwz (= 0.14-1),
file (= 1:5.41-4),
findutils (= 4.9.0-3),
g++ (= 4:12.1.0-3+rpi1),
g++-12 (= 12.1.0-7+rpi1),
gcc (= 4:12.1.0-3+rpi1),
gcc-12 (= 12.1.0-7+rpi1),
gcc-12-base (= 12.1.0-7+rpi1),
gettext (= 0.21-8),
gettext-base (= 0.21-8),
golang-1.18-go (= 1.18.4-2+rpi1),
golang-1.18-src (= 1.18.4-2+rpi1),
golang-any (= 2:1.18~3),
golang-github-pkg-diff-dev (= 0.0~git20210226.20ebb0f-1),
golang-go (= 2:1.18~3),
golang-src (= 2:1.18~3),
grep (= 3.7-1),
groff-base (= 1.22.4-8),
gzip (= 1.12-1),
hostname (= 3.23),
init-system-helpers (= 1.64),
intltool-debian (= 0.35.0+20060710.5),
libacl1 (= 2.3.1-1),
libapparmor1 (= 3.0.7-1),
libarchive-zip-perl (= 1.68-1),
libargon2-1 (= 0~20171227-0.3),
libasan8 (= 12.1.0-7+rpi1),
libatomic1 (= 12.1.0-7+rpi1),
libattr1 (= 1:2.5.1-1),
libaudit-common (= 1:3.0.7-1),
libaudit1 (= 1:3.0.7-1+b1),
libbinutils (= 2.38.90.20220713-2+rpi1),
libblkid1 (= 2.38.1-1),
libbz2-1.0 (= 1.0.8-5+b2),
libc-bin (= 2.33-8+rpi1),
libc-dev-bin (= 2.33-8+rpi1),
libc6 (= 2.33-8+rpi1),
libc6-dev (= 2.33-8+rpi1),
libcap-ng0 (= 0.8.3-1),
libcap2 (= 1:2.44-1),
libcc1-0 (= 12.1.0-7+rpi1),
libcom-err2 (= 1.46.5-2),
libcrypt-dev (= 1:4.4.28-2),
libcrypt1 (= 1:4.4.28-2),
libcryptsetup12 (= 2:2.5.0-2),
libctf-nobfd0 (= 2.38.90.20220713-2+rpi1),
libctf0 (= 2.38.90.20220713-2+rpi1),
libdb5.3 (= 5.3.28+dfsg1-0.10),
libdebconfclient0 (= 0.263),
libdebhelper-perl (= 13.9),
libdevmapper1.02.1 (= 2:1.02.185-1),
libdpkg-perl (= 1.21.9+rpi1),
libelf1 (= 0.187-1),
libfdisk1 (= 2.38.1-1),
libfile-stripnondeterminism-perl (= 1.13.0-1),
libgcc-12-dev (= 12.1.0-7+rpi1),
libgcc-s1 (= 12.1.0-7+rpi1),
libgcrypt20 (= 1.10.1-2+b2),
libgdbm-compat4 (= 1.23-1),
libgdbm6 (= 1.23-1),
libgmp10 (= 2:6.2.1+dfsg1-1),
libgomp1 (= 12.1.0-7+rpi1),
libgpg-error0 (= 1.45-2),
libgssapi-krb5-2 (= 1.20-1),
libicu71 (= 71.1-3),
libip4tc2 (= 1.8.8-1),
libisl23 (= 0.25-1),
libjson-c5 (= 0.16-1),
libk5crypto3 (= 1.20-1),
libkeyutils1 (= 1.6.3-1),
libkmod2 (= 30+20220630-3),
libkrb5-3 (= 1.20-1),
libkrb5support0 (= 1.20-1),
liblz4-1 (= 1.9.3-2),
liblzma5 (= 5.2.5-2.1),
libmagic-mgc (= 1:5.41-4),
libmagic1 (= 1:5.41-4),
libmount1 (= 2.38.1-1),
libmpc3 (= 1.2.1-2),
libmpfr6 (= 4.1.0-3),
libnsl-dev (= 1.3.0-2),
libnsl2 (= 1.3.0-2),
libpam-modules (= 1.5.2-2),
libpam-modules-bin (= 1.5.2-2),
libpam-runtime (= 1.5.2-2),
libpam0g (= 1.5.2-2),
libpcre2-8-0 (= 10.40-1+b2),
libpcre3 (= 2:8.39-14),
libperl5.34 (= 5.34.0-5),
libpipeline1 (= 1.5.6-2),
libseccomp2 (= 2.5.4-1+rpi1),
libselinux1 (= 3.4-1),
libsemanage-common (= 3.4-1),
libsemanage2 (= 3.4-1),
libsepol2 (= 3.4-2),
libsmartcols1 (= 2.38.1-1),
libssl3 (= 3.0.5-2),
libstdc++-12-dev (= 12.1.0-7+rpi1),
libstdc++6 (= 12.1.0-7+rpi1),
libsub-override-perl (= 0.09-3),
libsystemd-shared (= 251.3-1+rpi1),
libsystemd0 (= 251.3-1+rpi1),
libtinfo6 (= 6.3+20220423-2),
libtirpc-common (= 1.3.3+ds-1),
libtirpc-dev (= 1.3.3+ds-1),
libtirpc3 (= 1.3.3+ds-1),
libtool (= 2.4.7-4),
libubsan1 (= 12.1.0-7+rpi1),
libuchardet0 (= 0.0.7-1),
libudev1 (= 251.3-1+rpi1),
libunistring2 (= 1.0-1),
libuuid1 (= 2.38.1-1),
libxml2 (= 2.9.14+dfsg-1),
libzstd1 (= 1.5.2+dfsg-1),
linux-libc-dev (= 5.18.14-1+rpi1),
login (= 1:4.11.1+dfsg1-2),
lsb-base (= 11.2+rpi1),
m4 (= 1.4.19-1),
make (= 4.3-4.1),
man-db (= 2.10.2-2),
mawk (= 1.3.4.20200120-3.1),
mount (= 2.38.1-1),
ncurses-base (= 6.3+20220423-2),
ncurses-bin (= 6.3+20220423-2),
openssl (= 3.0.5-2),
passwd (= 1:4.11.1+dfsg1-2),
patch (= 2.7.6-7),
perl (= 5.34.0-5),
perl-base (= 5.34.0-5),
perl-modules-5.34 (= 5.34.0-5),
po-debconf (= 1.0.21+nmu1),
rpcsvc-proto (= 1.4.2-4),
sed (= 4.8-1),
sensible-utils (= 0.0.17),
systemd (= 251.3-1+rpi1),
sysvinit-utils (= 3.04-1),
tar (= 1.34+dfsg-1),
util-linux (= 2.38.1-1),
util-linux-extra (= 2.38.1-1),
xz-utils (= 5.2.5-2.1),
zlib1g (= 1:1.2.11.dfsg-4.1)
Environment:
DEB_BUILD_OPTIONS="parallel=4"
LANG="en_GB.UTF-8"
LC_ALL="C.UTF-8"
SOURCE_DATE_EPOCH="1661802180"
+------------------------------------------------------------------------------+
| Package contents |
+------------------------------------------------------------------------------+
go-internal_1.9.0-1_armhf.deb
-----------------------------
new Debian package, version 2.0.
size 2134232 bytes: control archive=1296 bytes.
1601 bytes, 36 lines control
414 bytes, 7 lines md5sums
Package: go-internal
Source: golang-github-rogpeppe-go-internal
Version: 1.9.0-1
Architecture: armhf
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Installed-Size: 13943
Depends: libc6 (>= 2.32)
Built-Using: golang-1.18 (= 1.18.4-2+rpi1), golang-github-pkg-diff (= 0.0~git20210226.20ebb0f-1)
Section: golang
Priority: optional
Homepage: https://github.com/rogpeppe/go-internal
Description: Selected Go-internal packages factored out from the standard library (binaries)
The go-internal repository factors out an opinionated selection of
internal packages and functionality from the Go standard library.
Currently this consists mostly of packages and testing code from
within the Go tool implementation.
.
Included are the following:
.
* dirhash: calculate hashes over directory trees the same way
that the Go tool does.
* goproxytest: a GOPROXY implementation designed for test use.
* gotooltest: Use the Go tool inside test scripts (see testscript below).
* imports: list of known architectures and OSs, and support for reading
import statements.
* modfile: read and write go.mod files while preserving formatting
and comments.
* module: module paths and versions.
* par: do work in parallel.
* semver: semantic version parsing.
* testenv: information on the current testing environment.
* testscript: script-based testing based on txtar files.
* txtar: simple text-based file archives for testing.
.
This package contains the compiled binaries, namely testscript,
txtar-addmod, txtar-c and txtar-goproxy.
drwxr-xr-x root/root 0 2022-08-29 19:43 ./
drwxr-xr-x root/root 0 2022-08-29 19:43 ./usr/
drwxr-xr-x root/root 0 2022-08-29 19:43 ./usr/bin/
-rwxr-xr-x root/root 5009896 2022-08-29 19:43 ./usr/bin/testscript
-rwxr-xr-x root/root 1530268 2022-08-29 19:43 ./usr/bin/txtar-addmod
-rwxr-xr-x root/root 1456836 2022-08-29 19:43 ./usr/bin/txtar-c
-rwxr-xr-x root/root 4810736 2022-08-29 19:43 ./usr/bin/txtar-goproxy
-rwxr-xr-x root/root 1456812 2022-08-29 19:43 ./usr/bin/txtar-x
drwxr-xr-x root/root 0 2022-08-29 19:43 ./usr/share/
drwxr-xr-x root/root 0 2022-08-29 19:43 ./usr/share/doc/
drwxr-xr-x root/root 0 2022-08-29 19:43 ./usr/share/doc/go-internal/
-rw-r--r-- root/root 1329 2022-08-29 19:43 ./usr/share/doc/go-internal/changelog.Debian.gz
-rw-r--r-- root/root 1890 2022-08-29 19:41 ./usr/share/doc/go-internal/copyright
+------------------------------------------------------------------------------+
| Post Build |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build Type: any
Build-Space: 158528
Build-Time: 173
Distribution: bookworm-staging
Host Architecture: armhf
Install-Time: 516
Job: golang-github-rogpeppe-go-internal_1.9.0-1
Machine Architecture: armhf
Package: golang-github-rogpeppe-go-internal
Package-Time: 734
Source-Version: 1.9.0-1
Space: 158528
Status: successful
Version: 1.9.0-1
--------------------------------------------------------------------------------
Finished at 2022-09-02T10:04:34Z
Build needed 00:12:14, 158528k disk space