Diff of the two buildlogs: -- --- b1/build.log 2025-04-03 00:53:36.871224063 +0000 +++ b2/build.log 2025-04-03 01:03:37.785225883 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 5 19:12:48 -12 2026 -I: pbuilder-time-stamp: 1778051568 +I: Current time: Thu Apr 3 14:53:39 +14 2025 +I: pbuilder-time-stamp: 1743641619 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying fix-test-expect-map.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2120699/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 3 00:53 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='e7cfaf6889df412896f1960869ffc417' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2120699' - PS1='# ' - PS2='> ' + INVOCATION_ID=dace3026d56e4fc6af472a1ed1054b17 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1012134 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.spYqHSYD/pbuilderrc_Oayf --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.spYqHSYD/b1 --logfile b1/build.log goss_0.4.9-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.spYqHSYD/pbuilderrc_E8Tl --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.spYqHSYD/b2 --logfile b2/build.log goss_0.4.9-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2120699/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -279,7 +311,7 @@ Get: 125 http://deb.debian.org/debian unstable/main amd64 golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 126 http://deb.debian.org/debian unstable/main amd64 golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 127 http://deb.debian.org/debian unstable/main amd64 golang-gomega-dev all 1.36.2-1 [167 kB] -Fetched 123 MB in 11s (11.6 MB/s) +Fetched 123 MB in 11s (11.5 MB/s) Preconfiguring packages ... Selecting previously unselected package golang-golang-x-sys-dev. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19804 files and directories currently installed.) @@ -698,8 +730,8 @@ Setting up tzdata (2025b-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 6 07:15:06 UTC 2026. -Universal Time is now: Wed May 6 07:15:06 UTC 2026. +Local time is now: Thu Apr 3 00:57:05 UTC 2025. +Universal Time is now: Thu Apr 3 00:57:05 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -808,7 +840,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/goss-0.4.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../goss_0.4.9-2_source.changes +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/goss-0.4.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../goss_0.4.9-2_source.changes dpkg-buildpackage: info: source package goss dpkg-buildpackage: info: source version 0.4.9-2 dpkg-buildpackage: info: source distribution unstable @@ -826,327 +862,327 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 42 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util -internal/asan -internal/profilerecord -internal/msan -vendor/golang.org/x/crypto/internal/alias -internal/godebugs -golang.org/x/net/html/atom -google.golang.org/protobuf/internal/flags -github.com/klauspost/compress/internal/le + cd _build && go install -trimpath -v -p 20 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util +internal/unsafeheader +internal/goos internal/byteorder -unicode/utf16 +unicode/utf8 internal/coverage/rtcov -internal/goos -encoding -crypto/internal/fips140/alias -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/unsafeheader +math/bits +internal/goarch +internal/profilerecord internal/itoa -log/internal -golang.org/x/exp/constraints +internal/asan +internal/msan unicode -github.com/google/go-cmp/cmp/internal/flags -crypto/internal/boring/sig -math/bits +cmp +encoding +internal/godebugs internal/goexperiment -golang.org/x/net/internal/iana +sync/atomic internal/runtime/syscall -unicode/utf8 internal/runtime/atomic -github.com/klauspost/compress/internal/cpuinfo -golang.org/x/text/encoding/internal/identifier +unicode/utf16 +crypto/internal/fips140/alias +internal/abi +internal/runtime/math +internal/cpu +vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace -container/list -cmp -golang.org/x/text/internal/utf8internal +crypto/internal/boring/sig +internal/runtime/sys +github.com/google/go-cmp/cmp/internal/flags github.com/onsi/gomega/matchers/support/goraph/node -internal/goarch -sync/atomic -internal/cpu +golang.org/x/net/html/atom +golang.org/x/text/encoding/internal/identifier +golang.org/x/text/internal/utf8internal crypto/internal/fips140/subtle -github.com/onsi/gomega/matchers/support/goraph/edge -crypto/internal/fips140deps/byteorder -internal/runtime/math internal/chacha8rand -internal/abi -internal/runtime/sys -github.com/tidwall/match +crypto/internal/fips140deps/byteorder +container/list +vendor/golang.org/x/crypto/internal/alias +log/internal +github.com/onsi/gomega/matchers/support/goraph/edge +golang.org/x/exp/constraints +golang.org/x/net/internal/iana +google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set +github.com/klauspost/compress/internal/cpuinfo +github.com/klauspost/compress/internal/le +github.com/tidwall/match +internal/runtime/exithook crypto/internal/fips140deps/cpu internal/bytealg math -internal/runtime/exithook internal/stringslite internal/race +internal/runtime/maps +internal/sync github.com/onsi/gomega/matchers/support/goraph/util github.com/klauspost/compress -internal/sync -internal/runtime/maps runtime -iter internal/reflectlite -weak -crypto/subtle sync +crypto/subtle +iter +weak runtime/metrics -maps slices -internal/testlog +maps +errors +sort internal/bisect -internal/singleflight +internal/testlog unique +internal/singleflight google.golang.org/protobuf/internal/pragma runtime/cgo -internal/godebug -errors -crypto/internal/fips140deps/godebug internal/oserror +strconv +math/rand/v2 +vendor/golang.org/x/net/dns/dnsmessage path -sort io -math/rand -strconv +syscall +internal/godebug +bytes +strings hash -vendor/golang.org/x/net/dns/dnsmessage +crypto/internal/randutil golang.org/x/text/internal/tag -encoding/base32 -math/rand/v2 github.com/tidwall/pretty github.com/beorn7/perks/quantile internal/saferio +hash/adler32 +hash/fnv +hash/crc32 +crypto/internal/fips140deps/godebug +math/rand +crypto net/netip +encoding/base32 golang.org/x/crypto/blowfish -strings -bytes reflect -syscall -crypto -hash/adler32 -hash/crc32 -hash/fnv -crypto/internal/randutil golang.org/x/text/transform vendor/golang.org/x/text/transform github.com/hashicorp/logutils -crypto/internal/impl +golang.org/x/text/encoding +golang.org/x/text/runes crypto/internal/fips140 -regexp/syntax +crypto/internal/impl +github.com/huandu/xstrings +html net/http/internal/testcert +golang.org/x/text/encoding/internal net/http/internal/ascii github.com/munnerz/goautoneg -html bufio -github.com/huandu/xstrings -golang.org/x/text/encoding -golang.org/x/text/runes +regexp/syntax crypto/tls/internal/fips140tls crypto/internal/fips140/sha256 crypto/internal/fips140/sha512 crypto/internal/fips140/sha3 -golang.org/x/text/encoding/internal golang.org/x/text/encoding/unicode golang.org/x/text/encoding/charmap golang.org/x/text/encoding/simplifiedchinese -golang.org/x/text/encoding/japanese golang.org/x/text/encoding/korean +golang.org/x/text/encoding/japanese golang.org/x/text/encoding/traditionalchinese -crypto/sha3 crypto/internal/fips140/hmac +crypto/sha3 +internal/syscall/unix +internal/syscall/execenv +time crypto/internal/fips140/check crypto/internal/fips140hash -crypto/internal/fips140/hkdf -crypto/internal/fips140/edwards25519/field -regexp -crypto/internal/fips140/tls12 crypto/internal/fips140/aes crypto/internal/fips140/bigmod +crypto/internal/fips140/hkdf +crypto/internal/fips140/tls12 +crypto/internal/fips140/edwards25519/field crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 -internal/syscall/execenv -time -internal/syscall/unix -crypto/internal/fips140/nistec +regexp +io/fs +internal/poll context github.com/google/go-cmp/cmp/internal/diff github.com/tidwall/gjson -io/fs -internal/poll -github.com/onsi/gomega/types -embed +crypto/internal/fips140/nistec internal/filepathlite +embed +github.com/onsi/gomega/types google.golang.org/protobuf/internal/editiondefaults -github.com/onsi/gomega/matchers/internal/miter +os +encoding/binary internal/fmtsort github.com/google/go-cmp/cmp/internal/function -encoding/binary -os +github.com/onsi/gomega/matchers/internal/miter encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash github.com/klauspost/compress/internal/snapref golang.org/x/sys/unix encoding/pem +fmt crypto/internal/sysrand +path/filepath github.com/onsi/gomega/internal/gutil -google.golang.org/protobuf/internal/detrand io/ioutil -github.com/prometheus/procfs/internal/util -path/filepath -fmt vendor/golang.org/x/sys/cpu +google.golang.org/protobuf/internal/detrand +github.com/prometheus/procfs/internal/util +net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only +crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdh -crypto/internal/fips140/ed25519 crypto/internal/fips140/ecdsa +crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem -crypto/internal/fips140/aes/gcm crypto/internal/fips140/rsa -crypto/rc4 -crypto/md5 os/exec +crypto/md5 +crypto/rc4 crypto/cipher -encoding/hex -database/sql/driver -github.com/mitchellh/reflectwalk +crypto/internal/boring +crypto/des +vendor/golang.org/x/crypto/chacha20 +encoding/json net/url +github.com/mitchellh/reflectwalk +database/sql/driver +mime +golang.org/x/text/internal/language github.com/imdario/mergo -github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -mime/quotedprintable -github.com/prometheus/procfs/internal/fs -net/http/internal -log -google.golang.org/protobuf/internal/version -github.com/pmezard/go-difflib/difflib +math/big +github.com/onsi/gomega/format text/template/parse -go/token -google.golang.org/protobuf/internal/errors -runtime/debug -github.com/oleiade/reflections -github.com/mitchellh/go-ps github.com/google/go-cmp/cmp/internal/value -mime -golang.org/x/net/bpf -encoding/json -github.com/klauspost/compress/fse -text/tabwriter -encoding/gob -math/big +github.com/onsi/gomega/matchers/support/goraph/bipartitegraph encoding/xml -github.com/samber/lo -gopkg.in/yaml.v3 -vendor/golang.org/x/text/unicode/norm -golang.org/x/text/internal/language golang.org/x/net/html -compress/flate -github.com/onsi/gomega/format -google.golang.org/protobuf/encoding/protowire -github.com/russross/blackfriday/v2 -flag -vendor/golang.org/x/net/http2/hpack -google.golang.org/protobuf/reflect/protoreflect -github.com/mattn/go-isatty -github.com/opencontainers/runc/libcontainer/user -github.com/moby/sys/mountinfo -github.com/mitchellh/copystructure -crypto/des -vendor/golang.org/x/crypto/chacha20 -crypto/internal/boring -vendor/golang.org/x/text/unicode/bidi -github.com/mattn/go-colorable -github.com/google/go-cmp/cmp -crypto/sha512 +encoding/hex crypto/aes crypto/ecdh +crypto/sha512 crypto/hmac crypto/sha1 crypto/sha256 -github.com/klauspost/compress/huff0 +gopkg.in/yaml.v3 +github.com/mitchellh/copystructure +compress/flate golang.org/x/crypto/pbkdf2 +github.com/google/go-cmp/cmp vendor/golang.org/x/crypto/chacha20poly1305 -github.com/fatih/color +log golang.org/x/crypto/scrypt -vendor/golang.org/x/text/secure/bidirule -golang.org/x/text/internal/language/compact +vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/net/http2/hpack +mime/quotedprintable +net/http/internal +flag +github.com/samber/lo +github.com/oleiade/reflections +golang.org/x/net/bpf +github.com/mitchellh/go-ps compress/gzip +os/user +github.com/pmezard/go-difflib/difflib +google.golang.org/protobuf/internal/errors +google.golang.org/protobuf/encoding/protowire +go/token +google.golang.org/protobuf/internal/version +github.com/prometheus/procfs/internal/fs +runtime/debug +google.golang.org/protobuf/reflect/protoreflect +encoding/gob +github.com/klauspost/compress/fse +golang.org/x/text/internal/language/compact +vendor/golang.org/x/text/secure/bidirule +github.com/russross/blackfriday/v2 +text/tabwriter text/template -github.com/cpuguy83/go-md2man/v2/md2man +golang.org/x/text/language vendor/golang.org/x/net/idna +github.com/klauspost/compress/huff0 google.golang.org/protobuf/internal/descfmt -google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/descopts -google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid +google.golang.org/protobuf/internal/order +google.golang.org/protobuf/runtime/protoiface +github.com/opencontainers/runc/libcontainer/user +github.com/mattn/go-isatty +github.com/moby/sys/mountinfo +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/protolazy google.golang.org/protobuf/reflect/protoregistry -google.golang.org/protobuf/internal/encoding/text -golang.org/x/text/language -github.com/goss-org/goss/util -github.com/Masterminds/semver -github.com/blang/semver/v4 -google.golang.org/protobuf/proto -google.golang.org/protobuf/internal/encoding/defval -golang.org/x/text/encoding/htmlindex -crypto/internal/boring/bbig +github.com/mattn/go-colorable crypto/dsa -crypto/rand -encoding/asn1 crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand github.com/shopspring/decimal -html/template -github.com/urfave/cli +github.com/fatih/color crypto/ed25519 +golang.org/x/text/encoding/htmlindex crypto/rsa -crypto/internal/hpke -golang.org/x/crypto/bcrypt +github.com/Masterminds/semver github.com/Masterminds/goutils -github.com/patrickmn/go-cache +golang.org/x/crypto/bcrypt +github.com/blang/semver/v4 golang.org/x/net/html/charset +crypto/internal/hpke +github.com/goss-org/goss/util github.com/klauspost/compress/zstd -google.golang.org/protobuf/encoding/protodelim -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc -crypto/x509/pkix +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto +github.com/cpuguy83/go-md2man/v2/md2man +github.com/urfave/cli +html/template vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim +github.com/patrickmn/go-cache +crypto/ecdsa github.com/spf13/cast google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl -crypto/ecdsa -os/user -net -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/timestamppb -github.com/prometheus/client_model/go -github.com/prometheus/common/model -github.com/prometheus/client_golang/prometheus/internal -vendor/golang.org/x/net/http/httpproxy +crypto/x509 +github.com/google/uuid net/textproto -github.com/aelsabbahy/GOnetstat +vendor/golang.org/x/net/http/httpproxy golang.org/x/net/internal/socket -github.com/google/uuid -crypto/x509 github.com/prometheus/procfs +github.com/aelsabbahy/GOnetstat vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/ipv4 golang.org/x/net/ipv6 github.com/Masterminds/sprig crypto/tls +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/known/timestamppb +github.com/prometheus/client_model/go +github.com/prometheus/common/model net/http/httptrace github.com/miekg/dns net/http -expvar -github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +github.com/prometheus/client_golang/prometheus/internal net/http/httptest -github.com/prometheus/common/expfmt +expvar github.com/goss-org/goss/system +github.com/prometheus/common/expfmt +github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil github.com/onsi/gomega/matchers github.com/prometheus/client_golang/prometheus @@ -1158,7 +1194,7 @@ github.com/goss-org/goss github.com/goss-org/goss/cmd/goss dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go test -vet=off -v -p 20 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util === RUN TestConfigMerge --- PASS: TestConfigMerge (0.00s) === RUN TestUseAsPackage @@ -1182,23 +1218,23 @@ === RUN TestMatchers/testdata/out_matching_transformers_failing.1.rspecish === RUN TestMatchers/testdata/out_matching_transformers_failing.1.tap === RUN TestMatchers/testdata/out_matching_transformers_failing.2.nagios ---- PASS: TestMatchers (0.06s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.00s) +--- PASS: TestMatchers (0.31s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.01s) --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.00s) --- PASS: TestMatchers/testdata/out_matching_basic.0.rspecish (0.00s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.00s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.01s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers.0.documentation (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers.0.nagios (0.00s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.tap (0.04s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.03s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.02s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.02s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.03s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.documentation (0.02s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.nagios (0.01s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.03s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.03s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.04s) === RUN TestServeWithNoContentNegotiation === PAUSE TestServeWithNoContentNegotiation === RUN TestServeNegotiatingContent @@ -1226,35 +1262,35 @@ [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeCacheWithNoContentNegotiation (0.11s) - --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.00s) +--- PASS: TestServeCacheWithNoContentNegotiation (0.18s) + --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.04s) --- PASS: TestServeCacheWithNoContentNegotiation/immediately_re-request,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.11s) + --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.14s) === RUN TestServeCacheNegotiatingContent === RUN TestServeCacheNegotiatingContent/fresh_cache serve_test.go:255: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1461114,"end-time":"2026-05-05T19:16:22.153021669-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.15156055-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":8111,"end-time":"2026-05-05T19:16:22.153033931-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.153025821-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1473353}} + [DEBUG] OK SUMMARY: {"results":[{"duration":32046414,"end-time":"2025-04-03T15:01:55.559039862+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.52699343+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":21713,"end-time":"2025-04-03T15:01:55.559072094+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.559050424+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.032s","test-count":2,"total-duration":32078607}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm serve_test.go:267: [TRACE] : requesting health probe [TRACE] Returning cached[res]. - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1461114,"end-time":"2026-05-05T19:16:22.153021669-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.15156055-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":8111,"end-time":"2026-05-05T19:16:22.153033931-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.153025821-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1473353}} + [DEBUG] OK SUMMARY: {"results":[{"duration":32046414,"end-time":"2025-04-03T15:01:55.559039862+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.52699343+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":21713,"end-time":"2025-04-03T15:01:55.559072094+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.559050424+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.032s","test-count":2,"total-duration":32078607}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm serve_test.go:279: [TRACE] : requesting health probe [TRACE] Returning cached[res]. - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.001s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.032s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1262,16 +1298,16 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1368736,"end-time":"2026-05-05T19:16:22.261093706-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.259724943-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":14198,"end-time":"2026-05-05T19:16:22.261112895-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.261098732-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1387947}} + [DEBUG] OK SUMMARY: {"results":[{"duration":31648306,"end-time":"2025-04-03T15:01:55.70008832+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.668440055+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":18298,"end-time":"2025-04-03T15:01:55.700117911+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.700099311+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.032s","test-count":2,"total-duration":31677908}} [DEBUG] : status 200 ---- PASS: TestServeCacheNegotiatingContent (0.11s) - --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.00s) +--- PASS: TestServeCacheNegotiatingContent (0.17s) + --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.03s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.11s) + --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.14s) === RUN Test_varsFromString === RUN Test_varsFromString/empty_string === RUN Test_varsFromString/empty_JSON @@ -1309,93 +1345,98 @@ --- PASS: Test_loadVars/no_overwrite (0.00s) --- PASS: Test_loadVars/overwrite (0.00s) === CONT TestServeWithNoContentNegotiation -=== RUN TestServeWithNoContentNegotiation/failing-default-output +=== RUN TestServeWithNoContentNegotiation/passing-json === CONT TestServeNegotiatingContent -=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json - serve_test.go:173: testName "accept text/json translates to application/json" log output: +=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json +=== NAME TestServeWithNoContentNegotiation/passing-json + serve_test.go:66: testName "passing-json" log output: [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe - [TRACE] : requesting health probe Stale cache[res], running tests +=== RUN TestServeWithNoContentNegotiation/failing-json +=== NAME TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json + serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: + [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] + [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] + [DEBUG] OK SUMMARY: {"results":[{"duration":24046425,"end-time":"2025-04-03T15:01:55.728033792+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.703986561+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":26740,"end-time":"2025-04-03T15:01:55.728070775+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.728044083+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.024s","test-count":2,"total-duration":24083240}} + [DEBUG] : status 200 + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1356033,"end-time":"2026-05-05T19:16:22.267136939-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.265780933-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":42596,"end-time":"2026-05-05T19:16:22.267183236-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.267140667-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1402313}} + [DEBUG] OK SUMMARY: {"results":[{"duration":21964508,"end-time":"2025-04-03T15:01:55.728349499+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.706384941+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":14609,"end-time":"2025-04-03T15:01:55.728382348+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.728367721+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.022s","test-count":2,"total-duration":21997322}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json -=== NAME TestServeWithNoContentNegotiation/failing-default-output - serve_test.go:66: testName "failing-default-output" log output: -=== RUN TestServeWithNoContentNegotiation/passing-json - serve_test.go:66: testName "passing-json" log output: +=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level + serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: [TRACE] : requesting health probe Stale cache[res], running tests - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense + serve_test.go:173: testName "accept header contains nonsense" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1317374,"end-time":"2026-05-05T19:16:22.27080332-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.269485912-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":9171,"end-time":"2026-05-05T19:16:22.270816691-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.270807515-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1330737}} [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/failing-json -=== NAME TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json - serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: -=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid === NAME TestServeWithNoContentNegotiation/failing-json serve_test.go:66: testName "failing-json" log output: - [DEBUG] OK SUMMARY: {"results":[{"duration":1365711,"end-time":"2026-05-05T19:16:22.27083108-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.269465339-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":13707,"end-time":"2026-05-05T19:16:22.270860756-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.270847036-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1395398}} - [DEBUG] : status 200 ---- PASS: TestServeWithNoContentNegotiation (0.01s) - --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) - --- PASS: TestServeWithNoContentNegotiation/passing-json (0.00s) - --- PASS: TestServeWithNoContentNegotiation/failing-json (0.00s) -=== NAME TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level - serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests - [TRACE] : requesting health probe - Stale cache[res], running tests - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.002s Count: 2, Failed: 0, Skipped: 0 - [DEBUG] FAIL SUMMARY: {"results":[{"duration":1390504,"end-time":"2026-05-05T19:16:22.273075051-12:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2026-05-05T19:16:22.271684507-12:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":14245,"end-time":"2026-05-05T19:16:22.273093142-12:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2026-05-05T19:16:22.273078894-12:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1408586}} - [DEBUG] : status 503 - {"results":[{"duration":1390504,"end-time":"2026-05-05T19:16:22.273075051-12:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2026-05-05T19:16:22.271684507-12:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":14245,"end-time":"2026-05-05T19:16:22.273093142-12:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2026-05-05T19:16:22.273078894-12:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1408586}} + [DEBUG] OK SUMMARY: Total Duration: 0.030s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense - serve_test.go:173: testName "accept header contains nonsense" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] +=== RUN TestServeWithNoContentNegotiation/failing-default-output + serve_test.go:66: testName "failing-default-output" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.01] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] + [DEBUG] FAIL SUMMARY: Total Duration: 0.006s Count: 2, Failed: 2, Skipped: 0 + [DEBUG] : status 503 - FF + + Failures/Skipped: + + Command: hello world: exit-status: + Expected + 0 + to be numerically eq + 1 + Command: hello world: stdout: + Expected + "object: *bytes.Reader" + to have patterns + ["did not echo this"] + the missing elements were + ["did not echo this"] + + Total Duration: 0.006s + Count: 2, Failed: 2, Skipped: 0 +--- PASS: TestServeWithNoContentNegotiation (0.13s) + --- PASS: TestServeWithNoContentNegotiation/passing-json (0.03s) + --- PASS: TestServeWithNoContentNegotiation/failing-json (0.09s) + --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.02s) +=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid serve_test.go:173: testName "accept header contains nonsense then valid" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1278868,"end-time":"2026-05-05T19:16:22.277838536-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.27655964-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":7143,"end-time":"2026-05-05T19:16:22.277848979-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.277841838-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1289313}} - [DEBUG] : status 200 + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.07] [1] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":67477876,"end-time":"2025-04-03T15:01:55.81593891+14:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2025-04-03T15:01:55.748460438+14:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":26501,"end-time":"2025-04-03T15:01:55.815981858+14:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2025-04-03T15:01:55.815954631+14:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.068s","test-count":2,"total-duration":67520824}} + [DEBUG] : status 503 - {"results":[{"duration":67477876,"end-time":"2025-04-03T15:01:55.81593891+14:00","err":null,"matcher-result":{"actual":0,"expected":1,"extra-elements":null,"found-elements":null,"message":"to be numerically eq","missing-elements":null,"transform-chain":null,"untransformed-value":0},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2025-04-03T15:01:55.748460438+14:00","successful":false,"summary-line":"Command: hello world: exit-status:\nExpected\n 0\nto be numerically eq\n 1","summary-line-compact":"Command: hello world: exit-status: Expected 0 to be numerically eq 1","title":""},{"duration":26501,"end-time":"2025-04-03T15:01:55.815981858+14:00","err":null,"matcher-result":{"actual":"object: *bytes.Reader","expected":["did not echo this"],"extra-elements":null,"found-elements":null,"message":"to have patterns","missing-elements":["did not echo this"],"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":1,"skipped":false,"start-time":"2025-04-03T15:01:55.815954631+14:00","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.068s","test-count":2,"total-duration":67520824}} === RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] @@ -1410,20 +1451,30 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1239536,"end-time":"2026-05-05T19:16:22.281848182-12:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.280608652-12:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":12241,"end-time":"2026-05-05T19:16:22.281863233-12:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2026-05-05T19:16:22.281851043-12:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1254616}} + [DEBUG] OK SUMMARY: {"results":[{"duration":18644267,"end-time":"2025-04-03T15:01:55.872176877+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.853533188+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":23102,"end-time":"2025-04-03T15:01:55.872214501+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.872191335+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.019s","test-count":2,"total-duration":18681257}} [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.02s) - --- PASS: TestServeNegotiatingContent/accept_text/json_translates_to_application/json (0.00s) - --- PASS: TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json (0.00s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.00s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.00s) - --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.00s) - --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.00s) - --- PASS: TestServeNegotiatingContent/accept_application/json (0.00s) +=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json + serve_test.go:173: testName "accept text/json translates to application/json" log output: + [TRACE] : requesting health probe + Stale cache[res], running tests + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] + [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] + [DEBUG] OK SUMMARY: {"results":[{"duration":6353962,"end-time":"2025-04-03T15:01:55.880047261+14:00","err":null,"matcher-result":{"actual":0,"expected":0,"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"exit-status","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.873693552+14:00","successful":true,"summary-line":"Command: hello world: exit-status: matches expectation: 0","summary-line-compact":"Command: hello world: exit-status: matches expectation: 0","title":""},{"duration":40227,"end-time":"2025-04-03T15:01:55.880097394+14:00","err":null,"matcher-result":{"actual":{},"expected":["hello world"],"extra-elements":null,"found-elements":null,"message":"matches expectation","missing-elements":null,"transform-chain":null,"untransformed-value":null},"meta":null,"property":"stdout","resource-id":"hello world","resource-type":"Command","result":0,"skipped":false,"start-time":"2025-04-03T15:01:55.880057247+14:00","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.006s","test-count":2,"total-duration":6403947}} + [DEBUG] : status 200 +--- PASS: TestServeNegotiatingContent (0.18s) + --- PASS: TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json (0.03s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.04s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.05s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.03s) + --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.01s) + --- PASS: TestServeNegotiatingContent/accept_application/json (0.02s) + --- PASS: TestServeNegotiatingContent/accept_text/json_translates_to_application/json (0.01s) PASS -ok github.com/goss-org/goss 0.318s +ok github.com/goss-org/goss 0.924s ? github.com/goss-org/goss/cmd/goss [no test files] === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity @@ -1440,12 +1491,12 @@ === RUN TestBeSemverConstraintMatcher_Match/build_fail === RUN TestBeSemverConstraintMatcher_Match/build_valid === RUN TestBeSemverConstraintMatcher_Match/invalid_actual ---- PASS: TestBeSemverConstraintMatcher_Match (0.00s) +--- PASS: TestBeSemverConstraintMatcher_Match (0.01s) --- PASS: TestBeSemverConstraintMatcher_Match/pre_release_fail (0.00s) --- PASS: TestBeSemverConstraintMatcher_Match/pre_release_valid (0.00s) --- PASS: TestBeSemverConstraintMatcher_Match/invalid_version_starting_with_0 (0.00s) --- PASS: TestBeSemverConstraintMatcher_Match/build_fail (0.00s) - --- PASS: TestBeSemverConstraintMatcher_Match/build_valid (0.00s) + --- PASS: TestBeSemverConstraintMatcher_Match/build_valid (0.01s) --- PASS: TestBeSemverConstraintMatcher_Match/invalid_actual (0.00s) === RUN TestBeSemverConstraintMatcher_NegatedFailureMessage === RUN TestBeSemverConstraintMatcher_NegatedFailureMessage/string @@ -1486,7 +1537,7 @@ --- PASS: Test_toVersions/invalid_object (0.00s) --- PASS: Test_toVersions/invalid_object_in_slice (0.00s) PASS -ok github.com/goss-org/goss/matchers 0.011s +ok github.com/goss-org/goss/matchers 0.076s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1517,8 +1568,14 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/no-results - prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. +=== RUN TestPrometheusOutput/all-unknown-single-type + prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. + # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 + # HELP goss_tests_outcomes_total The number of test-outcomes from this run. + # TYPE goss_tests_outcomes_total counter + goss_tests_outcomes_total{outcome="unknown",type="command"} 2 + # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. @@ -1539,21 +1596,21 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/unknown-skip +=== RUN TestPrometheusOutput/unknown-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 + goss_tests_run_outcomes_total{outcome="fail"} 1 === RUN TestPrometheusOutput/unknown-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter @@ -1569,30 +1626,15 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/skip-unknown - prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. - # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 - # HELP goss_tests_outcomes_total The number of test-outcomes from this run. - # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 - # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 - # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. - # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/fail-unknown +=== RUN TestPrometheusOutput/fail-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 @@ -1614,125 +1656,142 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/success-skip +=== RUN TestPrometheusOutput/no-results + prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/various-results-multiple-types prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter + goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="file"} 1 + goss_tests_outcomes_total{outcome="unknown",type="file"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/success-fail + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/skip-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/all-success-single-type + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/skip-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 2 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/all-skip-single-type +=== RUN TestPrometheusOutput/success-skip prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 2 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="skip"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="skip"} 1 -=== RUN TestPrometheusOutput/all-fail-single-type + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== RUN TestPrometheusOutput/success-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/various-results-multiple-types +=== RUN TestPrometheusOutput/various-results-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="file"} 1 - goss_tests_outcomes_total{outcome="unknown",type="file"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/verbose +=== RUN TestPrometheusOutput/unknown-skip prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/all-unknown-single-type + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/skip-fail prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="unknown",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/unknown-fail + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/fail-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 @@ -1747,128 +1806,120 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/skip-fail +=== RUN TestPrometheusOutput/verbose prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/skip-success +=== RUN TestPrometheusOutput/all-success-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/fail-success +=== RUN TestPrometheusOutput/all-skip-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="skip"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/various-results-single-type + goss_tests_run_outcomes_total{outcome="skip"} 1 +=== RUN TestPrometheusOutput/all-fail-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 ---- PASS: TestPrometheusOutput (0.01s) +--- PASS: TestPrometheusOutput (0.02s) --- PASS: TestPrometheusOutput/fail-skip (0.00s) - --- PASS: TestPrometheusOutput/no-results (0.00s) + --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/unknown-fail (0.00s) --- PASS: TestPrometheusOutput/unknown-success (0.00s) - --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/fail-unknown (0.00s) + --- PASS: TestPrometheusOutput/fail-success (0.00s) --- PASS: TestPrometheusOutput/success-unknown (0.00s) + --- PASS: TestPrometheusOutput/no-results (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/skip-unknown (0.00s) + --- PASS: TestPrometheusOutput/skip-success (0.00s) --- PASS: TestPrometheusOutput/success-skip (0.00s) --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/skip-fail (0.00s) + --- PASS: TestPrometheusOutput/fail-unknown (0.01s) + --- PASS: TestPrometheusOutput/verbose (0.00s) --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/verbose (0.00s) - --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-fail (0.00s) - --- PASS: TestPrometheusOutput/skip-fail (0.00s) - --- PASS: TestPrometheusOutput/skip-success (0.00s) - --- PASS: TestPrometheusOutput/fail-success (0.00s) - --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) === RUN TestCanChangeOverallOutcome +=== RUN TestCanChangeOverallOutcome/pass/skip +=== RUN TestCanChangeOverallOutcome/pass/fail +=== RUN TestCanChangeOverallOutcome/pass/unknown +=== RUN TestCanChangeOverallOutcome/pass/pass +=== RUN TestCanChangeOverallOutcome/skip/unknown === RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip === RUN TestCanChangeOverallOutcome/skip/fail -=== RUN TestCanChangeOverallOutcome/skip/unknown +=== RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/fail/unknown === RUN TestCanChangeOverallOutcome/fail/pass -=== RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/unknown/fail === RUN TestCanChangeOverallOutcome/unknown/unknown === RUN TestCanChangeOverallOutcome/unknown/pass === RUN TestCanChangeOverallOutcome/unknown/skip -=== RUN TestCanChangeOverallOutcome/pass/pass -=== RUN TestCanChangeOverallOutcome/pass/skip -=== RUN TestCanChangeOverallOutcome/pass/fail -=== RUN TestCanChangeOverallOutcome/pass/unknown --- PASS: TestCanChangeOverallOutcome (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/unknown (0.00s) --- PASS: TestCanChangeOverallOutcome/fail/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) PASS -ok github.com/goss-org/goss/outputs 0.016s +ok github.com/goss-org/goss/outputs 0.068s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1888,7 +1939,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.009s +ok github.com/goss-org/goss/resource 0.072s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1908,17 +1959,17 @@ === RUN TestGroupsForUser --- PASS: TestGroupsForUser (0.00s) === CONT TestCommandWrapper +--- PASS: TestCommandWrapper (0.00s) === CONT TestHasCommand -=== CONT TestDetectDistro --- PASS: TestHasCommand (0.00s) ---- PASS: TestCommandWrapper (0.00s) -=== CONT TestDetectService -=== CONT TestPackageManager +=== CONT TestDetectDistro --- PASS: TestDetectDistro (0.00s) +=== CONT TestDetectService --- PASS: TestDetectService (0.00s) +=== CONT TestPackageManager --- PASS: TestPackageManager (0.00s) PASS -ok github.com/goss-org/goss/system 0.012s +ok github.com/goss-org/goss/system 0.068s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1928,7 +1979,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.004s +ok github.com/goss-org/goss/util 0.048s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1957,8 +2008,8 @@ dpkg-gencontrol: warning: package goss: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.9-2_amd64.deb'. dpkg-deb: building package 'goss' in '../goss_0.4.9-2_amd64.deb'. +dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.9-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../goss_0.4.9-2_amd64.buildinfo dpkg-genchanges --build=binary -O../goss_0.4.9-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1966,12 +2017,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1012134/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2120699 and its subdirectories -I: Current time: Tue May 5 19:16:36 -12 2026 -I: pbuilder-time-stamp: 1778051796 +I: removing directory /srv/workspace/pbuilder/1012134 and its subdirectories +I: Current time: Thu Apr 3 15:03:37 +14 2025 +I: pbuilder-time-stamp: 1743642217