Diff of the two buildlogs: -- --- b1/build.log 2025-04-04 00:28:02.650326293 +0000 +++ b2/build.log 2025-04-04 00:26:14.136870139 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 3 12:26:22 -12 2025 -I: pbuilder-time-stamp: 1743726382 +I: Current time: Thu May 7 19:21:45 +14 2026 +I: pbuilder-time-stamp: 1778131305 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,54 +28,86 @@ 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/15922/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/33067/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 7 05:26 /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/33067/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/33067/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0ec0be69f1ea47be80daf0e1500b33cf' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='15922' - PS1='# ' - PS2='> ' + INVOCATION_ID=f676c6f8ef934d26b0e059f39d226128 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=33067 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.2216OOu0/pbuilderrc_tsEx --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.2216OOu0/b1 --logfile b1/build.log goss_0.4.9-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.2216OOu0/pbuilderrc_6sjn --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.2216OOu0/b2 --logfile b2/build.log goss_0.4.9-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) 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 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15922/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/33067/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -282,7 +314,7 @@ Get: 125 http://deb.debian.org/debian unstable/main i386 golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 126 http://deb.debian.org/debian unstable/main i386 golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 127 http://deb.debian.org/debian unstable/main i386 golang-gomega-dev all 1.36.2-1 [167 kB] -Fetched 121 MB in 1s (94.1 MB/s) +Fetched 121 MB in 43s (2788 kB/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 ... 19796 files and directories currently installed.) @@ -701,8 +733,8 @@ Setting up tzdata (2025b-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Apr 4 00:26:53 UTC 2025. -Universal Time is now: Fri Apr 4 00:26:53 UTC 2025. +Local time is now: Thu May 7 05:50:18 UTC 2026. +Universal Time is now: Thu May 7 05:50:18 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -811,7 +843,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/33067/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/33067/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 @@ -829,323 +865,323 @@ 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 11 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 install -trimpath -v -p 21 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/msan internal/goarch -internal/coverage/rtcov -internal/godebugs -internal/byteorder +unicode/utf16 internal/unsafeheader -internal/asan -internal/goexperiment -internal/cpu -internal/profilerecord -internal/abi -internal/goos -internal/runtime/atomic -internal/msan -internal/runtime/math -internal/runtime/syscall -sync/atomic +internal/byteorder math/bits -internal/runtime/sys -unicode -internal/chacha8rand unicode/utf8 -cmp -encoding -internal/itoa -unicode/utf16 +internal/profilerecord +internal/coverage/rtcov +internal/asan +internal/runtime/math +internal/abi crypto/internal/fips140/alias -crypto/internal/fips140deps/byteorder -internal/bytealg -math -internal/runtime/exithook -crypto/internal/fips140deps/cpu crypto/internal/boring/sig +encoding vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/godebugs +internal/runtime/syscall +internal/runtime/atomic +sync/atomic +internal/cpu +math internal/nettrace github.com/google/go-cmp/cmp/internal/flags -github.com/onsi/gomega/matchers/support/goraph/node +internal/chacha8rand +crypto/internal/fips140deps/byteorder golang.org/x/net/html/atom +github.com/onsi/gomega/matchers/support/goraph/node golang.org/x/text/encoding/internal/identifier golang.org/x/text/internal/utf8internal container/list +cmp +internal/itoa +internal/goos vendor/golang.org/x/crypto/internal/alias -github.com/onsi/gomega/matchers/support/goraph/edge log/internal -golang.org/x/exp/constraints github.com/tidwall/match golang.org/x/net/internal/iana +golang.org/x/exp/constraints google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set +github.com/onsi/gomega/matchers/support/goraph/edge +internal/runtime/sys +internal/goexperiment +crypto/internal/fips140deps/cpu +internal/bytealg +unicode internal/stringslite +internal/runtime/exithook internal/race +github.com/klauspost/compress +github.com/onsi/gomega/matchers/support/goraph/util internal/sync internal/runtime/maps -github.com/onsi/gomega/matchers/support/goraph/util -github.com/klauspost/compress runtime -internal/reflectlite -sync -iter weak crypto/internal/fips140/subtle +sync runtime/metrics +iter +internal/reflectlite +crypto/subtle maps slices -crypto/subtle errors +internal/oserror +path +math/rand/v2 +vendor/golang.org/x/net/dns/dnsmessage +strconv sort +golang.org/x/text/internal/tag +github.com/tidwall/pretty +github.com/beorn7/perks/quantile internal/singleflight -internal/bisect internal/testlog -unique google.golang.org/protobuf/internal/pragma -runtime/cgo +internal/bisect +unique io -internal/oserror -path -math/rand/v2 -strconv -vendor/golang.org/x/net/dns/dnsmessage syscall -bytes -internal/godebug +golang.org/x/crypto/blowfish +reflect +internal/saferio hash +crypto/internal/randutil +encoding/base32 +bytes strings +internal/godebug hash/adler32 -crypto/internal/randutil -golang.org/x/text/internal/tag -github.com/tidwall/pretty -github.com/beorn7/perks/quantile -hash/crc32 -hash/fnv -reflect crypto -crypto/internal/fips140deps/godebug -math/rand +hash/fnv +hash/crc32 net/netip -encoding/base32 -golang.org/x/crypto/blowfish -internal/saferio -golang.org/x/text/transform -vendor/golang.org/x/text/transform -github.com/hashicorp/logutils +runtime/cgo +internal/syscall/execenv +internal/syscall/unix crypto/internal/impl -crypto/internal/fips140 -regexp/syntax html +crypto/internal/fips140deps/godebug +net/http/internal/ascii +net/http/internal/testcert +math/rand +github.com/munnerz/goautoneg +regexp/syntax +time bufio +vendor/golang.org/x/text/transform +crypto/internal/fips140 +golang.org/x/text/transform +github.com/hashicorp/logutils +github.com/huandu/xstrings +crypto/tls/internal/fips140tls +crypto/internal/fips140/sha512 crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 -crypto/internal/fips140/sha512 -github.com/huandu/xstrings -golang.org/x/text/encoding +regexp golang.org/x/text/runes -crypto/tls/internal/fips140tls -time -internal/syscall/unix -internal/syscall/execenv +golang.org/x/text/encoding crypto/internal/fips140/hmac crypto/sha3 golang.org/x/text/encoding/internal -net/http/internal/ascii -net/http/internal/testcert -github.com/munnerz/goautoneg -crypto/internal/fips140/check +golang.org/x/text/encoding/unicode golang.org/x/text/encoding/charmap +golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/korean +context +github.com/google/go-cmp/cmp/internal/diff +github.com/tidwall/gjson +io/fs golang.org/x/text/encoding/japanese -crypto/internal/fips140hash -crypto/internal/fips140/aes -crypto/internal/fips140/nistec/fiat -crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/bigmod -regexp -crypto/internal/fips140/edwards25519 -golang.org/x/text/encoding/simplifiedchinese +internal/poll golang.org/x/text/encoding/traditionalchinese -golang.org/x/text/encoding/unicode +crypto/internal/fips140/check crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 -crypto/internal/fips140/tls13 -io/fs -internal/poll -context -github.com/google/go-cmp/cmp/internal/diff -github.com/tidwall/gjson -internal/filepathlite -embed +crypto/internal/fips140/edwards25519/field +crypto/internal/fips140/bigmod +crypto/internal/fips140/aes +crypto/internal/fips140hash github.com/onsi/gomega/types +crypto/internal/fips140/nistec/fiat +embed +internal/filepathlite google.golang.org/protobuf/internal/editiondefaults -encoding/binary +crypto/internal/fips140/tls13 +crypto/internal/fips140/edwards25519 +os internal/fmtsort +encoding/binary github.com/google/go-cmp/cmp/internal/function github.com/onsi/gomega/matchers/internal/miter -os -encoding/base64 -vendor/golang.org/x/crypto/internal/poly1305 -github.com/cespare/xxhash -github.com/klauspost/compress/internal/le -github.com/klauspost/compress/internal/snapref -golang.org/x/sys/unix -crypto/internal/fips140/nistec -encoding/pem -crypto/internal/sysrand github.com/onsi/gomega/internal/gutil -google.golang.org/protobuf/internal/detrand +crypto/internal/sysrand io/ioutil path/filepath -github.com/prometheus/procfs/internal/util fmt -net +github.com/prometheus/procfs/internal/util crypto/internal/entropy crypto/internal/fips140/drbg +encoding/base64 +google.golang.org/protobuf/internal/detrand +github.com/cespare/xxhash +github.com/klauspost/compress/internal/le +vendor/golang.org/x/crypto/internal/poly1305 +github.com/klauspost/compress/internal/snapref crypto/internal/fips140only -crypto/internal/fips140/aes/gcm crypto/internal/fips140/ed25519 -crypto/internal/fips140/rsa crypto/internal/fips140/mlkem -os/exec -crypto/md5 +crypto/internal/fips140/rsa +crypto/internal/fips140/aes/gcm +golang.org/x/sys/unix +encoding/pem crypto/rc4 +crypto/md5 +os/exec +crypto/internal/fips140/nistec crypto/cipher -vendor/golang.org/x/crypto/chacha20 -crypto/internal/boring -crypto/des encoding/hex -net/url -database/sql/driver -math/big -encoding/json -crypto/aes -crypto/sha512 -crypto/hmac -crypto/sha1 -crypto/sha256 -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa -github.com/imdario/mergo -github.com/mitchellh/reflectwalk -text/template/parse -crypto/ecdh -golang.org/x/crypto/pbkdf2 -golang.org/x/crypto/scrypt -github.com/mitchellh/copystructure encoding/xml github.com/onsi/gomega/format github.com/google/go-cmp/cmp/internal/value -github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -golang.org/x/net/html +text/template/parse mime -golang.org/x/text/internal/language -gopkg.in/yaml.v3 -github.com/google/go-cmp/cmp -text/template -github.com/mattn/go-isatty -github.com/mattn/go-colorable -github.com/fatih/color -golang.org/x/text/internal/language/compact +database/sql/driver +github.com/mitchellh/reflectwalk +net/url +encoding/json +github.com/onsi/gomega/matchers/support/goraph/bipartitegraph compress/flate -vendor/golang.org/x/crypto/chacha20poly1305 -crypto/dsa -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -github.com/Masterminds/semver -github.com/shopspring/decimal -crypto/rsa -crypto/ed25519 -github.com/Masterminds/goutils -golang.org/x/crypto/bcrypt -github.com/blang/semver/v4 -golang.org/x/text/language -compress/gzip -crypto/internal/hpke +github.com/imdario/mergo log +gopkg.in/yaml.v3 +golang.org/x/text/internal/language +golang.org/x/net/html +crypto/des +math/big +crypto/internal/fips140/ecdh +crypto/internal/boring +crypto/internal/fips140/ecdsa +github.com/mitchellh/copystructure +github.com/google/go-cmp/cmp +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -html/template vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix mime/quotedprintable -vendor/golang.org/x/text/unicode/bidi net/http/internal flag github.com/samber/lo -github.com/opencontainers/runc/libcontainer/user +vendor/golang.org/x/crypto/chacha20poly1305 github.com/oleiade/reflections +crypto/aes +crypto/ecdh +crypto/sha512 +crypto/hmac +crypto/sha1 +crypto/sha256 +text/template +golang.org/x/crypto/pbkdf2 golang.org/x/net/bpf -golang.org/x/text/encoding/htmlindex -github.com/goss-org/goss/util -golang.org/x/net/html/charset -crypto/ecdsa github.com/mitchellh/go-ps -github.com/moby/sys/mountinfo -os/user github.com/pmezard/go-difflib/difflib google.golang.org/protobuf/internal/errors -go/token google.golang.org/protobuf/encoding/protowire -github.com/spf13/cast +compress/gzip +go/token +golang.org/x/crypto/scrypt google.golang.org/protobuf/internal/version github.com/prometheus/procfs/internal/fs runtime/debug encoding/gob -google.golang.org/protobuf/reflect/protoreflect github.com/klauspost/compress/fse github.com/russross/blackfriday/v2 -vendor/golang.org/x/text/secure/bidirule +google.golang.org/protobuf/reflect/protoreflect text/tabwriter -vendor/golang.org/x/net/idna +golang.org/x/text/internal/language/compact +golang.org/x/text/language +os/user +net +vendor/golang.org/x/text/secure/bidirule github.com/klauspost/compress/huff0 -google.golang.org/protobuf/internal/descfmt +golang.org/x/text/encoding/htmlindex +github.com/goss-org/goss/util +github.com/Masterminds/semver +github.com/blang/semver/v4 +html/template +golang.org/x/net/html/charset +vendor/golang.org/x/net/idna +github.com/spf13/cast google.golang.org/protobuf/internal/descopts -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/internal/encoding/text google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/internal/strs +google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/protolazy -github.com/cpuguy83/go-md2man/v2/md2man -github.com/klauspost/compress/zstd -github.com/urfave/cli +google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/proto google.golang.org/protobuf/internal/encoding/defval -github.com/patrickmn/go-cache +github.com/cpuguy83/go-md2man/v2/md2man google.golang.org/protobuf/encoding/protodelim google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc -net/textproto -github.com/google/uuid -vendor/golang.org/x/net/http/httpproxy -github.com/aelsabbahy/GOnetstat -crypto/x509 -golang.org/x/net/internal/socket -github.com/prometheus/procfs -vendor/golang.org/x/net/http/httpguts -mime/multipart -golang.org/x/net/ipv4 -golang.org/x/net/ipv6 +github.com/urfave/cli +crypto/dsa +crypto/internal/boring/bbig +encoding/asn1 +github.com/shopspring/decimal +crypto/elliptic +crypto/rand +crypto/internal/hpke +crypto/rsa +github.com/Masterminds/goutils +github.com/patrickmn/go-cache +crypto/ed25519 +github.com/klauspost/compress/zstd +golang.org/x/crypto/bcrypt google.golang.org/protobuf/internal/encoding/tag +crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte google.golang.org/protobuf/internal/impl -github.com/Masterminds/sprig -crypto/tls -net/http/httptrace -github.com/miekg/dns -net/http +crypto/ecdsa +vendor/golang.org/x/net/http/httpproxy +net/textproto google.golang.org/protobuf/internal/filetype +crypto/x509 +github.com/google/uuid +vendor/golang.org/x/net/http/httpguts google.golang.org/protobuf/runtime/protoimpl +mime/multipart 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 -expvar -github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +github.com/Masterminds/sprig +crypto/tls +net/http/httptrace +github.com/mattn/go-isatty +github.com/opencontainers/runc/libcontainer/user +github.com/moby/sys/mountinfo +golang.org/x/net/internal/socket +github.com/mattn/go-colorable +github.com/prometheus/procfs +github.com/aelsabbahy/GOnetstat +net/http +github.com/fatih/color +golang.org/x/net/ipv4 +golang.org/x/net/ipv6 +github.com/miekg/dns net/http/httptest +github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +expvar github.com/prometheus/common/expfmt github.com/goss-org/goss/system github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil @@ -1159,11 +1195,11 @@ 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 11 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 21 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 ---- PASS: TestUseAsPackage (0.01s) +--- PASS: TestUseAsPackage (0.15s) === RUN TestSkipResourcesByType --- PASS: TestSkipResourcesByType (0.00s) === RUN TestMatchers @@ -1183,23 +1219,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.05s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.00s) - --- 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 (0.49s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.08s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.rspecish (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.tap (0.07s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.00s) --- 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_transformers.0.nagios (0.26s) --- 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.documentation (0.01s) --- 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.2.nagios (0.01s) === RUN TestServeWithNoContentNegotiation === PAUSE TestServeWithNoContentNegotiation === RUN TestServeNegotiatingContent @@ -1227,8 +1263,8 @@ [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeCacheWithNoContentNegotiation (0.11s) - --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.00s) +--- PASS: TestServeCacheWithNoContentNegotiation (0.27s) + --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.16s) --- PASS: TestServeCacheWithNoContentNegotiation/immediately_re-request,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.11s) === RUN TestServeCacheNegotiatingContent @@ -1239,7 +1275,7 @@ [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":1468426,"end-time":"2025-04-03T12:27:43.895862998-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":"2025-04-03T12:27:43.894394498-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":11624,"end-time":"2025-04-03T12:27:43.89587847-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":"2025-04-03T12:27:43.895866931-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":1483811}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1746806,"end-time":"2026-05-07T20:40:24.424567229+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":"2026-05-07T20:40:24.422820382+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":11635,"end-time":"2026-05-07T20:40:24.424581824+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":"2026-05-07T20:40:24.424570211+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.002s","test-count":2,"total-duration":1761398}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm @@ -1247,7 +1283,7 @@ [TRACE] Returning cached[res]. [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":1468426,"end-time":"2025-04-03T12:27:43.895862998-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":"2025-04-03T12:27:43.894394498-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":11624,"end-time":"2025-04-03T12:27:43.89587847-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":"2025-04-03T12:27:43.895866931-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":1483811}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1746806,"end-time":"2026-05-07T20:40:24.424567229+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":"2026-05-07T20:40:24.422820382+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":11635,"end-time":"2026-05-07T20:40:24.424581824+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":"2026-05-07T20:40:24.424570211+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.002s","test-count":2,"total-duration":1761398}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm @@ -1255,7 +1291,7 @@ [TRACE] Returning cached[res]. [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [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.002s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1265,7 +1301,7 @@ [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":1431590,"end-time":"2025-04-03T12:27:44.004414708-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":"2025-04-03T12:27:44.002983104-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":23158,"end-time":"2025-04-03T12:27:44.004441701-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":"2025-04-03T12:27:44.004418455-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":1458460}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1925371,"end-time":"2026-05-07T20:40:24.533291297+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":"2026-05-07T20:40:24.531365898+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":12029,"end-time":"2026-05-07T20:40:24.533311017+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":"2026-05-07T20:40:24.533298996+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.002s","test-count":2,"total-duration":1945079}} [DEBUG] : status 200 --- PASS: TestServeCacheNegotiatingContent (0.11s) @@ -1310,15 +1346,10 @@ --- PASS: Test_loadVars/no_overwrite (0.00s) --- PASS: Test_loadVars/overwrite (0.00s) === CONT TestServeWithNoContentNegotiation -=== CONT TestServeNegotiatingContent -=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option === RUN TestServeWithNoContentNegotiation/failing-json -=== NAME TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option - serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: -=== RUN TestServeNegotiatingContent/accept_application/json -=== NAME TestServeWithNoContentNegotiation/failing-json - serve_test.go:66: testName "failing-json" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] +=== CONT TestServeNegotiatingContent +=== 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: [] @@ -1326,37 +1357,38 @@ 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] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] + [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] : status 200 - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense +=== NAME TestServeWithNoContentNegotiation/failing-json + serve_test.go:66: testName "failing-json" log output: === RUN TestServeWithNoContentNegotiation/failing-default-output -=== NAME TestServeNegotiatingContent/accept_application/json - serve_test.go:173: testName "accept application/json" log output: - [DEBUG] FAIL SUMMARY: {"results":[{"duration":1525946,"end-time":"2025-04-03T12:27:44.010952789-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":"2025-04-03T12:27:44.009426771-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":10319,"end-time":"2025-04-03T12:27:44.010970198-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":"2025-04-03T12:27:44.010959787-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.002s","test-count":2,"total-duration":1543272}} - [DEBUG] : status 503 - {"results":[{"duration":1525946,"end-time":"2025-04-03T12:27:44.010952789-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":"2025-04-03T12:27:44.009426771-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":10319,"end-time":"2025-04-03T12:27:44.010970198-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":"2025-04-03T12:27:44.010959787-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.002s","test-count":2,"total-duration":1543272}} -=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json -=== NAME TestServeWithNoContentNegotiation/failing-default-output - serve_test.go:66: testName "failing-default-output" log output: +=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense + serve_test.go:173: testName "accept header contains nonsense" log output: + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":1509294,"end-time":"2026-05-07T20:40:24.538786671+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":"2026-05-07T20:40:24.537277351+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":7422,"end-time":"2026-05-07T20:40:24.538796799+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":"2026-05-07T20:40:24.538789402+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.002s","test-count":2,"total-duration":1519428}} + [DEBUG] : status 503 - {"results":[{"duration":1509294,"end-time":"2026-05-07T20:40:24.538786671+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":"2026-05-07T20:40:24.537277351+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":7422,"end-time":"2026-05-07T20:40:24.538796799+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":"2026-05-07T20:40:24.538789402+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.002s","test-count":2,"total-duration":1519428}} + [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 +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid +=== NAME 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] - [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":1528228,"end-time":"2025-04-03T12:27:44.013670888-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":"2025-04-03T12:27:44.012142635-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":17321,"end-time":"2025-04-03T12:27:44.013691494-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":"2025-04-03T12:27:44.013674556-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.002s","test-count":2,"total-duration":1549130}} [DEBUG] : status 200 +=== RUN TestServeWithNoContentNegotiation/passing-json +=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + serve_test.go:173: testName "accept header contains nonsense then valid" log output: [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [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] -=== RUN TestServeWithNoContentNegotiation/passing-json -=== NAME TestServeNegotiatingContent/accept_text/json_translates_to_application/json - serve_test.go:173: testName "accept text/json translates to application/json" log output: [DEBUG] FAIL SUMMARY: Total Duration: 0.002s Count: 2, Failed: 2, Skipped: 0 [DEBUG] : status 503 - FF @@ -1377,7 +1409,7 @@ Total Duration: 0.002s Count: 2, Failed: 2, Skipped: 0 -=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json +=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option === NAME TestServeWithNoContentNegotiation/passing-json serve_test.go:66: testName "passing-json" log output: [TRACE] : requesting health probe @@ -1388,67 +1420,67 @@ [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [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] - [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":1476113,"end-time":"2025-04-03T12:27:44.016417735-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":"2025-04-03T12:27:44.014941567-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":8837,"end-time":"2025-04-03T12:27:44.016430938-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":"2025-04-03T12:27:44.016422097-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":1489299}} - [DEBUG] : status 200 - [DEBUG] OK SUMMARY: {"results":[{"duration":1506897,"end-time":"2025-04-03T12:27:44.016521354-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":"2025-04-03T12:27:44.015013562-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":5514,"end-time":"2025-04-03T12:27:44.016530048-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":"2025-04-03T12:27:44.016524217-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.002s","test-count":2,"total-duration":1515699}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1789835,"end-time":"2026-05-07T20:40:24.544392262+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":"2026-05-07T20:40:24.542602417+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":7638,"end-time":"2026-05-07T20:40:24.544404009+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":"2026-05-07T20:40:24.544396387+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.002s","test-count":2,"total-duration":1801592}} [DEBUG] : status 200 --- PASS: TestServeWithNoContentNegotiation (0.01s) --- PASS: TestServeWithNoContentNegotiation/failing-json (0.00s) --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) --- PASS: TestServeWithNoContentNegotiation/passing-json (0.00s) -=== 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: +=== NAME 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: [] [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":1340057,"end-time":"2025-04-03T12:27:44.018887766-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":"2025-04-03T12:27:44.017547525-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":13969,"end-time":"2025-04-03T12:27:44.018905951-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":"2025-04-03T12:27:44.018892051-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":1358236}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1615614,"end-time":"2026-05-07T20:40:24.545622397+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":"2026-05-07T20:40:24.544006774+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":5893,"end-time":"2026-05-07T20:40:24.545632229+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":"2026-05-07T20:40:24.545626338+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.002s","test-count":2,"total-duration":1625440}} [DEBUG] : status 200 -=== 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: + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] + [DEBUG] : status 200 +=== RUN TestServeNegotiatingContent/accept_application/json + serve_test.go:173: testName "accept 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.00] - [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 + [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":1576410,"end-time":"2026-05-07T20:40:24.550319739+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":"2026-05-07T20:40:24.548743322+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":18857,"end-time":"2026-05-07T20:40:24.55034179+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":"2026-05-07T20:40:24.550322944+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.002s","test-count":2,"total-duration":1598449}} [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 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.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":1697223,"end-time":"2026-05-07T20:40:24.553186944+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":"2026-05-07T20:40:24.5514897+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":6565,"end-time":"2026-05-07T20:40:24.553197669+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":"2026-05-07T20:40:24.553191111+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.002s","test-count":2,"total-duration":1707938}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid - serve_test.go:173: testName "accept header contains nonsense then valid" log output: +=== RUN 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.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":1326824,"end-time":"2025-04-03T12:27:44.025930724-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":"2025-04-03T12:27:44.024603913-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":16432,"end-time":"2025-04-03T12:27:44.025950784-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":"2025-04-03T12:27:44.025934429-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":1346753}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1574791,"end-time":"2026-05-07T20:40:24.555849119+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":"2026-05-07T20:40:24.554274319+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":7756,"end-time":"2026-05-07T20:40:24.555859606+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":"2026-05-07T20:40:24.555851861+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.002s","test-count":2,"total-duration":1585266}} [DEBUG] : status 200 --- PASS: TestServeNegotiatingContent (0.02s) + --- 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) --- 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 -ok github.com/goss-org/goss 0.316s +ok github.com/goss-org/goss 1.192s ? github.com/goss-org/goss/cmd/goss [no test files] === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity @@ -1511,7 +1543,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.010s +ok github.com/goss-org/goss/matchers 0.453s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1527,38 +1559,32 @@ === RUN TestOptionsRegistration --- PASS: TestOptionsRegistration (0.00s) === RUN TestPrometheusOutput -=== RUN TestPrometheusOutput/various-results-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="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="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="fail"} 1 -=== RUN TestPrometheusOutput/various-results-multiple-types + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== 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="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="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="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="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 @@ -1578,218 +1604,215 @@ # 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-success-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="pass",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="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",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 - # 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 - 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="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="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/skip-fail + goss_tests_run_outcomes_total{outcome="fail"} 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="skip",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 # 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="pass",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="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/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="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="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="pass"} 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="pass"} 1 -=== RUN TestPrometheusOutput/fail-unknown + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== 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/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 - 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="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="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/fail-success + 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="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 - # 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. - # 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/all-skip-single-type +=== 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="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/unknown-fail + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== RUN TestPrometheusOutput/fail-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",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",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="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",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="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-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="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + 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="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + 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="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/fail-skip + goss_tests_run_outcomes_total{outcome="fail"} 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"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",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="skip",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/success-unknown +=== 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="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + 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="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + 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. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/success-skip +=== RUN TestPrometheusOutput/all-success-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="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",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="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",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 # 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-fail-single-type +=== 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="fail",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="fail",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="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/all-unknown-single-type +=== 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="unknown",type="command"} 20 + 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="unknown",type="command"} 2 + 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 -=== RUN TestPrometheusOutput/unknown-success + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/success-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="pass",type="command"} 10 @@ -1804,96 +1827,105 @@ # 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-fail +=== 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="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="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"} 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"} 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 -=== RUN TestPrometheusOutput/verbose +=== 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="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="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="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="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="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.00s) + --- PASS: TestPrometheusOutput/success-skip (0.00s) + --- PASS: TestPrometheusOutput/verbose (0.00s) + --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) --- PASS: TestPrometheusOutput/unknown-skip (0.00s) - --- PASS: TestPrometheusOutput/skip-fail (0.00s) - --- PASS: TestPrometheusOutput/skip-success (0.00s) - --- PASS: TestPrometheusOutput/fail-unknown (0.00s) - --- PASS: TestPrometheusOutput/fail-success (0.00s) --- PASS: TestPrometheusOutput/no-results (0.00s) - --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-fail (0.00s) + --- PASS: TestPrometheusOutput/unknown-success (0.00s) --- PASS: TestPrometheusOutput/skip-unknown (0.00s) + --- PASS: TestPrometheusOutput/skip-success (0.00s) --- PASS: TestPrometheusOutput/fail-skip (0.00s) + --- PASS: TestPrometheusOutput/fail-success (0.00s) + --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/skip-fail (0.00s) + --- PASS: TestPrometheusOutput/fail-unknown (0.00s) --- PASS: TestPrometheusOutput/success-unknown (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.00s) + --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) - --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-success (0.00s) - --- PASS: TestPrometheusOutput/success-fail (0.00s) - --- PASS: TestPrometheusOutput/verbose (0.00s) + --- PASS: TestPrometheusOutput/unknown-fail (0.00s) === RUN TestCanChangeOverallOutcome +=== RUN TestCanChangeOverallOutcome/pass/unknown +=== RUN TestCanChangeOverallOutcome/pass/pass +=== RUN TestCanChangeOverallOutcome/pass/skip +=== RUN TestCanChangeOverallOutcome/pass/fail === RUN TestCanChangeOverallOutcome/skip/fail === RUN TestCanChangeOverallOutcome/skip/unknown === RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip -=== RUN TestCanChangeOverallOutcome/fail/skip -=== RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/fail/unknown === RUN TestCanChangeOverallOutcome/fail/pass +=== RUN TestCanChangeOverallOutcome/fail/skip +=== RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/unknown/pass === RUN TestCanChangeOverallOutcome/unknown/skip === RUN TestCanChangeOverallOutcome/unknown/fail === RUN TestCanChangeOverallOutcome/unknown/unknown -=== RUN TestCanChangeOverallOutcome/pass/pass -=== RUN TestCanChangeOverallOutcome/pass/skip -=== RUN TestCanChangeOverallOutcome/pass/fail -=== RUN TestCanChangeOverallOutcome/pass/unknown --- PASS: TestCanChangeOverallOutcome (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/skip/skip (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/fail/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/unknown (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.018s +ok github.com/goss-org/goss/outputs 0.277s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1913,7 +1945,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.010s +ok github.com/goss-org/goss/resource 0.647s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1934,16 +1966,16 @@ --- PASS: TestGroupsForUser (0.00s) === CONT TestCommandWrapper === CONT TestDetectDistro -=== CONT TestDetectService ---- PASS: TestCommandWrapper (0.00s) -=== CONT TestPackageManager --- PASS: TestDetectDistro (0.00s) +=== CONT TestHasCommand +=== CONT TestDetectService --- PASS: TestDetectService (0.00s) +=== CONT TestPackageManager --- PASS: TestPackageManager (0.00s) -=== CONT TestHasCommand --- PASS: TestHasCommand (0.00s) +--- PASS: TestCommandWrapper (0.00s) PASS -ok github.com/goss-org/goss/system 0.010s +ok github.com/goss-org/goss/system 0.492s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1953,7 +1985,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.005s +ok github.com/goss-org/goss/util 0.104s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1982,8 +2014,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' in '../goss_0.4.9-2_i386.deb'. dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.9-2_i386.deb'. +dpkg-deb: building package 'goss' in '../goss_0.4.9-2_i386.deb'. dpkg-genbuildinfo --build=binary -O../goss_0.4.9-2_i386.buildinfo dpkg-genchanges --build=binary -O../goss_0.4.9-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1991,12 +2023,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/33067/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/33067/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/15922 and its subdirectories -I: Current time: Thu Apr 3 12:28:01 -12 2025 -I: pbuilder-time-stamp: 1743726481 +I: removing directory /srv/workspace/pbuilder/33067 and its subdirectories +I: Current time: Thu May 7 20:48:48 +14 2026 +I: pbuilder-time-stamp: 1778136528