Diff of the two buildlogs: -- --- b1/build.log 2025-03-06 00:39:01.749381544 +0000 +++ b2/build.log 2025-03-06 00:41:10.359569365 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 5 12:35:04 -12 2025 -I: pbuilder-time-stamp: 1741221304 +I: Current time: Wed Apr 8 21:02:03 +14 2026 +I: pbuilder-time-stamp: 1775631723 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: applying use-mitchellh-go-ps.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1276813/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1583775/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 8 07:02 /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/1583775/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1583775/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='35bdb739424d4d2c9290f7481ac67e8d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1276813' - PS1='# ' - PS2='> ' + INVOCATION_ID=a80238c7bfe648d2853a598c62c5537b + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1583775 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.vvKq8BzW/pbuilderrc_xwGg --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vvKq8BzW/b1 --logfile b1/build.log goss_0.4.9-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - 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.vvKq8BzW/pbuilderrc_Yiyx --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vvKq8BzW/b2 --logfile b2/build.log goss_0.4.9-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1276813/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1583775/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -279,7 +311,7 @@ Get: 126 http://deb.debian.org/debian trixie/main amd64 golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 127 http://deb.debian.org/debian trixie/main amd64 golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 128 http://deb.debian.org/debian trixie/main amd64 golang-gomega-dev all 1.34.2-2 [160 kB] -Fetched 131 MB in 4s (37.1 MB/s) +Fetched 131 MB in 7s (17.8 MB/s) Preconfiguring packages ... Selecting previously unselected package golang-golang-x-sys-dev. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19800 files and directories currently installed.) @@ -702,8 +734,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Mar 6 00:36:57 UTC 2025. -Universal Time is now: Thu Mar 6 00:36:57 UTC 2025. +Local time is now: Wed Apr 8 07:03:14 UTC 2026. +Universal Time is now: Wed Apr 8 07:03:14 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -812,7 +844,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-1_source.changes +I: user script /srv/workspace/pbuilder/1583775/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1583775/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-1_source.changes dpkg-buildpackage: info: source package goss dpkg-buildpackage: info: source version 0.4.9-1 dpkg-buildpackage: info: source distribution unstable @@ -830,309 +866,309 @@ 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 20 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util -internal/byteorder + cd _build && go install -trimpath -v -p 42 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util internal/itoa internal/godebugs -internal/goarch +internal/byteorder +golang.org/x/exp/constraints +golang.org/x/text/internal/utf8internal +internal/asan +unicode encoding +log/internal internal/goexperiment -unicode +vendor/golang.org/x/crypto/internal/alias +internal/msan math/bits -cmp -internal/goos -internal/unsafeheader -internal/coverage/rtcov -internal/asan -unicode/utf16 +internal/goarch +crypto/internal/fips140/alias +container/list +internal/runtime/syscall unicode/utf8 +internal/coverage/rtcov internal/profilerecord +golang.org/x/text/encoding/internal/identifier +internal/goos +cmp +unicode/utf16 +golang.org/x/net/html/atom internal/cpu -crypto/internal/fips140/alias -internal/runtime/syscall -internal/msan -internal/chacha8rand -internal/abi +google.golang.org/protobuf/internal/flags +internal/runtime/atomic sync/atomic -internal/runtime/math -crypto/internal/fips140deps/byteorder -crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/runtime/sys -internal/runtime/atomic -internal/nettrace -github.com/google/go-cmp/cmp/internal/flags github.com/onsi/gomega/matchers/support/goraph/node +github.com/google/go-cmp/cmp/internal/flags +crypto/internal/boring/sig +internal/nettrace +golang.org/x/net/internal/iana +internal/unsafeheader +github.com/klauspost/compress/internal/cpuinfo +internal/runtime/math +internal/runtime/sys +internal/abi crypto/internal/fips140/subtle -golang.org/x/net/html/atom -golang.org/x/text/encoding/internal/identifier -golang.org/x/text/internal/utf8internal -container/list -vendor/golang.org/x/crypto/internal/alias -log/internal +internal/chacha8rand +crypto/internal/fips140deps/byteorder github.com/onsi/gomega/matchers/support/goraph/edge -golang.org/x/exp/constraints -golang.org/x/net/internal/iana -google.golang.org/protobuf/internal/flags -github.com/tidwall/match google.golang.org/protobuf/internal/set -github.com/klauspost/compress/internal/cpuinfo -internal/bytealg +github.com/tidwall/match crypto/internal/fips140deps/cpu +internal/bytealg math internal/runtime/exithook internal/stringslite internal/race internal/sync internal/runtime/maps -github.com/onsi/gomega/matchers/support/goraph/util github.com/klauspost/compress +github.com/onsi/gomega/matchers/support/goraph/util runtime internal/reflectlite -crypto/subtle -iter sync +iter +crypto/subtle weak runtime/metrics -slices maps +slices errors sort -internal/testlog -internal/bisect -internal/singleflight -unique -google.golang.org/protobuf/internal/pragma -io internal/oserror path -math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage +math/rand/v2 strconv +internal/bisect +internal/testlog +internal/singleflight +unique +io +google.golang.org/protobuf/internal/pragma syscall runtime/cgo internal/godebug +internal/saferio +crypto/internal/randutil bytes +github.com/tidwall/pretty +golang.org/x/text/internal/tag +github.com/beorn7/perks/quantile hash strings +encoding/base32 +net/netip +golang.org/x/crypto/blowfish reflect -github.com/tidwall/pretty -crypto/internal/randutil -github.com/beorn7/perks/quantile crypto -internal/saferio -golang.org/x/text/internal/tag -net/netip -math/rand -golang.org/x/text/transform -vendor/golang.org/x/text/transform -hash/fnv -crypto/internal/fips140deps/godebug hash/adler32 -encoding/base32 +hash/fnv hash/crc32 -golang.org/x/crypto/blowfish +crypto/internal/fips140deps/godebug +math/rand github.com/hashicorp/logutils +golang.org/x/text/transform +vendor/golang.org/x/text/transform crypto/internal/impl -regexp/syntax net/http/internal/ascii -bufio +github.com/munnerz/goautoneg net/http/internal/testcert +bufio html -github.com/munnerz/goautoneg crypto/internal/fips140 -golang.org/x/text/encoding -golang.org/x/text/runes +github.com/huandu/xstrings +regexp/syntax crypto/internal/fips140/sha256 -crypto/tls/internal/fips140tls crypto/internal/fips140/sha3 +crypto/tls/internal/fips140tls crypto/internal/fips140/sha512 +golang.org/x/text/encoding +golang.org/x/text/runes golang.org/x/text/encoding/internal -github.com/huandu/xstrings -internal/syscall/unix -golang.org/x/text/encoding/japanese -time internal/syscall/execenv -golang.org/x/text/encoding/charmap -golang.org/x/text/encoding/simplifiedchinese +time +internal/syscall/unix golang.org/x/text/encoding/unicode -golang.org/x/text/encoding/korean +golang.org/x/text/encoding/charmap golang.org/x/text/encoding/traditionalchinese -crypto/internal/fips140/hmac +golang.org/x/text/encoding/japanese +golang.org/x/text/encoding/korean +golang.org/x/text/encoding/simplifiedchinese crypto/sha3 +crypto/internal/fips140/hmac crypto/internal/fips140/check crypto/internal/fips140hash crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/aes -crypto/internal/fips140/hkdf crypto/internal/fips140/bigmod -crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/hkdf +crypto/internal/fips140/aes crypto/internal/fips140/tls12 +crypto/internal/fips140/nistec/fiat crypto/internal/fips140/tls13 regexp crypto/internal/fips140/edwards25519 io/fs context -github.com/google/go-cmp/cmp/internal/diff github.com/tidwall/gjson +github.com/google/go-cmp/cmp/internal/diff internal/poll github.com/onsi/gomega/types -internal/filepathlite +crypto/internal/fips140/nistec embed +internal/filepathlite google.golang.org/protobuf/internal/editiondefaults -crypto/internal/fips140/nistec -os internal/fmtsort -encoding/binary github.com/google/go-cmp/cmp/internal/function +encoding/binary +os encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash github.com/klauspost/compress/internal/snapref golang.org/x/sys/unix encoding/pem -fmt crypto/internal/sysrand +google.golang.org/protobuf/internal/detrand +io/ioutil path/filepath +fmt +github.com/prometheus/procfs/internal/util +vendor/golang.org/x/sys/cpu github.com/onsi/gomega/internal/gutil net -io/ioutil -vendor/golang.org/x/sys/cpu -github.com/prometheus/procfs/internal/util -google.golang.org/protobuf/internal/detrand crypto/internal/entropy crypto/internal/fips140/drbg -crypto/internal/fips140/aes/gcm crypto/internal/fips140only crypto/internal/fips140/ecdh crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem crypto/internal/fips140/rsa crypto/internal/fips140/ecdsa -crypto/md5 +crypto/internal/fips140/aes/gcm crypto/rc4 +crypto/md5 os/exec crypto/cipher -encoding/json encoding/hex net/url database/sql/driver -math/big +encoding/json github.com/imdario/mergo -github.com/mitchellh/reflectwalk -github.com/onsi/gomega/format -encoding/xml github.com/google/go-cmp/cmp/internal/value -text/template/parse +github.com/onsi/gomega/format +github.com/mitchellh/reflectwalk github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -compress/flate -golang.org/x/text/internal/language -gopkg.in/yaml.v3 +text/template/parse +encoding/xml mime -golang.org/x/net/html -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 -github.com/mitchellh/copystructure -crypto/aes -crypto/ecdh -crypto/sha512 -crypto/hmac -crypto/sha1 -crypto/sha256 -github.com/google/go-cmp/cmp -vendor/golang.org/x/crypto/chacha20poly1305 -golang.org/x/crypto/pbkdf2 log -golang.org/x/crypto/scrypt -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack +compress/flate mime/quotedprintable net/http/internal +golang.org/x/net/html +vendor/golang.org/x/text/unicode/norm +gopkg.in/yaml.v3 +math/big +golang.org/x/text/internal/language flag -github.com/samber/lo -vendor/golang.org/x/text/unicode/bidi -golang.org/x/text/internal/language/compact github.com/oleiade/reflections -golang.org/x/net/bpf -compress/gzip github.com/mitchellh/go-ps -os/user +golang.org/x/net/bpf github.com/pmezard/go-difflib/difflib -golang.org/x/text/language google.golang.org/protobuf/internal/errors +crypto/internal/boring +os/user go/token google.golang.org/protobuf/internal/version -google.golang.org/protobuf/encoding/protowire github.com/prometheus/procfs/internal/fs runtime/debug -encoding/gob -text/template github.com/klauspost/compress/fse +encoding/gob +text/tabwriter github.com/russross/blackfriday/v2 +github.com/samber/lo +vendor/golang.org/x/net/http2/hpack +crypto/des +vendor/golang.org/x/crypto/chacha20 +crypto/aes +crypto/sha512 +crypto/ecdh +crypto/hmac +crypto/sha1 +crypto/sha256 +google.golang.org/protobuf/encoding/protowire +github.com/mitchellh/copystructure +golang.org/x/crypto/pbkdf2 +vendor/golang.org/x/crypto/chacha20poly1305 +golang.org/x/crypto/scrypt +github.com/google/go-cmp/cmp +vendor/golang.org/x/text/unicode/bidi google.golang.org/protobuf/reflect/protoreflect -text/tabwriter -github.com/mattn/go-isatty +github.com/klauspost/compress/huff0 +compress/gzip +golang.org/x/text/internal/language/compact +text/template github.com/opencontainers/runc/libcontainer/user github.com/moby/sys/mountinfo +github.com/mattn/go-isatty vendor/golang.org/x/text/secure/bidirule +golang.org/x/text/language github.com/mattn/go-colorable +github.com/fatih/color +github.com/cpuguy83/go-md2man/v2/md2man +vendor/golang.org/x/net/idna github.com/Masterminds/semver github.com/blang/semver/v4 github.com/goss-org/goss/util -github.com/fatih/color +google.golang.org/protobuf/internal/descopts +google.golang.org/protobuf/internal/strs +google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/descfmt +google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/genid golang.org/x/text/encoding/htmlindex golang.org/x/net/html/charset -github.com/klauspost/compress/huff0 -vendor/golang.org/x/net/idna +google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/internal/protolazy +google.golang.org/protobuf/reflect/protoregistry +crypto/internal/boring/bbig crypto/dsa -crypto/elliptic -encoding/asn1 crypto/rand -crypto/internal/boring/bbig +encoding/asn1 +crypto/elliptic github.com/shopspring/decimal +golang.org/x/crypto/bcrypt +github.com/Masterminds/goutils crypto/ed25519 -crypto/rsa crypto/internal/hpke -github.com/Masterminds/goutils -golang.org/x/crypto/bcrypt +crypto/rsa +github.com/patrickmn/go-cache github.com/klauspost/compress/zstd -google.golang.org/protobuf/internal/descfmt -google.golang.org/protobuf/internal/descopts -google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/order -google.golang.org/protobuf/runtime/protoiface -crypto/x509/pkix -vendor/golang.org/x/crypto/cryptobyte -google.golang.org/protobuf/internal/protolazy html/template -google.golang.org/protobuf/reflect/protoregistry -google.golang.org/protobuf/internal/encoding/text -github.com/cpuguy83/go-md2man/v2/md2man github.com/urfave/cli google.golang.org/protobuf/proto -crypto/ecdsa google.golang.org/protobuf/internal/encoding/defval -github.com/patrickmn/go-cache -github.com/spf13/cast -google.golang.org/protobuf/internal/filedesc +crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/internal/filedesc +crypto/ecdsa +github.com/spf13/cast google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl vendor/golang.org/x/net/http/httpproxy -crypto/x509 -github.com/google/uuid net/textproto github.com/aelsabbahy/GOnetstat golang.org/x/net/internal/socket +crypto/x509 +github.com/google/uuid github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts mime/multipart -golang.org/x/net/ipv4 golang.org/x/net/ipv6 +golang.org/x/net/ipv4 github.com/Masterminds/sprig crypto/tls google.golang.org/protobuf/internal/filetype @@ -1140,14 +1176,14 @@ 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 net/http/httptrace github.com/miekg/dns net/http -github.com/prometheus/client_golang/prometheus/internal -net/http/httptest -github.com/prometheus/common/expfmt expvar +net/http/httptest github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +github.com/prometheus/common/expfmt github.com/goss-org/goss/system github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil github.com/onsi/gomega/matchers @@ -1160,11 +1196,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 20 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go test -vet=off -v -p 42 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util === RUN TestConfigMerge --- PASS: TestConfigMerge (0.00s) === RUN TestUseAsPackage ---- PASS: TestUseAsPackage (0.01s) +--- PASS: TestUseAsPackage (0.00s) === RUN TestSkipResourcesByType --- PASS: TestSkipResourcesByType (0.00s) === RUN TestMatchers @@ -1184,21 +1220,21 @@ === 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.09s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.02s) - --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.01s) +--- PASS: TestMatchers (0.04s) + --- 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/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.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.01s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.01s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.00s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.00s) --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.00s) === RUN TestServeWithNoContentNegotiation @@ -1240,7 +1276,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":2202077,"end-time":"2025-03-05T12:38:11.469890671-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-03-05T12:38:11.467688512-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":12390,"end-time":"2025-03-05T12:38:11.469908551-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-03-05T12:38:11.469896438-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":2220193}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1656258,"end-time":"2026-04-08T21:03:51.082118719+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-04-08T21:03:51.080462449+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":4568,"end-time":"2026-04-08T21:03:51.082125309+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-04-08T21:03:51.082120752+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":1662824}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm @@ -1248,7 +1284,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":2202077,"end-time":"2025-03-05T12:38:11.469890671-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-03-05T12:38:11.467688512-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":12390,"end-time":"2025-03-05T12:38:11.469908551-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-03-05T12:38:11.469896438-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":2220193}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1656258,"end-time":"2026-04-08T21:03:51.082118719+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-04-08T21:03:51.080462449+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":4568,"end-time":"2026-04-08T21:03:51.082125309+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-04-08T21:03:51.082120752+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":1662824}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm @@ -1266,13 +1302,13 @@ [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":2104479,"end-time":"2025-03-05T12:38:11.593068032-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-03-05T12:38:11.590965523-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":0,"end-time":"2025-03-05T12:38:11.593070002-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-03-05T12:38:11.593070002-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":2104479}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1912409,"end-time":"2026-04-08T21:03:51.191936474+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-04-08T21:03:51.190024047+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":9500,"end-time":"2026-04-08T21:03:51.191950431+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-04-08T21:03:51.191940932+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":1926363}} [DEBUG] : status 200 ---- PASS: TestServeCacheNegotiatingContent (0.13s) +--- PASS: TestServeCacheNegotiatingContent (0.11s) --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.00s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm (0.01s) + --- PASS: TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.11s) === RUN Test_varsFromString === RUN Test_varsFromString/empty_string @@ -1311,43 +1347,17 @@ --- PASS: Test_loadVars/no_overwrite (0.00s) --- PASS: Test_loadVars/overwrite (0.00s) === CONT TestServeWithNoContentNegotiation -=== RUN TestServeWithNoContentNegotiation/failing-json === CONT TestServeNegotiatingContent -=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level -=== NAME TestServeWithNoContentNegotiation/failing-json - serve_test.go:66: testName "failing-json" log output: +=== RUN TestServeNegotiatingContent/accept_application/json === RUN TestServeWithNoContentNegotiation/failing-default-output -=== NAME TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level - serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] - [TRACE] : requesting health probe - Stale cache[res], running tests - [TRACE] : requesting health probe - Stale cache[res], running tests - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] - [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] - [DEBUG] FAIL SUMMARY: {"results":[{"duration":2027395,"end-time":"2025-03-05T12:38:11.598451511-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-03-05T12:38:11.596423655-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":0,"end-time":"2025-03-05T12:38:11.598451511-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-03-05T12:38:11.598451511-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":2027395}} - [DEBUG] : status 503 - {"results":[{"duration":2027395,"end-time":"2025-03-05T12:38:11.598451511-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-03-05T12:38:11.596423655-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":0,"end-time":"2025-03-05T12:38:11.598451511-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-03-05T12:38:11.598451511-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":2027395}} -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense -=== NAME TestServeWithNoContentNegotiation/failing-default-output serve_test.go:66: testName "failing-default-output" log output: + [TRACE] : requesting health probe [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] + Stale cache[res], running tests [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] 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.003s Count: 2, Failed: 0, Skipped: 0 - [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/passing-json -=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense - serve_test.go:173: testName "accept header contains nonsense" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] - [TRACE] : requesting health probe - Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] @@ -1372,31 +1382,41 @@ Total Duration: 0.002s Count: 2, Failed: 2, Skipped: 0 - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid - serve_test.go:173: testName "accept header contains nonsense then valid" log output: +=== RUN TestServeWithNoContentNegotiation/passing-json +=== NAME TestServeNegotiatingContent/accept_application/json + serve_test.go:173: testName "accept application/json" log output: +=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json + serve_test.go:173: testName "accept text/json translates to application/json" 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] 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] + [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] - [DEBUG] OK SUMMARY: {"results":[{"duration":2410580,"end-time":"2025-03-05T12:38:11.607472606-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-03-05T12:38:11.605062258-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":13650,"end-time":"2025-03-05T12:38:11.60749552-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-03-05T12:38:11.607481991-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":2433390}} + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [DEBUG] OK SUMMARY: {"results":[{"duration":1664413,"end-time":"2026-04-08T21:03:51.199936999+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-04-08T21:03:51.198272605+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":5420,"end-time":"2026-04-08T21:03:51.199946615+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-04-08T21:03:51.199941203+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":1674036}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option +=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json === NAME TestServeWithNoContentNegotiation/passing-json serve_test.go:66: testName "passing-json" log output: + [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":1951742,"end-time":"2026-04-08T21:03:51.196361859+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-04-08T21:03:51.194410131+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":14323,"end-time":"2026-04-08T21:03:51.196385937+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-04-08T21:03:51.19637161+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":1975808}} [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.01s) -=== NAME TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option - serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: +=== RUN TestServeWithNoContentNegotiation/failing-json +=== NAME TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json + serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: + [DEBUG] OK SUMMARY: {"results":[{"duration":1811525,"end-time":"2026-04-08T21:03:51.200048057+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-04-08T21:03:51.198236506+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":4462,"end-time":"2026-04-08T21:03:51.200055445+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-04-08T21:03:51.200050999+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":1818930}} + [DEBUG] : status 200 +=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level +=== NAME TestServeWithNoContentNegotiation/failing-json + serve_test.go:66: testName "failing-json" 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: [] [TRACE] : requesting health probe Stale cache[res], running tests @@ -1404,51 +1424,64 @@ [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":4229185,"end-time":"2025-03-05T12:38:11.609659246-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-03-05T12:38:11.605429105-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":0,"end-time":"2025-03-05T12:38:11.609659246-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-03-05T12:38:11.609659246-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.004s","test-count":2,"total-duration":4229185}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1464939,"end-time":"2026-04-08T21:03:51.20296865+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-04-08T21:03:51.201503681+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":3601,"end-time":"2026-04-08T21:03:51.202974148+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-04-08T21:03:51.202970547+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.001s","test-count":2,"total-duration":1470450}} [DEBUG] : status 200 [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] +--- PASS: TestServeWithNoContentNegotiation (0.01s) + --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) + --- PASS: TestServeWithNoContentNegotiation/passing-json (0.00s) + --- PASS: TestServeWithNoContentNegotiation/failing-json (0.00s) +=== NAME TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level + serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":1618722,"end-time":"2026-04-08T21:03:51.203174759+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-04-08T21:03:51.201556036+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":8695,"end-time":"2026-04-08T21:03:51.203187799+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-04-08T21:03:51.203179129+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":1631790}} + [DEBUG] : status 503 - {"results":[{"duration":1618722,"end-time":"2026-04-08T21:03:51.203174759+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-04-08T21:03:51.201556036+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":8695,"end-time":"2026-04-08T21:03:51.203187799+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-04-08T21:03:51.203179129+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":1631790}} + [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.002s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_application/json - serve_test.go:173: testName "accept application/json" log output: +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense + serve_test.go:173: testName "accept header contains nonsense" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [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":2283518,"end-time":"2025-03-05T12:38:11.614446464-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-03-05T12:38:11.612162946-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":0,"end-time":"2025-03-05T12:38:11.614446464-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-03-05T12:38:11.614446464-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":2283518}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json - serve_test.go:173: testName "accept text/json translates to application/json" log output: +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + serve_test.go:173: testName "accept header contains nonsense then valid" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1922065,"end-time":"2025-03-05T12:38:11.617324944-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-03-05T12:38:11.615403063-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":25080,"end-time":"2025-03-05T12:38:11.617360593-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-03-05T12:38:11.617335611-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":1957779}} + [DEBUG] OK SUMMARY: {"results":[{"duration":1764300,"end-time":"2026-04-08T21:03:51.209809025+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-04-08T21:03:51.208044733+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":4984,"end-time":"2026-04-08T21:03:51.209816175+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-04-08T21:03:51.209811207+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":1771450}} [DEBUG] : status 200 -=== 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: +=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option + serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [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":2262591,"end-time":"2025-03-05T12:38:11.621355854-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-03-05T12:38:11.619093853-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":35520,"end-time":"2025-03-05T12:38:11.621401144-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-03-05T12:38:11.621365663-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":2307898}} [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.03s) +--- PASS: TestServeNegotiatingContent (0.02s) + --- 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: 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.01s) PASS -ok github.com/goss-org/goss 0.387s +ok github.com/goss-org/goss 0.299s ? github.com/goss-org/goss/cmd/goss [no test files] === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity @@ -1511,7 +1544,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.019s +ok github.com/goss-org/goss/matchers 0.008s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1527,20 +1560,20 @@ === RUN TestOptionsRegistration --- PASS: TestOptionsRegistration (0.00s) === RUN TestPrometheusOutput -=== RUN TestPrometheusOutput/all-fail-single-type +=== 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="fail",type="command"} 20 + 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="fail",type="command"} 2 + 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="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/unknown-skip + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/skip-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 @@ -1555,105 +1588,131 @@ # 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 +=== 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="pass",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="pass",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="unknown"} 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="unknown"} 1 -=== RUN TestPrometheusOutput/no-results - prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== RUN TestPrometheusOutput/success-fail + prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. + # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 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="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/all-unknown-single-type + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/all-success-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="unknown",type="command"} 2 + goss_tests_outcomes_total{outcome="pass",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 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="unknown"} 1 -=== RUN TestPrometheusOutput/various-results-multiple-types + goss_tests_run_outcomes_total{outcome="pass"} 1 +=== 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="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 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="file"} 1 - goss_tests_outcomes_total{outcome="unknown",type="file"} 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/unknown-fail +=== 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="unknown",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="unknown",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-unknown +=== 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="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="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-success + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/fail-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="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="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 + 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-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 @@ -1669,22 +1728,26 @@ # 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/skip-fail +=== RUN TestPrometheusOutput/various-results-single-type prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="skip",type="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/success-unknown +=== 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="pass",type="command"} 10 @@ -1699,55 +1762,36 @@ # 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/verbose +=== 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",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="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",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="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-success-single-type - prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. - # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 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"} 2 - # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 - # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. - # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/various-results-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="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 + goss_tests_run_outcomes_total{outcome="pass"} 1 === RUN TestPrometheusOutput/fail-unknown prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter @@ -1763,137 +1807,126 @@ # 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-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="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="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/fail-success +=== 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="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/success-skip + goss_tests_run_outcomes_total{outcome="unknown"} 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="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/success-fail + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== 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",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 # 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-skip-single-type +=== 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="skip",type="command"} 20 + 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="skip",type="command"} 2 + 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="skip"} 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="skip"} 1 ---- PASS: TestPrometheusOutput (0.01s) - --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) - --- PASS: TestPrometheusOutput/unknown-skip (0.00s) - --- PASS: TestPrometheusOutput/unknown-success (0.00s) - --- PASS: TestPrometheusOutput/no-results (0.00s) + goss_tests_run_outcomes_total{outcome="fail"} 1 +--- PASS: TestPrometheusOutput (0.00s) --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/unknown-fail (0.00s) --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/skip-success (0.00s) + --- PASS: TestPrometheusOutput/success-skip (0.00s) + --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) + --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/fail-skip (0.00s) + --- PASS: TestPrometheusOutput/fail-success (0.00s) + --- PASS: TestPrometheusOutput/no-results (0.00s) --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/unknown-success (0.00s) --- PASS: TestPrometheusOutput/skip-fail (0.00s) + --- PASS: TestPrometheusOutput/skip-success (0.00s) + --- PASS: TestPrometheusOutput/fail-unknown (0.00s) --- PASS: TestPrometheusOutput/success-unknown (0.00s) + --- PASS: TestPrometheusOutput/unknown-skip (0.00s) + --- PASS: TestPrometheusOutput/unknown-fail (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/fail-unknown (0.00s) - --- PASS: TestPrometheusOutput/fail-skip (0.00s) - --- PASS: TestPrometheusOutput/fail-success (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.00s) - --- PASS: TestPrometheusOutput/success-fail (0.00s) - --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) === RUN TestCanChangeOverallOutcome -=== RUN TestCanChangeOverallOutcome/skip/fail -=== RUN TestCanChangeOverallOutcome/skip/unknown +=== RUN TestCanChangeOverallOutcome/unknown/fail +=== RUN TestCanChangeOverallOutcome/unknown/unknown +=== RUN TestCanChangeOverallOutcome/unknown/pass +=== RUN TestCanChangeOverallOutcome/unknown/skip +=== RUN TestCanChangeOverallOutcome/pass/skip +=== RUN TestCanChangeOverallOutcome/pass/fail +=== RUN TestCanChangeOverallOutcome/pass/unknown +=== RUN TestCanChangeOverallOutcome/pass/pass === RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip +=== RUN TestCanChangeOverallOutcome/skip/fail +=== RUN TestCanChangeOverallOutcome/skip/unknown === RUN TestCanChangeOverallOutcome/fail/pass === RUN TestCanChangeOverallOutcome/fail/skip === RUN TestCanChangeOverallOutcome/fail/fail === RUN TestCanChangeOverallOutcome/fail/unknown -=== 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.01s) - --- 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/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/fail/fail (0.01s) - --- PASS: TestCanChangeOverallOutcome/fail/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) +--- PASS: TestCanChangeOverallOutcome (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/skip/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/fail/unknown (0.00s) PASS -ok github.com/goss-org/goss/outputs 0.037s +ok github.com/goss-org/goss/outputs 0.013s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1913,7 +1946,7 @@ === RUN TestResultMarshaling --- PASS: TestResultMarshaling (0.00s) PASS -ok github.com/goss-org/goss/resource 0.022s +ok github.com/goss-org/goss/resource 0.009s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1934,16 +1967,16 @@ --- PASS: TestGroupsForUser (0.00s) === CONT TestCommandWrapper --- PASS: TestCommandWrapper (0.00s) -=== CONT TestDetectService +=== CONT TestPackageManager === CONT TestDetectDistro ---- PASS: TestDetectService (0.00s) +--- PASS: TestPackageManager (0.00s) === CONT TestHasCommand --- PASS: TestDetectDistro (0.00s) --- PASS: TestHasCommand (0.00s) -=== CONT TestPackageManager ---- PASS: TestPackageManager (0.00s) +=== CONT TestDetectService +--- PASS: TestDetectService (0.00s) PASS -ok github.com/goss-org/goss/system 0.026s +ok github.com/goss-org/goss/system 0.007s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1953,7 +1986,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.010s +ok github.com/goss-org/goss/util 0.004s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1982,8 +2015,8 @@ dpkg-gencontrol: warning: package goss: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.9-1_amd64.deb'. dpkg-deb: building package 'goss' in '../goss_0.4.9-1_amd64.deb'. +dpkg-deb: building package 'goss-dbgsym' in '../goss-dbgsym_0.4.9-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../goss_0.4.9-1_amd64.buildinfo dpkg-genchanges --build=binary -O../goss_0.4.9-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1991,12 +2024,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1583775/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1583775/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/1276813 and its subdirectories -I: Current time: Wed Mar 5 12:39:00 -12 2025 -I: pbuilder-time-stamp: 1741221540 +I: removing directory /srv/workspace/pbuilder/1583775 and its subdirectories +I: Current time: Wed Apr 8 21:04:09 +14 2026 +I: pbuilder-time-stamp: 1775631849