Diff of the two buildlogs: -- --- b1/build.log 2024-10-27 13:02:40.313021040 +0000 +++ b2/build.log 2024-10-27 13:16:39.571217837 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Nov 29 07:24:11 -12 2025 -I: pbuilder-time-stamp: 1764444251 +I: Current time: Mon Oct 28 03:02:44 +14 2024 +I: pbuilder-time-stamp: 1730034164 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,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/644032/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1624692/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 27 13:03 /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/1624692/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1624692/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='24bd3fc4664c4fb2b28e37f9a960afe8' - 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='644032' - PS1='# ' - PS2='> ' + INVOCATION_ID=c68e5b9fcb8a4f45ac49a3edb6a3e5bd + 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=1624692 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.MhDZcU4W/pbuilderrc_S7nn --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MhDZcU4W/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://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.MhDZcU4W/pbuilderrc_4qKH --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MhDZcU4W/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://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/644032/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1624692/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -278,7 +310,7 @@ Get: 121 http://deb.debian.org/debian unstable/main amd64 golang-github-tidwall-pretty-dev all 1.0.5-1 [9552 B] Get: 122 http://deb.debian.org/debian unstable/main amd64 golang-github-tidwall-gjson-dev all 1.17.1-1 [33.5 kB] Get: 123 http://deb.debian.org/debian unstable/main amd64 golang-gomega-dev all 1.34.2-2 [160 kB] -Fetched 126 MB in 6s (20.8 MB/s) +Fetched 126 MB in 15s (8471 kB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19947 files and directories currently installed.) @@ -785,7 +817,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/1624692/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1624692/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 @@ -803,53 +839,53 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 42 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + 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/goarch internal/unsafeheader +internal/byteorder +internal/race +internal/profilerecord +internal/godebugs cmp internal/coverage/rtcov +encoding +internal/goos +internal/msan +unicode +unicode/utf8 math/bits -unicode/utf16 -vendor/golang.org/x/crypto/cryptobyte/asn1 internal/asan -internal/race -internal/godebugs -crypto/internal/alias internal/goexperiment -unicode/utf8 -internal/msan -internal/nettrace -vendor/golang.org/x/crypto/internal/alias +internal/runtime/atomic +internal/abi +internal/cpu +internal/runtime/syscall +sync/atomic +runtime/internal/math +internal/itoa +unicode/utf16 +crypto/internal/alias +crypto/subtle +runtime/internal/sys crypto/internal/boring/sig +vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/nettrace github.com/google/go-cmp/cmp/internal/flags -log/internal -google.golang.org/protobuf/internal/flags -golang.org/x/net/internal/iana -internal/goos +internal/chacha8rand +github.com/onsi/gomega/matchers/support/goraph/node +golang.org/x/net/html/atom golang.org/x/text/encoding/internal/identifier -github.com/klauspost/compress/internal/cpuinfo -crypto/subtle -sync/atomic -unicode -golang.org/x/exp/constraints -internal/itoa -encoding -internal/profilerecord -internal/goarch -internal/cpu -internal/byteorder golang.org/x/text/internal/utf8internal container/list -golang.org/x/net/html/atom -github.com/onsi/gomega/matchers/support/goraph/node -internal/runtime/syscall -internal/runtime/atomic -runtime/internal/math +vendor/golang.org/x/crypto/internal/alias +log/internal +golang.org/x/exp/constraints github.com/onsi/gomega/matchers/support/goraph/edge -internal/abi -runtime/internal/sys -internal/chacha8rand -google.golang.org/protobuf/internal/set +golang.org/x/net/internal/iana github.com/tidwall/match +google.golang.org/protobuf/internal/flags +github.com/klauspost/compress/internal/cpuinfo +google.golang.org/protobuf/internal/set internal/runtime/exithook internal/bytealg math @@ -857,232 +893,232 @@ github.com/onsi/gomega/matchers/support/goraph/util github.com/klauspost/compress runtime -internal/weak -iter internal/reflectlite -runtime/metrics sync -maps +iter +internal/weak +runtime/metrics slices +maps internal/singleflight internal/testlog internal/bisect google.golang.org/protobuf/internal/pragma runtime/cgo +internal/godebug errors -sort -internal/oserror +math/rand io strconv path crypto/internal/edwards25519/field -internal/godebug -vendor/golang.org/x/net/dns/dnsmessage -math/rand/v2 crypto/internal/nistec/fiat +sort +internal/oserror +math/rand/v2 +vendor/golang.org/x/net/dns/dnsmessage syscall bytes strings hash crypto/internal/randutil -golang.org/x/text/internal/tag -github.com/tidwall/pretty -github.com/beorn7/perks/quantile internal/saferio -math/rand crypto/internal/edwards25519 -hash/adler32 -hash/fnv -hash/crc32 internal/concurrent +hash/fnv +hash/adler32 unique +hash/crc32 +reflect crypto +net/netip encoding/base32 golang.org/x/crypto/blowfish -reflect crypto/rc4 crypto/md5 golang.org/x/text/transform -github.com/hashicorp/logutils vendor/golang.org/x/text/transform +golang.org/x/text/internal/tag crypto/cipher +github.com/hashicorp/logutils +github.com/tidwall/pretty +github.com/beorn7/perks/quantile +crypto/internal/boring +crypto/des +golang.org/x/text/encoding +golang.org/x/text/runes +github.com/huandu/xstrings +html +bufio net/http/internal/ascii net/http/internal/testcert github.com/munnerz/goautoneg -bufio regexp/syntax -html -github.com/huandu/xstrings -net/netip -golang.org/x/text/encoding -golang.org/x/text/runes -crypto/des -crypto/internal/boring -crypto/hmac -crypto/sha512 crypto/aes -crypto/sha256 +crypto/hmac crypto/sha1 -golang.org/x/text/encoding/internal +crypto/sha256 +crypto/sha512 golang.org/x/crypto/pbkdf2 vendor/golang.org/x/crypto/hkdf +golang.org/x/text/encoding/internal golang.org/x/text/encoding/unicode +golang.org/x/text/encoding/simplifiedchinese golang.org/x/text/encoding/charmap golang.org/x/text/encoding/traditionalchinese golang.org/x/text/encoding/korean golang.org/x/text/encoding/japanese -golang.org/x/text/encoding/simplifiedchinese regexp -internal/syscall/execenv internal/syscall/unix +internal/syscall/execenv time -github.com/google/go-cmp/cmp/internal/diff -io/fs -context -github.com/tidwall/gjson internal/poll +encoding/binary internal/fmtsort +context +github.com/google/go-cmp/cmp/internal/diff +github.com/tidwall/gjson +io/fs github.com/google/go-cmp/cmp/internal/function -encoding/binary github.com/onsi/gomega/types internal/filepathlite embed google.golang.org/protobuf/internal/editiondefaults crypto/internal/nistec +os encoding/base64 -golang.org/x/crypto/scrypt vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash github.com/klauspost/compress/internal/snapref +golang.org/x/crypto/scrypt golang.org/x/sys/unix -os encoding/pem crypto/ecdh github.com/onsi/gomega/internal/gutil -google.golang.org/protobuf/internal/detrand +path/filepath io/ioutil -github.com/prometheus/procfs/internal/util fmt -path/filepath vendor/golang.org/x/sys/cpu +google.golang.org/protobuf/internal/detrand +github.com/prometheus/procfs/internal/util net vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/sha3 os/exec encoding/hex net/url -log +database/sql/driver +github.com/imdario/mergo +github.com/mitchellh/reflectwalk +text/template/parse +github.com/onsi/gomega/format +github.com/google/go-cmp/cmp/internal/value +math/big +compress/flate +gopkg.in/yaml.v3 +github.com/onsi/gomega/matchers/support/goraph/bipartitegraph +encoding/xml +encoding/json +golang.org/x/net/html +golang.org/x/text/internal/language mime +log +github.com/mitchellh/copystructure +github.com/google/go-cmp/cmp +vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/unicode/norm +mime/quotedprintable net/http/internal flag -mime/quotedprintable +github.com/samber/lo github.com/oleiade/reflections -github.com/onsi/gomega/format -encoding/xml -text/template/parse -compress/flate -google.golang.org/protobuf/internal/errors -github.com/mitchellh/reflectwalk -github.com/imdario/mergo -github.com/pmezard/go-difflib/difflib +vendor/golang.org/x/text/unicode/bidi +golang.org/x/net/bpf github.com/mitchellh/go-ps -gopkg.in/yaml.v3 +os/user +github.com/pmezard/go-difflib/difflib +google.golang.org/protobuf/internal/errors go/token +google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/version github.com/prometheus/procfs/internal/fs runtime/debug -golang.org/x/net/html -github.com/klauspost/compress/fse -math/big -golang.org/x/net/bpf encoding/gob -text/tabwriter -encoding/json -os/user -github.com/google/go-cmp/cmp/internal/value -vendor/golang.org/x/net/http2/hpack -database/sql/driver -github.com/onsi/gomega/matchers/support/goraph/bipartitegraph -golang.org/x/text/internal/language -vendor/golang.org/x/text/unicode/norm -github.com/samber/lo -github.com/russross/blackfriday/v2 -google.golang.org/protobuf/encoding/protowire -github.com/mitchellh/copystructure google.golang.org/protobuf/reflect/protoreflect -vendor/golang.org/x/text/unicode/bidi -github.com/google/go-cmp/cmp -github.com/klauspost/compress/huff0 +github.com/klauspost/compress/fse +github.com/russross/blackfriday/v2 +text/tabwriter compress/gzip +vendor/golang.org/x/text/secure/bidirule +golang.org/x/text/internal/language/compact google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts -github.com/mattn/go-isatty -github.com/opencontainers/runc/libcontainer/user -github.com/moby/sys/mountinfo google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/genid -text/template -golang.org/x/text/internal/language/compact -vendor/golang.org/x/text/secure/bidirule -google.golang.org/protobuf/reflect/protoregistry -github.com/mattn/go-colorable -google.golang.org/protobuf/internal/encoding/text -github.com/fatih/color -golang.org/x/text/language -github.com/cpuguy83/go-md2man/v2/md2man -google.golang.org/protobuf/proto -github.com/Masterminds/semver -github.com/blang/semver/v4 -github.com/goss-org/goss/util -vendor/golang.org/x/net/idna -google.golang.org/protobuf/internal/encoding/defval -golang.org/x/text/encoding/htmlindex -golang.org/x/net/html/charset crypto/dsa +crypto/elliptic +crypto/internal/bigmod crypto/internal/boring/bbig crypto/rand -crypto/internal/bigmod -crypto/elliptic -github.com/shopspring/decimal encoding/asn1 -google.golang.org/protobuf/encoding/protodelim -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc -html/template -github.com/urfave/cli +github.com/shopspring/decimal +golang.org/x/text/language +vendor/golang.org/x/net/idna +google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/reflect/protoregistry crypto/ed25519 -crypto/internal/hpke -golang.org/x/crypto/bcrypt github.com/Masterminds/goutils +crypto/rsa +golang.org/x/crypto/bcrypt +crypto/internal/hpke crypto/internal/mlkem768 +text/template +github.com/mattn/go-isatty +github.com/Masterminds/semver +github.com/blang/semver/v4 +github.com/opencontainers/runc/libcontainer/user +github.com/goss-org/goss/util +github.com/moby/sys/mountinfo +github.com/mattn/go-colorable +github.com/klauspost/compress/huff0 +github.com/cpuguy83/go-md2man/v2/md2man +github.com/fatih/color +golang.org/x/text/encoding/htmlindex +google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval +golang.org/x/net/html/charset github.com/patrickmn/go-cache github.com/klauspost/compress/zstd -crypto/rsa -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte -github.com/spf13/cast +crypto/x509/pkix +google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim crypto/ecdsa +html/template +github.com/urfave/cli google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl +github.com/spf13/cast +github.com/google/uuid +crypto/x509 +net/textproto vendor/golang.org/x/net/http/httpproxy github.com/aelsabbahy/GOnetstat -net/textproto -github.com/google/uuid golang.org/x/net/internal/socket -crypto/x509 github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/ipv6 golang.org/x/net/ipv4 google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl github.com/Masterminds/sprig crypto/tls +google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb github.com/prometheus/client_model/go github.com/prometheus/common/model @@ -1090,30 +1126,30 @@ net/http/httptrace github.com/miekg/dns net/http -github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header -expvar net/http/httptest -github.com/goss-org/goss/system +expvar github.com/prometheus/common/expfmt +github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header +github.com/goss-org/goss/system github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil github.com/onsi/gomega/matchers github.com/prometheus/client_golang/prometheus github.com/goss-org/goss/matchers -github.com/goss-org/goss/resource github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/client_golang/prometheus/promhttp +github.com/goss-org/goss/resource github.com/goss-org/goss/outputs github.com/goss-org/goss github.com/goss-org/goss/cmd/goss dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util + cd _build && go test -vet=off -v -p 20 github.com/goss-org/goss github.com/goss-org/goss/cmd/goss github.com/goss-org/goss/matchers github.com/goss-org/goss/outputs github.com/goss-org/goss/resource github.com/goss-org/goss/system github.com/goss-org/goss/util ? github.com/goss-org/goss/cmd/goss [no test files] === RUN TestConfigMerge --- PASS: TestConfigMerge (0.00s) === RUN TestUseAsPackage ---- PASS: TestUseAsPackage (0.01s) +--- PASS: TestUseAsPackage (0.02s) === RUN TestSkipResourcesByType ---- PASS: TestSkipResourcesByType (0.00s) +--- PASS: TestSkipResourcesByType (0.01s) === RUN TestMatchers === RUN TestMatchers/testdata/out_matching_basic.0.documentation === RUN TestMatchers/testdata/out_matching_basic.0.nagios @@ -1131,23 +1167,23 @@ === RUN TestMatchers/testdata/out_matching_transformers_failing.1.rspecish === RUN TestMatchers/testdata/out_matching_transformers_failing.1.tap === RUN TestMatchers/testdata/out_matching_transformers_failing.2.nagios ---- PASS: TestMatchers (0.03s) - --- 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.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.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.00s) - --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.00s) +--- PASS: TestMatchers (0.51s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.documentation (0.02s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.nagios (0.05s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.rspecish (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic.0.tap (0.01s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.documentation (0.02s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.rspecish (0.05s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.1.tap (0.04s) + --- PASS: TestMatchers/testdata/out_matching_basic_failing.2.nagios (0.02s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.documentation (0.02s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.nagios (0.02s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.rspecish (0.04s) + --- PASS: TestMatchers/testdata/out_matching_transformers.0.tap (0.04s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.documentation (0.02s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.rspecish (0.04s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.1.tap (0.04s) + --- PASS: TestMatchers/testdata/out_matching_transformers_failing.2.nagios (0.03s) === RUN TestServeWithNoContentNegotiation === PAUSE TestServeWithNoContentNegotiation === RUN TestServeNegotiatingContent @@ -1175,35 +1211,35 @@ [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeCacheWithNoContentNegotiation (0.11s) - --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.00s) +--- PASS: TestServeCacheWithNoContentNegotiation (0.22s) + --- PASS: TestServeCacheWithNoContentNegotiation/fresh_cache (0.02s) --- PASS: TestServeCacheWithNoContentNegotiation/immediately_re-request,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.11s) + --- PASS: TestServeCacheWithNoContentNegotiation/allow_cache_to_expire,_cache_should_be_cold (0.18s) === RUN TestServeCacheNegotiatingContent === RUN TestServeCacheNegotiatingContent/fresh_cache serve_test.go:255: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":868685,"end-time":"2025-11-29T19:25:26.889340993Z","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-11-29T19:25:26.888472296Z","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":6800,"end-time":"2025-11-29T19:25:26.889349525Z","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-11-29T19:25:26.88934275Z","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":877241}} + [DEBUG] OK SUMMARY: {"results":[{"duration":10337240,"end-time":"2024-10-27T13:14:11.747190784Z","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":"2024-10-27T13:14:11.736852916Z","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":28890,"end-time":"2024-10-27T13:14:11.747219059Z","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":"2024-10-27T13:14:11.747190784Z","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.010s","test-count":2,"total-duration":10366130}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm serve_test.go:267: [TRACE] : requesting health probe [TRACE] Returning cached[res]. - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":868685,"end-time":"2025-11-29T19:25:26.889340993Z","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-11-29T19:25:26.888472296Z","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":6800,"end-time":"2025-11-29T19:25:26.889349525Z","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-11-29T19:25:26.88934275Z","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":877241}} + [DEBUG] OK SUMMARY: {"results":[{"duration":10337240,"end-time":"2024-10-27T13:14:11.747190784Z","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":"2024-10-27T13:14:11.736852916Z","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":28890,"end-time":"2024-10-27T13:14:11.747219059Z","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":"2024-10-27T13:14:11.747190784Z","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.010s","test-count":2,"total-duration":10366130}} [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm serve_test.go:279: [TRACE] : requesting health probe [TRACE] Returning cached[res]. - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.001s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] OK SUMMARY: Total Duration: 0.010s Count: 2, Failed: 0, Skipped: 0 [DEBUG] : status 200 === RUN TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold @@ -1211,16 +1247,16 @@ Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1151574,"end-time":"2025-11-29T19:25:26.996921514Z","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-11-29T19:25:26.995769956Z","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":5322,"end-time":"2025-11-29T19:25:26.996930713Z","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-11-29T19:25:26.996925395Z","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":1160771}} + [DEBUG] OK SUMMARY: {"results":[{"duration":22053627,"end-time":"2024-10-27T13:14:11.878524504Z","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":"2024-10-27T13:14:11.856473648Z","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":69291,"end-time":"2024-10-27T13:14:11.87863032Z","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":"2024-10-27T13:14:11.878561679Z","successful":true,"summary-line":"Command: hello world: stdout: matches expectation: [\"hello world\"]","summary-line-compact":"Command: hello world: stdout: matches expectation: [\"hello world\"]","title":""}],"summary":{"failed-count":0,"skipped-count":0,"summary-line":"Count: 2, Failed: 0, Skipped: 0, Duration: 0.022s","test-count":2,"total-duration":22168792}} [DEBUG] : status 200 ---- PASS: TestServeCacheNegotiatingContent (0.11s) - --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.00s) +--- PASS: TestServeCacheNegotiatingContent (0.16s) + --- PASS: TestServeCacheNegotiatingContent/fresh_cache (0.01s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request,_cache_should_be_warm (0.00s) --- PASS: TestServeCacheNegotiatingContent/immediately_re-request_but_different_accept_header,_cache_should_be_warm (0.00s) - --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.11s) + --- PASS: TestServeCacheNegotiatingContent/allow_cache_to_expire,_cache_should_be_cold (0.14s) === RUN Test_varsFromString === RUN Test_varsFromString/empty_string === RUN Test_varsFromString/empty_JSON @@ -1258,78 +1294,69 @@ --- PASS: Test_loadVars/no_overwrite (0.00s) --- PASS: Test_loadVars/overwrite (0.00s) === CONT TestServeWithNoContentNegotiation -=== CONT TestServeNegotiatingContent === RUN TestServeWithNoContentNegotiation/passing-json -=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json +=== CONT TestServeNegotiatingContent +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid === NAME TestServeWithNoContentNegotiation/passing-json serve_test.go:66: testName "passing-json" 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] 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: [] +=== RUN TestServeWithNoContentNegotiation/failing-json +=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + serve_test.go:173: testName "accept header contains nonsense then valid" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] + [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] + [DEBUG] OK SUMMARY: {"results":[{"duration":20034048,"end-time":"2024-10-27T13:14:11.930549756Z","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":"2024-10-27T13:14:11.910514634Z","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":26888,"end-time":"2024-10-27T13:14:11.93059335Z","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":"2024-10-27T13:14:11.930566681Z","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.020s","test-count":2,"total-duration":20077253}} + [DEBUG] : status 200 +=== RUN TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option +=== NAME TestServeWithNoContentNegotiation/failing-json + serve_test.go:66: testName "failing-json" log output: [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.04] [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] - [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":1036555,"end-time":"2025-11-29T19:25:27.001102626Z","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-11-29T19:25:27.000066024Z","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":5842,"end-time":"2025-11-29T19:25:27.001110748Z","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-11-29T19:25:27.001104921Z","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":1044693}} - [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level - serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: [DEBUG] 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] OK SUMMARY: {"results":[{"duration":43920470,"end-time":"2024-10-27T13:14:11.940434723Z","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":"2024-10-27T13:14:11.896514366Z","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":20991,"end-time":"2024-10-27T13:14:11.940463861Z","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":"2024-10-27T13:14:11.940443074Z","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.044s","test-count":2,"total-duration":43949676}} + [DEBUG] : status 200 +=== RUN TestServeWithNoContentNegotiation/failing-default-output +=== NAME TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option + serve_test.go:173: testName "accept {blank} returns process-level format-option" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] [1] - [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] - [DEBUG] OK SUMMARY: Total Duration: 0.001s Count: 2, Failed: 0, Skipped: 0 - [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense -=== NAME TestServeWithNoContentNegotiation/failing-json - serve_test.go:66: testName "failing-json" log output: - [DEBUG] OK SUMMARY: {"results":[{"duration":1186623,"end-time":"2025-11-29T19:25:27.001178379Z","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-11-29T19:25:26.99999174Z","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":5454,"end-time":"2025-11-29T19:25:27.001186089Z","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-11-29T19:25:27.001180664Z","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":1194362}} - [DEBUG] : status 200 -=== RUN TestServeWithNoContentNegotiation/failing-default-output -=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense - serve_test.go:173: testName "accept header contains nonsense" log output: - [DEBUG] FAIL SUMMARY: {"results":[{"duration":1110412,"end-time":"2025-11-29T19:25:27.00383206Z","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-11-29T19:25:27.002721661Z","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":6106,"end-time":"2025-11-29T19:25:27.003839926Z","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-11-29T19:25:27.003833849Z","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1118290}} - [DEBUG] : status 503 - {"results":[{"duration":1110412,"end-time":"2025-11-29T19:25:27.00383206Z","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-11-29T19:25:27.002721661Z","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":6106,"end-time":"2025-11-29T19:25:27.003839926Z","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-11-29T19:25:27.003833849Z","successful":false,"summary-line":"Command: hello world: stdout:\nExpected\n \"object: *bytes.Reader\"\nto have patterns\n [\"did not echo this\"]\nthe missing elements were\n [\"did not echo this\"]","summary-line-compact":"Command: hello world: stdout: Expected \"object: *bytes.Reader\" to have patterns [\"did not echo this\"] the missing elements were [\"did not echo this\"]","title":""}],"summary":{"failed-count":2,"skipped-count":0,"summary-line":"Count: 2, Failed: 2, Skipped: 0, Duration: 0.001s","test-count":2,"total-duration":1118290}} -=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.03] [1] + [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] [1] + [DEBUG] FAIL SUMMARY: {"results":[{"duration":26686059,"end-time":"2024-10-27T13:14:11.967851617Z","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":"2024-10-27T13:14:11.941166269Z","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":49526,"end-time":"2024-10-27T13:14:11.96793506Z","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":"2024-10-27T13:14:11.967884364Z","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.027s","test-count":2,"total-duration":26769525}} + [DEBUG] : status 503 - {"results":[{"duration":26686059,"end-time":"2024-10-27T13:14:11.967851617Z","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":"2024-10-27T13:14:11.941166269Z","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":49526,"end-time":"2024-10-27T13:14:11.96793506Z","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":"2024-10-27T13:14:11.967884364Z","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.027s","test-count":2,"total-duration":26769525}} +=== RUN TestServeNegotiatingContent/accept_application/json === NAME TestServeWithNoContentNegotiation/failing-default-output serve_test.go:66: testName "failing-default-output" log output: - [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] - [TRACE] : requesting health probe - Stale cache[res], running tests + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [] [TRACE] : requesting health probe Stale cache[res], running tests - [DEBUG][Command][%!s()][stdout] hello world - [DEBUG][Command][%!s()][stdout] [DEBUG] : status 200 ---- PASS: TestServeWithNoContentNegotiation (0.01s) - --- PASS: TestServeWithNoContentNegotiation/passing-json (0.00s) - --- PASS: TestServeWithNoContentNegotiation/failing-json (0.00s) - --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.00s) -=== NAME TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid - serve_test.go:173: testName "accept header contains nonsense then valid" log output: +--- PASS: TestServeWithNoContentNegotiation (0.14s) + --- PASS: TestServeWithNoContentNegotiation/passing-json (0.04s) + --- PASS: TestServeWithNoContentNegotiation/failing-json (0.04s) + --- PASS: TestServeWithNoContentNegotiation/failing-default-output (0.06s) +=== NAME TestServeNegotiatingContent/accept_application/json + serve_test.go:173: testName "accept application/json" log output: [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.00] + [TRACE] FAIL: Command => hello world (exit-status 1 0) [0.03] [TRACE] FAIL: Command => hello world (stdout [did not echo this] object: *bytes.Reader) [0.00] - [DEBUG] FAIL SUMMARY: Total Duration: 0.001s Count: 2, Failed: 2, Skipped: 0 + [DEBUG] FAIL SUMMARY: Total Duration: 0.029s Count: 2, Failed: 2, Skipped: 0 [DEBUG] : status 503 - FF Failures/Skipped: @@ -1347,54 +1374,64 @@ the missing elements were ["did not echo this"] - Total Duration: 0.001s + Total Duration: 0.029s Count: 2, Failed: 2, Skipped: 0 [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.03] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":1211163,"end-time":"2025-11-29T19:25:27.008000353Z","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-11-29T19:25:27.006789192Z","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":52607,"end-time":"2025-11-29T19:25:27.008055214Z","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-11-29T19:25:27.008002608Z","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":1266007}} + [DEBUG] OK SUMMARY: {"results":[{"duration":25075155,"end-time":"2024-10-27T13:14:12.064151653Z","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":"2024-10-27T13:14:12.039075843Z","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":48844,"end-time":"2024-10-27T13:14:12.064235032Z","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":"2024-10-27T13:14:12.064186122Z","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.025s","test-count":2,"total-duration":25159186}} [DEBUG] : status 200 -=== 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: [] +=== RUN TestServeNegotiatingContent/accept_text/json_translates_to_application/json + serve_test.go:173: testName "accept text/json translates to application/json" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.02] [0] + [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] + [DEBUG] OK SUMMARY: {"results":[{"duration":15542650,"end-time":"2024-10-27T13:14:12.082678537Z","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":"2024-10-27T13:14:12.067135919Z","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":77567,"end-time":"2024-10-27T13:14:12.082796646Z","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":"2024-10-27T13:14:12.08271866Z","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.016s","test-count":2,"total-duration":15660852}} [DEBUG] : status 200 -=== RUN TestServeNegotiatingContent/accept_application/json - serve_test.go:173: testName "accept application/json" log output: +=== RUN TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json + serve_test.go:173: testName "when accept is application/vnd.goss-json, return more widely known application/json" log output: [TRACE] : requesting health probe Stale cache[res], running tests [DEBUG][Command][%!s()][stdout] hello world [DEBUG][Command][%!s()][stdout] - [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.00] [0] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] [0] [TRACE] SUCCESS: Command => hello world (stdout [hello world] &{s:[104 101 108 108 111 32 119 111 114 108 100 10] i:12 prevRune:-1}) [0.00] [0] - [DEBUG] OK SUMMARY: {"results":[{"duration":887444,"end-time":"2025-11-29T19:25:27.011348659Z","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-11-29T19:25:27.010461196Z","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":3161,"end-time":"2025-11-29T19:25:27.011353553Z","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-11-29T19:25:27.011350392Z","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":892337}} + [DEBUG] OK SUMMARY: {"results":[{"duration":12593820,"end-time":"2024-10-27T13:14:12.123148654Z","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":"2024-10-27T13:14:12.110553601Z","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":52175,"end-time":"2024-10-27T13:14:12.123217747Z","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":"2024-10-27T13:14:12.123165172Z","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.013s","test-count":2,"total-duration":12663454}} [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_vendor-specific_output_format_different_from_process-level + serve_test.go:173: testName "accept header contains vendor-specific output format different from process-level" log output: + [TRACE] : requesting health probe + Stale cache[res], running tests + [DEBUG][Command][%!s()][stdout] hello world + [DEBUG][Command][%!s()][stdout] + [TRACE] SUCCESS: Command => hello world (exit-status 0 0) [0.01] + [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.012s Count: 2, Failed: 0, Skipped: 0 + [DEBUG] : status 200 +=== RUN TestServeNegotiatingContent/accept_header_contains_nonsense + serve_test.go:173: testName "accept header contains nonsense" log output: + [DEBUG] Warn: Using process-level output-format. Accept header on request missing or invalid. Accept header: [application/vnd.goss-nonexistent] [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":909767,"end-time":"2025-11-29T19:25:27.012894528Z","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-11-29T19:25:27.011984744Z","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":4050,"end-time":"2025-11-29T19:25:27.012900104Z","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-11-29T19:25:27.012896066Z","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":915356}} [DEBUG] : status 200 ---- PASS: TestServeNegotiatingContent (0.01s) - --- 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 (0.28s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense_then_valid (0.05s) + --- PASS: TestServeNegotiatingContent/accept_{blank}_returns_process-level_format-option (0.06s) + --- PASS: TestServeNegotiatingContent/accept_application/json (0.06s) + --- PASS: TestServeNegotiatingContent/accept_text/json_translates_to_application/json (0.02s) + --- PASS: TestServeNegotiatingContent/when_accept_is_application/vnd.goss-json,_return_more_widely_known_application/json (0.04s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_vendor-specific_output_format_different_from_process-level (0.03s) + --- PASS: TestServeNegotiatingContent/accept_header_contains_nonsense (0.02s) PASS -ok github.com/goss-org/goss 0.289s +ok github.com/goss-org/goss 1.296s === RUN TestBeSemverConstraint === RUN TestBeSemverConstraint/sanity --- PASS: TestBeSemverConstraint (0.00s) @@ -1438,7 +1475,7 @@ === RUN Test_toVersion/pre_release === RUN Test_toVersion/build === RUN Test_toVersion/pre_release_build ---- PASS: Test_toVersion (0.00s) +--- PASS: Test_toVersion (0.02s) --- PASS: Test_toVersion/simple (0.00s) --- PASS: Test_toVersion/pre_release (0.00s) --- PASS: Test_toVersion/build (0.00s) @@ -1456,7 +1493,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.006s +ok github.com/goss-org/goss/matchers 0.212s === RUN TestIsValidFormat --- PASS: TestIsValidFormat (0.00s) === RUN TestOutputers @@ -1485,149 +1522,133 @@ # 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/various-results-single-type +=== RUN TestPrometheusOutput/unknown-success prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/various-results-multiple-types + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/no-results + prometheus_test.go:515: # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== RUN TestPrometheusOutput/verbose prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="file"} 1 - goss_tests_outcomes_total{outcome="unknown",type="file"} 1 + goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # 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/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="skip",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="skip",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 -=== RUN TestPrometheusOutput/success-unknown + 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"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 20 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 2 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="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/success-fail + goss_tests_run_outcomes_total{outcome="pass"} 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 - goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="file"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="file"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/verbose + 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 - goss_tests_outcomes_duration_milliseconds{outcome="fail",resource_id="/path/to/file",type="file"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="some command here",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="pass",resource_id="something else here",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",resource_id="/path/to/file",type="file"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="some command here",type="command"} 1 - goss_tests_outcomes_total{outcome="pass",resource_id="something else here",type="command"} 1 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="unknown",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/all-fail-single-type +=== 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"} 20 + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter - goss_tests_outcomes_total{outcome="fail",type="command"} 2 + goss_tests_outcomes_total{outcome="fail",type="command"} 1 + goss_tests_outcomes_total{outcome="pass",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/all-success-multiple-types +=== 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="pass",type="file"} 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="pass",type="file"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/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 - 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="unknown",type="command"} 1 - # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. - # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 - # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. - # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="unknown"} 1 === RUN TestPrometheusOutput/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 @@ -1658,63 +1679,79 @@ # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/all-success-single-type +=== 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="pass",type="command"} 20 + 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="pass",type="command"} 2 + 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="pass"} 9.223372036854e+12 + goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter - goss_tests_run_outcomes_total{outcome="pass"} 1 -=== RUN TestPrometheusOutput/fail-success + goss_tests_run_outcomes_total{outcome="fail"} 1 +=== RUN TestPrometheusOutput/all-unknown-single-type + prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. + # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="command"} 20 + # HELP goss_tests_outcomes_total The number of test-outcomes from this run. + # TYPE goss_tests_outcomes_total counter + goss_tests_outcomes_total{outcome="unknown",type="command"} 2 + # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. + # TYPE goss_tests_run_duration_milliseconds counter + goss_tests_run_duration_milliseconds{outcome="unknown"} 9.223372036854e+12 + # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. + # TYPE goss_tests_run_outcomes_total counter + goss_tests_run_outcomes_total{outcome="unknown"} 1 +=== 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-skip +=== RUN TestPrometheusOutput/various-results-multiple-types prometheus_test.go:515: # HELP goss_tests_outcomes_duration_milliseconds The duration of tests from this run. Note; tests run concurrently. # TYPE goss_tests_outcomes_duration_milliseconds counter + goss_tests_outcomes_duration_milliseconds{outcome="fail",type="command"} 10 goss_tests_outcomes_duration_milliseconds{outcome="pass",type="command"} 10 - goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="file"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="unknown",type="file"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter + goss_tests_outcomes_total{outcome="fail",type="command"} 1 goss_tests_outcomes_total{outcome="pass",type="command"} 1 - goss_tests_outcomes_total{outcome="skip",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="file"} 1 + goss_tests_outcomes_total{outcome="unknown",type="file"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter - goss_tests_run_duration_milliseconds{outcome="pass"} 9.223372036854e+12 - # 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/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 + 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/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="unknown",type="command"} 20 + 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="unknown",type="command"} 2 + 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 @@ -1751,94 +1788,94 @@ # 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-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="unknown",type="command"} 10 + goss_tests_outcomes_duration_milliseconds{outcome="skip",type="command"} 10 # HELP goss_tests_outcomes_total The number of test-outcomes from this run. # TYPE goss_tests_outcomes_total counter goss_tests_outcomes_total{outcome="fail",type="command"} 1 - goss_tests_outcomes_total{outcome="unknown",type="command"} 1 + goss_tests_outcomes_total{outcome="skip",type="command"} 1 # HELP goss_tests_run_duration_milliseconds The end-to-end duration of this run. # TYPE goss_tests_run_duration_milliseconds counter goss_tests_run_duration_milliseconds{outcome="fail"} 9.223372036854e+12 # HELP goss_tests_run_outcomes_total The outcomes of this run as a whole. # TYPE goss_tests_run_outcomes_total counter goss_tests_run_outcomes_total{outcome="fail"} 1 -=== RUN TestPrometheusOutput/fail-skip +=== 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="skip",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="skip",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 ---- PASS: TestPrometheusOutput (0.00s) + goss_tests_run_outcomes_total{outcome="unknown"} 1 +--- PASS: TestPrometheusOutput (0.05s) --- PASS: TestPrometheusOutput/all-skip-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) - --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/skip-unknown (0.00s) - --- PASS: TestPrometheusOutput/success-unknown (0.00s) - --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/unknown-success (0.00s) + --- PASS: TestPrometheusOutput/no-results (0.00s) --- PASS: TestPrometheusOutput/verbose (0.00s) - --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) + --- PASS: TestPrometheusOutput/success-fail (0.00s) + --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) --- PASS: TestPrometheusOutput/all-success-multiple-types (0.00s) - --- PASS: TestPrometheusOutput/unknown-success (0.00s) + --- PASS: TestPrometheusOutput/fail-unknown (0.00s) + --- PASS: TestPrometheusOutput/fail-success (0.00s) + --- PASS: TestPrometheusOutput/success-skip (0.02s) --- PASS: TestPrometheusOutput/skip-fail (0.00s) --- PASS: TestPrometheusOutput/skip-success (0.00s) - --- PASS: TestPrometheusOutput/all-success-single-type (0.00s) - --- PASS: TestPrometheusOutput/fail-success (0.00s) - --- PASS: TestPrometheusOutput/success-skip (0.00s) - --- PASS: TestPrometheusOutput/no-results (0.00s) + --- PASS: TestPrometheusOutput/all-fail-single-type (0.00s) --- PASS: TestPrometheusOutput/all-unknown-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-single-type (0.00s) + --- PASS: TestPrometheusOutput/various-results-multiple-types (0.00s) + --- PASS: TestPrometheusOutput/skip-unknown (0.03s) --- PASS: TestPrometheusOutput/unknown-skip (0.00s) --- PASS: TestPrometheusOutput/unknown-fail (0.00s) - --- PASS: TestPrometheusOutput/fail-unknown (0.00s) --- PASS: TestPrometheusOutput/fail-skip (0.00s) + --- PASS: TestPrometheusOutput/success-unknown (0.00s) === RUN TestCanChangeOverallOutcome +=== RUN TestCanChangeOverallOutcome/unknown/skip +=== RUN TestCanChangeOverallOutcome/unknown/fail +=== RUN TestCanChangeOverallOutcome/unknown/unknown +=== RUN TestCanChangeOverallOutcome/unknown/pass +=== RUN TestCanChangeOverallOutcome/pass/pass +=== RUN TestCanChangeOverallOutcome/pass/skip +=== RUN TestCanChangeOverallOutcome/pass/fail +=== RUN TestCanChangeOverallOutcome/pass/unknown +=== RUN TestCanChangeOverallOutcome/skip/pass === RUN TestCanChangeOverallOutcome/skip/skip === RUN TestCanChangeOverallOutcome/skip/fail === RUN TestCanChangeOverallOutcome/skip/unknown -=== RUN TestCanChangeOverallOutcome/skip/pass === 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/fail -=== RUN TestCanChangeOverallOutcome/pass/unknown -=== RUN TestCanChangeOverallOutcome/pass/pass -=== RUN TestCanChangeOverallOutcome/pass/skip --- PASS: TestCanChangeOverallOutcome (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) + --- PASS: TestCanChangeOverallOutcome/unknown/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) + --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) + --- PASS: 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/skip/pass (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: TestCanChangeOverallOutcome/unknown/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/skip (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/unknown/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/fail (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/unknown (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/pass (0.00s) - --- PASS: TestCanChangeOverallOutcome/pass/skip (0.00s) PASS -ok github.com/goss-org/goss/outputs 0.009s +ok github.com/goss-org/goss/outputs 0.184s === RUN TestMatcherToGomegaMatcher --- PASS: TestMatcherToGomegaMatcher (0.00s) === RUN TestValidateValue @@ -1856,9 +1893,9 @@ === RUN TestValidateContainsSkip --- PASS: TestValidateContainsSkip (0.00s) === RUN TestResultMarshaling ---- PASS: TestResultMarshaling (0.00s) +--- PASS: TestResultMarshaling (0.01s) PASS -ok github.com/goss-org/goss/resource 0.006s +ok github.com/goss-org/goss/resource 0.068s === RUN TestCommandWrapper === PAUSE TestCommandWrapper === RUN TestParseServerString @@ -1878,17 +1915,17 @@ === RUN TestGroupsForUser --- PASS: TestGroupsForUser (0.00s) === CONT TestCommandWrapper -=== CONT TestDetectDistro --- PASS: TestCommandWrapper (0.00s) -=== CONT TestPackageManager -=== CONT TestDetectService === CONT TestHasCommand ---- PASS: TestPackageManager (0.00s) ---- PASS: TestDetectDistro (0.00s) --- PASS: TestHasCommand (0.00s) +=== CONT TestDetectDistro +--- PASS: TestDetectDistro (0.00s) +=== CONT TestDetectService --- PASS: TestDetectService (0.00s) +=== CONT TestPackageManager +--- PASS: TestPackageManager (0.00s) PASS -ok github.com/goss-org/goss/system 0.006s +ok github.com/goss-org/goss/system 0.064s === RUN TestWithVarsBytes --- PASS: TestWithVarsBytes (0.00s) === RUN TestWithVarsString @@ -1898,7 +1935,7 @@ === RUN TestWithVarsData --- PASS: TestWithVarsData (0.00s) PASS -ok github.com/goss-org/goss/util 0.003s +ok github.com/goss-org/goss/util 0.044s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1927,8 +1964,8 @@ dpkg-gencontrol: warning: package goss: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'goss' in '../goss_0.4.9-1_amd64.deb'. 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-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) @@ -1936,12 +1973,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/1624692/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1624692/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/644032 and its subdirectories -I: Current time: Sat Nov 29 07:25:39 -12 2025 -I: pbuilder-time-stamp: 1764444339 +I: removing directory /srv/workspace/pbuilder/1624692 and its subdirectories +I: Current time: Mon Oct 28 03:16:38 +14 2024 +I: pbuilder-time-stamp: 1730034998